mbox series

[GIT,PULL] LoongArch KVM changes for v6.13

Message ID 20241114094128.2198306-1-chenhuacai@loongson.cn (mailing list archive)
State New
Headers show
Series [GIT,PULL] LoongArch KVM changes for v6.13 | expand

Pull-request

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

Message

Huacai Chen Nov. 14, 2024, 9:41 a.m. UTC
The following changes since commit 2d5404caa8c7bb5c4e0435f94b28834ae5456623:

  Linux 6.12-rc7 (2024-11-10 14:19:35 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 9899b8201025d00b23aee143594a30c55cc4cc35:

  irqchip/loongson-eiointc: Add virt extension support (2024-11-13 16:18:27 +0800)

----------------------------------------------------------------
LoongArch KVM changes for v6.13

1. Add iocsr and mmio bus simulation in kernel.
2. Add in-kernel interrupt controller emulation.
3. Add virt extension support for eiointc irqchip.

----------------------------------------------------------------
Bibo Mao (1):
      irqchip/loongson-eiointc: Add virt extension support

Xianglai Li (11):
      LoongArch: KVM: Add iocsr and mmio bus simulation in kernel
      LoongArch: KVM: Add IPI device support
      LoongArch: KVM: Add IPI read and write function
      LoongArch: KVM: Add IPI user mode read and write function
      LoongArch: KVM: Add EIOINTC device support
      LoongArch: KVM: Add EIOINTC read and write functions
      LoongArch: KVM: Add EIOINTC user mode read and write functions
      LoongArch: KVM: Add PCHPIC device support
      LoongArch: KVM: Add PCHPIC read and write functions
      LoongArch: KVM: Add PCHPIC user mode read and write functions
      LoongArch: KVM: Add irqfd support

 Documentation/arch/loongarch/irq-chip-model.rst    |   64 ++
 .../zh_CN/arch/loongarch/irq-chip-model.rst        |   55 ++
 arch/loongarch/include/asm/irq.h                   |    1 +
 arch/loongarch/include/asm/kvm_eiointc.h           |  123 +++
 arch/loongarch/include/asm/kvm_host.h              |   18 +-
 arch/loongarch/include/asm/kvm_ipi.h               |   45 +
 arch/loongarch/include/asm/kvm_pch_pic.h           |   62 ++
 arch/loongarch/include/uapi/asm/kvm.h              |   20 +
 arch/loongarch/kvm/Kconfig                         |    5 +-
 arch/loongarch/kvm/Makefile                        |    4 +
 arch/loongarch/kvm/exit.c                          |   82 +-
 arch/loongarch/kvm/intc/eiointc.c                  | 1027 ++++++++++++++++++++
 arch/loongarch/kvm/intc/ipi.c                      |  475 +++++++++
 arch/loongarch/kvm/intc/pch_pic.c                  |  519 ++++++++++
 arch/loongarch/kvm/irqfd.c                         |   89 ++
 arch/loongarch/kvm/main.c                          |   19 +-
 arch/loongarch/kvm/vcpu.c                          |    3 +
 arch/loongarch/kvm/vm.c                            |   21 +
 drivers/irqchip/irq-loongson-eiointc.c             |  108 +-
 include/linux/kvm_host.h                           |    1 +
 include/trace/events/kvm.h                         |   35 +
 include/uapi/linux/kvm.h                           |    8 +
 22 files changed, 2735 insertions(+), 49 deletions(-)
 create mode 100644 arch/loongarch/include/asm/kvm_eiointc.h
 create mode 100644 arch/loongarch/include/asm/kvm_ipi.h
 create mode 100644 arch/loongarch/include/asm/kvm_pch_pic.h
 create mode 100644 arch/loongarch/kvm/intc/eiointc.c
 create mode 100644 arch/loongarch/kvm/intc/ipi.c
 create mode 100644 arch/loongarch/kvm/intc/pch_pic.c
 create mode 100644 arch/loongarch/kvm/irqfd.c