usb: xhci: Fix ASM2142/ASM3142 DMA addressing
authorForest Crossman <cyrozap@gmail.com>
Fri, 17 Jul 2020 11:27:34 +0000 (06:27 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 31 Jul 2020 14:44:04 +0000 (16:44 +0200)
commit41f5f86a7105f6d6e657894f245d4cd9c34655ed
treecce6eb8d29d532f1b37cba7437e06f9ca69d5733
parenta9423d50bb5841656cc8af8225ec385c1781fbc8
usb: xhci: Fix ASM2142/ASM3142 DMA addressing

commit dbb0897e805f2ab1b8bc358f6c3d878a376b8897 upstream.

The ASM2142/ASM3142 (same PCI IDs) does not support full 64-bit DMA
addresses, which can cause silent memory corruption or IOMMU errors on
platforms that use the upper bits. Add the XHCI_NO_64BIT_SUPPORT quirk
to fix this issue.

Signed-off-by: Forest Crossman <cyrozap@gmail.com>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20200717112734.328432-1-cyrozap@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-pci.c