Re: [BUG] v7_coherent_kern_range broken on big.LITTLE

2013-03-14 Thread Leo Yan
Thx a lot, Lorenzo. It's much clear for me. :-) On 03/11/2013 10:56 PM, Lorenzo Pieralisi wrote: I'm curious if A15 use the MVA to invalidate icache, then will the DVM contain the info of MVA and the range size? If it's ONLY include the MVA, then A7 how to know it need invalidate 64 bytes' ran

Re: [BUG] v7_coherent_kern_range broken on big.LITTLE

2013-03-11 Thread Lorenzo Pieralisi
On Thu, Mar 07, 2013 at 11:59:25AM +, Leo Yan wrote: > Very appreciate the detailed answers. i'd like to discuss further more > for the questions, so pls see below comments. > > On 03/07/2013 03:15 PM, Lorenzo Pieralisi wrote: > >> > >> 1. When the program calls the function *v7_coherent_kern

Re: [BUG] v7_coherent_kern_range broken on big.LITTLE

2013-03-07 Thread Leo Yan
Very appreciate the detailed answers. i'd like to discuss further more for the questions, so pls see below comments. On 03/07/2013 03:15 PM, Lorenzo Pieralisi wrote: 1. When the program calls the function *v7_coherent_kern_range*, it will firstly read the cache type register (CTR) to get the i

Re: [BUG] v7_coherent_kern_range broken on big.LITTLE

2013-03-06 Thread Lorenzo Pieralisi
[CC'ing Will] On Mon, Mar 04, 2013 at 06:41:42AM +, Leo Yan wrote: > > > On Thu, Feb 14, 2013 at 05:07:43PM +, Jon Medhurst (Tixy) wrote: > >> The function v7_coherent_kern_range uses the macro icache_line_size to > >> read the current CPUs icache line size for the purpose of

Re: [BUG] v7_coherent_kern_range broken on big.LITTLE

2013-03-03 Thread Leo Yan
On Thu, Feb 14, 2013 at 05:07:43PM +, Jon Medhurst (Tixy) wrote: The function v7_coherent_kern_range uses the macro icache_line_size to read the current CPUs icache line size for the purpose of invalidating all cache lines in the given range. Unfortunately, on the TC2 big.LITTLE test chip,

Re: [BUG] v7_coherent_kern_range broken on big.LITTLE

2013-02-15 Thread Dave Martin
On Fri, Feb 15, 2013 at 12:43:52PM +, Lorenzo Pieralisi wrote: > [dropped ALKML, added Pawel] > > On Fri, Feb 15, 2013 at 12:06:25PM +, Jon Medhurst (Tixy) wrote: > > On Fri, 2013-02-15 at 10:33 +, Lorenzo Pieralisi wrote: > > > On Fri, Feb 15, 2013 at 10:04:37AM +, Jon Medhurst (T

Re: [BUG] v7_coherent_kern_range broken on big.LITTLE

2013-02-15 Thread Jon Medhurst (Tixy)
On Fri, 2013-02-15 at 14:37 +, Dietmar Eggemann wrote: > dropped linux-arm-ker...@lists.infradead.org > > > On 15/02/13 12:06, Jon Medhurst (Tixy) wrote: > > On Fri, 2013-02-15 at 10:33 +, Lorenzo Pieralisi wrote: > >> On Fri, Feb 15, 2013 at 10:04:37AM +, Jon Medhurst (Tixy) wrote: >

Re: [BUG] v7_coherent_kern_range broken on big.LITTLE

2013-02-15 Thread Lorenzo Pieralisi
On Fri, Feb 15, 2013 at 02:37:49PM +, Dietmar Eggemann wrote: > dropped linux-arm-ker...@lists.infradead.org > > > On 15/02/13 12:06, Jon Medhurst (Tixy) wrote: > > On Fri, 2013-02-15 at 10:33 +, Lorenzo Pieralisi wrote: > >> On Fri, Feb 15, 2013 at 10:04:37AM +, Jon Medhurst (Tixy)

Re: [BUG] v7_coherent_kern_range broken on big.LITTLE

2013-02-15 Thread Dietmar Eggemann
dropped linux-arm-ker...@lists.infradead.org On 15/02/13 12:06, Jon Medhurst (Tixy) wrote: On Fri, 2013-02-15 at 10:33 +, Lorenzo Pieralisi wrote: On Fri, Feb 15, 2013 at 10:04:37AM +, Jon Medhurst (Tixy) wrote: On Thu, 2013-02-14 at 17:16 +, Will Deacon wrote: Hi Tixy, On Thu,

Re: [BUG] v7_coherent_kern_range broken on big.LITTLE

2013-02-15 Thread Lorenzo Pieralisi
[dropped ALKML, added Pawel] On Fri, Feb 15, 2013 at 12:06:25PM +, Jon Medhurst (Tixy) wrote: > On Fri, 2013-02-15 at 10:33 +, Lorenzo Pieralisi wrote: > > On Fri, Feb 15, 2013 at 10:04:37AM +, Jon Medhurst (Tixy) wrote: > > > On Thu, 2013-02-14 at 17:16 +, Will Deacon wrote: > > >

Re: [BUG] v7_coherent_kern_range broken on big.LITTLE

2013-02-15 Thread Jon Medhurst (Tixy)
On Fri, 2013-02-15 at 10:33 +, Lorenzo Pieralisi wrote: > On Fri, Feb 15, 2013 at 10:04:37AM +, Jon Medhurst (Tixy) wrote: > > On Thu, 2013-02-14 at 17:16 +, Will Deacon wrote: > > > Hi Tixy, > > > > > > On Thu, Feb 14, 2013 at 05:07:43PM +, Jon Medhurst (Tixy) wrote: > > > > The f