Searched hist:"82622284 dd2f8791f9759f3cef601520a8bc63b2" (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/arch/mips/include/asm/ |
H A D | stackframe.h | diff 82622284dd2f8791f9759f3cef601520a8bc63b2 Wed Oct 14 14:16:56 CDT 2009 David Daney <ddaney@caviumnetworks.com> MIPS: Put PGD in C0_CONTEXT for 64-bit R2 processors.
Processors that support the mips64r2 ISA can in four instructions convert a shifted PGD pointer stored in the upper bits of c0_context into a usable pointer. By doing this we save a memory load and associated potential cache miss in the TLB exception handlers.
Since the upper bits of c0_context were holding the CPU number, we move this to the upper bits of c0_xcontext which doesn't have enough bits to hold the PGD pointer, but has plenty for the CPU number.
Signed-off-by: David Daney <ddaney@caviumnetworks.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
H A D | mmu_context.h | diff 82622284dd2f8791f9759f3cef601520a8bc63b2 Wed Oct 14 14:16:56 CDT 2009 David Daney <ddaney@caviumnetworks.com> MIPS: Put PGD in C0_CONTEXT for 64-bit R2 processors.
Processors that support the mips64r2 ISA can in four instructions convert a shifted PGD pointer stored in the upper bits of c0_context into a usable pointer. By doing this we save a memory load and associated potential cache miss in the TLB exception handlers.
Since the upper bits of c0_context were holding the CPU number, we move this to the upper bits of c0_xcontext which doesn't have enough bits to hold the PGD pointer, but has plenty for the CPU number.
Signed-off-by: David Daney <ddaney@caviumnetworks.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
/openbmc/linux/arch/mips/mm/ |
H A D | init.c | diff 82622284dd2f8791f9759f3cef601520a8bc63b2 Wed Oct 14 14:16:56 CDT 2009 David Daney <ddaney@caviumnetworks.com> MIPS: Put PGD in C0_CONTEXT for 64-bit R2 processors.
Processors that support the mips64r2 ISA can in four instructions convert a shifted PGD pointer stored in the upper bits of c0_context into a usable pointer. By doing this we save a memory load and associated potential cache miss in the TLB exception handlers.
Since the upper bits of c0_context were holding the CPU number, we move this to the upper bits of c0_xcontext which doesn't have enough bits to hold the PGD pointer, but has plenty for the CPU number.
Signed-off-by: David Daney <ddaney@caviumnetworks.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
H A D | tlbex.c | diff 82622284dd2f8791f9759f3cef601520a8bc63b2 Wed Oct 14 14:16:56 CDT 2009 David Daney <ddaney@caviumnetworks.com> MIPS: Put PGD in C0_CONTEXT for 64-bit R2 processors.
Processors that support the mips64r2 ISA can in four instructions convert a shifted PGD pointer stored in the upper bits of c0_context into a usable pointer. By doing this we save a memory load and associated potential cache miss in the TLB exception handlers.
Since the upper bits of c0_context were holding the CPU number, we move this to the upper bits of c0_xcontext which doesn't have enough bits to hold the PGD pointer, but has plenty for the CPU number.
Signed-off-by: David Daney <ddaney@caviumnetworks.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
/openbmc/linux/arch/mips/ |
H A D | Kconfig | diff 82622284dd2f8791f9759f3cef601520a8bc63b2 Wed Oct 14 14:16:56 CDT 2009 David Daney <ddaney@caviumnetworks.com> MIPS: Put PGD in C0_CONTEXT for 64-bit R2 processors.
Processors that support the mips64r2 ISA can in four instructions convert a shifted PGD pointer stored in the upper bits of c0_context into a usable pointer. By doing this we save a memory load and associated potential cache miss in the TLB exception handlers.
Since the upper bits of c0_context were holding the CPU number, we move this to the upper bits of c0_xcontext which doesn't have enough bits to hold the PGD pointer, but has plenty for the CPU number.
Signed-off-by: David Daney <ddaney@caviumnetworks.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|