From: ikarosYuuki <tujipei(a)huawei.com>
*** BLURB HERE ***
ikarosYuuki (5):
add virtcca cvm host feature
pmu: enable pmu phys irq inject for cvm
mm: enable swiotlb alloc for cvm share mem
config: modify arm64 defconfig for cvm feature
gicv3: add lpi support for cvm guest
arch/arm64/Kconfig | 8 +
arch/arm64/configs/openeuler_defconfig | 5 +-
arch/arm64/include/asm/kvm_emulate.h | 18 +
arch/arm64/include/asm/kvm_host.h | 15 +-
arch/arm64/include/asm/kvm_tmi.h | 333 ++++++++
arch/arm64/include/asm/kvm_tmm.h | 30 +-
arch/arm64/include/asm/set_memory.h | 1 +
arch/arm64/include/asm/virtcca_cvm_guest.h | 39 +
arch/arm64/include/uapi/asm/kvm.h | 4 +
arch/arm64/kernel/Makefile | 1 +
arch/arm64/kernel/virtcca_cvm_guest.c | 93 +++
arch/arm64/kvm/Kconfig | 6 +-
arch/arm64/kvm/Makefile | 3 +
arch/arm64/kvm/arch_timer.c | 92 +++
arch/arm64/kvm/arm.c | 136 +++-
arch/arm64/kvm/guest.c | 8 +
arch/arm64/kvm/mmio.c | 17 +-
arch/arm64/kvm/mmu.c | 7 +
arch/arm64/kvm/pmu-emul.c | 9 +
arch/arm64/kvm/psci.c | 12 +-
arch/arm64/kvm/reset.c | 13 +
arch/arm64/kvm/tmi.c | 141 ++++
arch/arm64/kvm/vgic/vgic-v3.c | 17 +-
arch/arm64/kvm/vgic/vgic.c | 55 +-
arch/arm64/kvm/virtcca_cvm.c | 889 +++++++++++++++++++++
arch/arm64/kvm/virtcca_cvm_exit.c | 221 +++++
arch/arm64/mm/init.c | 3 +
arch/arm64/mm/mmu.c | 5 +-
arch/arm64/mm/pageattr.c | 3 +
drivers/irqchip/irq-gic-v3-its.c | 231 +++++-
drivers/perf/arm_pmu.c | 17 +
include/kvm/arm_arch_timer.h | 4 +
include/linux/kvm_host.h | 22 +
include/linux/perf/arm_pmu.h | 4 +
include/uapi/linux/kvm.h | 13 +
kernel/dma/swiotlb.c | 16 +
virt/kvm/kvm_main.c | 4 +
37 files changed, 2437 insertions(+), 58 deletions(-)
create mode 100644 arch/arm64/include/asm/kvm_tmi.h
create mode 100644 arch/arm64/include/asm/virtcca_cvm_guest.h
create mode 100644 arch/arm64/kernel/virtcca_cvm_guest.c
create mode 100644 arch/arm64/kvm/tmi.c
create mode 100644 arch/arm64/kvm/virtcca_cvm.c
create mode 100644 arch/arm64/kvm/virtcca_cvm_exit.c
--
2.27.0