Re: [PATCH 6/6] can/peak_canfd: forces allocation of 32-bit DMA addr only

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/21/2018 03:23 PM, Stephane Grosjean wrote:
> 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@xxxxxxxxxxxxxxx>

Applied to linux-can and add stable on Cc.

Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux