Re: [PATCH 01/17] ARM: proc: add definition of cpu_reset for ARMv6 and ARMv7 cores

2011-07-10 Thread Will Deacon
On Sun, Jul 10, 2011 at 12:52:06PM +0100, Russell King - ARM Linux wrote: > On Sun, Jul 10, 2011 at 12:00:24PM +0100, Will Deacon wrote: > > I've had a look at a bunch of the cpu_*_reset definitions and I can't see > > any reason why they wouldn't be callable with the flat mapping in place. In > >

Re: [PATCH 01/17] ARM: proc: add definition of cpu_reset for ARMv6 and ARMv7 cores

2011-07-10 Thread Russell King - ARM Linux
On Sun, Jul 10, 2011 at 12:00:24PM +0100, Will Deacon wrote: > I've had a look at a bunch of the cpu_*_reset definitions and I can't see > any reason why they wouldn't be callable with the flat mapping in place. In > fact, there's a scary comment for xscale: However, that flat mapping doesn't save

Re: [PATCH 01/17] ARM: proc: add definition of cpu_reset for ARMv6 and ARMv7 cores

2011-07-10 Thread Will Deacon
Hi Russell, On Sat, Jul 09, 2011 at 11:14:45AM +0100, Russell King - ARM Linux wrote: > On Thu, Jul 07, 2011 at 04:50:14PM +0100, Lorenzo Pieralisi wrote: > > From: Will Deacon > > > > This patch adds simple definitions of cpu_reset for ARMv6 and ARMv7 > > cores, which disable the MMU via the SC

Re: [PATCH 01/17] ARM: proc: add definition of cpu_reset for ARMv6 and ARMv7 cores

2011-07-09 Thread Russell King - ARM Linux
On Thu, Jul 07, 2011 at 04:50:14PM +0100, Lorenzo Pieralisi wrote: > From: Will Deacon > > This patch adds simple definitions of cpu_reset for ARMv6 and ARMv7 > cores, which disable the MMU via the SCTLR. This really needs fixing properly, so that we have this well defined across all supported A

Re: [PATCH 01/17] ARM: proc: add definition of cpu_reset for ARMv6 and ARMv7 cores

2011-07-08 Thread Will Deacon
On Fri, Jul 08, 2011 at 02:12:13AM +0100, Santosh Shilimkar wrote: > Minor nit, > > On 7/7/2011 8:50 AM, Lorenzo Pieralisi wrote: > > From: Will Deacon > > > > This patch adds simple definitions of cpu_reset for ARMv6 and ARMv7 > > cores, which disable the MMU via the SCTLR. > > > > Signed-off-by:

Re: [PATCH 01/17] ARM: proc: add definition of cpu_reset for ARMv6 and ARMv7 cores

2011-07-07 Thread Santosh Shilimkar
Minor nit, On 7/7/2011 8:50 AM, Lorenzo Pieralisi wrote: From: Will Deacon This patch adds simple definitions of cpu_reset for ARMv6 and ARMv7 cores, which disable the MMU via the SCTLR. Signed-off-by: Will Deacon --- arch/arm/mm/proc-v6.S |5 + arch/arm/mm/proc-v7.S |7 +++

[PATCH 01/17] ARM: proc: add definition of cpu_reset for ARMv6 and ARMv7 cores

2011-07-07 Thread Lorenzo Pieralisi
From: Will Deacon This patch adds simple definitions of cpu_reset for ARMv6 and ARMv7 cores, which disable the MMU via the SCTLR. Signed-off-by: Will Deacon --- arch/arm/mm/proc-v6.S |5 + arch/arm/mm/proc-v7.S |7 +++ 2 files changed, 12 insertions(+), 0 deletions(-) diff --g