On Thu, 2014-09-04 at 16:52 +0900, Michel D?nzer wrote:
> > #endif
> > +#if defined(__powerpc__) && !defined(CONFIG_NOT_COHERENT_CACHE)
> > + /*
> > + * Using a non-cachable mapping of system memory on
> > + * cache coherent powerpc's can be fatal, let's make
> > + * sure this
On 04.09.2014 18:34, Benjamin Herrenschmidt wrote:
> On Thu, 2014-09-04 at 16:52 +0900, Michel D?nzer wrote:
>>>#endif
>>> +#if defined(__powerpc__) && !defined(CONFIG_NOT_COHERENT_CACHE)
>>> + /*
>>> + * Using a non-cachable mapping of system memory on
>>> + * cache coherent
On all current cache coherent powerpc processors, it is not legit
to map system memory non-cachable. This will cause aliases with
the linear mapping which can be fatal.
The TTM should generally avoid it after Jerome placement patches but
let's add a sanity check anyway to catch any possible
On 04.09.2014 16:47, Benjamin Herrenschmidt wrote:
> On all current cache coherent powerpc processors, it is not legit
> to map system memory non-cachable. This will cause aliases with
> the linear mapping which can be fatal.
>
> The TTM should generally avoid it after Jerome placement patches but