summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorFuad Tabba <fuad.tabba@linux.dev>2026-11-09 08:48:36 +0000
committerMarc Zyngier <maz@kernel.org>2026-11-19 10:27:33 +0000
commit50e9e6b6eb3d9b2c318babce60abdf3b300cfb35 (patch)
tree42e1a77d74c391a37f0d82ec5bf2675063d433d4 /scripts/Makefile.thinlto
parent2fec206f37582b9295185a86e43a08ac74e149d2 (diff)
KVM: arm64: Hide generic ptrauth from protected VMs without ptrauth
A protected VM without the ptrauth vCPU features shouldn't have pointer authentication in its ID registers. Commit 3d7ff00700d1 ("KVM: arm64: Rework specifying restricted features for protected VMs") gated APA, API, APA3 and GPA3 on vm_has_ptrauth(), but left GPA and GPI capped at IMP. So generic authentication is advertised to a protected guest without ptrauth, and PACGA UNDEFs. Gate GPA and GPI on vm_has_ptrauth() too. Fixes: 3d7ff00700d1 ("KVM: arm64: Rework specifying restricted features for protected VMs") Signed-off-by: Fuad Tabba <fuad.tabba@linux.dev> Link: https://patch.msgid.link/20261109084854.840576-2-fuad.tabba@linux.dev Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions