Re: [PATCH RFC] target: riscv: Add Svrsw60b59b extension support

2025-04-22 Thread Deepak Gupta
On Fri, Mar 14, 2025 at 11:48:33AM +0100, Alexandre Ghiti wrote: The Svrsw60b59b extension allows to free the PTE reserved bits 60 and 59 for software to use. Apart from what you already caught. Extension is dependnet on Sv39. So it should be validated somewhere. Perhaps in `riscv_cpu_validate_

Re: [PATCH RFC] target: riscv: Add Svrsw60b59b extension support

2025-03-14 Thread Alexandre Ghiti
On Fri, Mar 14, 2025 at 1:38 PM Daniel Henrique Barboza wrote: > > > > On 3/14/25 9:11 AM, Alexandre Ghiti wrote: > > On Fri, Mar 14, 2025 at 11:48 AM Alexandre Ghiti > > wrote: > >> > >> The Svrsw60b59b extension allows to free the PTE reserved bits 60 and 59 > >> for software to use. > > > > I

Re: [PATCH RFC] target: riscv: Add Svrsw60b59b extension support

2025-03-14 Thread Daniel Henrique Barboza
On 3/14/25 9:11 AM, Alexandre Ghiti wrote: On Fri, Mar 14, 2025 at 11:48 AM Alexandre Ghiti wrote: The Svrsw60b59b extension allows to free the PTE reserved bits 60 and 59 for software to use. I missed that the extension had been renamed to Svrsw60*t*59b, I'll fix that in v2 later after I

Re: [PATCH RFC] target: riscv: Add Svrsw60b59b extension support

2025-03-14 Thread Alexandre Ghiti
On Fri, Mar 14, 2025 at 11:48 AM Alexandre Ghiti wrote: > > The Svrsw60b59b extension allows to free the PTE reserved bits 60 and 59 > for software to use. I missed that the extension had been renamed to Svrsw60*t*59b, I'll fix that in v2 later after I collect some feedback. Thanks, Alex > > S

[PATCH RFC] target: riscv: Add Svrsw60b59b extension support

2025-03-14 Thread Alexandre Ghiti
The Svrsw60b59b extension allows to free the PTE reserved bits 60 and 59 for software to use. Signed-off-by: Alexandre Ghiti --- I tested it by always setting the bits 60 and 59 in Linux which booted fine. target/riscv/cpu.c| 2 ++ target/riscv/cpu_bits.h | 3 ++- target/riscv/cpu_cf