summaryrefslogtreecommitdiff
path: root/rust/helpers/workqueue.c
diff options
context:
space:
mode:
authorFuad Tabba <tabba@google.com>2025-03-21 03:10:10 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-03-29 00:04:58 +0300
commit626dcb1d742eff8c4fe6ab643f1f6ee9bd61022e (patch)
tree9a258e4523b37e4f6f39f8f03b18693b15d3e505 /rust/helpers/workqueue.c
parent9752dd3bf4bf2aca1b271a973f9416b6135f6146 (diff)
downloadlinux-626dcb1d742eff8c4fe6ab643f1f6ee9bd61022e.tar.xz
KVM: arm64: Calculate cptr_el2 traps on activating traps
[ Upstream commit 2fd5b4b0e7b440602455b79977bfa64dea101e6c ] Similar to VHE, calculate the value of cptr_el2 from scratch on activate traps. This removes the need to store cptr_el2 in every vcpu structure. Moreover, some traps, such as whether the guest owns the fp registers, need to be set on every vcpu run. Reported-by: James Clark <james.clark@linaro.org> Fixes: 5294afdbf45a ("KVM: arm64: Exclude FP ownership from kvm_vcpu_arch") Signed-off-by: Fuad Tabba <tabba@google.com> Link: https://lore.kernel.org/r/20241216105057.579031-13-tabba@google.com Signed-off-by: Marc Zyngier <maz@kernel.org> Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions