[git pull] amd-iommu updates for 2.6.31

From: Joerg Roedel
Date: Thu May 28 2009 - 12:37:26 EST

Hi Ingo,

(again with fixed commit messages, the code has not changed so I didn't
repost everything to the mailing lists)

The following changes since commit 41fb454ebe6024f5c1e3b3cbc0abc0da762e7b51:
Ingo Molnar (1):
Merge commit 'v2.6.30-rc5' into core/iommu

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/joro/linux-2.6-iommu.git amd-iommu/2.6.31

Chris Wright (1):
amd iommu: properly detach from protection domain on ->remove

Joerg Roedel (30):
amd-iommu: add amd_iommu_dump parameter
amd-iommu: add dump for iommus described in ivrs table
amd-iommu: print ivhd information to dmesg when requested
amd-iommu: print ivmd information to dmesg when requested
amd-iommu: move protection domain printk to dump code
x86/iommu: add IOMMU_STRESS Kconfig entry
amd-iommu: disable device isolation with CONFIG_IOMMU_STRESS
amd-iommu: make sure only ivmd entries are parsed
amd-iommu: introduce for_each_iommu* macros
amd-iommu: consolidate hardware initialization to one function
amd-iommu: drop pointless iommu-loop in msi setup code
amd-iommu: remove support for msi-x
amd-iommu: add function to disable all iommus
amd-iommu: add function to flush tlb for all domains
amd-iommu: add function to flush tlb for all devices
amd_iommu: un __init functions required for suspend/resume
amd-iommu: implement suspend/resume
amd-iommu: introduce aperture_range structure
amd-iommu: move page table allocation code to seperate function
amd-iommu: handle page table allocation failures in dma_ops code
amd-iommu: make address allocator aware of multiple aperture ranges
amd-iommu: change dma_dom->next_bit to dma_dom->next_address
amd-iommu: move aperture_range allocation code to seperate function
amd-iommu: handle exlusion ranges and unity mappings in alloc_new_range
amd-iommu: enlarge the aperture dynamically
amd-iommu: remove amd_iommu_size kernel parameter
amd-iommu: disable round-robin allocator for CONFIG_IOMMU_STRESS
amd-iommu: don't preallocate page tables with CONFIG_IOMMU_STRESS
amd-iommu: don't free dma adresses below 512MB with CONFIG_IOMMU_STRESS
Merge branches 'amd-iommu/fixes', 'amd-iommu/debug', 'amd-iommu/suspend-resume' and 'amd-iommu/extended-allocator' into amd-iommu/2.6.31

Neil Turton (2):
amd-iommu: fix an off-by-one error in the AMD IOMMU driver.
amd-iommu: fix the handling of device aliases in the AMD IOMMU driver.

Documentation/kernel-parameters.txt | 5 -
arch/x86/Kconfig.debug | 8 +
arch/x86/include/asm/amd_iommu.h | 2 +
arch/x86/include/asm/amd_iommu_types.h | 55 +++-
arch/x86/kernel/amd_iommu.c | 490 ++++++++++++++++++++++++--------
arch/x86/kernel/amd_iommu_init.c | 273 ++++++++++++------
6 files changed, 602 insertions(+), 231 deletions(-)

The updates contain two major enhancements. First one is support for
suspend/resume with iommu enabled. The second one is an extended
allocator for DMA adresses. The new allocator grows the DMA address
space in a dma_ops domain dynamically from a 128MB default size to a
maximum of 4GB as required.
Some fixes are also included. Another new feature is the introduction of
CONFIG_IOMMU_STRESS. This feature is indended for randconfig based iommu
code testing. For AMD IOMMU it disables some optimizations to
stress-test the code. Please pull.


| Advanced Micro Devices GmbH
Operating | Karl-Hammerschmidt-Str. 34, 85609 Dornach bei München
System |
Research | Geschäftsführer: Thomas M. McCoy, Giuliano Meroni
Center | Sitz: Dornach, Gemeinde Aschheim, Landkreis München
| Registergericht München, HRB Nr. 43632

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/