From: eduardo.valentin@nokia.com (Eduardo Valentin) Date: Fri, 30 Apr 2010 09:07:10 +0300 Subject: [PATCHv3 4/4] OMAP3: PM: export chip IDCODE, Production ID and Die ID In-Reply-To: <87k4rrh7kh.fsf@deeprootsystems.com> References: <1272433903-24003-1-git-send-email-eduardo.valentin@nokia.com> <1272433903-24003-5-git-send-email-eduardo.valentin@nokia.com> <87k4rrh7kh.fsf@deeprootsystems.com> Message-ID: <20100430060710.GC25339@besouro.research.nokia.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Apr 28, 2010 at 06:21:02PM +0200, ext Kevin Hilman wrote: > Eduardo Valentin writes: > > > From: Eduardo Valentin > > > > 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 > > Re: $SUBJECT, why the PM: prefix? Yes indeed, no need to be PM bound. > > Kevin