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

From: Daniel Palmer

Date: Thu Nov 19 2026 - 07:40:15 EST


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

--
2.55.0