public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/3] allow fallback to swiotlb on hw iommu init failures
@ 2009-10-23  1:21 Chris Wright
  2009-10-23  1:21 ` [RFC PATCH 1/3] [RFC PATCH] bootmem: refactor free_all_bootmem_core Chris Wright
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Chris Wright @ 2009-10-23  1:21 UTC (permalink / raw)
  To: David Woodhouse; +Cc: iommu, linux-kernel

This short series gives us the ability to allocate the swiotlb and then
conditionally free it if we discover it isn't needed.  This allows us to
put swiotlb to use when the hw iommu fails to initialize properly.

This needs some changes to the bootmem allocator to give the ability to
free reserved bootmem directly to the page allocator after bootmem is
torn down.

 arch/x86/include/asm/swiotlb.h |    4 ++
 arch/x86/kernel/pci-dma.c      |    4 +-
 arch/x86/kernel/pci-swiotlb.c  |   27 +++++++++---
 include/linux/bootmem.h        |    1 +
 include/linux/swiotlb.h        |    3 +
 lib/swiotlb.c                  |   10 ++++
 mm/bootmem.c                   |   98 +++++++++++++++++++++++++++++++---------
 7 files changed, 118 insertions(+), 29 deletions(-)

thanks,
-chris


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

end of thread, other threads:[~2009-10-28  6:54 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-23  1:21 [RFC PATCH 0/3] allow fallback to swiotlb on hw iommu init failures Chris Wright
2009-10-23  1:21 ` [RFC PATCH 1/3] [RFC PATCH] bootmem: refactor free_all_bootmem_core Chris Wright
2009-10-23  1:22 ` [RFC PATCH 2/3] [RFC PATCH] bootmem: add free_bootmem_late Chris Wright
2009-10-23  1:22 ` [RFC PATCH 3/3] [RFC PATCH] iommu: allow fallback to swiotlb upon hw iommu initialization failure Chris Wright
2009-10-23  5:51 ` [RFC PATCH 0/3] allow fallback to swiotlb on hw iommu init failures FUJITA Tomonori
2009-10-23 16:39   ` Chris Wright
2009-10-24  3:06     ` FUJITA Tomonori
2009-10-24  6:57       ` Chris Wright
2009-10-28  6:53         ` FUJITA Tomonori
2009-10-26  7:10 ` Andi Kleen
2009-10-26 16:26   ` Chris Wright
2009-10-26 21:56     ` Andi Kleen

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