Skip to content

Use scratch registers when MIPS_PGD_C0_CONTEXT is not set

Jayachandran C linux-mips 1 version Applied

Status from this message: Applied. Thanks,

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3MIPS: Move generated code to .text for microMIPSarch/mips/include/asm/mmu_context.h arch/mips/mm/Makefile arch/mips/mm/tlb-funcs.S +1 more+83 -460 replies
2/3MIPS: mm: Use scratch for PGD when !CONFIG_MIPS_PGD_C0_CONTEXTarch/mips/include/asm/mmu_context.h arch/mips/mm/tlbex.c+92 -610 replies
3/3MIPS: Move definition of SMP processor id register to header filearch/mips/include/asm/mmu_context.h arch/mips/include/asm/stackframe.h arch/mips/include/asm/thread_info.h +1 more+53 -950 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Use scratch registers when MIPS_PGD_C0_CONTEXT is not set

This is the updated patchset that fixes issues reported during the last merge to upstream-sfr.

The first patch is a new change that moves the TLB handlers from arrays in .data to functions defined in tlb-funcs.S to fix the microMIPS issue reported.
(http://www.linux-mips.org/archives/linux-mips/2013-06/msg00415.html)

The second patch has the changes to use scratch registers when MIPS_PGD_C0_CONTEXT is not defined - this has not changed.

The third has a fix for the compile error on IP27 platform.
(http://www.linux-mips.org/archives/linux-mips/2013-06/msg00399.html)

Jonas already has posted http://patchwork.linux-mips.org/patch/5539/ for the other issue (crash on bcm63xx and mti platforms)

JC.

Jayachandran C (3):
MIPS: Move generated code to .text for microMIPS
MIPS: mm: Use scratch for PGD when !CONFIG_MIPS_PGD_C0_CONTEXT
MIPS: Move definition of SMP processor id register to header file

 arch/mips/include/asm/mmu_context.h |   28 ++---
 arch/mips/include/asm/stackframe.h  |   24 +---
 arch/mips/include/asm/thread_info.h |   33 +++++-
 arch/mips/mm/Makefile               |    2 +-
 arch/mips/mm/tlb-funcs.S            |   37 ++++++
 arch/mips/mm/tlbex.c                |  224 ++++++++++++++++-------------------
 6 files changed, 187 insertions(+), 161 deletions(-)
 create mode 100644 arch/mips/mm/tlb-funcs.S
Signature · 1 line
1.7.9.5