diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-11 21:15:12 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-11 21:15:12 -0500 |
| commit | 339a4b72c83dc7d8b29f43f7417add791e201ad3 (patch) | |
| tree | 7e1cf20b82fbe42ed96b246a86e0cccadb3912de | |
| parent | dba538ff5610ee126e33a28fe713b3f108d31f2c (diff) | |
| parent | ced3c42c9fcba049ec9c76c8461ac194cafb20ba (diff) | |
Merge branch 'x86-iommu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 iommu changes from Ingo Molnar:
"Make it easier to turn off the old AMD GART code"
* 'x86-iommu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86/iommu: Clean up the CONFIG_GART_IOMMU config option a bit
x86/iommu: Don't make AMD_GART depend on EXPERT and default y
| -rw-r--r-- | arch/x86/Kconfig | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index dddba2663bbf..725e1573ea85 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
| @@ -757,20 +757,25 @@ config DMI | |||
| 757 | BIOS code. | 757 | BIOS code. |
| 758 | 758 | ||
| 759 | config GART_IOMMU | 759 | config GART_IOMMU |
| 760 | bool "GART IOMMU support" if EXPERT | 760 | bool "Old AMD GART IOMMU support" |
| 761 | default y | ||
| 762 | select SWIOTLB | 761 | select SWIOTLB |
| 763 | depends on X86_64 && PCI && AMD_NB | 762 | depends on X86_64 && PCI && AMD_NB |
| 764 | ---help--- | 763 | ---help--- |
| 765 | Support for full DMA access of devices with 32bit memory access only | 764 | Provides a driver for older AMD Athlon64/Opteron/Turion/Sempron |
| 766 | on systems with more than 3GB. This is usually needed for USB, | 765 | GART based hardware IOMMUs. |
| 767 | sound, many IDE/SATA chipsets and some other devices. | 766 | |
| 768 | Provides a driver for the AMD Athlon64/Opteron/Turion/Sempron GART | 767 | The GART supports full DMA access for devices with 32-bit access |
| 769 | based hardware IOMMU and a software bounce buffer based IOMMU used | 768 | limitations, on systems with more than 3 GB. This is usually needed |
| 770 | on Intel systems and as fallback. | 769 | for USB, sound, many IDE/SATA chipsets and some other devices. |
| 771 | The code is only active when needed (enough memory and limited | 770 | |
| 772 | device) unless CONFIG_IOMMU_DEBUG or iommu=force is specified | 771 | Newer systems typically have a modern AMD IOMMU, supported via |
| 773 | too. | 772 | the CONFIG_AMD_IOMMU=y config option. |
| 773 | |||
| 774 | In normal configurations this driver is only active when needed: | ||
| 775 | there's more than 3 GB of memory and the system contains a | ||
| 776 | 32-bit limited device. | ||
| 777 | |||
| 778 | If unsure, say Y. | ||
| 774 | 779 | ||
| 775 | config CALGARY_IOMMU | 780 | config CALGARY_IOMMU |
| 776 | bool "IBM Calgary IOMMU support" | 781 | bool "IBM Calgary IOMMU support" |
