[SPARC64]: Use ASI_SCRATCHPAD address 0x0 properly.
authorDavid S. Miller <davem@sunset.davemloft.net>
Fri, 10 Feb 2006 23:39:51 +0000 (15:39 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 20 Mar 2006 09:12:15 +0000 (01:12 -0800)
commit12eaa328f9fb2d3fcb5afb682c762690d05a3cd8
treecce4e68b971757010a3e0bbf035fc65a381a3cd4
parent18397944642cbca7fcd4a109b43ed5b4652e95b9
[SPARC64]: Use ASI_SCRATCHPAD address 0x0 properly.

This is where the virtual address of the fault status
area belongs.

To set it up we don't make a hypervisor call, instead
we call OBP's SUNW,set-trap-table with the real address
of the fault status area as the second argument.  And
right before that call we write the virtual address into
ASI_SCRATCHPAD vaddr 0x0.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/head.S
arch/sparc64/kernel/sun4v_ivec.S
arch/sparc64/kernel/sun4v_tlb_miss.S
arch/sparc64/kernel/trampoline.S
arch/sparc64/mm/init.c
arch/sparc64/prom/misc.c
include/asm-sparc64/cpudata.h
include/asm-sparc64/oplib.h
include/asm-sparc64/ttable.h