Re: [PATCH 0/6] Add Microchip MCP25XXFD CAN driver

From: Kurt Van Dijck
Date: Mon Jun 22 2020 - 09:26:30 EST


On ma, 22 jun 2020 14:54:15 +0200, Marc Kleine-Budde wrote:
> On 6/22/20 2:43 PM, Kurt Van Dijck wrote:
> > I get RX-0: FIFO overflows in listen-only mode (back-to-back burst of
> > the single other node).
>
> Single other node? Who's ACKing the CAN frames?

hence the back-to-back burst.

>
> > The SPI peripheral does not use DMA :-(.
>
> The SPI messages are quite small, so DMA wont help either. Getting rid of the
> IRQ and polling for completion is the way to go.
>
> > Do you have, by accident, some freescale SPI fixes lying around?
>
> nope
>
> > It's not the biggest problem on my side, but is proves the system not
> > being guarded against load.
>
> Do you have freq scaling activated?

Not yet.

The device tree needs upgrading ... grrr

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