Merge branch kvm-arm64/pkvm-cleanups-5.17 into kvmarm-master/next
authorMarc Zyngier <maz@kernel.org>
Wed, 15 Dec 2021 14:21:23 +0000 (14:21 +0000)
committerMarc Zyngier <maz@kernel.org>
Wed, 15 Dec 2021 14:21:23 +0000 (14:21 +0000)
* kvm-arm64/pkvm-cleanups-5.17:
  : .
  : pKVM cleanups from Quentin Perret:
  :
  : This series is a collection of various fixes and cleanups for KVM/arm64
  : when running in nVHE protected mode. The first two patches are real
  : fixes/improvements, the following two are minor cleanups, and the last
  : two help satisfy my paranoia so they're certainly optional.
  : .
  KVM: arm64: pkvm: Make kvm_host_owns_hyp_mappings() robust to VHE
  KVM: arm64: pkvm: Stub io map functions
  KVM: arm64: Make __io_map_base static
  KVM: arm64: Make the hyp memory pool static
  KVM: arm64: pkvm: Disable GICv2 support
  KVM: arm64: pkvm: Fix hyp_pool max order

Signed-off-by: Marc Zyngier <maz@kernel.org>
1  2 
arch/arm64/kvm/hyp/include/nvhe/mm.h
arch/arm64/kvm/hyp/nvhe/mm.c
arch/arm64/kvm/hyp/nvhe/setup.c

index ef6a58a042352c3d0b2d251a5015823873bc1a02,5ed5ba637d00cba7f47117d2733d5abbcc7e1857..2d08510c6cc1bf62e87a10fecb48d5a37ccabe2f
  #include <nvhe/memory.h>
  #include <nvhe/spinlock.h>
  
 -#define HYP_MEMBLOCK_REGIONS 128
 -extern struct memblock_region kvm_nvhe_sym(hyp_memory)[];
 -extern unsigned int kvm_nvhe_sym(hyp_memblock_nr);
  extern struct kvm_pgtable pkvm_pgtable;
  extern hyp_spinlock_t pkvm_pgd_lock;
- extern struct hyp_pool hpool;
- extern u64 __io_map_base;
  
  int hyp_create_idmap(u32 hyp_va_bits);
  int hyp_map_vectors(void);
Simple merge
Simple merge