linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4 v2] KVM: PPC: IOMMU in-kernel handling
@ 2013-05-21  3:06 Alexey Kardashevskiy
  2013-05-21  3:06 ` [PATCH 1/4] KVM: PPC: Add support for multiple-TCE hcalls Alexey Kardashevskiy
                   ` (3 more replies)
  0 siblings, 4 replies; 54+ messages in thread
From: Alexey Kardashevskiy @ 2013-05-21  3:06 UTC (permalink / raw)
  To: linuxppc-dev
  Cc: Alexey Kardashevskiy, David Gibson, Benjamin Herrenschmidt,
	Alexander Graf, Paul Mackerras, linux-kernel, kvm, kvm-ppc

This accelerates IOMMU operations in real and virtual
mode in the host kernel for the KVM guest.

The first patch with multitce support is useful for emulated devices as is.

The other patches are designed for VFIO although this series
does not contain any VFIO related code as the connection between
VFIO and the new handlers is to be made in QEMU
via ioctl to the KVM fd.

The series was made and tested against v3.10-rc1.


Alexey Kardashevskiy (4):
  KVM: PPC: Add support for multiple-TCE hcalls
  powerpc: Prepare to support kernel handling of IOMMU map/unmap
  KVM: PPC: Add support for IOMMU in-kernel handling
  KVM: PPC: Add hugepage support for IOMMU in-kernel handling

 Documentation/virtual/kvm/api.txt        |   42 +++
 arch/powerpc/include/asm/kvm_host.h      |    7 +
 arch/powerpc/include/asm/kvm_ppc.h       |   40 ++-
 arch/powerpc/include/asm/pgtable-ppc64.h |    4 +
 arch/powerpc/include/uapi/asm/kvm.h      |    7 +
 arch/powerpc/kvm/book3s_64_vio.c         |  398 ++++++++++++++++++++++++-
 arch/powerpc/kvm/book3s_64_vio_hv.c      |  471 ++++++++++++++++++++++++++++--
 arch/powerpc/kvm/book3s_hv.c             |   39 +++
 arch/powerpc/kvm/book3s_hv_rmhandlers.S  |    6 +
 arch/powerpc/kvm/book3s_pr_papr.c        |   37 ++-
 arch/powerpc/kvm/powerpc.c               |   15 +
 arch/powerpc/mm/init_64.c                |   77 ++++-
 include/uapi/linux/kvm.h                 |    5 +
 13 files changed, 1120 insertions(+), 28 deletions(-)

-- 
1.7.10.4


