diff options
| author | Marc Zyngier <[email protected]> | 2023-09-27 09:09:07 +0000 |
|---|---|---|
| committer | Oliver Upton <[email protected]> | 2023-09-30 18:15:43 +0000 |
| commit | 0a2acd38d23b8865b3a5a8c851001350df76fc09 (patch) | |
| tree | 17fa0faec0a715472fb4cacfa215570dd75cc963 /scripts/gcc-plugins/gcc-generate-rtl-pass.h | |
| parent | KVM: arm64: Use vcpu_idx for invalidation tracking (diff) | |
| download | kernel-0a2acd38d23b8865b3a5a8c851001350df76fc09.tar.gz kernel-0a2acd38d23b8865b3a5a8c851001350df76fc09.zip | |
KVM: arm64: Simplify kvm_vcpu_get_mpidr_aff()
By definition, MPIDR_EL1 cannot be modified by the guest. This
means it is pointless to check whether this is loaded on the CPU.
Simplify the kvm_vcpu_get_mpidr_aff() helper to directly access
the in-memory value.
Reviewed-by: Joey Gouly <[email protected]>
Reviewed-by: Zenghui Yu <[email protected]>
Tested-by: Joey Gouly <[email protected]>
Tested-by: Shameer Kolothum <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Oliver Upton <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-rtl-pass.h')
0 files changed, 0 insertions, 0 deletions
