Skip to content

m68k: Add 060 PCR info to /proc/cpuinfo

Daniel Palmer linux-m68k lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4m68k: Add and use wrapper for FPU inline asmarch/m68k/include/asm/fpu.h arch/m68k/kernel/process.c arch/m68k/kernel/setup_mm.c +1 more+32 -580 replies
2/4m68k: Add and use defines for 68060 PCR registerarch/m68k/include/asm/m68060.h arch/m68k/kernel/head.S arch/m68k/kernel/setup_mm.c+21 -30 replies
3/4m68k: Add helpers to read and write the 68060's PCRarch/m68k/atari/config.c arch/m68k/include/asm/m68060.h arch/m68k/kernel/setup_mm.c+23 -100 replies
4/4m68k: show the 68060's PCR in /proc/cpuinfoarch/m68k/kernel/setup_mm.c+10 -00 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by.

PatchPaolo Pisati
SeriesT-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] m68k: Add 060 PCR info to /proc/cpuinfo

Apparently the rev6 060 can overclock to ~100MHz but mine seems to only manage ~60MHz (I wonder if some part of it that other OSes don't use doesn't actually like overclocking...).

I started to wonder if I actually had a rev6 and noticed you can't see this info from /proc/cpuinfo right now.

So I added it. The only messy part I think is the FPU asm changes to stop m68060.h from breaking the build.

Daniel Palmer (4):
m68k: Add and use wrapper for FPU inline asm
m68k: Add and use defines for 68060 PCR register
m68k: Add helpers to read and write the 68060's PCR
m68k: show the 68060's PCR in /proc/cpuinfo

 arch/m68k/atari/config.c       |  7 ++--
 arch/m68k/include/asm/fpu.h    |  6 ++++
 arch/m68k/include/asm/m68060.h | 34 ++++++++++++++++++
 arch/m68k/kernel/head.S        |  3 +-
 arch/m68k/kernel/process.c     | 19 +++++-----
 arch/m68k/kernel/setup_mm.c    | 23 +++++++++----
 arch/m68k/kernel/signal.c      | 63 ++++++++--------------------------
 7 files changed, 85 insertions(+), 70 deletions(-)
 create mode 100644 arch/m68k/include/asm/m68060.h
Signature · 1 line
2.55.0