All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Jeremy Fitzhardinge <jeremy@goop.org>,
	Jesse Barnes <jbarnes@virtuousgeek.org>,
	Yinghai Lu <yinghai@kernel.org>,
	linux-pci@vger.kernel.org,
	Ivan Kokshaysky <ink@jurassic.park.msu.ru>,
	Joerg Roedel <joerg.roedel@amd.com>,
	FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: the arch/x86 maintainers <x86@kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Xen-devel <xen-devel@lists.xensource.com>
Subject: Re: [GIT PULL] xen: dom0 support for PCI access
Date: Fri, 8 May 2009 13:10:24 +0200	[thread overview]
Message-ID: <20090508111024.GD11596@elte.hu> (raw)
In-Reply-To: <1241732737-7669-1-git-send-email-jeremy@goop.org>


( Cc:-ed PCI folks. Original thread with patches is on lkml. There's
  a few details that affect non-Xen PCI code too - and it would be
  nice to see feedback on this general method as well, from the PCI 
  experts . )

* Jeremy Fitzhardinge <jeremy@goop.org> wrote:

> Hi Ingo,
> 
> This branch allows a Xen dom0 kernel to access PCI devices 
> properly.  Mostly this involves making sure that memory being used 
> for DMA is both logically contigious in the kernel's 
> pseudo-physical memory and physically contigious in machine 
> memory.
> 
> Again, this is pretty much unchanged from the last time I posted it.
> 
> The following changes since commit 0c96e43850feb7c7c4a4950f24533491fbd63b5a:
>   Jeremy Fitzhardinge (1):
>         xen: checkpatch cleanups
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git xen-tip/dom0/pci
> 
> Alex Nixon (7):
>       xen: Don't disable the I/O space
>       xen: Allow unprivileged Xen domains to create iomap pages
>       Xen: Rename the balloon lock
>       xen: Add xen_create_contiguous_region
>       x86/PCI: Clean up pci_cache_line_size
>       x86/PCI: Enable scanning of all pci functions
>       Xen/x86/PCI: Add support for the Xen PCI subsytem
> 
> Jeremy Fitzhardinge (4):
>       xen/swiotlb: use dma_alloc_from_coherent to get device coherent memory
>       x86/pci: make sure _PAGE_IOMAP it set on pci mappings
>       xen/pci: clean up Kconfig a bit
>       xen: checkpatch cleanups
> 
>  arch/x86/Kconfig                 |    4 +
>  arch/x86/include/asm/io.h        |    2 +
>  arch/x86/include/asm/pci.h       |    8 +-
>  arch/x86/include/asm/pci_x86.h   |    2 +
>  arch/x86/include/asm/xen/iommu.h |   12 ++
>  arch/x86/kernel/pci-dma.c        |    3 +
>  arch/x86/pci/Makefile            |    1 +
>  arch/x86/pci/common.c            |   18 ++-
>  arch/x86/pci/i386.c              |    3 +
>  arch/x86/pci/init.c              |    6 +
>  arch/x86/pci/xen.c               |   51 +++++++
>  arch/x86/xen/Kconfig             |    2 +
>  arch/x86/xen/enlighten.c         |    6 +-
>  arch/x86/xen/mmu.c               |  225 ++++++++++++++++++++++++++++++-
>  arch/x86/xen/setup.c             |    3 -
>  drivers/pci/Makefile             |    2 +
>  drivers/pci/xen-iommu.c          |  279 ++++++++++++++++++++++++++++++++++++++
>  drivers/xen/balloon.c            |   15 +--
>  include/xen/interface/memory.h   |   50 +++++++
>  include/xen/xen-ops.h            |    6 +
>  20 files changed, 671 insertions(+), 27 deletions(-)
>  create mode 100644 arch/x86/include/asm/xen/iommu.h
>  create mode 100644 arch/x86/pci/xen.c
>  create mode 100644 drivers/pci/xen-iommu.c
> 
> Thanks,
> 	J

