[PATCH 1/2] dt-bindings: arm: bcm: unify version notation of Northstar devices
Krzysztof Kozlowski
krzysztof.kozlowski at linaro.org
Thu Jun 1 00:07:20 PDT 2023
On 22/05/2023 22:29, Rafał Miłecki wrote:
> On 22.05.2023 19:08, Conor Dooley wrote:
>> On Sat, May 20, 2023 at 01:26:00PM +0200, Rafał Miłecki wrote:
>>> From: Rafał Miłecki <rafal at milecki.pl>
>>>
>>> Always use a minus/hyphen char to separate model from version. This
>>> unifies binding's "compatible" strings.
>>
>> Am I just being paranoid in thinking that software may have relied on
>> the former naming scheme?
>> On the other hand, my OCD really likes the change.
>
> That's a very reasonable concern.
>
>
> TLDR: The risk of any breakage is extremely low due to Northstar CFE
> bootloader & projects with Northstar support.
>
>
> There are very few Northstar devices with bootloader other than CFE.
> All devices affected by this PATCH use CFE actually.
> CFE on Northstar has no support for DTS (DTB).
> DTB files are always appended to kernel on all affected devices.
>
> So problem of some DTB stored in bootloader getting out of sync with
> kernel / user-space is non-existent in this case.
>
> We still should consider a risk of some out-of-tree driver or just
> user-space checking for those compatible strings. I'm not aware of any
> project other than OpenWrt providing system images for those devices.
> There is some basic support in buildroot but it's quite dead. Even in
> OpenWrt case the only possibly affected device is Netgear R6300 V2.
> OpenWrt doesn't provide images for any of affected Luxul devices.
>
> So there isn't any known project this change can actually break. If
> there is one (very unlikely) it can still update its user-space or
> out of kernel driver while updating DTB.
>
> So while this change may be not the best approach (in general terms)
> in this case it's very unlikely to break anything.
You should explain this - reason for ABI break - in commit msg.
Or just keep old compatibles as deprecated.
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list