iommu/vt-d: Search for ACPI _DSM method for DMAR hotplug
authorJiang Liu <jiang.liu@linux.intel.com>
Sun, 9 Nov 2014 14:47:59 +0000 (22:47 +0800)
committerJoerg Roedel <jroedel@suse.de>
Tue, 18 Nov 2014 10:18:36 +0000 (11:18 +0100)
commitd35165a955f095095cdb8512cb7cd8f63101649a
treeca0bb611b16966cc5c5daf52b5821f401454c5e5
parent6b1972493a84f8fe13ff9d202745590f6c53d670
iommu/vt-d: Search for ACPI _DSM method for DMAR hotplug

According to Intel VT-d specification, _DSM method to support DMAR
hotplug should exist directly under corresponding ACPI object
representing PCI host bridge. But some BIOSes doesn't conform to
this, so search for _DSM method in the subtree starting from the
ACPI object representing the PCI host bridge.

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