[PATCH v2 0/9] x86: handle HW IOMMU initialization failure gracefully

From: FUJITA Tomonori
Date: Tue Nov 10 2009 - 05:51:45 EST


This patchset is against tip/master.

The first version is:

http://marc.info/?l=linux-kernel&m=125671300920411&w=2

The changes since v1 are:

- replaced Chris' bootmem patches with the 6/9 patch to implement
free_bootmem_late in a simple way (thanks to Pekka).

- fixed the bug to break 'iommu=soft' boot opiton (found by Joerg).

- moved iommu_init_noop() to x86_init.c

- added Muli's Acked-by to Calgary patch.


==
arch/ia64/kernel/pci-swiotlb.c | 4 +-
arch/powerpc/kernel/setup_32.c | 2 +-
arch/powerpc/kernel/setup_64.c | 2 +-
arch/x86/include/asm/amd_iommu.h | 2 -
arch/x86/include/asm/calgary.h | 2 -
arch/x86/include/asm/gart.h | 5 +---
arch/x86/include/asm/iommu.h | 1 -
arch/x86/include/asm/x86_init.h | 9 +++++++
arch/x86/kernel/amd_iommu.c | 2 +-
arch/x86/kernel/amd_iommu_init.c | 19 +++-----------
arch/x86/kernel/aperture_64.c | 4 ++-
arch/x86/kernel/pci-calgary_64.c | 19 ++++-----------
arch/x86/kernel/pci-dma.c | 27 ++++++++++-----------
arch/x86/kernel/pci-gart_64.c | 16 ++++-------
arch/x86/kernel/pci-nommu.c | 9 -------
arch/x86/kernel/pci-swiotlb.c | 10 +++----
arch/x86/kernel/x86_init.c | 5 ++++
drivers/pci/dmar.c | 7 ++++-
drivers/pci/intel-iommu.c | 4 +-
include/linux/bootmem.h | 1 +
include/linux/dmar.h | 10 -------
include/linux/swiotlb.h | 5 ++-
lib/swiotlb.c | 49 +++++++++++++++++++++++++++++++------
mm/bootmem.c | 24 ++++++++++++++++++
24 files changed, 131 insertions(+), 107 deletions(-)


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/