android_kernel_xiaomi_sm8350/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 [POWERPC] Celleb: Move pause, kexec_cpu_down to beat.c 2007-10-03 13:25:28 +10:00
htab.c [POWERPC] Use 1TB segments 2007-10-12 14:05:17 +10:00
hvCall.S [POWERPC] Celleb: interfaces to the hypervisor 2007-02-07 14:03:21 +11:00
interrupt.c [POWERPC] Invert null match behaviour for irq_hosts 2007-09-14 01:33:20 +10:00
interrupt.h [POWERPC] Celleb: support interrupts 2007-02-07 14:03:21 +11:00
io-workarounds.c [POWERPC] Celleb: update for PCI 2007-10-03 13:25:28 +10:00
iommu.c [POWERPC] Rename get_property to of_get_property: arch/powerpc 2007-04-13 03:55:19 +10:00
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 [POWERPC] Celleb: setup usb host controller in SCC 2007-02-07 14:03:21 +11:00
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 [POWERPC] Celleb: basic support 2007-02-07 14:03:21 +11:00
spu_priv1.c [POWERPC] Celleb: support spu priv1 ops 2007-02-07 14:03:21 +11:00
udbg_beat.c [POWERPC] Celleb: support udbg 2007-02-07 14:03:21 +11:00