Re: [PATCH] Check _PAGE_RW and _PAGE_PRESENT on kernel addresses.

2007-08-21 Thread Scott Wood
On Wed, Aug 22, 2007 at 01:52:49PM +1000, Paul Mackerras wrote: > Scott Wood writes: > > > Previously, the TLB miss handlers assumed that pages above KERNELBASE are > > always present and read/write. This assumption is false in the case of > > CONFIG_DEBUG_PAGEALLOC. > > > blt+112f > > +

Re: [PATCH] Check _PAGE_RW and _PAGE_PRESENT on kernel addresses.

2007-08-21 Thread Paul Mackerras
Scott Wood writes: > Previously, the TLB miss handlers assumed that pages above KERNELBASE are > always present and read/write. This assumption is false in the case of > CONFIG_DEBUG_PAGEALLOC. > blt+112f > + mfspr r2,SPRN_SRR1/* and MSR_PR bit from SRR1 */ > + rl

[PATCH] Check _PAGE_RW and _PAGE_PRESENT on kernel addresses.

2007-08-21 Thread Scott Wood
Previously, the TLB miss handlers assumed that pages above KERNELBASE are always present and read/write. This assumption is false in the case of CONFIG_DEBUG_PAGEALLOC. Signed-off-by: Scott Wood <[EMAIL PROTECTED]> --- arch/powerpc/kernel/head_32.S | 12 ++-- 1 files changed, 6 inserti