KVM: arm64: nv: Add TCPAC/TTA to CPTR->CPACR conversion helper
authorMarc Zyngier <maz@kernel.org>
Thu, 20 Jun 2024 16:46:49 +0000 (16:46 +0000)
committerOliver Upton <oliver.upton@linux.dev>
Thu, 20 Jun 2024 19:04:49 +0000 (19:04 +0000)
commit0edc60fd6e9ec1843d968370e0a3fa26cd73f3c3
tree6b89c62df89be5acd33a2a7a36f5d089eb90a1db
parent5326303bb7d9da79d94d0e347a6e212eaae8801d
KVM: arm64: nv: Add TCPAC/TTA to CPTR->CPACR conversion helper

We are missing the propagation of CPTR_EL2.{TCPAC,TTA} into
the CPACR format. Make sure we preserve these bits.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20240620164653.1130714-13-oliver.upton@linux.dev
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/include/asm/kvm_nested.h