Using PVR value after boot?

Benjamin Herrenschmidt benh at kernel.crashing.org
Sat Nov 10 08:07:24 EST 2007


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 :-)

Ben.





More information about the Linuxppc-dev mailing list