Skip to content

Fix FTLB detection on R6

James Hogan linux-mips 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2MIPS: cpu-features: Add cpu_has_ftlbarch/mips/include/asm/cpu-features.h arch/mips/include/asm/cpu.h arch/mips/include/asm/mipsregs.h +1 more+11 -30 replies
2/2MIPS: Fix FTLB detection for R6arch/mips/kernel/cpu-probe.c+9 -60 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/2] Fix FTLB detection on R6

These patches fix FTLB detection on R6 cores. Currently an FTLB will be assumed to exist, so if not then the setting of the FTLB page size will likely fail during boot.

The first patch adds cpu_has_ftlb, based on Config.MT (MMU type), which distinguishes a traditional TLB from a VTLB+FTLB configuration.

The second patch fixes the probe logic to use cpu_has_ftlb for R6.

James Hogan (2):
MIPS: cpu-features: Add cpu_has_ftlb
MIPS: Fix FTLB detection for R6

 arch/mips/include/asm/cpu-features.h |  3 +++
 arch/mips/include/asm/cpu.h          |  1 +
 arch/mips/include/asm/mipsregs.h     |  2 ++
 arch/mips/kernel/cpu-probe.c         | 23 ++++++++++++++---------
 4 files changed, 20 insertions(+), 9 deletions(-)
Cc Ralf Baechle <[email protected]>
Cc Markos Chandras <[email protected]>
Signature · 1 line
2.4.6