[PATCHv3 4/4] OMAP3: PM: export chip IDCODE, Production ID and Die ID

Eduardo Valentin eduardo.valentin at nokia.com
Fri Apr 30 02:07:10 EDT 2010


On Wed, Apr 28, 2010 at 06:21:02PM +0200, ext Kevin Hilman wrote:
> Eduardo Valentin <eduardo.valentin at nokia.com> writes:
> 
> > From: Eduardo Valentin <eduardo.valentin at nokia.com>
> >
> > This patch exports the OMAP3 IDCODE and Production ID to userspace
> > via /proc/cpuinfo using the system_soc_info.
> >
> > Die ID is also exported depending on what users pass as kernel
> > parameter. It is same protection mechanism made for x86 product
> > number. So, if user passes "omap3_die_id" parameter, it will append
> > die id code into /proc/cpuinfo as well. A Kconfig option has been
> > added as well, so it can be configurable during compilation time.
> >
> > This can be used to track down silicon specific issues. The info is
> > exported via /proc/cpuinfo because then it can be possible to include this
> > in corematic dumps.
> >
> > This is based on Peter De Schrijver patch, which export same info via sysfs.
> >
> > Signed-off-by: Eduardo Valentin <eduardo.valentin at nokia.com>
> 
> Re: $SUBJECT, why the PM: prefix?

Yes indeed, no need to be PM bound.

> 
> Kevin



More information about the linux-arm-kernel mailing list