]> git.karo-electronics.de Git - linux-beck.git/commit
iommu: Add option to group multi-function devices
authorAlex Williamson <alex.williamson@redhat.com>
Fri, 21 Oct 2011 19:56:24 +0000 (15:56 -0400)
committerJoerg Roedel <joerg.roedel@amd.com>
Tue, 15 Nov 2011 11:22:31 +0000 (12:22 +0100)
commitbcb71abe7d4c5a0d0368c67da0a7def4fc73497a
tree3a043f872b234cb5c47cec1c01b4bbb69539fa0f
parent8fbdce659549d93dfb257ec4eabacf63a188e506
iommu: Add option to group multi-function devices

The option iommu=group_mf indicates the that the iommu driver should
expose all functions of a multi-function PCI device as the same
iommu_device_group.  This is useful for disallowing individual functions
being exposed as independent devices to userspace as there are often
hidden dependencies.  Virtual functions are not affected by this option.

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
drivers/iommu/amd_iommu.c
drivers/iommu/intel-iommu.c