kernel-ark/include/asm-powerpc
David Gibson cbf52afdc0 [PATCH] powerpc: Add missing icache flushes for hugepages
On most powerpc CPUs, the dcache and icache are not coherent so
between writing and executing a page, the caches must be flushed.
Userspace programs assume pages given to them by the kernel are icache
clean, so we must do this flush between the kernel clearing a page and
it being mapped into userspace for execute.  We were not doing this
for hugepages, this patch corrects the situation.

We use the same lazy mechanism as we use for normal pages, delaying
the flush until userspace actually attempts to execute from the page
in question.

Tested on G5.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2005-12-09 16:30:48 +11:00
..
iseries
8253pit.h
a.out.h
abs_addr.h
agp.h
asm-compat.h
atomic.h [PATCH] atomic: inc_not_zero 2005-11-13 18:14:16 -08:00
auxvec.h [PATCH] powerpc: Merge vdso's and add vdso support to 32 bits kernel 2005-11-11 22:25:39 +11:00
backlight.h
bitops.h
btext.h powerpc: Move a bunch of ppc64 headers to include/asm-powerpc 2005-11-14 17:22:01 +11:00
bug.h
bugs.h
byteorder.h
cache.h
cacheflush.h
checksum.h
compat.h
cputable.h [PATCH] powerpc: merge align.c 2005-11-18 14:39:23 +11:00
cputime.h
current.h
dbdma.h
delay.h powerpc: Fix delay functions for 601 processors 2005-11-18 14:08:12 +11:00
div64.h
dma-mapping.h powerpc: merge dma-mapping.h 2005-11-19 01:48:52 +11:00
dma.h
eeh_event.h
eeh.h [PATCH] Avoid use of uninitialised spinlock in EEH. 2005-11-17 16:53:38 +11:00
elf.h [PATCH] powerpc: Merge vdso's and add vdso support to 32 bits kernel 2005-11-11 22:25:39 +11:00
emergency-restart.h
errno.h
fcntl.h
firmware.h
floppy.h powerpc: Move a bunch of ppc64 headers to include/asm-powerpc 2005-11-14 17:22:01 +11:00
futex.h
grackle.h
hardirq.h
heathrow.h
hvcall.h
hvconsole.h powerpc: Move a bunch of ppc64 headers to include/asm-powerpc 2005-11-14 17:22:01 +11:00
hvcserver.h powerpc: Move a bunch of ppc64 headers to include/asm-powerpc 2005-11-14 17:22:01 +11:00
hw_irq.h
i8259.h
ide.h
io.h powerpc: Trivially merge several headers from asm-ppc64 to asm-powerpc 2005-11-19 20:17:32 +11:00
ioctl.h
ioctls.h
iommu.h [PATCH] powerpc: update my email address 2005-11-23 21:23:20 +11:00
ipc.h
ipcbuf.h
irq.h
kdebug.h
kexec.h [PATCH] powerpc: Export htab start/end via device tree 2005-11-14 16:34:06 +11:00
keylargo.h
kmap_types.h
kprobes.h
linkage.h
lmb.h
local.h
lppaca.h
machdep.h [PATCH] powerpc: Turn cpu_irq_down into kexec_cpu_down 2005-11-14 16:33:09 +11:00
macio.h
mc146818rtc.h
mediabay.h
mman.h
mmu_context.h powerpc: Trivially merge several headers from asm-ppc64 to asm-powerpc 2005-11-19 20:17:32 +11:00
mmu.h [PATCH] powerpc: Add missing icache flushes for hugepages 2005-12-09 16:30:48 +11:00
mmzone.h powerpc: Trivially merge several headers from asm-ppc64 to asm-powerpc 2005-11-19 20:17:32 +11:00
module.h
mpic.h
msgbuf.h
namei.h
numnodes.h
nvram.h powerpc: Remove an extraneous and incorrect declaration of pmac_nvram_init. 2005-11-15 11:17:02 +11:00
of_device.h
ohare.h
oprofile_impl.h
paca.h
page_32.h powerpc: Fix 32-bit compile: PPC_MEMSTART was undeclared 2005-11-14 17:32:50 +11:00
page_64.h [PATCH] powerpc: More hugepage boundary case fixes 2005-11-25 22:12:45 +11:00
page.h [PATCH] powerpc: Merge page.h 2005-11-14 16:33:05 +11:00
param.h
parport.h
pci-bridge.h powerpc: Trivially merge several headers from asm-ppc64 to asm-powerpc 2005-11-19 20:17:32 +11:00
pci.h powerpc: Merge pci.h 2005-11-19 20:46:04 +11:00
percpu.h
pgalloc.h powerpc: Trivially merge several headers from asm-ppc64 to asm-powerpc 2005-11-19 20:17:32 +11:00
pgtable-4k.h powerpc: Trivially merge several headers from asm-ppc64 to asm-powerpc 2005-11-19 20:17:32 +11:00
pgtable-64k.h powerpc: Trivially merge several headers from asm-ppc64 to asm-powerpc 2005-11-19 20:17:32 +11:00
pgtable.h powerpc: Trivially merge several headers from asm-ppc64 to asm-powerpc 2005-11-19 20:17:32 +11:00
pmac_feature.h
pmac_low_i2c.h
pmc.h
poll.h
posix_types.h
ppc_asm.h
ppc-pci.h powerpc: Merge pci.h 2005-11-19 20:46:04 +11:00
processor.h [PATCH] powerpc: Merge vdso's and add vdso support to 32 bits kernel 2005-11-11 22:25:39 +11:00
prom.h
pSeries_reconfig.h
ptrace.h
reg_8xx.h
reg.h
resource.h
rtas.h
rtc.h
rwsem.h
scatterlist.h
seccomp.h
sections.h
semaphore.h
sembuf.h
serial.h powerpc: Move a bunch of ppc64 headers to include/asm-powerpc 2005-11-14 17:22:01 +11:00
setup.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
smp.h
smu.h
socket.h
sockios.h
sparsemem.h [PATCH] ppc64: Increase sparsemem defaults 2005-11-11 22:21:41 +11:00
spinlock_types.h
spinlock.h powerpc: Merge spinlock.h 2005-11-19 20:50:46 +11:00
sstep.h
stat.h
statfs.h
string.h
synch.h
system.h
tce.h [PATCH] powerpc: update my email address 2005-11-23 21:23:20 +11:00
termbits.h
termios.h
thread_info.h
time.h
timex.h
tlb.h
tlbflush.h
topology.h [PATCH] powerpc: Fix typo in topology.h 2005-11-18 13:18:11 +11:00
types.h
uaccess.h
ucontext.h
udbg.h [PATCH] powerpc: Move udbg code to arch/powerpc 2005-11-11 22:23:34 +11:00
unaligned.h
uninorth.h
unistd.h
user.h
vdso_datapage.h [PATCH] powerpc: vdso fixes (take #2) 2005-11-14 16:35:58 +11:00
vdso.h [PATCH] powerpc: Make the vDSO functions set error code (#2) 2005-11-16 14:05:11 +11:00
vga.h
vio.h
xmon.h
xor.h