linux/arch/arm64/kvm/hyp
Quentin Perret 8e049e0daf KVM: arm64: Introduce hyp_assert_lock_held()
Introduce a poor man's lockdep implementation at EL2 which allows to
BUG() whenever a hyp spinlock is not held when it should. Hide this
feature behind a new Kconfig option that targets the EL2 object
specifically, instead of piggy backing on the existing CONFIG_LOCKDEP.
EL2 cannot WARN() cleanly to report locking issues, hence BUG() is the
only option and it is not clear whether we want this widely enabled.
This is most likely going to be useful for local testing until the EL2
WARN() situation has improved.

Signed-off-by: Quentin Perret <qperret@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210809152448.1810400-3-qperret@google.com
2021-08-11 11:39:35 +01:00
..
include KVM: arm64: Introduce hyp_assert_lock_held() 2021-08-11 11:39:35 +01:00
nvhe Merge branch arm64/for-next/caches into kvmarm-master/next 2021-06-18 17:30:39 +01:00
vhe KVM: arm64: Move __adjust_pc out of line 2021-05-15 10:27:59 +01:00
aarch32.c KVM: arm64: Move kvm_vcpu_trap_il_is32bit into kvm_skip_instr32() 2020-11-10 08:34:24 +00:00
entry.S KVM: arm64: Save/restore MTE registers 2021-06-22 14:08:05 +01:00
exception.c KVM: arm64: Introduce MTE VM feature 2021-06-22 14:08:05 +01:00
fpsimd.S KVM: arm64: Rework SVE host-save/guest-restore 2021-03-18 13:57:37 +00:00
hyp-entry.S KVM: arm64: Handle physical FIQ as an IRQ while running a guest 2021-06-01 10:45:58 +01:00
Makefile KVM: arm64: Prepare the creation of s1 mappings at EL2 2021-03-19 12:01:21 +00:00
pgtable.c KVM: arm64: Introduce helper to retrieve a PTE and its level 2021-08-02 14:05:58 +01:00
reserved_mem.c KVM: arm64: Unify MMIO and mem host stage-2 pools 2021-06-11 13:24:11 +01:00
vgic-v2-cpuif-proxy.c KVM: arm64: Remove hyp_symbol_addr 2021-01-23 14:01:00 +00:00
vgic-v3-sr.c KVM: arm64: Fix CPU interface MMIO compatibility detection 2021-03-24 17:26:38 +00:00