public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] swiotlb updates for Xen dom0
@ 2009-03-31 22:52 Jeremy Fitzhardinge
  2009-03-31 22:52 ` [PATCH 1/9] xen: make sure swiotlb allocation is physically contigious Jeremy Fitzhardinge
                   ` (9 more replies)
  0 siblings, 10 replies; 12+ messages in thread
From: Jeremy Fitzhardinge @ 2009-03-31 22:52 UTC (permalink / raw)
  To: FUJITA Tomonori
  Cc: the arch/x86 maintainers, Ingo Molnar, Linux Kernel Mailing List


Hi Fujita,

This series adds Xen support to x86 swiotlb.  This is mostly a matter of
adding some Xen code into the existing hooks in pci-swiotlb_64.c:
  - swiotlb_alloc_boot
  - swiotlb_arch_range_needs_mapping
  - swiotlb_phys_to_bus/bus_to_phys

These hooks are conditional on xen_pv_domain(), which compiles to a
constant 0 when CONFIG_XEN is not enabled (and is a simple variable
read when it is).

All the Xen-specific code is in xen-iommu.c.

This series is just the patches which touch lib/swiotlb.c or
pci-swiotlb_64.c.  You can see them with more context in:
   git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git for-linus/xen/dom0/swiotlb

Thanks,
	J

 arch/x86/kernel/pci-swiotlb_64.c |   31 ++++++++++++++++-
 arch/x86/xen/Kconfig             |    1 
 drivers/pci/xen-iommu.c          |   68 ++++++++++++++++++++++++++++++++++++---
 include/xen/swiotlb.h            |   38 +++++++++++++++++++++
 lib/swiotlb.c                    |    3 +
 5 files changed, 133 insertions(+), 8 deletions(-)



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

end of thread, other threads:[~2009-04-02  7:13 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-31 22:52 [PATCH] swiotlb updates for Xen dom0 Jeremy Fitzhardinge
2009-03-31 22:52 ` [PATCH 1/9] xen: make sure swiotlb allocation is physically contigious Jeremy Fitzhardinge
2009-03-31 22:52 ` [PATCH 2/9] xen swiotlb: fixup swiotlb is chunks smaller than MAX_CONTIG_ORDER Jeremy Fitzhardinge
2009-03-31 22:52 ` [PATCH 3/9] xen: add hooks for mapping phys<->bus addresses in swiotlb Jeremy Fitzhardinge
2009-03-31 22:52 ` [PATCH 4/9] xen/swiotlb: add hook for swiotlb_arch_range_needs_mapping Jeremy Fitzhardinge
2009-03-31 22:52 ` [PATCH 5/9] xen: enable swiotlb for xen domain 0 Jeremy Fitzhardinge
2009-03-31 22:52 ` [PATCH 6/9] swiotlb: use swiotlb_alloc_boot to allocate emergency pool Jeremy Fitzhardinge
2009-03-31 22:52 ` [PATCH 7/9] xen/swiotlb: improve comment on gfp flags in xen_alloc_coherent() Jeremy Fitzhardinge
2009-03-31 22:52 ` [PATCH 8/9] xen/swiotlb: add sync functions Jeremy Fitzhardinge
2009-03-31 22:52 ` [PATCH 9/9] pci-swiotlb: remove __weak vs __weak binding Jeremy Fitzhardinge
2009-04-02  6:29 ` [PATCH] swiotlb updates for Xen dom0 FUJITA Tomonori
2009-04-02  7:12   ` Jeremy Fitzhardinge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox