diff options
author | Ohad Ben-Cohen <ohad@wizery.com> | 2011-06-10 14:42:27 -0400 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2011-06-21 04:49:30 -0400 |
commit | 166e9278a3f98bab29ebb3d685a81cfb11b98be0 (patch) | |
tree | f8f3e8a28c5d96d9053567d6a9ef8e04e7b298dd /arch/x86/Kconfig | |
parent | 29b68415e335ba9e0eb6057f9405aa4d9c23efe4 (diff) |
x86/ia64: intel-iommu: move to drivers/iommu/
This should ease finding similarities with different platforms,
with the intention of solving problems once in a generic framework
which everyone can use.
Note: to move intel-iommu.c, the declaration of pci_find_upstream_pcie_bridge()
has to move from drivers/pci/pci.h to include/linux/pci.h. This is handled
in this patch, too.
As suggested, also drop DMAR's EXPERIMENTAL tag while we're at it.
Compile-tested on x86_64.
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 1b6a2e212db4..a169573c64fc 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -1912,56 +1912,6 @@ config PCI_CNB20LE_QUIRK | |||
1912 | 1912 | ||
1913 | You should say N unless you know you need this. | 1913 | You should say N unless you know you need this. |
1914 | 1914 | ||
1915 | config DMAR | ||
1916 | bool "Support for DMA Remapping Devices (EXPERIMENTAL)" | ||
1917 | depends on PCI_MSI && ACPI && EXPERIMENTAL | ||
1918 | select IOMMU_API | ||
1919 | help | ||
1920 | DMA remapping (DMAR) devices support enables independent address | ||
1921 | translations for Direct Memory Access (DMA) from devices. | ||
1922 | These DMA remapping devices are reported via ACPI tables | ||
1923 | and include PCI device scope covered by these DMA | ||
1924 | remapping devices. | ||
1925 | |||
1926 | config DMAR_DEFAULT_ON | ||
1927 | def_bool y | ||
1928 | prompt "Enable DMA Remapping Devices by default" | ||
1929 | depends on DMAR | ||
1930 | help | ||
1931 | Selecting this option will enable a DMAR device at boot time if | ||
1932 | one is found. If this option is not selected, DMAR support can | ||
1933 | be enabled by passing intel_iommu=on to the kernel. It is | ||
1934 | recommended you say N here while the DMAR code remains | ||
1935 | experimental. | ||
1936 | |||
1937 | config DMAR_BROKEN_GFX_WA | ||
1938 | bool "Workaround broken graphics drivers (going away soon)" | ||
1939 | depends on DMAR && BROKEN | ||
1940 | ---help--- | ||
1941 | Current Graphics drivers tend to use physical address | ||
1942 | for DMA and avoid using DMA APIs. Setting this config | ||
1943 | option permits the IOMMU driver to set a unity map for | ||
1944 | all the OS-visible memory. Hence the driver can continue | ||
1945 | to use physical addresses for DMA, at least until this | ||
1946 | option is removed in the 2.6.32 kernel. | ||
1947 | |||
1948 | config DMAR_FLOPPY_WA | ||
1949 | def_bool y | ||
1950 | depends on DMAR | ||
1951 | ---help--- | ||
1952 | Floppy disk drivers are known to bypass DMA API calls | ||
1953 | thereby failing to work when IOMMU is enabled. This | ||
1954 | workaround will setup a 1:1 mapping for the first | ||
1955 | 16MiB to make floppy (an ISA device) work. | ||
1956 | |||
1957 | config INTR_REMAP | ||
1958 | bool "Support for Interrupt Remapping (EXPERIMENTAL)" | ||
1959 | depends on X86_64 && X86_IO_APIC && PCI_MSI && ACPI && EXPERIMENTAL | ||
1960 | ---help--- | ||
1961 | Supports Interrupt remapping for IO-APIC and MSI devices. | ||
1962 | To use x2apic mode in the CPU's which support x2APIC enhancements or | ||
1963 | to support platforms with CPU's having > 8 bit APIC ID, say Y. | ||
1964 | |||
1965 | source "drivers/pci/pcie/Kconfig" | 1915 | source "drivers/pci/pcie/Kconfig" |
1966 | 1916 | ||
1967 | source "drivers/pci/Kconfig" | 1917 | source "drivers/pci/Kconfig" |