* Using PVR value after boot?
@ 2007-11-09 20:39 Mike Nuss
2007-11-09 21:07 ` Benjamin Herrenschmidt
0 siblings, 1 reply; 3+ messages in thread
From: Mike Nuss @ 2007-11-09 20:39 UTC (permalink / raw)
To: linuxppc-dev
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?
Thanks,
Mike
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Using PVR value after boot?
2007-11-09 20:39 Using PVR value after boot? Mike Nuss
@ 2007-11-09 21:07 ` Benjamin Herrenschmidt
2007-11-09 21:13 ` Josh Boyer
0 siblings, 1 reply; 3+ messages in thread
From: Benjamin Herrenschmidt @ 2007-11-09 21:07 UTC (permalink / raw)
To: Mike Nuss; +Cc: linuxppc-dev
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Using PVR value after boot?
2007-11-09 21:07 ` Benjamin Herrenschmidt
@ 2007-11-09 21:13 ` Josh Boyer
0 siblings, 0 replies; 3+ messages in thread
From: Josh Boyer @ 2007-11-09 21:13 UTC (permalink / raw)
To: benh; +Cc: linuxppc-dev
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-11-09 21:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-09 20:39 Using PVR value after boot? Mike Nuss
2007-11-09 21:07 ` Benjamin Herrenschmidt
2007-11-09 21:13 ` Josh Boyer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).