WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Re: [GIT PULL] xen: dom0 support for PCI access

To: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, Jesse Barnes <jbarnes@xxxxxxxxxxxxxxxx>, Yinghai Lu <yinghai@xxxxxxxxxx>, linux-pci@xxxxxxxxxxxxxxx, Ivan Kokshaysky <ink@xxxxxxxxxxxxxxxxxxxx>, Joerg Roedel <joerg.roedel@xxxxxxx>, FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx>
Subject: [Xen-devel] Re: [GIT PULL] xen: dom0 support for PCI access
From: Ingo Molnar <mingo@xxxxxxx>
Date: Fri, 8 May 2009 13:10:24 +0200
Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, the arch/x86 maintainers <x86@xxxxxxxxxx>, Linux Kernel Mailing List <linux-kernel@xxxxxxxxxxxxxxx>
Delivery-date: Fri, 08 May 2009 04:11:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1241732737-7669-1-git-send-email-jeremy@xxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1241732737-7669-1-git-send-email-jeremy@xxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
( 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@xxxxxxxx> 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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>