Re: Possible race condition of the rockchip_canfd driver
From: Alexander Shiyan <hidden>
Date: 2025-09-28 17:48:02
Also in:
linux-arm-kernel, linux-can, linux-rockchip, lkml
From: Alexander Shiyan <hidden>
Date: 2025-09-28 17:48:02
Also in:
linux-arm-kernel, linux-can, linux-rockchip, lkml
Hello.
quoted
quoted
Could you please let me know how to check whether my RK3568 is v2 or v3?Alexander Shiyan (Cc'ed) reads the information from an nvmem cell: | https://github.com/MacroGroup/barebox/blob/macro/arch/arm/boards/diasom-rk3568/board.c#L239-L257 The idea is to fixup the device tree in the bootloader depending on the SoC revision, so that the CAN driver uses only the needed workarounds.Thanks, it is not easy to correlate this because I am currently not using barebox. I'll try this later.
I think this can be done from the userspace. Build the driver as a module, get the SoC version, then modprobe it with an alias for the desired version.