On 22.02.2022 16:11:52, Michael Anochin wrote: > With netdev_warn() in m_can_tx_handler I found, > that before "BUG! echo_skb N" appears, > > m_can_next_echo_skb_occupied(dev, putidx) is true with putidx=N-1 > > [11676.933800] tcan4x5x spi4.0 can1: m_can_tx_handler m_can_tx_fifo_full or > m_can_next_echo_skb_occupied, putidx=12 > > [11676.934735] tcan4x5x spi4.0 can1: m_can_start_xmit: enter > > [11676.934744] tcan4x5x spi4.0 can1: m_can_start_xmit netif_stop_queue done > > [11676.934911] tcan4x5x spi4.0 can1: can_put_echo_skb: BUG! echo_skb 13 is > occupied! The tcan driver is probably not tested with more than 1 TX element. Please use the following mram config for now: | bosch,mram-cfg = <0x0 0 0 16 0 0 1 1>; 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