diff options
| author | Marc Zyngier <maz@kernel.org> | 2025-09-29 19:04:45 +0300 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2025-10-13 16:42:40 +0300 |
| commit | 4cab5c857d1f92b4b322e30349fdc5e2e38e7a2f (patch) | |
| tree | 521621584c2316e8ed14244b074415c8c813fd3b /drivers/infiniband/hw/ionic/ionic_controlpath.c | |
| parent | 164ecbf73c3ea61455e07eefdad8050a7b569558 (diff) | |
| download | linux-4cab5c857d1f92b4b322e30349fdc5e2e38e7a2f.tar.xz | |
KVM: arm64: Hide CNTHV_*_EL2 from userspace for nVHE guests
Although we correctly UNDEF any CNTHV_*_EL2 access from the guest
when E2H==0, we still expose these registers to userspace, which
is a bad idea.
Drop the ad-hoc UNDEF injection and switch to a .visibility()
callback which will also hide the register from userspace.
Fixes: 0e45981028550 ("KVM: arm64: timer: Don't adjust the EL2 virtual timer offset")
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'drivers/infiniband/hw/ionic/ionic_controlpath.c')
0 files changed, 0 insertions, 0 deletions
