android_kernel_sony_sdm845/arch/arm64
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Marc Zyngier 3fce258c11 KVM: arm64: Make vcpu_cp1x() work on Big Endian hosts
commit 3204be4109ad681523e3461ce64454c79278450a upstream.

AArch32 CP1x registers are overlayed on their AArch64 counterparts
in the vcpu struct. This leads to an interesting problem as they
are stored in their CPU-local format, and thus a CP1x register
doesn't "hit" the lower 32bit portion of the AArch64 register on
a BE host.

To workaround this unfortunate situation, introduce a bias trick
in the vcpu_cp1x() accessors which picks the correct half of the
64bit register.

Cc: stable@vger.kernel.org
Reported-by: James Morse <james.morse@arm.com>
Tested-by: James Morse <james.morse@arm.com>
Acked-by: James Morse <james.morse@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-06-20 10:24:12 +02:00
..
boot arm64: kbuild: remove compressed images on 'make ARCH=arm64 (dist)clean' 2020-02-05 13:05:45 +00:00
configs arm64: defconfig: Enable Rockchip io-domain driver 2018-08-03 07:55:24 +02:00
crypto crypto: arm64/sha2-ce - correct digest for empty data in finup 2019-08-04 09:33:26 +02:00
include KVM: arm64: Make vcpu_cp1x() work on Big Endian hosts 2020-06-20 10:24:12 +02:00
kernel arm64: fix the flush_icache_range arguments in machine_kexec 2020-05-27 16:41:53 +02:00
kvm arm64/kvm: consistently handle host HCR_EL2 flags 2019-01-23 08:10:53 +01:00
lib arm64: uaccess: Ensure PAN is re-enabled after unhandled uaccess fault 2019-11-25 09:53:54 +01:00
mm arm64: Make sure permission updates happen for pmd/pud 2020-01-23 08:19:34 +01:00
net bpf: get rid of pure_initcall dependency to enable jits 2019-08-25 10:51:40 +02:00
xen arm/xen: add support for vm_assist hypercall 2016-07-06 10:42:14 +01:00
Kconfig arm64: support keyctl() system call in 32-bit mode 2019-04-03 06:24:20 +02:00
Kconfig.debug arm64: always enable DEBUG_RODATA and remove the Kconfig option 2016-08-26 10:13:41 +01:00
Kconfig.platforms arm64: rockchip: Force CONFIG_PM on Rockchip systems 2018-09-15 09:43:00 +02:00
Makefile arm64: makefile fix build of .i file in external module case 2019-11-28 18:28:53 +01:00