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]

 



On 22.02.2022 17:02:14, Michael Anochin wrote:
> > Still any error messages?
> No BUG-Message with  <0x0 0 0 16 0 0 1 1>. At least that is positive.
> 
> But no other Messages in in kbuf. Simply no netif_wake_queue fires. After
> that no TX possible. But RX is working.

This is good. \o/

| [  763.651277] tcan4x5x spi6.0 can2: m_can_isr: netif_wake_queue done
| [  763.651295] tcan4x5x spi6.0 can2: m_can_start_xmit netif_stop_queue done
| [  763.651462] tcan4x5x spi6.0 can2: m_can_tx_handler m_can_tx_fifo_full
| [  763.652163] tcan4x5x spi6.0 can2: m_can_isr: netif_wake_queue done
| [  763.652182] tcan4x5x spi6.0 can2: m_can_start_xmit netif_stop_queue done
| [  763.652352] tcan4x5x spi6.0 can2: m_can_tx_handler m_can_tx_fifo_full

You're missing a "netif_wake_queue done" here. There's probably an
interrupt associated with this event. Add a print if that IRQ is active
right after reading the IRQ status register.

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