WARNING: multiple messages have this Message-ID (diff)
From: Ingo Molnar <mingo@elte.hu>
To: Jeremy Fitzhardinge <jeremy@goop.org>,
	Jesse Barnes <jbarnes@virtuousgeek.org>,
	Yinghai Lu <yinghai@kernel.org>,
	linux-pci@vger.kernel.org,
	Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: the arch/x86 maintainers <x86@kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Xen-devel <xen-devel@lists.xensource.com>
Subject: Re: [GIT PULL] xen: dom0 support for PCI access
Date: Fri, 8 May 2009 13:10:24 +0200	[thread overview]
Message-ID: <20090508111024.GD11596@elte.hu> (raw)
In-Reply-To: <1241732737-7669-1-git-send-email-jeremy@goop.org>


( Cc:-ed PCI folks. Original thread with patches is on lkml. There's
  a few details that affect non-Xen PCI code too - and it would be
  nice to see feedback on this general method as well, from the PCI 
  experts . )

* Jeremy Fitzhardinge <jeremy@goop.org> wrote:

> Hi Ingo,
> 
> This branch allows a Xen dom0 kernel to access PCI devices 
> properly.  Mostly this involves making sure that memory being used 
> for DMA is both logically contigious in the kernel's 
> pseudo-physical memory and physically contigious in machine 
> memory.
> 
> Again, this is pretty much unchanged from the last time I posted it.
> 
> The following changes since commit 0c96e43850feb7c7c4a4950f24533491fbd63b5a:
>   Jeremy Fitzhardinge (1):
>         xen: checkpatch cleanups
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git xen-tip/dom0/pci
> 
> Alex Nixon (7):
>       xen: Don't disable the I/O space
>       xen: Allow unprivileged Xen domains to create iomap pages
>       Xen: Rename the balloon lock
>       xen: Add xen_create_contiguous_region
>       x86/PCI: Clean up pci_cache_line_size
>       x86/PCI: Enable scanning of all pci functions
>       Xen/x86/PCI: Add support for the Xen PCI subsytem
> 
> Jeremy Fitzhardinge (4):
>       xen/swiotlb: use dma_alloc_from_coherent to get device coherent memory
>       x86/pci: make sure _PAGE_IOMAP it set on pci mappings
>       xen/pci: clean up Kconfig a bit
>       xen: checkpatch cleanups
> 
>  arch/x86/Kconfig                 |    4 +
>  arch/x86/include/asm/io.h        |    2 +
>  arch/x86/include/asm/pci.h       |    8 +-
>  arch/x86/include/asm/pci_x86.h   |    2 +
>  arch/x86/include/asm/xen/iommu.h |   12 ++
>  arch/x86/kernel/pci-dma.c        |    3 +
>  arch/x86/pci/Makefile            |    1 +
>  arch/x86/pci/common.c            |   18 ++-
>  arch/x86/pci/i386.c              |    3 +
>  arch/x86/pci/init.c              |    6 +
>  arch/x86/pci/xen.c               |   51 +++++++
>  arch/x86/xen/Kconfig             |    2 +
>  arch/x86/xen/enlighten.c         |    6 +-
>  arch/x86/xen/mmu.c               |  225 ++++++++++++++++++++++++++++++-
>  arch/x86/xen/setup.c             |    3 -
>  drivers/pci/Makefile             |    2 +
>  drivers/pci/xen-iommu.c          |  279 ++++++++++++++++++++++++++++++++++++++
>  drivers/xen/balloon.c            |   15 +--
>  include/xen/interface/memory.h   |   50 +++++++
>  include/xen/xen-ops.h            |    6 +
>  20 files changed, 671 insertions(+), 27 deletions(-)
>  create mode 100644 arch/x86/include/asm/xen/iommu.h
>  create mode 100644 arch/x86/pci/xen.c
>  create mode 100644 drivers/pci/xen-iommu.c
> 
> Thanks,
> 	J

  parent reply	other threads:[~2009-05-08 11:11 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-07 21:45 [GIT PULL] xen: dom0 support for PCI access Jeremy Fitzhardinge
2009-05-07 21:45 ` Jeremy Fitzhardinge
2009-05-07 21:45 ` [PATCH 01/11] xen: Don't disable the I/O space Jeremy Fitzhardinge
2009-05-07 21:45   ` Jeremy Fitzhardinge
2009-05-07 21:45 ` [PATCH 02/11] xen: Allow unprivileged Xen domains to create iomap pages Jeremy Fitzhardinge
2009-05-07 21:45   ` Jeremy Fitzhardinge
2009-05-07 21:45 ` [PATCH 03/11] Xen: Rename the balloon lock Jeremy Fitzhardinge
2009-05-07 21:45   ` Jeremy Fitzhardinge
2009-05-08  2:01   ` [Xen-devel] " Isaku Yamahata
2009-05-08  2:01     ` Isaku Yamahata
2009-05-11 19:00     ` [Xen-devel] " Jeremy Fitzhardinge
2009-05-12  2:47       ` Isaku Yamahata
2009-05-12  2:47         ` Isaku Yamahata
2009-05-07 21:45 ` [PATCH 04/11] xen: Add xen_create_contiguous_region Jeremy Fitzhardinge
2009-05-07 21:45   ` Jeremy Fitzhardinge
2009-05-07 21:45 ` [PATCH 05/11] x86/PCI: Clean up pci_cache_line_size Jeremy Fitzhardinge
2009-05-07 21:45   ` Jeremy Fitzhardinge
2009-05-07 21:45 ` [PATCH 06/11] x86/PCI: Enable scanning of all pci functions Jeremy Fitzhardinge
2009-05-07 21:45   ` Jeremy Fitzhardinge
2009-05-07 21:45 ` [PATCH 07/11] Xen/x86/PCI: Add support for the Xen PCI subsytem Jeremy Fitzhardinge
2009-05-07 21:45   ` Jeremy Fitzhardinge
2009-05-11  9:40   ` Joerg Roedel
2009-05-11 20:32     ` Jeremy Fitzhardinge
2009-05-11 20:32       ` Jeremy Fitzhardinge
2009-05-07 21:45 ` [PATCH 08/11] xen/swiotlb: use dma_alloc_from_coherent to get device coherent memory Jeremy Fitzhardinge
2009-05-07 21:45   ` Jeremy Fitzhardinge
2009-05-07 21:45 ` [PATCH 09/11] x86/pci: make sure _PAGE_IOMAP it set on pci mappings Jeremy Fitzhardinge
2009-05-07 21:45   ` Jeremy Fitzhardinge
2009-05-07 21:45 ` [PATCH 10/11] xen/pci: clean up Kconfig a bit Jeremy Fitzhardinge
2009-05-07 21:45   ` Jeremy Fitzhardinge
2009-05-07 21:45 ` [PATCH 11/11] xen: checkpatch cleanups Jeremy Fitzhardinge
2009-05-07 21:45   ` Jeremy Fitzhardinge
2009-05-08 11:10 ` Ingo Molnar [this message]
2009-05-08 11:10   ` [GIT PULL] xen: dom0 support for PCI access Ingo Molnar
2009-05-08 12:44   ` Matthew Wilcox
2009-05-08 19:46     ` Yinghai Lu
2009-05-08 21:05       ` Jeremy Fitzhardinge
2009-05-09 13:32       ` Matthew Wilcox
2009-05-09 15:43     ` Jeremy Fitzhardinge
2009-05-09 20:08       ` Matthew Wilcox
2009-05-11 12:49         ` Ingo Molnar

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=20090508111024.GD11596@elte.hu \
    --to=mingo@elte.hu \
    --cc=fujita.tomonori@lab.ntt.co.jp \
    --cc=ink@jurassic.park.msu.ru \
    --cc=jbarnes@virtuousgeek.org \
    --cc=jeremy@goop.org \
    --cc=joerg.roedel@amd.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=x86@kernel.org \
    --cc=xen-devel@lists.xensource.com \
    --cc=yinghai@kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.