]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
iommu: Remove group_mf
authorAlex Williamson <alex.williamson@redhat.com>
Wed, 30 May 2012 20:19:55 +0000 (14:19 -0600)
committerJoerg Roedel <joerg.roedel@amd.com>
Mon, 25 Jun 2012 11:48:30 +0000 (13:48 +0200)
The iommu=group_mf is really no longer needed with the addition of ACS
support in IOMMU drivers creating groups.  Most multifunction devices
will now be grouped already.  If a device has gone to the trouble of
exposing ACS, trust that it works.  We can use the device specific ACS
function for fixing devices we trust individually.  This largely
reverts bcb71abe.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Documentation/kernel-parameters.txt
arch/ia64/include/asm/iommu.h
arch/ia64/kernel/pci-dma.c
arch/x86/include/asm/iommu.h
arch/x86/kernel/pci-dma.c

index a92c5ebf373e2bf4bea68072b58fbc0471ad9c13..d2f4f7acc435d107b17d0c063f2f594161a89bfc 100644 (file)
@@ -1134,7 +1134,6 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
                forcesac
                soft
                pt              [x86, IA-64]
-               group_mf        [x86, IA-64]
 
 
        io7=            [HW] IO7 for Marvel based alpha systems
index b6a809fa2995fc989bc1175fca12ab483c28790e..105c93b00b1bc53ce22f04ffd249595b5001c4d2 100644 (file)
@@ -11,12 +11,10 @@ extern void no_iommu_init(void);
 extern int force_iommu, no_iommu;
 extern int iommu_pass_through;
 extern int iommu_detected;
-extern int iommu_group_mf;
 #else
 #define iommu_pass_through     (0)
 #define no_iommu               (1)
 #define iommu_detected         (0)
-#define iommu_group_mf         (0)
 #endif
 extern void iommu_dma_init(void);
 extern void machvec_init(const char *name);
index 7cdc89b2483c9200e8cdda24d93062f14b7364b9..1ddcfe5ef353cc0e8827d11affa6219331204cfa 100644 (file)
@@ -32,7 +32,6 @@ int force_iommu __read_mostly;
 #endif
 
 int iommu_pass_through;
-int iommu_group_mf;
 
 /* Dummy device used for NULL arguments (normally ISA). Better would
    be probably a smaller DMA mask, but this is bug-to-bug compatible
index dffc38ee6255f95944eaf3aa0eb283d4f3ba808a..345c99cef15262dda6415b5eff3d2140c37bafcc 100644 (file)
@@ -5,7 +5,6 @@ extern struct dma_map_ops nommu_dma_ops;
 extern int force_iommu, no_iommu;
 extern int iommu_detected;
 extern int iommu_pass_through;
-extern int iommu_group_mf;
 
 /* 10 seconds */
 #define DMAR_OPERATION_TIMEOUT ((cycles_t) tsc_khz*10*1000)
index c0f420f76cd3b7a65d65536735a1bee1820f89b3..de2b7ad70273134e1c3882d9829b387d6aa6c299 100644 (file)
@@ -45,15 +45,6 @@ int iommu_detected __read_mostly = 0;
  */
 int iommu_pass_through __read_mostly;
 
-/*
- * Group multi-function PCI devices into a single device-group for the
- * iommu_device_group interface.  This tells the iommu driver to pretend
- * it cannot distinguish between functions of a device, exposing only one
- * group for the device.  Useful for disallowing use of individual PCI
- * functions from userspace drivers.
- */
-int iommu_group_mf __read_mostly;
-
 extern struct iommu_table_entry __iommu_table[], __iommu_table_end[];
 
 /* Dummy device used for NULL arguments (normally ISA). */
@@ -194,8 +185,6 @@ static __init int iommu_setup(char *p)
 #endif
                if (!strncmp(p, "pt", 2))
                        iommu_pass_through = 1;
-               if (!strncmp(p, "group_mf", 8))
-                       iommu_group_mf = 1;
 
                gart_parse_options(p);