Using PVR value after boot?

Josh Boyer jwboyer at linux.vnet.ibm.com
Sat Nov 10 08:13:26 EST 2007


On Sat, 2007-11-10 at 08:07 +1100, Benjamin Herrenschmidt wrote:
> On Fri, 2007-11-09 at 15:39 -0500, Mike Nuss wrote:
> > I'm writing a module for the Security/KASUMI function on the
> > PPC440EPx-S and PPC440GRx-S. This relies on checking the PVR value at
> > runtime, which is done early on in the boot process.  What would be
> > the correct way to check which CPU is present during module
> > initialization?
> 
> Checking the PVR can be done at any time, though a better option would
> be to put something in device-tree of course :-)

Absolutely.

josh




More information about the Linuxppc-dev mailing list