[PATCH v3] iommu/vt-d: Don't reject Host Bridge due to scope mismatch

2020-01-10 Thread jimyan
there's no reason to bail out on initialization due to this apparent scope mismatch. Add the class 0x06 ("PCI_BASE_CLASS_BRIDGE") as a heuristic for allowing DMAR initialization for non-bridge PCI devices listed with scope bridge. Signed-off-by: jimyan --- drivers/iommu/dmar.c | 2 +- 1 file

[PATCH v2] iommu/vt-d: Don't reject nvme host due to scope mismatch

2020-01-05 Thread jimyan
, so there's no reason to bail out on initialization due to this apparent scope mismatch. Add the class 0x06 ("PCI_BASE_CLASS_BRIDGE") as a heuristic for allowing DMAR initialization for non-bridge PCI devices listed with scope bridge. Signed-off-by: jimyan --- drivers/iommu/dmar.c | 2

[PATCH] iommu/vt-d: Don't reject nvme host due to scope mismatch

2019-12-19 Thread jimyan
, so there's no reason to bail out on initialization due to this apparent scope mismatch. Add the class 0x600 ("PCI_CLASS_BRIDGE_HOST") as a heuristic for allowing DMAR initialization for non-bridge PCI devices listed with scope bridge. Signed-off-by: jimyan --- drivers/iommu/dmar.c | 1