qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/2] Enable support for H_RPT_INVALIDATE hcall
@ 2021-07-06 11:24 Bharata B Rao
  2021-07-06 11:24 ` [PATCH v1 1/2] linux-headers: Update Bharata B Rao
  2021-07-06 11:24 ` [PATCH v1 2/2] target/ppc: Support for H_RPT_INVALIDATE hcall Bharata B Rao
  0 siblings, 2 replies; 4+ messages in thread
From: Bharata B Rao @ 2021-07-06 11:24 UTC (permalink / raw)
  To: qemu-devel; +Cc: Bharata B Rao, qemu-ppc, david

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-07-09  1:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-06 11:24 [PATCH v1 0/2] Enable support for H_RPT_INVALIDATE hcall Bharata B Rao
2021-07-06 11:24 ` [PATCH v1 1/2] linux-headers: Update Bharata B Rao
2021-07-06 11:24 ` [PATCH v1 2/2] target/ppc: Support for H_RPT_INVALIDATE hcall Bharata B Rao
2021-07-09  1:01   ` David Gibson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).