Re: [PATCH] pm80xx: Remove bogus address masking in pm8001_ioremap()

2016-04-14 Thread Martin K. Petersen
> "David" == David Daney writes: David> It is unclear what the original intent of the masking was, but it David> is clearly incorrect to truncate a physical address before David> calling ioremap(). On systems where there are valid physical David> address bits above bit-31 (arm64 for example)

Re: [PATCH] pm80xx: Remove bogus address masking in pm8001_ioremap()

2016-04-14 Thread Jinpu Wang
On Wed, Apr 13, 2016 at 11:26 PM, David Daney wrote: > From: David Daney > > It is unclear what the original intent of the masking was, but it is > clearly incorrect to truncate a physical address before calling > ioremap(). On systems where there are valid physical address bits > above bit-31 (

[PATCH] pm80xx: Remove bogus address masking in pm8001_ioremap()

2016-04-13 Thread David Daney
From: David Daney It is unclear what the original intent of the masking was, but it is clearly incorrect to truncate a physical address before calling ioremap(). On systems where there are valid physical address bits above bit-31 (arm64 for example) the result is an eventual OOPs when initializi