]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "iommu/vt-d: Avoid duplicated pci dma alias consideration"
authorLu Baolu <baolu.lu@linux.intel.com>
Mon, 26 Aug 2019 08:50:56 +0000 (16:50 +0800)
committerJoerg Roedel <jroedel@suse.de>
Fri, 30 Aug 2019 14:26:12 +0000 (16:26 +0200)
commiteaf02d7808da4b7906bcee08846714aa87329fe8
tree72d8134ccbffcc0d71e9de799a2e5f1189952bd0
parent105f9378765ab89e50c53551fccbfca94afcdfa2
Revert "iommu/vt-d: Avoid duplicated pci dma alias consideration"

This reverts commit 0cdc22fdad747589e29f5bce18a1ac52c8e517e3.

Commit 0cdc22fdad747 ("iommu/vt-d: Avoid duplicated pci dma alias
consideration") aimed to address a NULL pointer deference issue
happened when a thunderbolt device driver returned unexpectedly.

Unfortunately, this change breaks a previous pci quirk added by
commit 0020cafd8df77 ("PCI: Add function 1 DMA alias quirk for
Marvell devices"), as the result, devices like Marvell 88SE9128
SATA controller doesn't work anymore.

We will continue to try to find the real culprit mentioned in
0cdc22fdad747, but for now we should revert it to fix current
breakage.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=204627
Cc: Stijn Tintel <stijn@linux-ipv6.be>
Cc: Petr Vandrovec <petr@vandrovec.name>
Reported-by: Stijn Tintel <stijn@linux-ipv6.be>
Reported-by: Petr Vandrovec <petr@vandrovec.name>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-iommu.c