summaryrefslogtreecommitdiff
path: root/rust/kernel/irq/request.rs
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2025-08-25 15:20:06 +0100
committerMarc Zyngier <maz@kernel.org>2025-09-20 11:05:13 +0100
commitcb1762904c5000220a0facf9bcab68ba687ec417 (patch)
treef42f744cd3d79883d666d39ad027e17d0ee3fa8b /rust/kernel/irq/request.rs
parent14d4802dc22acf670333c8aad4e1931e7d6ee412 (diff)
KVM: arm64: Allow EL1 control registers to be accessed from the CPU state
As we are about to plug the SW PTW into the EL1-only code, we can no longer assume that the EL1 state is not resident on the CPU, as we don't necessarily get there from EL2 traps. Turn the __vcpu_sys_reg() access on the EL1 state into calls to the vcpu_read_sys_reg() helper, which is guaranteed to do the right thing. Reviewed-by: Oliver Upton <oliver.upton@linux.dev> Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'rust/kernel/irq/request.rs')
0 files changed, 0 insertions, 0 deletions