[SPARC64]: Add infrastructure for dynamic TSB sizing.
This also cleans up tsb_context_switch(). The assembler
routine is now __tsb_context_switch() and the former is
an inline function that picks out the bits from the mm_struct
and passes it into the assembler code as arguments.
setup_tsb_parms() computes the locked TLB entry to map the
TSB. Later when we support using the physical address quad
load instructions of Cheetah+ and later, we'll simply use
the physical address for the TSB register value and set
the map virtual and PTE both to zero.
Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- arch/sparc64/kernel/binfmt_aout32.c 1 addition, 2 deletionsarch/sparc64/kernel/binfmt_aout32.c
- arch/sparc64/kernel/process.c 1 addition, 2 deletionsarch/sparc64/kernel/process.c
- arch/sparc64/kernel/tsb.S 21 additions, 34 deletionsarch/sparc64/kernel/tsb.S
- arch/sparc64/mm/tsb.c 95 additions, 14 deletionsarch/sparc64/mm/tsb.c
- include/asm-sparc64/mmu.h 12 additions, 1 deletioninclude/asm-sparc64/mmu.h
- include/asm-sparc64/mmu_context.h 11 additions, 4 deletionsinclude/asm-sparc64/mmu_context.h
- include/asm-sparc64/tsb.h 1 addition, 1 deletioninclude/asm-sparc64/tsb.h
Please register or sign in to comment