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

2008-12-13 Thread Kumar Gala
On Dec 11, 2008, at 6:15 PM, Josh Boyer wrote: On Mon, 08 Dec 2008 16:39:52 +1100 Benjamin Herrenschmidt 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 wh

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

2008-12-11 Thread Josh Boyer
On Mon, 08 Dec 2008 16:39:52 +1100 Benjamin Herrenschmidt 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 > unnecessary on those processo

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

2008-12-07 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