qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v1 0/2] Enable support for H_RPT_INVALIDATE hcall


From: Bharata B Rao
Subject: [PATCH v1 0/2] Enable support for H_RPT_INVALIDATE hcall
Date: Tue, 6 Jul 2021 16:54:38 +0530

Hi,

This series enables the support for H_RPT_INVALIDATE hcall
which was added to upstream kernel recently.

It adds a new sPAPR machine capability cap-rpt-invalidate
and if it is set by the user, checks for the availability
of H_RPT_INVALIDATE hcall in the hypervisor (via
KVM_CAP_RPT_INVALIDATE KVM capability) and enables the same.

Headers update is needed for KVM_CAP_PPC_RPT_INVALIDATE.

v0: 
https://lore.kernel.org/qemu-devel/20210106085910.2200795-1-bharata@linux.ibm.com/

Bharata B Rao (2):
  linux-headers: Update
  target/ppc: Support for H_RPT_INVALIDATE hcall

 hw/ppc/spapr.c                                |   6 +
 hw/ppc/spapr_caps.c                           |  41 +++++++
 include/hw/ppc/spapr.h                        |   8 +-
 include/standard-headers/asm-x86/kvm_para.h   |  13 +++
 include/standard-headers/drm/drm_fourcc.h     |   7 ++
 include/standard-headers/linux/ethtool.h      |   4 +-
 .../linux/input-event-codes.h                 |   1 +
 include/standard-headers/linux/virtio_ids.h   |   2 +-
 include/standard-headers/linux/virtio_vsock.h |   9 ++
 linux-headers/asm-arm64/kvm.h                 |  11 ++
 linux-headers/asm-generic/mman-common.h       |   3 +
 linux-headers/asm-generic/unistd.h            |   4 +-
 linux-headers/asm-mips/mman.h                 |   3 +
 linux-headers/asm-mips/unistd_n32.h           |   1 +
 linux-headers/asm-mips/unistd_n64.h           |   1 +
 linux-headers/asm-mips/unistd_o32.h           |   1 +
 linux-headers/asm-powerpc/unistd_32.h         |   1 +
 linux-headers/asm-powerpc/unistd_64.h         |   1 +
 linux-headers/asm-s390/unistd_32.h            |   1 +
 linux-headers/asm-s390/unistd_64.h            |   1 +
 linux-headers/asm-x86/kvm.h                   |  13 +++
 linux-headers/asm-x86/unistd_32.h             |   7 +-
 linux-headers/asm-x86/unistd_64.h             |   7 +-
 linux-headers/asm-x86/unistd_x32.h            |   7 +-
 linux-headers/linux/kvm.h                     | 105 ++++++++++++++++++
 linux-headers/linux/userfaultfd.h             |  11 +-
 target/ppc/kvm.c                              |  12 ++
 target/ppc/kvm_ppc.h                          |  12 ++
 28 files changed, 274 insertions(+), 19 deletions(-)

-- 
2.31.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]