Re: [PATCH] linux-user/elfload: Set V in ELF_HWCAP for RISC-V

2023-08-10 Thread Alistair Francis
On Tue, Aug 8, 2023 at 2:37 AM Michael Tokarev wrote: > > 03.08.2023 16:14, Nathan Egge wrote: > > From: "Nathan Egge" > > > > Set V bit for hwcap if misa is set. > > > > Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1793 > > Signed-off-by: Nathan Egge > > --- > > linux-user/elfload.

Re: [PATCH] linux-user/elfload: Set V in ELF_HWCAP for RISC-V

2023-08-07 Thread Michael Tokarev
03.08.2023 16:14, Nathan Egge wrote: From: "Nathan Egge" Set V bit for hwcap if misa is set. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1793 Signed-off-by: Nathan Egge --- linux-user/elfload.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/linux-user/elf

Re: [PATCH] linux-user/elfload: Set V in ELF_HWCAP for RISC-V

2023-08-04 Thread Richard Henderson
On 8/3/23 07:42, Daniel Henrique Barboza wrote: On 8/3/23 10:14, Nathan Egge wrote: From: "Nathan Egge" Set V bit for hwcap if misa is set. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1793 Signed-off-by: Nathan Egge --- Tested with the example program described in the bug: =

Re: [PATCH] linux-user/elfload: Set V in ELF_HWCAP for RISC-V

2023-08-03 Thread Daniel Henrique Barboza
On 8/3/23 10:14, Nathan Egge wrote: From: "Nathan Egge" Set V bit for hwcap if misa is set. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1793 Signed-off-by: Nathan Egge --- Tested with the example program described in the bug: === #include #include #define ISA_V_HW

[PATCH] linux-user/elfload: Set V in ELF_HWCAP for RISC-V

2023-08-03 Thread Nathan Egge
From: "Nathan Egge" Set V bit for hwcap if misa is set. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1793 Signed-off-by: Nathan Egge --- linux-user/elfload.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/linux-user/elfload.c b/linux-user/elfload.c index 861ec

[PATCH] linux-user/elfload: Set V in ELF_HWCAP for RISC-V

2023-07-31 Thread Nathan Egge
One line patch that fixes the issue reported in: https://gitlab.com/qemu-project/qemu/-/issues/1793 >From 7122a450d745325ce250785e58c543481054bec6 Mon Sep 17 00:00:00 2001 From: "Nathan E. Egge" Date: Mon, 31 Jul 2023 03:45:13 -0400 Subject: [PATCH] linux-user/elfload: Set V in