diff options
| author | Marc Zyngier <[email protected]> | 2024-12-19 17:33:50 +0000 |
|---|---|---|
| committer | Will Deacon <[email protected]> | 2024-12-19 18:00:58 +0000 |
| commit | e5ecedcd7cc231a115c11cfed79635583ef4f882 (patch) | |
| tree | 801262ad5093f51794c779f0f81bf5b51d275475 /arch/arm64/kvm/emulate-nested.c | |
| parent | arm64/sysreg: Convert *_EL12 accessors to Mapping (diff) | |
| download | kernel-e5ecedcd7cc231a115c11cfed79635583ef4f882.tar.gz kernel-e5ecedcd7cc231a115c11cfed79635583ef4f882.zip | |
arm64/sysreg: Get rid of CPACR_ELx SysregFields
There is no such thing as CPACR_ELx in the architecture.
What we have is CPACR_EL1, for which CPTR_EL12 is an accessor.
Rename CPACR_ELx_* to CPACR_EL1_*, and fix the bit of code using
these names.
Reviewed-by: Mark Brown <[email protected]>
Acked-by: Mark Rutland <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'arch/arm64/kvm/emulate-nested.c')
| -rw-r--r-- | arch/arm64/kvm/emulate-nested.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kvm/emulate-nested.c b/arch/arm64/kvm/emulate-nested.c index 1ffbfd1c3cf2..f1b7287e1f3c 100644 --- a/arch/arm64/kvm/emulate-nested.c +++ b/arch/arm64/kvm/emulate-nested.c @@ -494,7 +494,7 @@ static enum trap_behaviour check_cptr_tta(struct kvm_vcpu *vcpu) if (!vcpu_el2_e2h_is_set(vcpu)) val = translate_cptr_el2_to_cpacr_el1(val); - if (val & CPACR_ELx_TTA) + if (val & CPACR_EL1_TTA) return BEHAVE_FORWARD_RW; return BEHAVE_HANDLE_LOCALLY; |
