]> git.hungrycats.org Git - linux/commit
[PATCH] ppc64 POWER3 segment table fix
authorAnton Blanchard <anton@samba.org>
Tue, 9 Mar 2004 23:58:13 +0000 (15:58 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 9 Mar 2004 23:58:13 +0000 (15:58 -0800)
commitc5e296f532afb411051444f64016755a07cdcd4b
treeb7ae3dabad92cc16375c18318e70cee36e5e7e63
parent0b5403cfd5e43f23b79d6a5fc0c1817b9813ed1a
[PATCH] ppc64 POWER3 segment table fix

The ppc64 fix last week (enforcing permissions on the kernel when
accessing userspace pages) uncovered a bug on POWER3/RS64. We werent
zeroing the segment table entry before overwriting it and it was possible
for the ks bit to be set on a kernel segment.

The VSID mask was also changed to match reality (we only use 13 bits).
arch/ppc64/kernel/head.S
arch/ppc64/kernel/stab.c
include/asm-ppc64/mmu_context.h