* 6.19.0-rc6 CAN regression
@ 2026-01-19 7:17 Francesco Dolcini
2026-01-19 7:52 ` Oliver Hartkopp
0 siblings, 1 reply; 3+ messages in thread
From: Francesco Dolcini @ 2026-01-19 7:17 UTC (permalink / raw)
To: Marc Kleine-Budde, Vincent Mailhol, Oliver Hartkopp
Cc: linux-can, linux-kernel
Hello,
there is some issue with CAN on the latest linux 6.19 RC,
canfdtest fails with `send failed: Invalid argument` fails on various
SoC (NXP i.MX8MP, i.MX8QM, i.MX6 ... and TI AM62 and maybe more).
Is this known and already being addressed? I have seen some recent PR
and patches, but I am not sure they are fixing this issue.
Thanks,
Francesco
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 6.19.0-rc6 CAN regression
2026-01-19 7:17 6.19.0-rc6 CAN regression Francesco Dolcini
@ 2026-01-19 7:52 ` Oliver Hartkopp
2026-01-19 8:22 ` Oliver Hartkopp
0 siblings, 1 reply; 3+ messages in thread
From: Oliver Hartkopp @ 2026-01-19 7:52 UTC (permalink / raw)
To: Francesco Dolcini, Marc Kleine-Budde, Vincent Mailhol
Cc: linux-can, linux-kernel
Hello Francesco,
On 19.01.26 08:17, Francesco Dolcini wrote:
> Hello,
> there is some issue with CAN on the latest linux 6.19 RC,
> canfdtest fails with `send failed: Invalid argument` fails on various
> SoC (NXP i.MX8MP, i.MX8QM, i.MX6 ... and TI AM62 and maybe more).
>
> Is this known and already being addressed? I have seen some recent PR
> and patches, but I am not sure they are fixing this issue.
Yes, this is already fixed here:
https://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can.git/log/?h=testing
in this patch:
"can: dev: alloc_candev_mqs(): add missing default CAN capabilities"
https://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can.git/commit/?h=testing&id=375629c92fd842bc2a229bb34c4453f62e097169
The PR is waiting for upstream:
https://lore.kernel.org/linux-can/20260116200323.366877-1-mkl@pengutronix.de/
When you apply the above patch, it should just work again.
Best regards,
Oliver
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 6.19.0-rc6 CAN regression
2026-01-19 7:52 ` Oliver Hartkopp
@ 2026-01-19 8:22 ` Oliver Hartkopp
0 siblings, 0 replies; 3+ messages in thread
From: Oliver Hartkopp @ 2026-01-19 8:22 UTC (permalink / raw)
To: Francesco Dolcini, Marc Kleine-Budde, Vincent Mailhol
Cc: linux-can, linux-kernel
If you can't apply the fix or you want to stay on the 6.19-rc6 upstream
kernel, it is also possible to make a workaround with the "ip" tool you
use for the bitrate configuration.
The issued does not show up, when the ctrlmode is changed(!), e.g. when
you enable triple-sampling, one-shot or cc-len8-dlc mode:
Instead of
# ip link set can0 type can bitrate 500000
try
# ip link set can0 type can bitrate 500000 cc-len8-dlc on
But the fix will be in the mainline repo soon.
Best regards,
Oliver
On 19.01.26 08:52, Oliver Hartkopp wrote:
> Hello Francesco,
>
> On 19.01.26 08:17, Francesco Dolcini wrote:
>> Hello,
>> there is some issue with CAN on the latest linux 6.19 RC,
>> canfdtest fails with `send failed: Invalid argument` fails on various
>> SoC (NXP i.MX8MP, i.MX8QM, i.MX6 ... and TI AM62 and maybe more).
>>
>> Is this known and already being addressed? I have seen some recent PR
>> and patches, but I am not sure they are fixing this issue.
>
> Yes, this is already fixed here:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can.git/log/?
> h=testing
>
> in this patch:
> "can: dev: alloc_candev_mqs(): add missing default CAN capabilities"
>
> https://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can.git/
> commit/?h=testing&id=375629c92fd842bc2a229bb34c4453f62e097169
>
> The PR is waiting for upstream:
> https://lore.kernel.org/linux-can/20260116200323.366877-1-
> mkl@pengutronix.de/
>
> When you apply the above patch, it should just work again.
>
> Best regards,
> Oliver
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-01-19 8:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-19 7:17 6.19.0-rc6 CAN regression Francesco Dolcini
2026-01-19 7:52 ` Oliver Hartkopp
2026-01-19 8:22 ` Oliver Hartkopp
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox