WSL2-Linux-Kernel/arch/arm64/kvm/hyp
Catalin Marinas a6cdf1c08c kvm: arm64: Disable compiler instrumentation for hypervisor code
With the recent rewrite of the arm64 KVM hypervisor code in C, enabling
certain options like KASAN would allow the compiler to generate memory
accesses or function calls to addresses not mapped at EL2. This patch
disables the compiler instrumentation on the arm64 hypervisor code for
gcov-based profiling (GCOV_KERNEL), undefined behaviour sanity checker
(UBSAN) and kernel address sanitizer (KASAN).

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Christoffer Dall <christoffer.dall@linaro.org>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: <stable@vger.kernel.org> # 4.5+
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
2016-03-21 14:02:17 +01:00
..
Makefile kvm: arm64: Disable compiler instrumentation for hypervisor code 2016-03-21 14:02:17 +01:00
debug-sr.c arm64 updates for 4.6: 2016-03-17 20:03:47 -07:00
entry.S arm64: KVM: VHE: Add fpsimd enabling on guest access 2016-02-29 18:34:17 +00:00
fpsimd.S arm64: KVM: Implement fpsimd save/restore 2015-12-14 11:30:41 +00:00
hyp-entry.S arm64: KVM: Move most of the fault decoding to C 2016-02-29 18:34:18 +00:00
s2-setup.c arm64: KVM: Move kvm/hyp/hyp.h to include/asm/kvm_hyp.h 2016-02-29 18:34:18 +00:00
switch.c arm64: KVM: Add access handler for PMUSERENR register 2016-02-29 18:34:21 +00:00
sysreg-sr.c arm64: KVM: Move kvm/hyp/hyp.h to include/asm/kvm_hyp.h 2016-02-29 18:34:18 +00:00
tlb.c arm64: KVM: Move kvm/hyp/hyp.h to include/asm/kvm_hyp.h 2016-02-29 18:34:18 +00:00
vgic-v3-sr.c arm64: KVM: vgic-v3: Only wipe LRs on vcpu exit 2016-03-09 04:24:16 +00:00