qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Laurent Vivier <laurent@vivier.eu>
To: Sandipan Das <sandipan@linux.ibm.com>,
	david@gibson.dropbear.id.au, richard.henderson@linaro.org
Cc: qemu-devel@nongnu.org, riku.voipio@iki.fi,
	nikunj@linux.vnet.ibm.com, naveen.n.rao@linux.vnet.ibm.com
Subject: Re: [Qemu-devel] [PATCH] target-ppc: Extend HWCAP2 bits for ISA 3.0
Date: Thu, 6 Sep 2018 09:04:19 +0200	[thread overview]
Message-ID: <876f77aa-ce49-2ee4-1f21-5f371076c9c9@vivier.eu> (raw)
In-Reply-To: <20180906065729.2487-1-sandipan@linux.ibm.com>

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 <sandipan@linux.ibm.com>
> ---
>  linux-user/elfload.c | 2 ++
>  1 file changed, 2 insertions(+)

Reviewed-by: Laurent Vivier <laurent@vivier.eu>

  reply	other threads:[~2018-09-06  7:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-06  6:57 [Qemu-devel] [PATCH] target-ppc: Extend HWCAP2 bits for ISA 3.0 Sandipan Das
2018-09-06  7:04 ` Laurent Vivier [this message]
2018-09-07  1:30 ` David Gibson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=876f77aa-ce49-2ee4-1f21-5f371076c9c9@vivier.eu \
    --to=laurent@vivier.eu \
    --cc=david@gibson.dropbear.id.au \
    --cc=naveen.n.rao@linux.vnet.ibm.com \
    --cc=nikunj@linux.vnet.ibm.com \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.org \
    --cc=riku.voipio@iki.fi \
    --cc=sandipan@linux.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).