Re: [PATCH 05/24] ARM: imx: use __iomem pointers for MMIO

2012-09-16 Thread Sascha Hauer
On Sat, Sep 15, 2012 at 05:42:41PM +, Arnd Bergmann wrote: > On Friday 14 September 2012, Fabio Estevam wrote: > > On Fri, Sep 14, 2012 at 6:34 PM, Arnd Bergmann wrote: > > > ARM is moving to stricter checks on readl/write functions, > > > so we need to use the correct types everywhere. > > >

Re: [PATCH 05/24] ARM: imx: use __iomem pointers for MMIO

2012-09-15 Thread Arnd Bergmann
On Friday 14 September 2012, Fabio Estevam wrote: > On Fri, Sep 14, 2012 at 6:34 PM, Arnd Bergmann wrote: > > ARM is moving to stricter checks on readl/write functions, > > so we need to use the correct types everywhere. > > > > This found a bug in mach-armadillo5x0.c, where we attempt mmio > > on

Re: [PATCH 05/24] ARM: imx: use __iomem pointers for MMIO

2012-09-14 Thread Fabio Estevam
On Fri, Sep 14, 2012 at 6:34 PM, Arnd Bergmann wrote: > ARM is moving to stricter checks on readl/write functions, > so we need to use the correct types everywhere. > > This found a bug in mach-armadillo5x0.c, where we attempt mmio > on the MXC_CCM_RCSR address that is currently defined to 0xc > a

[PATCH 05/24] ARM: imx: use __iomem pointers for MMIO

2012-09-14 Thread Arnd Bergmann
ARM is moving to stricter checks on readl/write functions, so we need to use the correct types everywhere. This found a bug in mach-armadillo5x0.c, where we attempt mmio on the MXC_CCM_RCSR address that is currently defined to 0xc and consequently causes an illegal address access. Signed-off-by: