From: Andrew Jones <drjones@redhat.com>
To: Marc Zyngier <maz@kernel.org>
Cc: Peter Maydell <peter.maydell@linaro.org>,
kvm@vger.kernel.org,
Richard Henderson <richard.henderson@linaro.org>,
qemu-devel@nongnu.org, Eric Auger <eric.auger@redhat.com>,
kernel-team@android.com, kvmarm@lists.cs.columbia.edu
Subject: Re: [PATCH v2] hw/arm/virt: KVM: Enable PAuth when supported by the host
Date: Wed, 5 Jan 2022 15:58:55 +0100 [thread overview]
Message-ID: <20220105145855.ca7vxeu3ubytdkna@gator> (raw)
In-Reply-To: <20220103180507.2190429-1-maz@kernel.org>
On Mon, Jan 03, 2022 at 06:05:07PM +0000, Marc Zyngier wrote:
> Add basic support for Pointer Authentication when running a KVM
> guest and that the host supports it, loosely based on the SVE
> support.
>
> Although the feature is enabled by default when the host advertises
> it, it is possible to disable it by setting the 'pauth=off' CPU
> property. The 'pauth' comment is removed from cpu-features.rst,
> as it is now common to both TCG and KVM.
>
> Tested on an Apple M1 running 5.16-rc6.
>
> Cc: Eric Auger <eric.auger@redhat.com>
> Cc: Andrew Jones <drjones@redhat.com>
> Cc: Richard Henderson <richard.henderson@linaro.org>
> Cc: Peter Maydell <peter.maydell@linaro.org>
> Signed-off-by: Marc Zyngier <maz@kernel.org>
> ---
> * From v1:
> - Drop 'pauth' documentation
> - Make the TCG path common to both TCG and KVM
> - Some tidying up
>
> docs/system/arm/cpu-features.rst | 4 ----
> target/arm/cpu.c | 14 ++++----------
> target/arm/cpu.h | 1 +
> target/arm/cpu64.c | 33 ++++++++++++++++++++++++++++----
> target/arm/kvm64.c | 21 ++++++++++++++++++++
> 5 files changed, 55 insertions(+), 18 deletions(-)
>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Thanks,
drew
next prev parent reply other threads:[~2022-01-05 15:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-03 18:05 [PATCH v2] hw/arm/virt: KVM: Enable PAuth when supported by the host Marc Zyngier
2022-01-05 14:58 ` Andrew Jones [this message]
2022-01-05 21:36 ` Richard Henderson
2022-01-06 9:16 ` Marc Zyngier
2022-01-06 17:20 ` Richard Henderson
2022-01-06 17:29 ` Marc Zyngier
2022-01-06 18:26 ` Richard Henderson
2022-01-06 19:25 ` Marc Zyngier
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=20220105145855.ca7vxeu3ubytdkna@gator \
--to=drjones@redhat.com \
--cc=eric.auger@redhat.com \
--cc=kernel-team@android.com \
--cc=kvm@vger.kernel.org \
--cc=kvmarm@lists.cs.columbia.edu \
--cc=maz@kernel.org \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
/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).