Re: [PATCH] linux-user/elfload: Add missing arm64 hwcap values

2023-10-31 Thread Peter Maydell
On Tue, 31 Oct 2023 at 09:23, Marielle Novastrider wrote: > > > > > On 31 Oct 2023, at 00:56, Marielle Novastrider > > wrote: > > > >> On 30 Oct 2023, at 09:52, Peter Maydell wrote: > >> > >> ...but we don't implement FEAT_MTE3 yet. We would add this feature test > >> function, and the

Re: [PATCH] linux-user/elfload: Add missing arm64 hwcap values

2023-10-31 Thread Marielle Novastrider
> On 31 Oct 2023, at 00:56, Marielle Novastrider > wrote: > >> On 30 Oct 2023, at 09:52, Peter Maydell wrote: >> >> ...but we don't implement FEAT_MTE3 yet. We would add this feature test >> function, and the GET_FEATURE_ID() line, when we do, but we don't >> need it until then. > >

Re: [PATCH] linux-user/elfload: Add missing arm64 hwcap values

2023-10-30 Thread Marielle Novastrider
> On 30 Oct 2023, at 09:52, Peter Maydell wrote: > > ...but we don't implement FEAT_MTE3 yet. We would add this feature test > function, and the GET_FEATURE_ID() line, when we do, but we don't > need it until then. Understood. I made this patch as I noticed the discrepancy between cpuid and

Re: [PATCH] linux-user/elfload: Add missing arm64 hwcap values

2023-10-30 Thread Peter Maydell
On Sun, 29 Oct 2023 at 21:01, Marielle Novastrider wrote: > > Specifically DIT, LSE2, and MTE3. > > We already expose detection of these via the CPUID interface, but > missed these from ELF hwcaps. > > Signed-off-by: Marielle Novastrider > --- > linux-user/elfload.c | 3 +++ > target/arm/cpu.h

Re: [PATCH] linux-user/elfload: Add missing arm64 hwcap values

2023-10-29 Thread Philippe Mathieu-Daudé
On 29/10/23 22:00, Marielle Novastrider wrote: Specifically DIT, LSE2, and MTE3. We already expose detection of these via the CPUID interface, but missed these from ELF hwcaps. Signed-off-by: Marielle Novastrider --- linux-user/elfload.c | 3 +++ target/arm/cpu.h | 5 + 2 files

[PATCH] linux-user/elfload: Add missing arm64 hwcap values

2023-10-29 Thread Marielle Novastrider
Specifically DIT, LSE2, and MTE3. We already expose detection of these via the CPUID interface, but missed these from ELF hwcaps. Signed-off-by: Marielle Novastrider --- linux-user/elfload.c | 3 +++ target/arm/cpu.h | 5 + 2 files changed, 8 insertions(+) diff --git