diff options
author | Marc Zyngier <maz@kernel.org> | 2024-02-14 16:18:19 +0300 |
---|---|---|
committer | Oliver Upton <oliver.upton@linux.dev> | 2024-02-19 20:13:01 +0300 |
commit | f5a5a406b4b8bb6c1fc7a1e92a872bd86061a53f (patch) | |
tree | dc0b73c96d4298717f1a0c1c33ce0834e3f09e30 /arch/arm64/include | |
parent | 2fd8f31c32f061822c18d13d17c1ea6a531cc443 (diff) | |
download | linux-f5a5a406b4b8bb6c1fc7a1e92a872bd86061a53f.tar.xz |
KVM: arm64: Propagate and handle Fine-Grained UNDEF bits
In order to correctly honor our FGU bits, they must be converted
into a set of FGT bits. They get merged as part of the existing
FGT setting.
Similarly, the UNDEF injection phase takes place when handling
the trap.
This results in a bit of rework in the FGT macros in order to
help with the code generation, as burying per-CPU accesses in
macros results in a lot of expansion, not to mention the vcpu->kvm
access on nvhe (kern_hyp_va() is not optimisation-friendly).
Reviewed-by: Joey Gouly <joey.gouly@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20240214131827.2856277-19-maz@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'arch/arm64/include')
0 files changed, 0 insertions, 0 deletions