diff options
| author | Fuad Tabba <[email protected]> | 2023-07-24 13:38:26 +0100 |
|---|---|---|
| committer | Oliver Upton <[email protected]> | 2023-07-26 17:08:29 +0000 |
| commit | 90ae31c65d5afdd0864017c9354247ddb601917f (patch) | |
| tree | de79ba18050f8db891b99cc05f5b2cfdcee8c5e8 /tools/testing/selftests/net/lib/py/utils.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 <[email protected]>
Reviewed-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Oliver Upton <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions