Re: can: m_can: tcan4x5x m_can_isr do not handle tx if rx fails

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

 



Please don't forget to keep the mailing list on Cc!

On 22.02.2022 15:30:33, Michael Anochin wrote:
> 
> > You can add a netdev_error() to report the error if
> Done, m_can_rx_peripheral(dev) returns each time normally with 0.
> I added netdev_err also after out_fail in m_can_isr, but it fires no error
> in dmesg after NOBUFS.
> 
> The curious thing is that it fails in the other place.
> 
> Sometimes I see
> [ 9945.908861] tcan4x5x spi4.0 can1: can_put_echo_skb: BUG! echo_skb 11 is
> occupied!
> 
> But I think, it is not my problem.

This should not happen. Especially with the tcan driver. In a previous
mail you stated that you are using the following mram config:

| bosch,mram-cfg =  <0x0 0 0 16 0 0 1 1>;

is this still the case? This is inconsistent with the above error
message.

regards,
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 |

Attachment: signature.asc
Description: PGP 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