Re: [PATCH] arm: l2c: unlock ways when in non-secure mode

2017-12-05 Thread Etienne Carriere
Hello, On 3 December 2017 at 12:20, Peng Fan wrote: > Hi Russell, > >> > > > > > >> > > > > > On Sun, Nov 26, 2017 at 08:25:30PM +0800, Peng Fan wrote: >> > > > > > > To boot Linux in Non-secure mode with l2x0, the l2x0 >> > > > > > > controller is enabled in secure mode and

Re: [PATCH] arm: l2c: unlock ways when in non-secure mode

2017-12-05 Thread Etienne Carriere
Hello, On 3 December 2017 at 12:20, Peng Fan wrote: > Hi Russell, > >> > > > > > >> > > > > > On Sun, Nov 26, 2017 at 08:25:30PM +0800, Peng Fan wrote: >> > > > > > > To boot Linux in Non-secure mode with l2x0, the l2x0 >> > > > > > > controller is enabled in secure mode and ways locked to make

RE: [PATCH] arm: l2c: unlock ways when in non-secure mode

2017-12-03 Thread Peng Fan
Hi Russell, > > > > > > > > > > > > On Sun, Nov 26, 2017 at 08:25:30PM +0800, Peng Fan wrote: > > > > > > > To boot Linux in Non-secure mode with l2x0, the l2x0 > > > > > > > controller is enabled in secure mode and ways locked to make > > > > > > > it seems L2 cache disabled during linux boot

RE: [PATCH] arm: l2c: unlock ways when in non-secure mode

2017-12-03 Thread Peng Fan
Hi Russell, > > > > > > > > > > > > On Sun, Nov 26, 2017 at 08:25:30PM +0800, Peng Fan wrote: > > > > > > > To boot Linux in Non-secure mode with l2x0, the l2x0 > > > > > > > controller is enabled in secure mode and ways locked to make > > > > > > > it seems L2 cache disabled during linux boot

RE: [PATCH] arm: l2c: unlock ways when in non-secure mode

2017-11-27 Thread Peng Fan
@gmail.com; Mark Rutland <mark.rutl...@arm.com>; Thomas > Gleixner <t...@linutronix.de>; Chris Brandt <chris.bra...@renesas.com>; Will > Deacon <will.dea...@arm.com> > Subject: Re: [PATCH] arm: l2c: unlock ways when in non-secure mode > > On Mon, N

RE: [PATCH] arm: l2c: unlock ways when in non-secure mode

2017-11-27 Thread Peng Fan
Thomas > Gleixner ; Chris Brandt ; Will > Deacon > Subject: Re: [PATCH] arm: l2c: unlock ways when in non-secure mode > > On Mon, Nov 27, 2017 at 09:43:41AM +, Peng Fan wrote: > > Hi Russell, > > > > > -Original Message- > > > From: Rus

Re: [PATCH] arm: l2c: unlock ways when in non-secure mode

2017-11-27 Thread Russell King - ARM Linux
; Cc: linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; > > van.free...@gmail.com; Mark Rutland <mark.rutl...@arm.com>; Thomas > > Gleixner <t...@linutronix.de>; Chris Brandt <chris.bra...@renesas.com>; Will > > Deacon <will.dea..

Re: [PATCH] arm: l2c: unlock ways when in non-secure mode

2017-11-27 Thread Russell King - ARM Linux
..@lists.infradead.org; linux-kernel@vger.kernel.org; > > van.free...@gmail.com; Mark Rutland ; Thomas > > Gleixner ; Chris Brandt ; Will > > Deacon > > Subject: Re: [PATCH] arm: l2c: unlock ways when in non-secure mode > > > > On Sun, Nov 26, 2017 at 11:56:10PM +0

RE: [PATCH] arm: l2c: unlock ways when in non-secure mode

2017-11-27 Thread Peng Fan
@gmail.com; Mark Rutland <mark.rutl...@arm.com>; Thomas > Gleixner <t...@linutronix.de>; Chris Brandt <chris.bra...@renesas.com>; Will > Deacon <will.dea...@arm.com> > Subject: Re: [PATCH] arm: l2c: unlock ways when in non-secure mode > > On Sun, N

