Re: [PATCH v3] linux-user/elfload: Implement ELF_HWCAP for RISC-V

2021-07-07 Thread Laurent Vivier
Le 06/07/2021 à 05:50, Kito Cheng a écrit : > Set I, M, A, F, D and C bit for hwcap if misa is set. > > V3 Changes: > - Simplify logic of getting hwcap. > > V2 Changes: > - Only set imafdc bits, sync with upstream linux kernel. > > Signed-off-by: Kito Cheng > --- > linux-user/elfload.c | 13

Re: [PATCH v3] linux-user/elfload: Implement ELF_HWCAP for RISC-V

2021-07-05 Thread Bin Meng
On Tue, Jul 6, 2021 at 11:50 AM Kito Cheng wrote: > > Set I, M, A, F, D and C bit for hwcap if misa is set. > > V3 Changes: > - Simplify logic of getting hwcap. > > V2 Changes: > - Only set imafdc bits, sync with upstream linux kernel. These changelogs should not be in the commit message, but

Re: [PATCH v3] linux-user/elfload: Implement ELF_HWCAP for RISC-V

2021-07-05 Thread Richard Henderson
On 7/5/21 8:50 PM, Kito Cheng wrote: Set I, M, A, F, D and C bit for hwcap if misa is set. V3 Changes: - Simplify logic of getting hwcap. V2 Changes: - Only set imafdc bits, sync with upstream linux kernel. Signed-off-by: Kito Cheng --- linux-user/elfload.c | 13 + 1 file

[PATCH v3] linux-user/elfload: Implement ELF_HWCAP for RISC-V

2021-07-05 Thread Kito Cheng
Set I, M, A, F, D and C bit for hwcap if misa is set. V3 Changes: - Simplify logic of getting hwcap. V2 Changes: - Only set imafdc bits, sync with upstream linux kernel. Signed-off-by: Kito Cheng --- linux-user/elfload.c | 13 + 1 file changed, 13 insertions(+) diff --git