From: khilman@deeprootsystems.com (Kevin Hilman) Date: Wed, 28 Apr 2010 09:21:02 -0700 Subject: [PATCHv3 4/4] OMAP3: PM: export chip IDCODE, Production ID and Die ID In-Reply-To: <1272433903-24003-5-git-send-email-eduardo.valentin@nokia.com> (Eduardo Valentin's message of "Wed\, 28 Apr 2010 08\:51\:43 +0300") References: <1272433903-24003-1-git-send-email-eduardo.valentin@nokia.com> <1272433903-24003-5-git-send-email-eduardo.valentin@nokia.com> Message-ID: <87k4rrh7kh.fsf@deeprootsystems.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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? Kevin