RE: [PATCH] arm: l2c: unlock ways when in non-secure mode

2017-11-27 Thread Peng Fan
Thomas > Gleixner ; Chris Brandt ; Will > Deacon > Subject: Re: [PATCH] arm: l2c: unlock ways when in non-secure mode > > On Sun, Nov 26, 2017 at 11:56:10PM +, Peng Fan wrote: > > Hi Russell, > > > > > Subject: Re: [PATCH] arm: l2c: unlock ways when in non

Re: [PATCH] arm: l2c: unlock ways when in non-secure mode

2017-11-27 Thread Russell King - ARM Linux
On Sun, Nov 26, 2017 at 11:56:10PM +, Peng Fan wrote: > Hi Russell, > > > Subject: Re: [PATCH] arm: l2c: unlock ways when in non-secure mode > > > > On Sun, Nov 26, 2017 at 08:25:30PM +0800, Peng Fan wrote: > > > To boot Linux in Non-secure mo

Re: [PATCH] arm: l2c: unlock ways when in non-secure mode

2017-11-27 Thread Russell King - ARM Linux
On Sun, Nov 26, 2017 at 11:56:10PM +, Peng Fan wrote: > Hi Russell, > > > Subject: Re: [PATCH] arm: l2c: unlock ways when in non-secure mode > > > > On Sun, Nov 26, 2017 at 08:25:30PM +0800, Peng Fan wrote: > > > To boot Linux in Non-secure mo

RE: [PATCH] arm: l2c: unlock ways when in non-secure mode

2017-11-26 Thread Peng Fan
Hi Russell, > Subject: Re: [PATCH] arm: l2c: unlock ways when in non-secure mode > > On Sun, Nov 26, 2017 at 08:25:30PM +0800, Peng Fan wrote: > > To boot Linux in Non-secure mode with l2x0, the l2x0 controller is > > enabled in secure mode and ways locked to make it seems

RE: [PATCH] arm: l2c: unlock ways when in non-secure mode

2017-11-26 Thread Peng Fan
Hi Russell, > Subject: Re: [PATCH] arm: l2c: unlock ways when in non-secure mode > > On Sun, Nov 26, 2017 at 08:25:30PM +0800, Peng Fan wrote: > > To boot Linux in Non-secure mode with l2x0, the l2x0 controller is > > enabled in secure mode and ways locked to make it seems

Re: [PATCH] arm: l2c: unlock ways when in non-secure mode

2017-11-26 Thread Russell King - ARM Linux
On Sun, Nov 26, 2017 at 08:25:30PM +0800, Peng Fan wrote: > To boot Linux in Non-secure mode with l2x0, the l2x0 controller > is enabled in secure mode and ways locked to make it seems L2 cache > disabled during linux boot process. So during l2x0 initialization, > need to unlock the ways to make

Re: [PATCH] arm: l2c: unlock ways when in non-secure mode

2017-11-26 Thread Russell King - ARM Linux
On Sun, Nov 26, 2017 at 08:25:30PM +0800, Peng Fan wrote: > To boot Linux in Non-secure mode with l2x0, the l2x0 controller > is enabled in secure mode and ways locked to make it seems L2 cache > disabled during linux boot process. So during l2x0 initialization, > need to unlock the ways to make

[PATCH] arm: l2c: unlock ways when in non-secure mode

2017-11-26 Thread Peng Fan
To boot Linux in Non-secure mode with l2x0, the l2x0 controller is enabled in secure mode and ways locked to make it seems L2 cache disabled during linux boot process. So during l2x0 initialization, need to unlock the ways to make l2x0 could cache data/inst. Signed-off-by: Peng Fan

[PATCH] arm: l2c: unlock ways when in non-secure mode

2017-11-26 Thread Peng Fan
To boot Linux in Non-secure mode with l2x0, the l2x0 controller is enabled in secure mode and ways locked to make it seems L2 cache disabled during linux boot process. So during l2x0 initialization, need to unlock the ways to make l2x0 could cache data/inst. Signed-off-by: Peng Fan Cc: Russell