mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/4] m68k: Add 060 PCR info to /proc/cpuinfo
@ 2026-11-19 12:35 Daniel Palmer
  2026-11-19 12:35 ` [PATCH 1/4] m68k: Add and use wrapper for FPU inline asm Daniel Palmer
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Daniel Palmer @ 2026-11-19 12:35 UTC (permalink / raw)
  To: geert, gerg, linux-m68k; +Cc: linux-kernel, Daniel Palmer

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-11-19 12:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-19 12:35 [PATCH 0/4] m68k: Add 060 PCR info to /proc/cpuinfo Daniel Palmer
2026-11-19 12:35 ` [PATCH 1/4] m68k: Add and use wrapper for FPU inline asm Daniel Palmer
2026-11-19 12:35 ` [PATCH 2/4] m68k: Add and use defines for 68060 PCR register Daniel Palmer
2026-11-19 12:35 ` [PATCH 3/4] m68k: Add helpers to read and write the 68060's PCR Daniel Palmer
2026-11-19 12:35 ` [PATCH 4/4] m68k: show the 68060's PCR in /proc/cpuinfo Daniel Palmer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®