[RFC PATCH 0/2] ARM: Remove any correlation between IPC and BogoMips value

Will Deacon will.deacon at arm.com
Fri May 3 13:35:45 EDT 2013


Hi all,

This small patch set may look a little over a month late, but there is a
serious reason for posting it.

When I moved the ARM delay loop over to using the architected timers
rather than the CPU spinning loop (which has all the problems associated
with cpu frequency scaling and what-not) I thought I was doing something
useful for the port. However, it turns out that a surprising number of
people have complained, and continue to complain, about the drop in
their `BogoMIPs score'.

After some education, they usually give in, but I figured it could be
solved by removing the reporting of this number to userspace altogether.
Unfortunately, that affects the output of /proc/cpuinfo, which I'm not
comfortable changing, so instead I've written this slightly tongue-in-cheek
series reporting obviously bogus values in those fields in the hope that
people don't interpret them as anything meaningful.

Comments welcome,

Will


Will Deacon (2):
  ARM: delay: print dummy values for bogomips
  init: calibrate: don't print out bogomips value on boot

 arch/arm/Kconfig.debug  | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
 arch/arm/kernel/setup.c | 16 ++++++++--------
 arch/arm/kernel/smp.c   | 13 ++-----------
 init/calibrate.c        |  8 +++-----
 4 files changed, 61 insertions(+), 24 deletions(-)

-- 
1.8.2.2




More information about the linux-arm-kernel mailing list