linux/arch/arm64/kvm/hyp
Quentin Perret 581982decc KVM: arm64: Use refcount at hyp to check page availability
The hyp buddy allocator currently checks the struct hyp_page list node
to see if a page is available for allocation or not when trying to
coalesce memory. Now that decrementing the refcount and attaching to
the buddy tree is done in the same critical section, we can rely on the
refcount of the buddy page to be in sync, which allows to replace the
list node check by a refcount check. This will ease removing the list
node from struct hyp_page later on.

Signed-off-by: Quentin Perret <qperret@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210608114518.748712-3-qperret@google.com
2021-06-11 13:24:11 +01:00
..
include KVM: arm64: Move hyp_pool locking out of refcount helpers 2021-06-11 13:24:11 +01:00
nvhe KVM: arm64: Use refcount at hyp to check page availability 2021-06-11 13:24:11 +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: Don't use cbz/adr with external symbols 2021-03-09 08:48:24 +00:00
exception.c KVM: arm64: Commit pending PC adjustemnts before returning to userspace 2021-05-15 10:27:59 +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: make the hyp vector table entries local 2021-02-24 11:20:43 +00: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 KVM_PGTABLE_S2_IDMAP stage 2 flag 2021-03-19 12:01:22 +00:00
reserved_mem.c KVM: arm64: Sort the hypervisor memblocks 2021-03-19 12:01:22 +00: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