KVM: arm64: nv: Expose BTI and CSV_frac to a guest hypervisor
authorMarc Zyngier <maz@kernel.org>
Tue, 28 May 2024 10:06:32 +0000 (11:06 +0100)
committerMarc Zyngier <maz@kernel.org>
Thu, 30 May 2024 16:36:22 +0000 (17:36 +0100)
commit47eb2d68d10208e6a9e89d10b66018e8d6ca0623
tree9c05975661ffb10b2c99a60bbf353a7f9bbf4ba6
parent41011e2de3480f9adb6420b35b67628b2d903355
KVM: arm64: nv: Expose BTI and CSV_frac to a guest hypervisor

Now that we expose PAC to NV guests, we can also expose BTI (as
the two as joined at the hip, due to some of the PAC instructions
being landing pads).

While we're at it, also propagate CSV_frac, which requires no
particular emulation.

Fixes: f4f6a95bac49 ("KVM: arm64: nv: Advertise support for PAuth")
Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
Link: https://lore.kernel.org/r/20240528100632.1831995-3-maz@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/nested.c