diff options
author | Stephane Grosjean <[email protected]> | 2018-06-21 15:23:31 +0200 |
---|---|---|
committer | Marc Kleine-Budde <[email protected]> | 2018-07-23 14:34:45 +0200 |
commit | 5d4c94ed9f564224d7b37dbee13f7c5d4a8a01ac (patch) | |
tree | e8a0111772874e1ca329d7f0a17cc389c7e72eaa /scripts/gdb/linux/cpus.py | |
parent | c9ce1fa1c24b08e13c2a3b5b1f94a19c9eaa982c (diff) |
can: peak_canfd: fix firmware < v3.3.0: limit allocation to 32-bit DMA addr only
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 <[email protected]>
Cc: linux-stable <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/cpus.py')
0 files changed, 0 insertions, 0 deletions