diff options
| author | Marc Zyngier <maz@kernel.org> | 2026-10-25 07:51:36 +0000 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-11-03 11:54:13 +0000 |
| commit | c122ea1564b41326d8c09c64005d38ec2fa6dd8f (patch) | |
| tree | 3de9125406b1047df34a9f6b7568bc08075a3d3c /scripts/Makefile.thinlto | |
| parent | 8b5bcf2e799c24906b813f4a63081e68721a026b (diff) | |
KVM: arm64: Add context-switch of ACCDATA_EL1
Add ACCDATA_EL1 save/restore as part of the EL0 context. This is
conditioned on the guest's view of ID_AA64ISAR1_EL1.LS64 reporting
that this register is supported.
[Fuad: rebased; switch ACCDATA_EL1 for guests only, as the host never
uses it; gate it on a new ARM64_HAS_LS64_ACCDATA capability, since
in pKVM the host controls a non-protected guest's ID registers, and
an EL2 access to ACCDATA_EL1 on a CPU without the feature is UNDEFINED]
Fixes: 58ce78667a641 ("arm64: Add support for FEAT_{LS64, LS64_V}")
Link: https://lore.kernel.org/r/20240815125959.2097734-5-maz@kernel.org
Cc: stable@vger.kernel.org
Signed-off-by: Fuad Tabba <fuad.tabba@linux.dev>
Reviewed-by: Yuan Yao <yaoyuan@linux.alibaba.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://patch.msgid.link/20261025075138.2919734-4-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
