From: Jason Gunthorpe <hidden> Date: 2010-03-09 19:30:23
NOPs within the property section are skipped, but NOPs between
OF_DT_END_NODE and OF_DT_BEGIN_NODE were not. My firmware NOPs out
entire nodes depending on various environment parameters.
of_scan_flat_dt already handles NOP more generally..
Signed-off-by: Jason Gunthorpe <redacted>
---
arch/powerpc/kernel/prom.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
From: Benjamin Herrenschmidt <benh@kernel.crashing.org> Date: 2010-03-19 05:50:59
On Tue, 2010-03-09 at 12:30 -0700, Jason Gunthorpe wrote:
NOPs within the property section are skipped, but NOPs between
OF_DT_END_NODE and OF_DT_BEGIN_NODE were not. My firmware NOPs out
entire nodes depending on various environment parameters.
of_scan_flat_dt already handles NOP more generally..
Good catch, though that code has now moved over to drivers/of
and is a bit different. Grant is going to fix it up though.
Cheers,
Ben.
From: Jason Gunthorpe <hidden> Date: 2010-03-19 06:06:28
On Fri, Mar 19, 2010 at 04:50:38PM +1100, Benjamin Herrenschmidt wrote:
On Tue, 2010-03-09 at 12:30 -0700, Jason Gunthorpe wrote:
quoted
NOPs within the property section are skipped, but NOPs between
OF_DT_END_NODE and OF_DT_BEGIN_NODE were not. My firmware NOPs out
entire nodes depending on various environment parameters.
of_scan_flat_dt already handles NOP more generally..
Good catch, though that code has now moved over to drivers/of
and is a bit different. Grant is going to fix it up though.
Ah, I based the patch off 2.6.33..
Grant: let me know if you need some help/testing, nice to run into you
again.
Jason
From: Grant Likely <hidden> Date: 2010-03-19 06:18:39
On Fri, Mar 19, 2010 at 12:06 AM, Jason Gunthorpe
[off-list ref] wrote:
On Fri, Mar 19, 2010 at 04:50:38PM +1100, Benjamin Herrenschmidt wrote:
quoted
On Tue, 2010-03-09 at 12:30 -0700, Jason Gunthorpe wrote:
quoted
NOPs within the property section are skipped, but NOPs between
OF_DT_END_NODE and OF_DT_BEGIN_NODE were not. My firmware NOPs out
entire nodes depending on various environment parameters.
of_scan_flat_dt already handles NOP more generally..
Good catch, though that code has now moved over to drivers/of
and is a bit different. Grant is going to fix it up though.
Ah, I based the patch off 2.6.33..
Grant: let me know if you need some help/testing, nice to run into you
again.
Would be nice if you could respin and test your patch against 2.6.34-rc1. :-)
Otherwise I'll look at it tomorrow.
g.
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.