^ permalink raw reply	[flat|nested] 54+ messages in thread
* [PATCH 0/4 v3] KVM: PPC: IOMMU in-kernel handling
@ 2013-06-05  6:11 Alexey Kardashevskiy
  2013-06-05  6:11 ` [PATCH 3/4] KVM: PPC: Add support for " Alexey Kardashevskiy
  0 siblings, 1 reply; 54+ messages in thread
From: Alexey Kardashevskiy @ 2013-06-05  6:11 UTC (permalink / raw)
  To: Benjamin Herrenschmidt
  Cc: Alexey Kardashevskiy, linuxppc-dev, David Gibson, Alexander Graf,
	Paul Mackerras, kvm, linux-kernel, kvm-ppc

Ben, ping! :)

This series has tiny fixes (capability and ioctl numbers,
changed documentation, compile errors in some configuration).
More details are in the commit messages.
Rebased on v3.10-rc4.


Alexey Kardashevskiy (4):
  KVM: PPC: Add support for multiple-TCE hcalls
  powerpc: Prepare to support kernel handling of IOMMU map/unmap
  KVM: PPC: Add support for IOMMU in-kernel handling
  KVM: PPC: Add hugepage support for IOMMU in-kernel handling

 Documentation/virtual/kvm/api.txt        |   45 +++
 arch/powerpc/include/asm/kvm_host.h      |    7 +
 arch/powerpc/include/asm/kvm_ppc.h       |   40 ++-
 arch/powerpc/include/asm/pgtable-ppc64.h |    4 +
 arch/powerpc/include/uapi/asm/kvm.h      |    7 +
 arch/powerpc/kvm/book3s_64_vio.c         |  398 ++++++++++++++++++++++++-
 arch/powerpc/kvm/book3s_64_vio_hv.c      |  471 ++++++++++++++++++++++++++++--
 arch/powerpc/kvm/book3s_hv.c             |   39 +++
 arch/powerpc/kvm/book3s_hv_rmhandlers.S  |    6 +
 arch/powerpc/kvm/book3s_pr_papr.c        |   37 ++-
 arch/powerpc/kvm/powerpc.c               |   15 +
 arch/powerpc/mm/init_64.c                |   77 ++++-
 include/uapi/linux/kvm.h                 |    3 +
 13 files changed, 1121 insertions(+), 28 deletions(-)

-- 
1.7.10.4


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

end of thread, other threads:[~2013-06-27 11:06 UTC | newest]

Thread overview: 54+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-21  3:06 [PATCH 0/4 v2] KVM: PPC: IOMMU in-kernel handling Alexey Kardashevskiy
2013-05-21  3:06 ` [PATCH 1/4] KVM: PPC: Add support for multiple-TCE hcalls Alexey Kardashevskiy
2013-05-27 10:08   ` Paolo Bonzini
2013-05-27 14:33     ` Alexey Kardashevskiy
2013-05-21  3:06 ` [PATCH 2/4] powerpc: Prepare to support kernel handling of IOMMU map/unmap Alexey Kardashevskiy
2013-05-21  3:06 ` [PATCH 3/4] KVM: PPC: Add support for IOMMU in-kernel handling Alexey Kardashevskiy
2013-05-22 21:06   ` Scott Wood
2013-05-25  2:45     ` David Gibson
2013-05-27  2:44       ` Alexey Kardashevskiy
2013-05-28 17:45         ` Scott Wood
2013-05-28 23:30           ` Alexey Kardashevskiy
2013-05-28 23:35             ` Scott Wood
2013-05-29  0:12               ` Alexey Kardashevskiy
2013-05-29 20:05                 ` Scott Wood
2013-05-29 23:10                   ` Alexey Kardashevskiy
2013-05-29 23:14                     ` Scott Wood
2013-05-29 23:29                       ` Alexey Kardashevskiy
2013-05-29 23:32                         ` Scott Wood
2013-05-27 10:23       ` Paolo Bonzini
2013-05-27 14:26         ` Alexey Kardashevskiy
2013-05-27 14:41           ` Paolo Bonzini
2013-05-28 16:32       ` Scott Wood
2013-05-29  0:20         ` Alexey Kardashevskiy
2013-05-21  3:06 ` [PATCH 4/4] KVM: PPC: Add hugepage " Alexey Kardashevskiy
2013-06-05  6:11 [PATCH 0/4 v3] KVM: PPC: " Alexey Kardashevskiy
2013-06-05  6:11 ` [PATCH 3/4] KVM: PPC: Add support for " Alexey Kardashevskiy
2013-06-16  4:39   ` Benjamin Herrenschmidt
2013-06-19  3:17     ` Alexey Kardashevskiy
2013-06-16 22:25   ` Alexander Graf
2013-06-16 22:39   ` Benjamin Herrenschmidt
2013-06-17  3:13     ` Alex Williamson
2013-06-17  3:56       ` Benjamin Herrenschmidt
2013-06-18  2:32         ` Alex Williamson
2013-06-18  4:38           ` Benjamin Herrenschmidt
2013-06-18 14:48             ` Alex Williamson
2013-06-18 21:58               ` Benjamin Herrenschmidt
2013-06-19  3:35           ` Rusty Russell
2013-06-19  4:59             ` Benjamin Herrenschmidt
2013-06-19  9:58               ` Alexander Graf
2013-06-19 14:50                 ` Benjamin Herrenschmidt
2013-06-19 15:49                   ` Alex Williamson
2013-06-20  4:58                     ` Alexey Kardashevskiy
2013-06-20  5:28                       ` David Gibson
2013-06-20  7:47                         ` Benjamin Herrenschmidt
2013-06-20  8:48                           ` Alexey Kardashevskiy
2013-06-20 14:55                             ` Alex Williamson
2013-06-22  8:25                               ` Alexey Kardashevskiy
2013-06-22 12:03                               ` David Gibson
2013-06-22 14:28                                 ` Alex Williamson
2013-06-24  3:52                                   ` David Gibson
2013-06-24  4:41                                     ` Alex Williamson
2013-06-27 11:01                                       ` David Gibson
2013-06-22 23:28                                 ` Benjamin Herrenschmidt
2013-06-24  3:54                                   ` David Gibson
2013-06-24  3:58                                     ` Benjamin Herrenschmidt

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).