diff options
| author | Oliver Upton <oliver.upton@linux.dev> | 2025-09-24 16:51:49 -0700 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2025-10-13 14:44:37 +0100 |
| commit | fb10ddf35c1cc3b2888a944c0a3b1aa3baea585e (patch) | |
| tree | f1f4f382bf8faf8bef6d8a68bc025da0bea39074 /rust/kernel/alloc/layout.rs | |
| parent | 5c7cf1e44e94a5408b1b5277810502b0f82b77fe (diff) | |
KVM: arm64: Compute per-vCPU FGTs at vcpu_load()
To date KVM has used the fine-grained traps for the sake of UNDEF
enforcement (so-called FGUs), meaning the constituent parts could be
computed on a per-VM basis and folded into the effective value when
programmed.
Prepare for traps changing based on the vCPU context by computing the
whole mess of them at vcpu_load(). Aggressively inline all the helpers
to preserve the build-time checks that were there before.
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Reviewed-by: Joey Gouly <joey.gouly@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'rust/kernel/alloc/layout.rs')
0 files changed, 0 insertions, 0 deletions
