kernel_optimize_test/arch
Benjamin Herrenschmidt a1f242ff46 powerpc ioremap_prot
This adds ioremap_prot and pte_pgprot() so that one can extract protection
bits from a PTE and use them to ioremap_prot() (in order to support ptrace
of VM_IO | VM_PFNMAP as per Rik's patch).

This moves a couple of flag checks around in the ioremap implementations
of arch/powerpc.  There's a side effect of allowing non-cacheable and
non-guarded mappings on ppc32 which before would always have _PAGE_GUARDED
set whenever _PAGE_NO_CACHE is.

(standard ioremap will still set _PAGE_GUARDED, but ioremap_prot will be
capable of setting such a non guarded mapping).

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Rik van Riel <riel@redhat.com>
Cc: Dave Airlie <airlied@linux.ie>
Cc: Hugh Dickins <hugh@veritas.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-07-24 10:47:15 -07:00
..
alpha mm: move bootmem descriptors definition to a single place 2008-07-24 10:47:14 -07:00
arm mm: move bootmem descriptors definition to a single place 2008-07-24 10:47:14 -07:00
avr32 add HAVE_CLK to Kconfig, for driver dependencies 2008-07-24 10:47:13 -07:00
blackfin remove mention of CONFIG_KMOD from documentation 2008-07-22 19:24:29 +10:00
cris Merge branch 'for-linus' of git://www.jni.nu/cris 2008-07-20 17:37:46 -07:00
frv
h8300
ia64 mm: move bootmem descriptors definition to a single place 2008-07-24 10:47:14 -07:00
m32r mm: move bootmem descriptors definition to a single place 2008-07-24 10:47:14 -07:00
m68k mm: move bootmem descriptors definition to a single place 2008-07-24 10:47:14 -07:00
m68knommu Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6 2008-07-16 17:25:46 -07:00
mips mm: move bootmem descriptors definition to a single place 2008-07-24 10:47:14 -07:00
mn10300 MN10300: Fix MN10300's serial port driver to get at its tty_struct 2008-07-20 17:12:35 -07:00
parisc mm: move bootmem descriptors definition to a single place 2008-07-24 10:47:14 -07:00
powerpc powerpc ioremap_prot 2008-07-24 10:47:15 -07:00
s390 sysdev: Pass the attribute to the low level sysdev show/store function 2008-07-21 21:55:02 -07:00
sh mm: move bootmem descriptors definition to a single place 2008-07-24 10:47:14 -07:00
sparc sparc32: pass -m32 when building vmlinux.lds 2008-07-22 15:47:17 -07:00
sparc64 mm: move bootmem descriptors definition to a single place 2008-07-24 10:47:14 -07:00
um UML - Fix boot crash 2008-07-23 09:36:56 -07:00
v850
x86 use generic_access_phys for /dev/mem mappings 2008-07-24 10:47:15 -07:00
xtensa remove mention of CONFIG_KMOD from documentation 2008-07-22 19:24:29 +10:00
.gitignore
Kconfig access_process_vm device memory infrastructure 2008-07-24 10:47:15 -07:00