Re: [PATCH] of: Fix reserved-memory overlap detection

2020-10-21 Thread Vincent Whitchurch
On Tue, Oct 20, 2020 at 04:17:27PM +0200, Rob Herring wrote: > On Tue, Oct 20, 2020 at 8:46 AM Vincent Whitchurch > wrote: > > On Tue, Oct 20, 2020 at 03:00:14PM +0200, Rob Herring wrote: > > > On Tue, Oct 20, 2020 at 2:36 AM Vincent Whitchurch > > > wrote: > > > > > > > > The reserved-memory ove

Re: [PATCH] of: Fix reserved-memory overlap detection

2020-10-20 Thread Rob Herring
On Tue, Oct 20, 2020 at 8:46 AM Vincent Whitchurch wrote: > > On Tue, Oct 20, 2020 at 03:00:14PM +0200, Rob Herring wrote: > > On Tue, Oct 20, 2020 at 2:36 AM Vincent Whitchurch > > wrote: > > > > > > The reserved-memory overlap detection code fails to detect overlaps if > > > either of the regio

Re: [PATCH] of: Fix reserved-memory overlap detection

2020-10-20 Thread Vincent Whitchurch
On Tue, Oct 20, 2020 at 03:00:14PM +0200, Rob Herring wrote: > On Tue, Oct 20, 2020 at 2:36 AM Vincent Whitchurch > wrote: > > > > The reserved-memory overlap detection code fails to detect overlaps if > > either of the regions starts at address 0x0. For some reason the code > > explicitly checks

Re: [PATCH] of: Fix reserved-memory overlap detection

2020-10-20 Thread Rob Herring
On Tue, Oct 20, 2020 at 2:36 AM Vincent Whitchurch wrote: > > The reserved-memory overlap detection code fails to detect overlaps if > either of the regions starts at address 0x0. For some reason the code > explicitly checks for and ignores such regions, but this check looks > invalid. Remove th