From: Oliver Hartkopp <socketcan@hartkopp.net>
To: Francesco Dolcini <francesco@dolcini.it>,
Marc Kleine-Budde <mkl@pengutronix.de>,
Vincent Mailhol <mailhol@kernel.org>
Cc: linux-can@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: 6.19.0-rc6 CAN regression
Date: Mon, 19 Jan 2026 09:22:46 +0100 [thread overview]
Message-ID: <4290af18-cd89-4d87-95d5-d24674fa2d60@hartkopp.net> (raw)
In-Reply-To: <be555a81-9448-48cc-9b17-0e3f8c005ad1@hartkopp.net>
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
prev parent reply other threads:[~2026-01-19 8:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-19 7:17 Francesco Dolcini
2026-01-19 7:52 ` Oliver Hartkopp
2026-01-19 8:22 ` Oliver Hartkopp [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4290af18-cd89-4d87-95d5-d24674fa2d60@hartkopp.net \
--to=socketcan@hartkopp.net \
--cc=francesco@dolcini.it \
--cc=linux-can@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mailhol@kernel.org \
--cc=mkl@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®