https://github.com/torvalds/linux
Revision 4c456a67f501b8b15542c7c21c28812bf88f484b authored by Gerhard Pircher on 23 January 2009, 06:51:28 UTC, committed by Benjamin Herrenschmidt on 28 January 2009, 06:15:52 UTC
_PAGE_COHERENT is now always set in _PAGE_RAM resp. PAGE_KERNEL.
Thus it has to be masked out, if the BAT mapping should be non
cacheable or CPU_FTR_NEED_COHERENT is not set.

This will work on normal SMP setups because we force-set
CPU_FTR_NEED_COHERENT as part of CPU_FTR_COMMON on SMP.

Signed-off-by: Gerhard Pircher <gerhard_pircher@gmx.net>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
1 parent 69b052e
History
Tip revision: 4c456a67f501b8b15542c7c21c28812bf88f484b authored by Gerhard Pircher on 23 January 2009, 06:51:28 UTC
powerpc/mm: Fix handling of _PAGE_COHERENT in BAT setup code
Tip revision: 4c456a6
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
virt
.gitignore -rw-r--r-- 867 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.3 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 106.5 KB
Makefile -rw-r--r-- 53.2 KB
README -rw-r--r-- 16.7 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top