diff options
| author | Fuad Tabba <fuad.tabba@linux.dev> | 2026-07-29 14:18:17 +0100 |
|---|---|---|
| committer | Oliver Upton <oupton@kernel.org> | 2026-07-30 23:48:21 -0700 |
| commit | f88099ad9fc2fc5c7d75db848fcc2bb55a83133a (patch) | |
| tree | 19d7c220f87a6bbdc2a1ffeec11267870da40e4d /tools/perf/scripts/python | |
| parent | c0646b96473340c71cd133ac4056efc9f78141f7 (diff) | |
KVM: arm64: Make vcpu_{read,write}_sys_reg available to HYP code
The vcpu_{read,write}_sys_reg() accessors abstract where a system
register lives, but their VHE implementation cannot be linked into the
nVHE hypervisor, so exception.c open-codes has_vhe() wrappers instead.
Redirect the accessors to the raw context accessors for nVHE hyp builds,
where registers are always in memory, and drop the local wrappers. This
lets hyp code reuse helpers built on the canonical accessors.
No functional change intended.
Suggested-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Fuad Tabba <fuad.tabba@linux.dev>
Link: https://patch.msgid.link/20260729131823.2021516-3-fuad.tabba@linux.dev
Signed-off-by: Oliver Upton <oupton@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
