diff options
| author | Marc Zyngier <[email protected]> | 2017-04-27 18:06:48 +0000 |
|---|---|---|
| committer | Christoffer Dall <[email protected]> | 2017-05-02 07:53:46 +0000 |
| commit | c667186f1c01ca8970c785888868b7ffd74e51ee (patch) | |
| tree | 39b6ea8b862bc9703ccbc0ef09fd85a4191e61bd /arch/arm/kvm/psci.c | |
| parent | ARM: KVM: Fix idmap stub entry when running Thumb-2 code (diff) | |
| download | kernel-c667186f1c01ca8970c785888868b7ffd74e51ee.tar.gz kernel-c667186f1c01ca8970c785888868b7ffd74e51ee.zip | |
arm64: KVM: Fix decoding of Rt/Rt2 when trapping AArch32 CP accesses
Our 32bit CP14/15 handling inherited some of the ARMv7 code for handling
the trapped system registers, completely missing the fact that the
fields for Rt and Rt2 are now 5 bit wide, and not 4...
Let's fix it, and provide an accessor for the most common Rt case.
Cc: [email protected]
Reviewed-by: Christoffer Dall <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Signed-off-by: Christoffer Dall <[email protected]>
Diffstat (limited to 'arch/arm/kvm/psci.c')
0 files changed, 0 insertions, 0 deletions
