aboutsummaryrefslogtreecommitdiff
path: root/arch/arm64/kvm/nested.c
diff options
context:
space:
mode:
authorOliver Upton <[email protected]>2024-06-19 17:40:29 +0000
committerOliver Upton <[email protected]>2024-06-20 17:16:44 +0000
commit97ca3fcc15cc0b19ccacb56d25545f1df080fbc0 (patch)
tree9828a4c8bfc498c4d3076d35a6f92a22b68a3b34 /arch/arm64/kvm/nested.c
parent410db103f6ebc68a505ef541291ec327e385205a (diff)
KVM: arm64: Use read-only helper for reading VM ID registers
IDREG() expands to the storage of a particular ID reg, which can be useful for handling both reads and writes. However, outside of a select few situations, the ID registers should be considered read only. Replace current readers with a new macro that expands to the value of the field rather than the field itself. Reviewed-by: Sebastian Ott <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Oliver Upton <[email protected]>
Diffstat (limited to 'arch/arm64/kvm/nested.c')
0 files changed, 0 insertions, 0 deletions