qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Bharata B Rao <bharata@linux.ibm.com>
To: qemu-devel@nongnu.org
Cc: Bharata B Rao <bharata@linux.ibm.com>,
	qemu-ppc@nongnu.org, david@gibson.dropbear.id.au
Subject: [PATCH v1 0/2] Enable support for H_RPT_INVALIDATE hcall
Date: Tue,  6 Jul 2021 16:54:38 +0530	[thread overview]
Message-ID: <20210706112440.1449562-1-bharata@linux.ibm.com> (raw)

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	other threads:[~2021-07-06 11:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-06 11:24 Bharata B Rao [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210706112440.1449562-1-bharata@linux.ibm.com \
    --to=bharata@linux.ibm.com \
    --cc=david@gibson.dropbear.id.au \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).