[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] target-ppc: Extend HWCAP2 bits for ISA 3.0
From: |
Laurent Vivier |
Subject: |
Re: [Qemu-devel] [PATCH] target-ppc: Extend HWCAP2 bits for ISA 3.0 |
Date: |
Thu, 6 Sep 2018 09:04:19 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
Le 06/09/2018 à 08:57, Sandipan Das a écrit :
> This adds the HWCAP2 bit to detect if a linux user process is
> running on an ISA 3.0 compliant cpu like POWER9. This can be
> verified using a simple test program that prints the value in
> the auxiliary vector for AT_HWCAP2 as shown below.
>
> Before:
> $ qemu-ppc64le -cpu power8 test
> 0x8c000000
>
> $ qemu-ppc64le -cpu power9 test
> 0x8c000000
>
> After:
> $ qemu-ppc64le -cpu power8 test
> 0x8c000000
>
> $ qemu-ppc64le -cpu power9 test
> 0x8c800000
>
> Signed-off-by: Sandipan Das <address@hidden>
> ---
> linux-user/elfload.c | 2 ++
> 1 file changed, 2 insertions(+)
Reviewed-by: Laurent Vivier <address@hidden>