Subject: Re: Using PVR value after boot?

From: Benjamin Herrenschmidt <[email-masked]>
Date: Sat, 10 Nov 2007 08:07:24 +1100

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.