]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit3f7ce11bd2b3d9bd9b500ef5d0f1087909146c81
tree58eff40eb4c517c4fd49fd347d38273ee1e1ee4b
parent30613be25947b87ee79f8badc148af46bd82f076
[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