diff options
author | Fuad Tabba <tabba@google.com> | 2024-12-16 13:50:52 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2024-12-20 16:53:57 +0300 |
commit | 2fd5b4b0e7b440602455b79977bfa64dea101e6c (patch) | |
tree | 8fed9b564f4c3dc5c16a2a15fa7861d14f4795ca /scripts/gdb/linux/tasks.py | |
parent | 092e7b2c3b1a5591bbabc358f3b709dfa2289b91 (diff) | |
download | linux-2fd5b4b0e7b440602455b79977bfa64dea101e6c.tar.xz |
KVM: arm64: Calculate cptr_el2 traps on activating traps
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>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions