linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Adding soc related info into /proc/cpuinfo
@ 2010-04-26  8:24 Eduardo Valentin
  2010-04-26  8:24 ` [PATCH 1/4] ARM: Introduce SoC Info " Eduardo Valentin
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Eduardo Valentin @ 2010-04-26  8:24 UTC (permalink / raw)
  To: ext Kevin Hilman, ext Tony Lindgren
  Cc: \"De-Schrijver Peter (Nokia-D/Helsinki)\", Linux-OMAP,
	Eduardo Valentin

Hello all,

This series is to continue what has been discussed several weeks ago
wrt IDCODE patch. Original patch was made by Peter and discussion is here:
http://www.mail-archive.com/linux-omap@vger.kernel.org/msg17553.html

So, the conclusion was that IDCODE info is useful even in production systems,
and for that debugfs is not a good choice to export it. One suggestion was to
add it under /proc/cpuinfo. However this entry nowadays exports only ARM related
information.

So this series does the trick by extending the ARM /proc/cpuinfo to include
soc info data. There are a few ways to add a hook for soc specific data. But
I've decided to implement it via the simplest way I found. Basically it is
same thing which is done for system_rev, system_serial_low and system_serial_high.
Then, now we have system_soc_info, which is printed only if there is something
useful there.

As usual, comments are welcome.

BR,

Eduardo Valentin (4):
  ARM: Introduce SoC Info into /proc/cpuinfo
  OMAP2,3: Add SoC info data for OMAP2,3
  OMAP1: Add SoC info data for OMAP1
  OMAP3: PM: export chip IDCODE, Production ID and Die ID

 arch/arm/include/asm/system.h |    2 ++
 arch/arm/kernel/setup.c       |    5 +++++
 arch/arm/mach-omap1/id.c      |   18 ++++++++++++------
 arch/arm/mach-omap2/id.c      |   41 +++++++++++++++++++++++++++++++++++------
 4 files changed, 54 insertions(+), 12 deletions(-)


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

end of thread, other threads:[~2010-04-27 14:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-26  8:24 [PATCH 0/4] Adding soc related info into /proc/cpuinfo Eduardo Valentin
2010-04-26  8:24 ` [PATCH 1/4] ARM: Introduce SoC Info " Eduardo Valentin
2010-04-26  8:24 ` [PATCH 2/4] mach-omap2: Add SoC info data for OMAP2,3,4 " Eduardo Valentin
2010-04-26  8:24 ` [PATCH 3/4] mach-omap1: Add SoC info data for OMAP into /proc/cpuinfo1 Eduardo Valentin
2010-04-26  8:24 ` [PATCH 4/4] OMAP3: PM: export chip IDCODE, Production ID and Die ID Eduardo Valentin
2010-04-26  8:33   ` Shilimkar, Santosh
2010-04-26  8:35     ` Shilimkar, Santosh
2010-04-26 18:28   ` Tony Lindgren
2010-04-27 10:13     ` Eduardo Valentin
2010-04-27 14:51       ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).