[PATCH v2 0/9] soc: remove direct accesses to of_root from drivers/soc/
Bartosz Golaszewski
brgl at kernel.org
Fri Mar 13 19:36:49 AEDT 2026
On Thu, 12 Mar 2026 16:18:38 +0100, Greg Kroah-Hartman
<gregkh at linuxfoundation.org> said:
> On Thu, Feb 26, 2026 at 10:28:26AM +0100, Bartosz Golaszewski wrote:
>> On Tue, Feb 24, 2026 at 7:38 PM Rob Herring <robh at kernel.org> wrote:
>> >
>> > On Mon, Feb 23, 2026 at 02:37:15PM +0100, Bartosz Golaszewski wrote:
>> > > linux/of.h declares a set of variables providing addresses of certain
>> > > key OF nodes. The pointers being variables can't profit from stubs
>> > > provided for when CONFIG_OF is disabled which means that drivers
>> > > accessing these variables can't profit from CONFIG_COMPILE_TEST=y
>> > > coverage.
>> > >
>> > > There are drivers under drivers/soc/ that access the of_root node. This
>> > > series introduces new OF helpers for reading the machine compatible and
>> > > model strings, exports an existing SoC helper that reads the machine
>> > > string from the root node and finally replaces all direct accesses to
>> > > of_root with new or already existing helper functions.
>> > >
>> > > Merging strategy: first two patches should be either acked by Rob or
>> > > picked up into an immutable branch based on v7.0-rc1, the rest can go
>> > > through the SoC tree.
>> >
>> > SoC tree is good.
>> >
>> > For all but patch 8,
>> >
>> > Reviewed-by: Rob Herring (Arm) <robh at kernel.org>
>> >
>>
>> FYI Rob also reviewed patch 8 now. Who would pick the patches up? Greg
>> KH? There does not seem to be a centralized SoC maintainer in
>> MAINTAINERS?
>
> Sure, let me take them now, thanks.
>
> greg k-h
>
In the meantime Geert sent an alternative to patch 8/9 so this single one can
be dropped from the series.
Thanks,
Bartosz
More information about the Linuxppc-dev
mailing list