diff options
author | Oliver Upton <oliver.upton@linux.dev> | 2023-06-09 22:01:03 +0000 |
---|---|---|
committer | Oliver Upton <oliver.upton@linux.dev> | 2023-06-16 00:31:44 +0000 |
commit | ce4a36225753a1a5f3641bff47ecd32fb394dd22 (patch) | |
tree | 3049186627a129fa044afe5a5e90ca3cc71a5c9b /arch/arm64/kvm/arm.c | |
parent | 6df696cd9bc1ceed0e92e36908f88bbd16d18255 (diff) |
KVM: arm64: Refactor HFGxTR configuration into separate helpers
A subsequent change will need to flip more trap bits in HFGWTR_EL2. Make
room for this by factoring out the programming of the HFGxTR registers
into helpers and using locals to build the set/clear masks.
Link: https://lore.kernel.org/r/20230609220104.1836988-3-oliver.upton@linux.dev
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'arch/arm64/kvm/arm.c')
0 files changed, 0 insertions, 0 deletions