diff options
| author | Marc Zyngier <maz@kernel.org> | 2025-08-25 15:20:06 +0100 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2025-09-20 11:05:13 +0100 |
| commit | cb1762904c5000220a0facf9bcab68ba687ec417 (patch) | |
| tree | f42f744cd3d79883d666d39ad027e17d0ee3fa8b /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
| parent | KVM: arm64: Allow use of S1 PTW for non-NV vcpus (diff) | |
| download | linux-cb1762904c5000220a0facf9bcab68ba687ec417.tar.gz linux-cb1762904c5000220a0facf9bcab68ba687ec417.zip | |
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 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions
