diff options
author | Fuad Tabba <tabba@google.com> | 2023-07-24 13:38:26 +0100 |
---|---|---|
committer | Oliver Upton <oliver.upton@linux.dev> | 2023-07-26 17:08:29 +0000 |
commit | 90ae31c65d5afdd0864017c9354247ddb601917f (patch) | |
tree | de79ba18050f8db891b99cc05f5b2cfdcee8c5e8 /scripts/gdb/linux/lists.py | |
parent | 380624d4358b0150804d279c20632555e453bc1f (diff) |
KVM: arm64: Helper to write to appropriate feature trap register based on mode
Factor out the code that decides whether to write to the feature
trap registers, CPTR_EL2 or CPACR_EL1, based on the KVM mode,
i.e., (h)VHE or nVHE.
This function will be used in the subsequent patch.
No functional change intended.
Signed-off-by: Fuad Tabba <tabba@google.com>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230724123829.2929609-6-tabba@google.com
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions