[GIT PULL] LoongArch KVM changes for v6.11

From: Huacai Chen
Date: Wed Jul 10 2024 - 06:51:46 EST


The following changes since commit 256abd8e550ce977b728be79a74e1729438b4948:

Linux 6.10-rc7 (2024-07-07 14:23:46 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson.git tags/loongarch-kvm-6.11

for you to fetch changes up to 492ac37fa38faf520b5beae44c930063265ee183:

perf kvm: Add kvm-stat for loongarch64 (2024-07-10 16:50:27 +0800)

----------------------------------------------------------------
LoongArch KVM changes for v6.11

1. Add ParaVirt steal time support.
2. Add some VM migration enhancement.
3. Add perf kvm-stat support for loongarch.

----------------------------------------------------------------
Bibo Mao (10):
LoongArch: KVM: Sync pending interrupt when getting ESTAT from user mode
LoongArch: KVM: Delay secondary mmu tlb flush until guest entry
LoongArch: KVM: Select huge page only if secondary mmu supports it
LoongArch: KVM: Discard dirty page tracking on readonly memslot
LoongArch: KVM: Add memory barrier before update pmd entry
LoongArch: KVM: Add dirty bitmap initially all set support
LoongArch: KVM: Mark page accessed and dirty with page ref added
LoongArch: KVM: Add PV steal time support in host side
LoongArch: KVM: Add PV steal time support in guest side
perf kvm: Add kvm-stat for loongarch64

Jia Qingtong (1):
LoongArch: KVM: always make pte young in page map's fast path

Documentation/admin-guide/kernel-parameters.txt | 6 +-
arch/loongarch/Kconfig | 11 ++
arch/loongarch/include/asm/kvm_host.h | 13 ++
arch/loongarch/include/asm/kvm_para.h | 11 ++
arch/loongarch/include/asm/kvm_vcpu.h | 5 +
arch/loongarch/include/asm/loongarch.h | 1 +
arch/loongarch/include/asm/paravirt.h | 5 +
arch/loongarch/include/uapi/asm/kvm.h | 4 +
arch/loongarch/kernel/paravirt.c | 145 ++++++++++++++++++++++
arch/loongarch/kernel/time.c | 2 +
arch/loongarch/kvm/Kconfig | 1 +
arch/loongarch/kvm/exit.c | 38 +++++-
arch/loongarch/kvm/main.c | 1 +
arch/loongarch/kvm/mmu.c | 72 +++++++----
arch/loongarch/kvm/tlb.c | 5 +-
arch/loongarch/kvm/vcpu.c | 154 +++++++++++++++++++++++-
tools/perf/arch/loongarch/Makefile | 1 +
tools/perf/arch/loongarch/util/Build | 2 +
tools/perf/arch/loongarch/util/header.c | 96 +++++++++++++++
tools/perf/arch/loongarch/util/kvm-stat.c | 139 +++++++++++++++++++++
20 files changed, 680 insertions(+), 32 deletions(-)
create mode 100644 tools/perf/arch/loongarch/util/header.c
create mode 100644 tools/perf/arch/loongarch/util/kvm-stat.c