riscv: Set 5.4 as minimum kernel version for riscv32
PATCH 1/1 riscv: Set 5.4 as minimum kernel version for riscv32
5.4 is first stable API as far as rv32 is concerned see [1]
[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=7a55dd3fb6d2c307a002a16776be84310b9c8989
Signed-off-by Khem Raj <[email protected]>
Cc Palmer Dabbelt <[email protected]>
Cc Alistair Francis <[email protected]>
Cc Bin Meng <[email protected]>
--- linux-user/riscv/target_syscall.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
linux-user/riscv/target_syscall.h +2 -1
@@ -45,10 +45,11 @@ struct target_pt_regs {#ifdef TARGET_RISCV32 #define UNAME_MACHINE "riscv32" +#define UNAME_MINIMUM_RELEASE "5.4.0"#else #define UNAME_MACHINE "riscv64" -#endif #define UNAME_MINIMUM_RELEASE "4.15.0" +#endif #define TARGET_MINSIGSTKSZ 2048#define TARGET_MCL_CURRENT 1
Signature · 1 line
2.34.1
Quoted 9 lines · Khem Raj
5.4 is first stable API as far as rv32 is concerned see [1]
[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=7a55dd3fb6d2c307a002a16776be84310b9c8989
Signed-off-by Khem Raj <[email protected]>Cc Palmer Dabbelt <[email protected]>Cc Alistair Francis <[email protected]>Cc Bin Meng <[email protected]>
Reviewed-by Alistair Francis <[email protected]>
Alistair
Quoted 25 lines
--- linux-user/riscv/target_syscall.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)linux-user/riscv/target_syscall.h +2
-2@@ -45,10 +45,11 @@ struct target_pt_regs {#ifdef TARGET_RISCV32 #define UNAME_MACHINE "riscv32" +#define UNAME_MINIMUM_RELEASE "5.4.0"#else #define UNAME_MACHINE "riscv64" -#endif #define UNAME_MINIMUM_RELEASE "4.15.0" +#endif #define TARGET_MINSIGSTKSZ 2048#define TARGET_MCL_CURRENT 1 --2.34.1
Alistair Francis
AppliedQuoted 9 lines · Khem Raj
5.4 is first stable API as far as rv32 is concerned see [1]
[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=7a55dd3fb6d2c307a002a16776be84310b9c8989
Signed-off-by Khem Raj <[email protected]>Cc Palmer Dabbelt <[email protected]>Cc Alistair Francis <[email protected]>Cc Bin Meng <[email protected]>
Thanks!
Applied to riscv-to-apply.next
Alistair
Quoted 25 lines
--- linux-user/riscv/target_syscall.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)linux-user/riscv/target_syscall.h +2
-2@@ -45,10 +45,11 @@ struct target_pt_regs {#ifdef TARGET_RISCV32 #define UNAME_MACHINE "riscv32" +#define UNAME_MINIMUM_RELEASE "5.4.0"#else #define UNAME_MACHINE "riscv64" -#endif #define UNAME_MINIMUM_RELEASE "4.15.0" +#endif #define TARGET_MINSIGSTKSZ 2048#define TARGET_MCL_CURRENT 1 --2.34.1