Hello Michael, On 12.11.2021 19:38:26, Michael Anochin wrote: > (in context of 5.15.1 Kernel) > > 1. I confirm the crashes with the command "cansend canX abc#" on each > can-if, which resulting in > > [ 9563.137691] tcan4x5x spi0.0 can0: FIFO write returned -22 > [ 9573.577950] tcan4x5x spi4.0 can1: FIFO write returned -22 > [ 9658.948552] tcan4x5x spi6.0 can2: FIFO write returned -22 I setup a tcan4x5x and reproduced the problem. My proposed patch fixes the problem. > 2. After applying of your Path the system is spammed until death with > messages (I have cut out the repeating): How to reproduce this problem: > [ 755.039082] tcan4x5x spi4.0 can1: ack error > [ 755.040039] tcan4x5x spi4.0 can1: ack error > [ 755.040071] tcan4x5x spi4.0 can1: Protocol error in Arbitration fail > [ 755.040358] tcan4x5x spi4.0 can1: ack error > [ 755.040677] tcan4x5x spi4.0 can1: ack error > [ 755.040709] tcan4x5x spi4.0 can1: Protocol error in Arbitration fail > [ 755.040997] tcan4x5x spi4.0 can1: ack error > [ 755.041029] tcan4x5x spi4.0 can1: Protocol error in Arbitration fail > [ 755.041315] tcan4x5x spi4.0 can1: ack error > [ 755.041347] tcan4x5x spi4.0 can1: Protocol error in Arbitration fail > [ 755.041635] tcan4x5x spi4.0 can1: ack error > [ 755.041667] tcan4x5x spi4.0 can1: Protocol error in Arbitration fail > [ 755.041954] tcan4x5x spi4.0 can1: ack error > [ 755.041986] tcan4x5x spi4.0 can1: Protocol error in Arbitration fail > [ 755.042017] tcan4x5x spi4.0 can1: __skb_queue_add_sort: pos=0x00000000, > new=0x00000000, diff= 0, queue_len=1 > [ 755.042288] tcan4x5x spi4.0 can1: ack error > [ 755.042320] tcan4x5x spi4.0 can1: Protocol error in Arbitration fail I was not able to reproduce this problem. 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