* [PATCH] riscv: Set 5.4 as minimum kernel version for riscv32
@ 2021-12-16 7:31 Khem Raj
2021-12-17 1:32 ` Alistair Francis
2021-12-17 5:11 ` Alistair Francis
0 siblings, 2 replies; 7+ messages in thread
From: Khem Raj @ 2021-12-16 7:31 UTC (permalink / raw)
To: qemu-devel; +Cc: Alistair Francis, Bin Meng, Palmer Dabbelt, 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 <raj.khem@gmail.com>
Cc: Palmer Dabbelt <palmer@dabbelt.com>
Cc: Alistair Francis <alistair.francis@wdc.com>
Cc: Bin Meng <bin.meng@windriver.com>
---
linux-user/riscv/target_syscall.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/linux-user/riscv/target_syscall.h b/linux-user/riscv/target_syscall.h
index dc597c8972..9b13161324 100644
--- a/linux-user/riscv/target_syscall.h
+++ b/linux-user/riscv/target_syscall.h
@@ -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
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] riscv: Set 5.4 as minimum kernel version for riscv32
2021-12-16 7:31 [PATCH] riscv: Set 5.4 as minimum kernel version for riscv32 Khem Raj
@ 2021-12-17 1:32 ` Alistair Francis
2021-12-17 5:11 ` Alistair Francis
1 sibling, 0 replies; 7+ messages in thread
From: Alistair Francis @ 2021-12-17 1:32 UTC (permalink / raw)
To: Khem Raj
Cc: Palmer Dabbelt, Bin Meng, Alistair Francis,
qemu-devel@nongnu.org Developers
On Thu, Dec 16, 2021 at 5:33 PM Khem Raj <raj.khem@gmail.com> wrote:
>
> 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 <raj.khem@gmail.com>
> Cc: Palmer Dabbelt <palmer@dabbelt.com>
> Cc: Alistair Francis <alistair.francis@wdc.com>
> Cc: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Alistair
> ---
> linux-user/riscv/target_syscall.h | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/linux-user/riscv/target_syscall.h b/linux-user/riscv/target_syscall.h
> index dc597c8972..9b13161324 100644
> --- a/linux-user/riscv/target_syscall.h
> +++ b/linux-user/riscv/target_syscall.h
> @@ -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
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] riscv: Set 5.4 as minimum kernel version for riscv32
2021-12-16 7:31 [PATCH] riscv: Set 5.4 as minimum kernel version for riscv32 Khem Raj
2021-12-17 1:32 ` Alistair Francis
@ 2021-12-17 5:11 ` Alistair Francis
1 sibling, 0 replies; 7+ messages in thread
From: Alistair Francis @ 2021-12-17 5:11 UTC (permalink / raw)
To: Khem Raj
Cc: Palmer Dabbelt, Bin Meng, Alistair Francis,
qemu-devel@nongnu.org Developers
On Thu, Dec 16, 2021 at 5:33 PM Khem Raj <raj.khem@gmail.com> wrote:
>
> 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 <raj.khem@gmail.com>
> Cc: Palmer Dabbelt <palmer@dabbelt.com>
> Cc: Alistair Francis <alistair.francis@wdc.com>
> Cc: Bin Meng <bin.meng@windriver.com>
Thanks!
Applied to riscv-to-apply.next
Alistair
> ---
> linux-user/riscv/target_syscall.h | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/linux-user/riscv/target_syscall.h b/linux-user/riscv/target_syscall.h
> index dc597c8972..9b13161324 100644
> --- a/linux-user/riscv/target_syscall.h
> +++ b/linux-user/riscv/target_syscall.h
> @@ -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
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] riscv: Set 5.4 as minimum kernel version for riscv32
2021-12-16 6:24 ` Alistair Francis
@ 2021-12-16 7:31 ` Khem Raj
0 siblings, 0 replies; 7+ messages in thread
From: Khem Raj @ 2021-12-16 7:31 UTC (permalink / raw)
To: Alistair Francis; +Cc: palmer, qemu-riscv, bin.meng
On Wed, Dec 15, 2021 at 10:24 PM Alistair Francis
<Alistair.Francis@wdc.com> wrote:
>
> On Wed, 2021-12-15 at 10:04 -0800, Palmer Dabbelt wrote:
> > On Wed, 15 Dec 2021 09:26:08 PST (-0800), Khem Raj wrote:
> > > 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 <raj.khem@gmail.com>
> > > Cc: Palmer Dabbelt <palmer@dabbelt.com>
> > > Cc: Alistair Francis <alistair.francis@wdc.com>
> > > Cc: Bin Meng <bin.meng@windriver.com>
>
> Thanks for the patch!
>
> Can you please send the patch to qemu-devel@nongnu.org as well?
>
Yeah I missed that. Done now.
> Alistair
>
> > > ---
> > > linux-user/riscv/target_syscall.h | 3 ++-
> > > 1 file changed, 2 insertions(+), 1 deletion(-)
> > >
> > > diff --git a/linux-user/riscv/target_syscall.h b/linux-
> > > user/riscv/target_syscall.h
> > > index dc597c8972..9b13161324 100644
> > > --- a/linux-user/riscv/target_syscall.h
> > > +++ b/linux-user/riscv/target_syscall.h
> > > @@ -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
> >
> > Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com>
> >
> > Thanks!
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] riscv: Set 5.4 as minimum kernel version for riscv32
2021-12-15 18:04 ` Palmer Dabbelt
@ 2021-12-16 6:24 ` Alistair Francis
2021-12-16 7:31 ` Khem Raj
0 siblings, 1 reply; 7+ messages in thread
From: Alistair Francis @ 2021-12-16 6:24 UTC (permalink / raw)
To: palmer, raj.khem; +Cc: qemu-riscv, bin.meng
On Wed, 2021-12-15 at 10:04 -0800, Palmer Dabbelt wrote:
> On Wed, 15 Dec 2021 09:26:08 PST (-0800), Khem Raj wrote:
> > 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 <raj.khem@gmail.com>
> > Cc: Palmer Dabbelt <palmer@dabbelt.com>
> > Cc: Alistair Francis <alistair.francis@wdc.com>
> > Cc: Bin Meng <bin.meng@windriver.com>
Thanks for the patch!
Can you please send the patch to qemu-devel@nongnu.org as well?
Alistair
> > ---
> > linux-user/riscv/target_syscall.h | 3 ++-
> > 1 file changed, 2 insertions(+), 1 deletion(-)
> >
> > diff --git a/linux-user/riscv/target_syscall.h b/linux-
> > user/riscv/target_syscall.h
> > index dc597c8972..9b13161324 100644
> > --- a/linux-user/riscv/target_syscall.h
> > +++ b/linux-user/riscv/target_syscall.h
> > @@ -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
>
> Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com>
>
> Thanks!
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] riscv: Set 5.4 as minimum kernel version for riscv32
2021-12-15 17:26 Khem Raj
@ 2021-12-15 18:04 ` Palmer Dabbelt
2021-12-16 6:24 ` Alistair Francis
0 siblings, 1 reply; 7+ messages in thread
From: Palmer Dabbelt @ 2021-12-15 18:04 UTC (permalink / raw)
To: Khem Raj; +Cc: qemu-riscv, Khem Raj, Alistair Francis, bin.meng
On Wed, 15 Dec 2021 09:26:08 PST (-0800), Khem Raj wrote:
> 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 <raj.khem@gmail.com>
> Cc: Palmer Dabbelt <palmer@dabbelt.com>
> Cc: Alistair Francis <alistair.francis@wdc.com>
> Cc: Bin Meng <bin.meng@windriver.com>
> ---
> linux-user/riscv/target_syscall.h | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/linux-user/riscv/target_syscall.h b/linux-user/riscv/target_syscall.h
> index dc597c8972..9b13161324 100644
> --- a/linux-user/riscv/target_syscall.h
> +++ b/linux-user/riscv/target_syscall.h
> @@ -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
Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com>
Thanks!
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH] riscv: Set 5.4 as minimum kernel version for riscv32
@ 2021-12-15 17:26 Khem Raj
2021-12-15 18:04 ` Palmer Dabbelt
0 siblings, 1 reply; 7+ messages in thread
From: Khem Raj @ 2021-12-15 17:26 UTC (permalink / raw)
To: qemu-riscv; +Cc: Khem Raj, Palmer Dabbelt, Alistair Francis, Bin Meng
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 <raj.khem@gmail.com>
Cc: Palmer Dabbelt <palmer@dabbelt.com>
Cc: Alistair Francis <alistair.francis@wdc.com>
Cc: Bin Meng <bin.meng@windriver.com>
---
linux-user/riscv/target_syscall.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/linux-user/riscv/target_syscall.h b/linux-user/riscv/target_syscall.h
index dc597c8972..9b13161324 100644
--- a/linux-user/riscv/target_syscall.h
+++ b/linux-user/riscv/target_syscall.h
@@ -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
^ permalink raw reply related [flat|nested] 7+ messages in thread
end of thread, other threads:[~2021-12-17 5:13 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-16 7:31 [PATCH] riscv: Set 5.4 as minimum kernel version for riscv32 Khem Raj
2021-12-17 1:32 ` Alistair Francis
2021-12-17 5:11 ` Alistair Francis
-- strict thread matches above, loose matches on Subject: below --
2021-12-15 17:26 Khem Raj
2021-12-15 18:04 ` Palmer Dabbelt
2021-12-16 6:24 ` Alistair Francis
2021-12-16 7:31 ` Khem Raj
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.