Re: [PATCH 4.19 48/71] of: Fix reserved-memory overlap detection

From: Pavel Machek
Date: Wed Nov 11 2020 - 07:54:04 EST


Hi!

> For example, there are two overlaps in this case but they are not
> currently reported:

...

> but they are after this patch:
>
> OF: reserved mem: OVERLAP DETECTED!
> bar@0 (0x00000000--0x00001000) overlaps with foo@0 (0x00000000--0x00002000)
> OF: reserved mem: OVERLAP DETECTED!
> foo@0 (0x00000000--0x00002000) overlaps with baz@1000 (0x00001000--0x00002000)

Is it good idea to push this into 4.19 so early? It does not fix
anything, it just causes warnings.

Such overlap currently exists in 4.19:

arch/arm/boot/dts/s5pv210.dtsi and can not be fixed easily, see:

> > > > > clocks: clock-controller@e0100000 {
> > > > > + compatible = "samsung,s5pv210-clock";
> > > > > reg = <0xe0100000 0x10000>;
> > > > ...
> > > > > + pmu_syscon: syscon@e0108000 {
> > > > > + reg = <0xe0108000 0x8000>;
> > > > > };

Date: Fri, 6 Nov 2020 22:10:38 +0100
From: Krzysztof Kozlowski <krzk@xxxxxxxxxx>
Subject: Re: [PATCH 4.19 107/191] ARM: dts: s5pv210: move PMU node out of clock controller

Best regards,
Pavel

--
http://www.livejournal.com/~pavelmachek

Attachment: signature.asc
Description: Digital signature