Re: [PATCH] powerpc: Fix bogus cache flushing on all 40x and BookE processors v2

2008-12-04 Thread Benjamin Herrenschmidt
On Thu, 2008-12-04 at 07:33 -0500, Josh Boyer wrote: > On Thu, 04 Dec 2008 17:12:59 +1100 > Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > > > We were missing the CPU_FTR_NOEXECUTE bit in our cputable for all > > these processors. The result is that update_mmu_cache() would flush > > the cach

Re: [PATCH] powerpc: Fix bogus cache flushing on all 40x and BookE processors v2

2008-12-04 Thread Josh Boyer
On Thu, 04 Dec 2008 17:12:59 +1100 Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > We were missing the CPU_FTR_NOEXECUTE bit in our cputable for all > these processors. The result is that update_mmu_cache() would flush > the cache for all pages mapped to userspace which is totally > unnecessar

[PATCH] powerpc: Fix bogus cache flushing on all 40x and BookE processors v2

2008-12-03 Thread Benjamin Herrenschmidt
We were missing the CPU_FTR_NOEXECUTE bit in our cputable for all these processors. The result is that update_mmu_cache() would flush the cache for all pages mapped to userspace which is totally unnecessary on those processors since we already handle flushing on execute in the page fault path. Thi