From: Oliver Upton <oliver.upton@linux.dev>
To: Fuad Tabba <tabba@google.com>, kvmarm@lists.linux.dev
Cc: Oliver Upton <oliver.upton@linux.dev>,
joey.gouly@arm.com, maz@kernel.org, suzuki.poulose@arm.com,
yuzenghui@huawei.com, catalin.marinas@arm.com, will@kernel.org
Subject: Re: [PATCH v2 0/4] KVM: arm64: Fix initialization of trap register values in pKVM
Date: Thu, 31 Oct 2024 18:53:06 +0000 [thread overview]
Message-ID: <173040077833.3165327.8956831992268078648.b4-ty@linux.dev> (raw)
In-Reply-To: <20241018074833.2563674-1-tabba@google.com>
On Fri, 18 Oct 2024 08:48:28 +0100, Fuad Tabba wrote:
> The patch that dropped PAuth instruction/key traps [1] did not
> apply to non-protected VMs in protected mode, since as noted [2],
> the hypervisor is supposed to handle trap register values in
> pKVM. However, in pKVM upstream code the hypervisor does not set
> all necessary trap register values in protected mode, and running
> non-protected VMs with PAuth enabled in pKVM has been broken
> since then [1].
>
> [...]
Applied to kvmarm/next, thanks!
[1/4] KVM: arm64: Move pkvm_vcpu_init_traps() to init_pkvm_hyp_vcpu()
https://git.kernel.org/kvmarm/kvmarm/c/0546d4a925a6
[2/4] KVM: arm64: Refactor kvm_vcpu_enable_ptrauth() for hyp use
https://git.kernel.org/kvmarm/kvmarm/c/3663b258f723
[3/4] KVM: arm64: Initialize the hypervisor's VM state at EL2
https://git.kernel.org/kvmarm/kvmarm/c/cb0c272acebd
[4/4] KVM: arm64: Initialize trap register values in hyp in pKVM
https://git.kernel.org/kvmarm/kvmarm/c/b56680de9c64
--
Best,
Oliver
prev parent reply other threads:[~2024-10-31 18:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-18 7:48 [PATCH v2 0/4] KVM: arm64: Fix initialization of trap register values in pKVM Fuad Tabba
2024-10-18 7:48 ` [PATCH v2 1/4] KVM: arm64: Move pkvm_vcpu_init_traps() to init_pkvm_hyp_vcpu() Fuad Tabba
2024-10-18 7:48 ` [PATCH v2 2/4] KVM: arm64: Refactor kvm_vcpu_enable_ptrauth() for hyp use Fuad Tabba
2024-10-18 7:48 ` [PATCH v2 3/4] KVM: arm64: Initialize the hypervisor's VM state at EL2 Fuad Tabba
2024-10-18 7:48 ` [PATCH v2 4/4] KVM: arm64: Initialize trap register values in hyp in pKVM Fuad Tabba
2024-10-31 18:53 ` Oliver Upton [this message]
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=173040077833.3165327.8956831992268078648.b4-ty@linux.dev \
--to=oliver.upton@linux.dev \
--cc=catalin.marinas@arm.com \
--cc=joey.gouly@arm.com \
--cc=kvmarm@lists.linux.dev \
--cc=maz@kernel.org \
--cc=suzuki.poulose@arm.com \
--cc=tabba@google.com \
--cc=will@kernel.org \
--cc=yuzenghui@huawei.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