Skip to contentSkip to conversation

Patch "iommu/vt-d: Don't skip PCI devices when disabling IOTLB" has been added to the 4.4-stable tree

PATCH [email protected] 1 participant 1 message Feb 24, 2016

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

iommu/vt-d: Don't skip PCI devices when disabling IOTLB

to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
iommu-vt-d-don-t-skip-pci-devices-when-disabling-iotlb.patch
and it can be found in the queue-4.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From da972fb13bc5a1baad450c11f9182e4cd0a091f6 Mon Sep 17 00:00:00 2001

From: Jeremy McNicoll <[email protected]>
Date: Thu, 14 Jan 2016 21:33:06 -0800
Subject: iommu/vt-d: Don't skip PCI devices when disabling IOTLB

From: Jeremy McNicoll <[email protected]>

commit da972fb13bc5a1baad450c11f9182e4cd0a091f6 upstream.

Fix a simple typo when disabling IOTLB on PCI(e) devices.

Fixes b16d0cb9e2fc ("iommu/vt-d: Always enable PASID/PRI PCI capabilities before ATS")
---
 drivers/iommu/intel-iommu.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iommu/intel-iommu.c +1 -1
@@ -1489,7 +1489,7 @@ static void iommu_disable_dev_iotlb(stru
 {
 	struct pci_dev *pdev;
 
-	if (dev_is_pci(info->dev))
+	if (!dev_is_pci(info->dev))
 		return;
 
 	pdev = to_pci_dev(info->dev);

Patches currently in stable-queue which might be from [email protected] are

queue-4.4/tty-add-support-for-pcie-wch382-2s-multi-io-card.patch queue-4.4/iommu-vt-d-don-t-skip-pci-devices-when-disabling-iotlb.patch