Re: [PATCH v1 7/7] target/riscv: Expose sxl32 configuration in RISC-V CPU

2024-10-10 Thread Alistair Francis
On Mon, Oct 7, 2024 at 2:19 PM LIU Zhiwei wrote: > > From: TANG Tiancheng > > Enable with "-cpu rv64,sxl32=on". > When sxl32 is enabled, RV64 can boot 32-bit Linux with > 64-bit Opensbi while requiring to make minor modifications > to the Linux kernel source code. > > How to patch linux: > https:

[PATCH v1 7/7] target/riscv: Expose sxl32 configuration in RISC-V CPU

2024-10-06 Thread LIU Zhiwei
From: TANG Tiancheng Enable with "-cpu rv64,sxl32=on". When sxl32 is enabled, RV64 can boot 32-bit Linux with 64-bit Opensbi while requiring to make minor modifications to the Linux kernel source code. How to patch linux: https://git Signed-off-by: TANG Tiancheng --- target/riscv/cpu.c | 1 +