[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>
Showing
- arch/sparc64/kernel/head.S 27 additions, 2 deletionsarch/sparc64/kernel/head.S
- arch/sparc64/kernel/sun4v_ivec.S 8 additions, 20 deletionsarch/sparc64/kernel/sun4v_ivec.S
- arch/sparc64/kernel/sun4v_tlb_miss.S 45 additions, 117 deletionsarch/sparc64/kernel/sun4v_tlb_miss.S
- arch/sparc64/kernel/trampoline.S 27 additions, 2 deletionsarch/sparc64/kernel/trampoline.S
- arch/sparc64/mm/init.c 1 addition, 21 deletionsarch/sparc64/mm/init.c
- arch/sparc64/prom/misc.c 5 additions, 0 deletionsarch/sparc64/prom/misc.c
- include/asm-sparc64/cpudata.h 13 additions, 13 deletionsinclude/asm-sparc64/cpudata.h
- include/asm-sparc64/oplib.h 1 addition, 0 deletionsinclude/asm-sparc64/oplib.h
- include/asm-sparc64/ttable.h 17 additions, 17 deletionsinclude/asm-sparc64/ttable.h
Loading
Please register or sign in to comment