[SPARC64]: Access TSB with physical addresses when possible.
authorDavid S. Miller <davem@sunset.davemloft.net>
Wed, 1 Feb 2006 23:55:21 +0000 (15:55 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 20 Mar 2006 09:11:32 +0000 (01:11 -0800)
commit517af33237ecfc3c8a93b335365fa61e741ceca4
tree58eff40eb4c517c4fd49fd347d38273ee1e1ee4b
parentb0fd4e49aea8a460afab7bc67cd618e2d19291d4
[SPARC64]: Access TSB with physical addresses when possible.

This way we don't need to lock the TSB into the TLB.
The trick is that every TSB load/store is registered into
a special instruction patch section.  The default uses
virtual addresses, and the patch instructions use physical
address load/stores.

We can't do this on all chips because only cheetah+ and later
have the physical variant of the atomic quad load.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/dtlb_miss.S
arch/sparc64/kernel/itlb_miss.S
arch/sparc64/kernel/ktlb.S
arch/sparc64/kernel/tsb.S
arch/sparc64/kernel/vmlinux.lds.S
arch/sparc64/mm/init.c
arch/sparc64/mm/tsb.c
include/asm-sparc64/mmu.h
include/asm-sparc64/tsb.h