linux/arch
Matt Fleming 473e685ee1 sh: Couple kernel and user write page perm bits for CONFIG_X2TLB
commit fcb4ebd678 upstream.

pte_write() should check whether the permissions include either the user
or kernel write permission bits. Likewise, pte_wrprotect() needs to
remove both the kernel and user write bits.

Without this patch handle_tlbmiss() doesn't handle faulting in pages
from the P3 area (our vmalloc space) because of a write. Mappings of the
P3 space have the _PAGE_EXT_KERN_WRITE bit but not _PAGE_EXT_USER_WRITE.

Signed-off-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-02-23 07:37:55 -08:00
..
alpha untangle the do_mremap() mess 2010-01-18 10:19:11 -08:00
arm davinci: dm646x: Add support for 3.x silicon revision 2010-01-28 15:00:41 -08:00
avr32 untangle the do_mremap() mess 2010-01-18 10:19:11 -08:00
blackfin FDPIC: Respect PT_GNU_STACK exec protection markings when creating NOMMU stack 2010-02-09 04:50:49 -08:00
cris untangle the do_mremap() mess 2010-01-18 10:19:11 -08:00
frv FDPIC: Respect PT_GNU_STACK exec protection markings when creating NOMMU stack 2010-02-09 04:50:49 -08:00
h8300 untangle the do_mremap() mess 2010-01-18 10:19:11 -08:00
ia64 untangle the do_mremap() mess 2010-01-18 10:19:11 -08:00
m32r untangle the do_mremap() mess 2010-01-18 10:19:11 -08:00
m68k untangle the do_mremap() mess 2010-01-18 10:19:11 -08:00
m68knommu untangle the do_mremap() mess 2010-01-18 10:19:11 -08:00
microblaze untangle the do_mremap() mess 2010-01-18 10:19:11 -08:00
mips untangle the do_mremap() mess 2010-01-18 10:19:11 -08:00
mn10300 untangle the do_mremap() mess 2010-01-18 10:19:11 -08:00
parisc untangle the do_mremap() mess 2010-01-18 10:19:11 -08:00
powerpc powerpc: TIF_ABI_PENDING bit removal 2010-02-09 04:51:02 -08:00
s390 S390: fix single stepped svcs with TRACE_IRQFLAGS=y 2010-02-09 04:50:43 -08:00
score untangle the do_mremap() mess 2010-01-18 10:19:11 -08:00
sh sh: Couple kernel and user write page perm bits for CONFIG_X2TLB 2010-02-23 07:37:55 -08:00
sparc sparc: TIF_ABI_PENDING bit removal 2010-02-09 04:50:50 -08:00
um untangle the do_mremap() mess 2010-01-18 10:19:11 -08:00
x86 KVM: PIT: control word is write-only 2010-02-23 07:37:52 -08:00
xtensa untangle the do_mremap() mess 2010-01-18 10:19:11 -08:00
.gitignore
Kconfig oprofile: fix oprofile regression: select RING_BUFFER_ALLOW_SWAP 2009-09-17 15:53:42 -04:00