-
- Downloads
MIPS: Fix highmem.
Commit 35133692 (kernel.org) rsp. b3594a089f1c17ff919f8f78505c3f20e1f6f8ce (linux-mips.org): > From: Chris Dearman <chris@mips.com> > Date: Wed, 19 Sep 2007 00:58:24 +0100 > Subject: [PATCH] [MIPS] Allow setting of the cache attribute at run time. > > Slightly tacky, but there is a precedent in the sparc archirecture code. introduces the variable _page_cachable_default, which defaults to zero and. is used to create the prototype PTE for __kmap_atomic in arch/mips/mm/init.c:kmap_init before initialization in arch/mips/mm/c-r4k.c:coherency_setup, so the default value of 0 will be used as the CCA of kmap atomic pages which on many processors is not a defined CCA value and may result in writes to kmap_atomic pages getting corrupted. Debugged by Jon Fraser (jfraser@broadcom.com). Signed-off-by:Ralf Baechle <ralf@linux-mips.org>
Showing
- arch/mips/include/asm/fixmap.h 3 additions, 0 deletionsarch/mips/include/asm/fixmap.h
- arch/mips/include/asm/highmem.h 4 additions, 2 deletionsarch/mips/include/asm/highmem.h
- arch/mips/mm/highmem.c 19 additions, 6 deletionsarch/mips/mm/highmem.c
- arch/mips/mm/init.c 0 additions, 26 deletionsarch/mips/mm/init.c
Loading
Please register or sign in to comment