[parisc-linux-cvs] linux jsm

John Marvin jsm@puffin.external.hp.com
Wed, 7 Feb 2001 07:19:51 -0700


CVSROOT:	/home/cvs/parisc
Module name:	linux
Changes by:	jsm	01/02/07 07:19:51

Modified files:
	arch/parisc/kernel: entry.S traps.c 
	include/asm-parisc: processor.h psw.h mmu_context.h pgalloc.h 

Log message:
Changes to turn on protection ID checking. Also some cleanup.

entry.S:
Remove old code. Remove support for uncached pages on PA2.0
processors. Properly initialize protection id for translations.

traps.c:
Fix bug where kernel would die if user touched kernel address
space. Added support for traps 7 and 27 (I and D protection
faults) since they can now be generated.

processor.h:
Remove silly nullify trick. Use psw definition that contains
P bit. Remove pg_tables field from thread structure.

psw.h:
Remove USER_INIT_PSW. Add PSW_P to USER_PSW and KERNEL_PSW.

mmu_context.h:
Load protection Id register (cr8) in switch_mm(). Get rid
of usage of pg_tables field, since it is not used anywhere
else.

pgalloc.h:
Load corresponding protection Id register if space is
changed in flush_tlb_mm().