linux-stable-rt/arch/s390/include/asm
Benjamin Herrenschmidt 9e1b32caa5 mm: Pass virtual address to [__]p{te,ud,md}_free_tlb()
mm: Pass virtual address to [__]p{te,ud,md}_free_tlb()

Upcoming paches to support the new 64-bit "BookE" powerpc architecture
will need to have the virtual address corresponding to PTE page when
freeing it, due to the way the HW table walker works.

Basically, the TLB can be loaded with "large" pages that cover the whole
virtual space (well, sort-of, half of it actually) represented by a PTE
page, and which contain an "indirect" bit indicating that this TLB entry
RPN points to an array of PTEs from which the TLB can then create direct
entries. Thus, in order to invalidate those when PTE pages are deleted,
we need the virtual address to pass to tlbilx or tlbivax instructions.

The old trick of sticking it somewhere in the PTE page struct page sucks
too much, the address is almost readily available in all call sites and
almost everybody implemets these as macros, so we may as well add the
argument everywhere. I added it to the pmd and pud variants for consistency.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: David Howells <dhowells@redhat.com> [MN10300 & FRV]
Acked-by: Nick Piggin <npiggin@suse.de>
Acked-by: Martin Schwidefsky <schwidefsky@de.ibm.com> [s390]
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-07-27 12:10:38 -07:00
..
Kbuild
airq.h
appldata.h
atomic.h [S390] add generic atomic64 support for 31 bit 2009-07-07 16:37:54 +02:00
auxvec.h
bitops.h [S390] bitops: remove likely annotations 2009-03-26 15:24:23 +01:00
bitsperlong.h asm-generic: introduce asm/bitsperlong.h 2009-06-11 21:02:14 +02:00
bug.h
bugs.h
byteorder.h
cache.h
cacheflush.h
ccwdev.h [S390] cio: force console function 2009-06-16 10:31:11 +02:00
ccwgroup.h [S390] pm: ccwgroup bus power management callbacks 2009-06-16 10:31:08 +02:00
checksum.h
chpid.h
chsc.h
cio.h [S390] cio: introduce notifier for boxed state 2009-03-31 19:17:06 +02:00
cmb.h
compat.h [S390] implement is_compat_task 2009-06-12 10:27:30 +02:00
cpcmd.h
cpuid.h [S390] s390: move machine flags to lowcore 2009-04-14 15:37:21 +02:00
cputime.h [S390] lockless idle time accounting 2009-06-22 12:08:23 +02:00
crw.h [S390] split/move machine check handler code 2009-03-26 15:24:10 +01:00
current.h
dasd.h [S390] dasd: add large volume support 2009-03-26 15:24:05 +01:00
debug.h [S390] s390: remove DEBUG_MALLOC 2009-06-22 12:08:18 +02:00
delay.h
device.h
diag.h
div64.h
dma.h
ebcdic.h
elf.h
emergency-restart.h
errno.h
etr.h
extmem.h
fb.h
fcntl.h
fcx.h
ftrace.h [S390] ftrace: add function graph tracer support 2009-06-12 10:27:39 +02:00
futex.h
hardirq.h
hugetlb.h
idals.h [S390] dasd: add High Performance FICON support 2009-03-26 15:24:05 +01:00
io.h
ioctl.h
ioctls.h
ipcbuf.h
ipl.h
irq.h
irq_regs.h
irqflags.h
isc.h
itcw.h
kdebug.h
kexec.h
kmap_types.h kmap_types: make most arches use generic header file 2009-06-16 19:47:51 -07:00
kprobes.h
kvm.h KVM: New guest debug interface 2009-03-24 11:02:49 +02:00
kvm_host.h KVM: s390: Allow stfle instruction in the guest 2009-06-28 14:10:30 +03:00
kvm_para.h
kvm_virtio.h
linkage.h
local.h
lowcore.h [S390] ftrace: add dynamic ftrace support 2009-06-12 10:27:38 +02:00
mathemu.h
mman.h asm-generic: rename termios.h, signal.h and mman.h 2009-06-11 21:01:52 +02:00
mmu.h
mmu_context.h [S390] cpumask: use mm_cpumask() wrapper 2009-03-26 15:24:34 +01:00
module.h
monwriter.h
msgbuf.h
mutex.h
nmi.h [S390] split/move machine check handler code 2009-03-26 15:24:10 +01:00
page.h asm-generic: rename page.h and uaccess.h 2009-06-11 21:02:17 +02:00
param.h
pci.h
percpu.h
perf_counter.h [S390] perf_counter build fix 2009-07-07 16:37:52 +02:00
pgalloc.h
pgtable.h [S390] vmalloc: add vmalloc kernel parameter support 2009-06-12 10:27:33 +02:00
poll.h
posix_types.h
processor.h [S390] s390: move machine flags to lowcore 2009-04-14 15:37:21 +02:00
ptrace.h [S390] s390: move machine flags to lowcore 2009-04-14 15:37:21 +02:00
qdio.h [S390] qdio: Sanitize do_QDIO sanity checks 2009-06-22 12:08:21 +02:00
qeth.h
reset.h
resource.h
rwsem.h
s390_ext.h
scatterlist.h
schid.h
sclp.h
seccomp.h [S390] secure computing arch backend 2009-06-12 10:27:31 +02:00
sections.h
segment.h
sembuf.h
setup.h [S390] s390: move machine flags to lowcore 2009-04-14 15:37:21 +02:00
sfp-machine.h
sfp-util.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h asm-generic: rename termios.h, signal.h and mman.h 2009-06-11 21:01:52 +02:00
sigp.h
smp.h Merge branch 'ipi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2009-04-03 17:33:30 -07:00
socket.h
sockios.h
sparsemem.h
spinlock.h [S390] implement interrupt-enabling rwlocks 2009-06-12 10:27:29 +02:00
spinlock_types.h
stat.h
statfs.h
string.h [S390] use compiler builtin versions of strlen/strcpy/strcat 2009-03-26 15:24:24 +01:00
suspend.h [S390] s390: hibernation support for s390 2009-06-16 10:31:22 +02:00
swab.h
syscall.h [S390] ftrace: add system call tracer support 2009-06-12 10:27:39 +02:00
sysinfo.h [S390] Fix hypervisor detection for KVM 2009-03-26 15:24:09 +01:00
system.h [S390] s390: hibernation support for s390 2009-06-16 10:31:22 +02:00
tape390.h
termbits.h
termios.h asm-generic: rename termios.h, signal.h and mman.h 2009-06-11 21:01:52 +02:00
thread_info.h sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
timer.h [S390] extend virtual timer interface by mod_virt_timer_periodic 2009-04-14 15:37:23 +02:00
timex.h [S390] add read_persistent_clock 2009-04-14 15:37:27 +02:00
tlb.h mm: Pass virtual address to [__]p{te,ud,md}_free_tlb() 2009-07-27 12:10:38 -07:00
tlbflush.h [S390] cpumask: use mm_cpumask() wrapper 2009-03-26 15:24:34 +01:00
todclk.h
topology.h [S390] cpumask: remove cpu_coregroup_map 2009-03-26 15:24:32 +01:00
types.h asm-generic: introduce asm/bitsperlong.h 2009-06-11 21:02:14 +02:00
uaccess.h [S390] uaccess: use might_fault() instead of might_sleep() 2009-06-12 10:27:33 +02:00
ucontext.h
unaligned.h
unistd.h [S390] wire up sys_perf_counter_open 2009-06-12 10:27:40 +02:00
user.h
vdso.h
vtoc.h [S390] dasd: add large volume support 2009-03-26 15:24:05 +01:00
xor.h
zcrypt.h