Re: [PATCH 6/7 v6] ARM: l2x0: calculate associativity from ePAPR cache props

Arnd Bergmann
2014-09-08T13:18:18Z

On Monday 08 September 2014 14:43:55 Linus Walleij wrote:
>
> >
> > and CACHE_LINE_SIZE seems to be what ePAPR calls cache-block-size, i.e.
> > the fundamental unit of cache management as seen from the CPU, independent
> > of how it is physically organized.
>
> Yeah. Well, actually that means the variable in cache-l2x0.c should
> be renamed from CACHE_LINE_SIZE to CACHE_BLOCK_SIZE
> if we go with that terminology, right? That is the real change that
> is needed to make terminology consistent then.

Not sure if it's worth it. It may be a case of IBM terminology being
at odds with ARM terminology. ;-)

Arnd