linux/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
..
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
bitsperlong.h
bug.h
bugs.h
byteorder.h
cache.h
cacheflush.h
ccwdev.h
ccwgroup.h
checksum.h
chpid.h
chsc.h
cio.h
cmb.h
compat.h
cpcmd.h
cpuid.h
cputime.h [S390] lockless idle time accounting 2009-06-22 12:08:23 +02:00
crw.h
current.h
dasd.h
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
futex.h
hardirq.h
hugetlb.h
idals.h
io.h
ioctl.h
ioctls.h
ipcbuf.h
ipl.h
irq_regs.h
irq.h
irqflags.h
isc.h
itcw.h
Kbuild
kdebug.h
kexec.h
kmap_types.h
kprobes.h
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
kvm.h
linkage.h
local.h
lowcore.h
mathemu.h
mman.h
mmu_context.h
mmu.h
module.h
monwriter.h
msgbuf.h
mutex.h
nmi.h
page.h
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
poll.h
posix_types.h
processor.h
ptrace.h
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
sections.h
segment.h
sembuf.h
setup.h
sfp-machine.h
sfp-util.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
sigp.h
smp.h
socket.h
sockios.h
sparsemem.h
spinlock_types.h
spinlock.h
stat.h
statfs.h
string.h
suspend.h
swab.h
syscall.h
sysinfo.h
system.h
tape390.h
termbits.h
termios.h
thread_info.h sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
timer.h
timex.h
tlb.h mm: Pass virtual address to [__]p{te,ud,md}_free_tlb() 2009-07-27 12:10:38 -07:00
tlbflush.h
todclk.h
topology.h
types.h
uaccess.h
ucontext.h
unaligned.h
unistd.h
user.h
vdso.h
vtoc.h
xor.h
zcrypt.h