]> 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)
commit7bd0c22b4d36f6a1c97abb13fc5aef05638b2c0e
tree72d8134ccbffcc0d71e9de799a2e5f1189952bd0
parentb8786e214867c70a88181789c2584744d61bde86
Revert "iommu/vt-d: Avoid duplicated pci dma alias consideration"

This reverts commit 026deef850fed2d3106a8442f12bf741a9d44b22.

Commit 026deef850fed ("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 ca60d5f16b92b ("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
026deef850fed, 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