kernel-fxtec-pro1x/arch/cris/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
..
atomic.h asm-generic: rename atomic.h to atomic-long.h 2009-06-11 21:02:17 +02:00
auxvec.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
axisflashmap.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
bitops.h cris: define __fls 2009-01-03 15:37:14 +10:30
bitsperlong.h asm-generic: introduce asm/bitsperlong.h 2009-06-11 21:02:14 +02:00
bug.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
bugs.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
byteorder.h byteorder: make swab.h include asm/swab.h like a regular header 2009-01-14 19:56:50 -08:00
cache.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
cacheflush.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
checksum.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
cputime.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
current.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
delay.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
device.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
div64.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
dma-mapping.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
dma.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
elf.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
emergency-restart.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
errno.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
eshlibld.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
ethernet.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
etraxgpio.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
etraxi2c.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
fasttimer.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
fb.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
fcntl.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
ftrace.h tracing: make CALLER_ADDRx overwriteable 2009-03-02 16:49:37 -05:00
futex.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
hardirq.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
hw_irq.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
io.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
ioctl.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
ioctls.h tty: Use the generic RS485 ioctl on CRIS 2009-04-07 08:44:05 -07:00
ipcbuf.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
irq.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
irq_regs.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
Kbuild byteorder: make swab.h include asm/swab.h like a regular header 2009-01-14 19:56:50 -08:00
kdebug.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
kmap_types.h kmap_types: make most arches use generic header file 2009-06-16 19:47:51 -07:00
linkage.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
local.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
mman.h asm-generic: rename termios.h, signal.h and mman.h 2009-06-11 21:01:52 +02:00
mmu.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
mmu_context.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
module.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
msgbuf.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
mutex.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
page.h asm-generic: rename page.h and uaccess.h 2009-06-11 21:02:17 +02:00
param.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
pci.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
percpu.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
pgalloc.h mm: Pass virtual address to [__]p{te,ud,md}_free_tlb() 2009-07-27 12:10:38 -07:00
pgtable.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
poll.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
posix_types.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
processor.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
ptrace.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
resource.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
rs485.h tty: Use the generic RS485 ioctl on CRIS 2009-04-07 08:44:05 -07:00
rtc.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
scatterlist.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
sections.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
segment.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
sembuf.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
setup.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
shmbuf.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
shmparam.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
sigcontext.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
siginfo.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
signal.h asm-generic: rename termios.h, signal.h and mman.h 2009-06-11 21:01:52 +02:00
smp.h cpumask: centralize cpu_online_map and cpu_possible_map 2008-12-13 21:19:41 +10:30
socket.h net: new user space API for time stamping of incoming and outgoing packets 2009-02-15 22:43:33 -08:00
sockios.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
spinlock.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
stat.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
statfs.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
string.h CRISv32: Add arch optimized strcmp. 2009-06-10 15:21:03 +02:00
swab.h cris: introduce asm/swab.h 2009-01-14 19:56:49 -08:00
sync_serial.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
system.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
termbits.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
termios.h tty: Use the generic RS485 ioctl on CRIS 2009-04-07 08:44:05 -07:00
thread_info.h sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
timex.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
tlb.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
tlbflush.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
topology.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
types.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
uaccess.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
ucontext.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
unaligned.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
unistd.h CRIS: Wire up syscalls signalfd4 to writev. 2009-04-28 17:53:35 +02:00
user.h [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00