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>
Wed, 29 Jul 2020 08:19:55 +0000 (10:19 +0200)
commit24ab19eeb6ecaf5cd3c9263a85aa4d34e1f9513a
tree89832f7fbf77164c7731c251c5da17947278a6f7
parent9f54c504970a4e793b82a056268f81388bc01fa3
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