kernel-ark/include/asm-powerpc
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
..
iseries [POWERPC] iSeries: Move viodasd probing 2007-10-11 20:40:48 +10:00
8xx_immap.h
8253pit.h
a.out.h
abs_addr.h
agp.h
asm-compat.h
atomic.h
auxvec.h
backlight.h
bitops.h
bootx.h
btext.h
bug.h
bugs.h
byteorder.h
cache.h
cacheflush.h
cell-pmu.h
cell-regs.h [POWERPC] cell: Add Cell memory controller register defs and expose it 2007-10-09 21:01:56 +10:00
checksum.h
clk_interface.h [POWERPC] clk.h interface for platforms 2007-10-03 09:11:56 +10:00
commproc.h [POWERPC] cpm: Describe multi-user ram in its own device node. 2007-10-04 15:47:05 -05:00
compat.h
cpm2.h [POWERPC] 85xx: Killed <asm/mpc85xx.h> 2007-10-11 09:14:31 -05:00
cpm.h [POWERPC] cpm: Describe multi-user ram in its own device node. 2007-10-04 15:47:05 -05:00
cputable.h [POWERPC] Use 1TB segments 2007-10-12 14:05:17 +10:00
cputime.h
current.h
dbdma.h
dcr-mmio.h [POWERPC] Store the base address in dcr_host_t 2007-10-03 13:25:27 +10:00
dcr-native.h [POWERPC] Store the base address in dcr_host_t 2007-10-03 13:25:27 +10:00
dcr.h
delay.h
device.h
div64.h
dma-mapping.h
dma.h
edac.h
eeh_event.h
eeh.h
elf.h [POWERPC] spufs: Cleanup ELF coredump extra notes logic 2007-09-19 15:12:19 +10:00
emergency-restart.h
errno.h
exception.h [POWERPC] Move lowlevel runlatch calls under cpu feature control 2007-09-14 01:33:22 +10:00
fb.h
fcntl.h
firmware.h
floppy.h
fs_pd.h [POWERPC] 85xx: Killed <asm/mpc85xx.h> 2007-10-11 09:14:31 -05:00
futex.h
grackle.h
hardirq.h
heathrow.h
highmem.h
hvcall.h
hvconsole.h
hvcserver.h
hw_irq.h
hydra.h
i8259.h
ibmebus.h
ide.h [POWERPC] Remove APUS support from arch/ppc 2007-09-17 15:15:04 +10:00
immap_86xx.h [POWERPC] 86xx: update immap_86xx.h for the 8610 2007-10-08 08:38:50 -05:00
immap_cpm2.h [POWERPC] cpm2: Infrastructure code cleanup. 2007-10-04 11:02:04 -05:00
immap_qe.h [POWERPC] qe: miscellaneous code improvements and fixes to the QE library 2007-10-08 08:38:15 -05:00
io-defs.h
io.h [POWERPC] ppc64: support CONFIG_DEBUG_PREEMPT 2007-10-03 11:48:44 +10:00
ioctl.h
ioctls.h
iommu.h
ipc.h
ipcbuf.h
ipic.h
irq_regs.h
irq.h [POWERPC] Add an optional device_node pointer to the irq_host 2007-09-14 01:33:20 +10:00
irqflags.h
Kbuild
kdebug.h
kdump.h
kexec.h
keylargo.h
kgdb.h
kmap_types.h
kprobes.h
libata-portmap.h
linkage.h
lmb.h
local.h
lppaca.h
lv1call.h
machdep.h [POWERPC] Use 1TB segments 2007-10-12 14:05:17 +10:00
macio.h
mc146818rtc.h
mediabay.h
mman.h
mmu_context.h
mmu-8xx.h
mmu-40x.h
mmu-44x.h
mmu-fsl-booke.h
mmu-hash32.h
mmu-hash64.h [POWERPC] Use 1TB segments 2007-10-12 14:05:17 +10:00
mmu.h
mmzone.h
module.h
mpc8xx.h
mpc52xx_psc.h
mpc52xx.h [POWERPC] MPC5200: Don't make firmware fixups into common code 2007-10-10 10:22:04 -06:00
mpc86xx.h
mpc8260.h
mpic.h [POWERPC] Update mpic to use dcr_host_t.base 2007-10-03 13:25:27 +10:00
msgbuf.h
mutex.h
namei.h
nvram.h
of_device.h
of_platform.h
ohare.h
oprofile_impl.h
paca.h [POWERPC] ppc64: support CONFIG_DEBUG_PREEMPT 2007-10-03 11:48:44 +10:00
page_32.h
page_64.h [POWERPC] Use 1TB segments 2007-10-12 14:05:17 +10:00
page.h
param.h
parport.h
pci-bridge.h [POWERPC] PCI: Add 64-bit physical address support to setup_indirect_pci 2007-10-12 14:05:17 +10:00
pci.h
percpu.h [POWERPC] ppc64: support CONFIG_DEBUG_PREEMPT 2007-10-03 11:48:44 +10:00
pgalloc-32.h
pgalloc-64.h
pgalloc.h
pgtable-4k.h [POWERPC] Size swapper_pg_dir correctly 2007-09-19 15:25:34 +10:00
pgtable-64k.h [POWERPC] Size swapper_pg_dir correctly 2007-09-19 15:25:34 +10:00
pgtable-ppc32.h
pgtable-ppc64.h
pgtable.h
pmac_feature.h
pmac_low_i2c.h
pmac_pfunc.h
pmc.h
pmi.h
poll.h
posix_types.h
ppc_asm.h [POWERPC] Fix modpost warnings from head*.S on ppc32 2007-09-14 08:53:36 -05:00
ppc-pci.h
processor.h [POWERPC] Use __attribute__ in asm-powerpc 2007-09-22 14:49:21 +10:00
prom.h
ps3.h [POWERPC] PS3: Add new LV1 error codes 2007-09-14 01:33:25 +10:00
ps3av.h
ps3fb.h
ps3stor.h
pSeries_reconfig.h
ptrace.h
qe_ic.h [POWERPC] QEIC: Implement pluggable handlers, fix MPIC cascading 2007-10-08 08:38:57 -05:00
qe.h [POWERPC] qe: miscellaneous code improvements and fixes to the QE library 2007-10-08 08:38:15 -05:00
reg_8xx.h
reg_booke.h
reg.h [POWERPC] Remove APUS support from arch/ppc 2007-09-17 15:15:04 +10:00
resource.h
rheap.h
rtas.h
rtc.h
rwsem.h [POWERPC] Prevent direct inclusion of <asm/rwsem.h>. 2007-09-22 14:49:21 +10:00
scatterlist.h
seccomp.h
sections.h
semaphore.h
sembuf.h
serial.h
setup.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
smp.h [POWERPC] ppc64: support CONFIG_DEBUG_PREEMPT 2007-10-03 11:48:44 +10:00
smu.h
socket.h
sockios.h
sparsemem.h
spinlock_types.h
spinlock.h
spu_csa.h
spu_info.h
spu_priv1.h
spu.h [POWERPC] spufs: Handle errors in SPU coredump code, and support coredump to a pipe 2007-09-19 15:12:19 +10:00
sstep.h
stat.h
statfs.h
string.h
suspend.h
synch.h
syscalls.h
systbl.h
system.h [POWERPC] Limit range of __init_ref_ok somewhat 2007-10-03 11:48:44 +10:00
tce.h
termbits.h
termios.h
thread_info.h
time.h [POWERPC] Implement clockevents driver for powerpc 2007-10-03 15:44:34 +10:00
timex.h
tlb.h [POWERPC] Include pagemap.h in asm/powerpc/tlb.h 2007-10-03 12:02:43 +10:00
tlbflush.h [POWERPC] Use 1TB segments 2007-10-12 14:05:17 +10:00
topology.h
tsi108_irq.h
tsi108_pci.h
tsi108.h
types.h [POWERPC] Use __attribute__ in asm-powerpc 2007-09-22 14:49:21 +10:00
uaccess.h
ucc_fast.h
ucc_slow.h [POWERPC] qe: miscellaneous code improvements and fixes to the QE library 2007-10-08 08:38:15 -05:00
ucc.h [POWERPC] qe: miscellaneous code improvements and fixes to the QE library 2007-10-08 08:38:15 -05:00
ucontext.h
udbg.h [POWERPC] Add early debug console for CPM serial ports. 2007-10-03 20:35:43 -05:00
uic.h
unaligned.h
uninorth.h
unistd.h
user.h
vdso_datapage.h
vdso.h
vga.h
vio.h [POWERPC] Clean up vio.h 2007-10-11 20:40:44 +10:00
xilinx_intc.h [POWERPC] Virtex: add xilinx interrupt controller driver 2007-10-03 07:23:14 -05:00
xmon.h
xor.h