]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: KVM: Remove all traces of the ThumbEE registers
authorWill Deacon <will.deacon@arm.com>
Tue, 15 Sep 2015 16:15:33 +0000 (17:15 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Thu, 17 Sep 2015 12:13:26 +0000 (13:13 +0100)
commit92177807e27bb46834c47f6f440da762b3f80e06
treed07bdaf5bd1386587042fa31f9ecf06faeba888f
parentbc8593335b9dbf46adb4ea16711d8a57afa30bee
arm64: KVM: Remove all traces of the ThumbEE registers

Although the ThumbEE registers and traps were present in earlier
versions of the v8 architecture, it was retrospectively removed and so
we can do the same.

Whilst this breaks migrating a guest started on a previous version of
the kernel, it is much better to kill these (non existent) registers
as soon as possible.

Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
[maz: added commend about migration]
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/include/asm/kvm_arm.h
arch/arm64/include/asm/kvm_asm.h
arch/arm64/kvm/hyp.S
arch/arm64/kvm/sys_regs.c