diff options
author | Jiang Liu <jiang.liu@linux.intel.com> | 2014-11-09 22:47:58 +0800 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2014-11-18 11:18:35 +0100 |
commit | 6b1972493a84f8fe13ff9d202745590f6c53d670 (patch) | |
tree | bb418163c4f1e0497bbc5b0b74c6159e03205610 /include/linux/spi/spi_gpio.h | |
parent | 78d8e7046111425bb688cddc4303d79cb0f0d281 (diff) | |
download | linux-next-6b1972493a84f8fe13ff9d202745590f6c53d670.tar.gz |
iommu/vt-d: Implement DMAR unit hotplug framework
On Intel platforms, an IO Hub (PCI/PCIe host bridge) may contain DMAR
units, so we need to support DMAR hotplug when supporting PCI host
bridge hotplug on Intel platforms.
According to Section 8.8 "Remapping Hardware Unit Hot Plug" in "Intel
Virtualization Technology for Directed IO Architecture Specification
Rev 2.2", ACPI BIOS should implement ACPI _DSM method under the ACPI
object for the PCI host bridge to support DMAR hotplug.
This patch introduces interfaces to parse ACPI _DSM method for
DMAR unit hotplug. It also implements state machines for DMAR unit
hot-addition and hot-removal.
The PCI host bridge hotplug driver should call dmar_hotplug_hotplug()
before scanning PCI devices connected for hot-addition and after
destroying all PCI devices for hot-removal.
Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Reviewed-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'include/linux/spi/spi_gpio.h')
0 files changed, 0 insertions, 0 deletions