Revision 5d4c94ed9f564224d7b37dbee13f7c5d4a8a01ac authored by Stephane Grosjean on 21 June 2018, 13:23:31 UTC, committed by Marc Kleine-Budde on 23 July 2018, 12:34:45 UTC
The DMA logic in firmwares < v3.3.0 embedded in the PCAN-PCIe FD cards
family is not capable of handling a mix of 32-bit and 64-bit logical
addresses. If the board is equipped with 2 or 4 CAN ports, then such a
situation might lead to a PCIe Bus Error "Malformed TLP" packet
as well as "irq xx: nobody cared" issue.

This patch adds a workaround that requests only 32-bit DMA addresses
when these might be allocated outside of the 4 GB area.

This issue has been fixed in firmware v3.3.0 and next.

Signed-off-by: Stephane Grosjean <s.grosjean@peak-system.com>
Cc: linux-stable <stable@vger.kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
1 parent c9ce1fa
History
File Mode Size
boot
configs
include
kernel
lib
mm
.gitignore -rw-r--r-- 308 bytes
Kconfig -rw-r--r-- 4.4 KB
Kconfig.debug -rw-r--r-- 1.1 KB
Makefile -rw-r--r-- 1.5 KB

back to top