linux-brain/arch/arm64/kvm/hyp
Julien Thierry e059fc3c36 arm/arm64: kvm: Disable branch profiling in HYP code
commit f9b269f309 upstream.

When HYP code runs into branch profiling code, it attempts to jump to
unmapped memory, causing a HYP Panic.

Disable the branch profiling for code designed to run at HYP mode.

Signed-off-by: Julien Thierry <julien.thierry@arm.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Cc: Christoffer Dall <christoffer.dall@linaro.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Russell King <linux@armlinux.org.uk>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-11-08 10:08:32 +01:00
..
Makefile arm/arm64: kvm: Disable branch profiling in HYP code 2017-11-08 10:08:32 +01:00
debug-sr.c KVM: arm/arm64: Get rid of exported aliases to static functions 2016-09-08 12:53:00 +02:00
entry.S arm64: KVM: Handle async aborts delivered while at EL2 2016-09-08 12:53:00 +02:00
fpsimd.S arm64: KVM: Implement fpsimd save/restore 2015-12-14 11:30:41 +00:00
hyp-entry.S arm64: KVM: Handle async aborts delivered while at EL2 2016-09-08 12:53:00 +02:00
s2-setup.c kvm: arm64: Enable hardware updates of the Access Flag for Stage 2 page tables 2016-05-09 22:23:08 +02:00
switch.c arm64: KVM: pmu: Reset PMSELR_EL0.SEL to a sane value before entering the guest 2017-01-09 08:32:22 +01:00
sysreg-sr.c arm64: KVM: VHE: Context switch MDSCR_EL1 2016-07-23 18:07:12 +02:00
tlb.c arm64: KVM: VHE: Clear HCR_TGE when invalidating guest TLBs 2017-03-22 12:43:39 +01:00