kernel-ark/arch/powerpc/platforms/celleb
Paul Mackerras 1189be6508 [POWERPC] Use 1TB segments
This makes the kernel use 1TB segments for all kernel mappings and for
user addresses of 1TB and above, on machines which support them
(currently POWER5+, POWER6 and PA6T).

We detect that the machine supports 1TB segments by looking at the
ibm,processor-segment-sizes property in the device tree.

We don't currently use 1TB segments for user addresses < 1T, since
that would effectively prevent 32-bit processes from using huge pages
unless we also had a way to revert to using 256MB segments.  That
would be possible but would involve extra complications (such as
keeping track of which segment size was used when HPTEs were inserted)
and is not addressed here.

Parts of this patch were originally written by Ben Herrenschmidt.

Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-10-12 14:05:17 +10:00
..
beat_syscall.h [POWERPC] Celleb: New HTAB Guest OS Interface on Beat 2007-10-03 13:25:28 +10:00
beat_wrapper.h [POWERPC] Celleb: New HTAB Guest OS Interface on Beat 2007-10-03 13:25:28 +10:00
beat.c [POWERPC] Celleb: Support for Power/Reset buttons 2007-10-03 13:25:28 +10:00
beat.h
htab.c [POWERPC] Use 1TB segments 2007-10-12 14:05:17 +10:00
hvCall.S
interrupt.c
interrupt.h
io-workarounds.c [POWERPC] Celleb: update for PCI 2007-10-03 13:25:28 +10:00
iommu.c
Kconfig [POWERPC] Celleb: update for PCI 2007-10-03 13:25:28 +10:00
Makefile [POWERPC] Celleb: update for PCI 2007-10-03 13:25:28 +10:00
pci.c [POWERPC] Celleb: update for PCI 2007-10-03 13:25:28 +10:00
pci.h [POWERPC] Celleb: update for PCI 2007-10-03 13:25:28 +10:00
scc_epci.c [POWERPC] Celleb: update for PCI 2007-10-03 13:25:28 +10:00
scc_sio.c [POWERPC] Celleb: Serial I/O update 2007-10-03 13:25:28 +10:00
scc_uhc.c
scc.h [POWERPC] Celleb: update for PCI 2007-10-03 13:25:28 +10:00
setup.c [POWERPC] Platforms shouldn't mess with ROOT_DEV 2007-10-11 20:40:43 +10:00
smp.c
spu_priv1.c
udbg_beat.c