linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH kernel v2 0/4] KVM: PPC: Add in-kernel acceleration for 64bit DMA
@ 2016-03-01  6:54 Alexey Kardashevskiy
  2016-03-01  6:54 ` [PATCH kernel v2 1/4] KVM: PPC: Reserve KVM_CAP_SPAPR_TCE_64 capability number Alexey Kardashevskiy
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Alexey Kardashevskiy @ 2016-03-01  6:54 UTC (permalink / raw)
  To: kvm-ppc
  Cc: Alexey Kardashevskiy, Paul Mackerras, David Gibson, linuxppc-dev,
	kvm

This extends the existing H_PUT_TCE/etc in-kernel acceleration to 64bit
DMA windows mapped at addresses other than zero. This accelerates huge
DMA windows which pseries guests create using Dynamic DMA window (DDW) API.

This does not affect VFIO yet.

This is made against git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc.git ,
kvm-ppc-next branch.


Please comment. Thanks!

Alexey Kardashevskiy (4):
  KVM: PPC: Reserve KVM_CAP_SPAPR_TCE_64 capability number
  KVM: PPC: Add @page_shift to kvmppc_spapr_tce_table
  KVM: PPC: Add @offset to kvmppc_spapr_tce_table
  KVM: PPC: Add support for 64bit TCE windows

 Documentation/virtual/kvm/api.txt   | 32 ++++++++++++++++++++++++++++++++
 arch/powerpc/include/asm/kvm_host.h |  4 +++-
 arch/powerpc/include/asm/kvm_ppc.h  |  2 +-
 arch/powerpc/include/uapi/asm/kvm.h |  9 +++++++++
 arch/powerpc/kvm/book3s_64_vio.c    | 28 ++++++++++++++++------------
 arch/powerpc/kvm/book3s_64_vio_hv.c | 24 +++++++++++++-----------
 arch/powerpc/kvm/powerpc.c          | 25 ++++++++++++++++++++++++-
 include/uapi/linux/kvm.h            |  3 +++
 8 files changed, 101 insertions(+), 26 deletions(-)

-- 
2.5.0.rc3

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

end of thread, other threads:[~2016-03-01  6:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-01  6:54 [PATCH kernel v2 0/4] KVM: PPC: Add in-kernel acceleration for 64bit DMA Alexey Kardashevskiy
2016-03-01  6:54 ` [PATCH kernel v2 1/4] KVM: PPC: Reserve KVM_CAP_SPAPR_TCE_64 capability number Alexey Kardashevskiy
2016-03-01  6:54 ` [PATCH kernel v2 2/4] KVM: PPC: Add @page_shift to kvmppc_spapr_tce_table Alexey Kardashevskiy
2016-03-01  6:54 ` [PATCH kernel v2 3/4] KVM: PPC: Add @offset " Alexey Kardashevskiy
2016-03-01  6:54 ` [PATCH kernel v2 4/4] KVM: PPC: Add support for 64bit TCE windows Alexey Kardashevskiy

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