iommu/vt-d: Fixes for v6.1
Subsystems (2)
Lu Baolu
maintainerHi Joerg,
Below iommu/vt-d fix is queued for your fixes branch. It aims to:
- Fix buggy QAT device mask.
Please consider it for the iommu/fixes branch.
Best regards,
Lu Baolu
Jacob Pan (1):
iommu/vt-d: Fix buggy QAT device mask
drivers/iommu/intel/iommu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.34.1
Lu Baolu
maintainerPATCH 1/1 iommu/vt-d: Fix buggy QAT device mask
From: Jacob Pan <[email protected]>
Impacted QAT device IDs that need extra dtlb flush quirk is ranging from 0x4940 to 0x4943. After bitwise AND device ID with 0xfffc the result should be 0x4940 instead of 0x494c to identify these devices.
Fixes e65a6897be5e ("iommu/vt-d: Add a fix for devices need extra dtlb flush")
Reported-by Raghunathan Srinivasan <[email protected]>
Signed-off-by Ashok Raj <[email protected]>
Signed-off-by Jacob Pan <[email protected]>
Signed-off-by Lu Baolu <[email protected]>
--- drivers/iommu/intel/iommu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iommu/intel/iommu.c +1 -1
@@ -1402,7 +1402,7 @@ static void domain_update_iotlb(struct dmar_domain *domain)* check because it applies only to the built-in QAT devices and it doesn't * grant additional privileges. */ -#define BUGGY_QAT_DEVID_MASK 0x494c +#define BUGGY_QAT_DEVID_MASK 0x4940static bool dev_needs_extra_dtlb_flush (struct pci_dev *pdev) {if (pdev->vendor !=PCI_VENDOR_ID_INTEL )
Signature · 1 line
2.34.1
Joerg Roedel
maintainerQuoted 2 lines · Lu Baolu
Jacob Pan (1):
iommu/vt-d: Fix buggy QAT device mask
Pulled, thanks.