[RFC] Old paca being written by firmware after kexec

Michael Ellerman michael at ellerman.id.au
Mon Oct 10 18:03:54 EST 2005


On Sat, 8 Oct 2005 01:05, Milton Miller wrote:
> >  static void kexec_prepare_cpus(void)
> >  {
> >  	int my_cpu, i, notified=-1;
> >
> > +	/* FIXME: I'd rather do this after the loop but we clobber hw_cpu_id
> > */
>
> i'd rather each cpu do it in kexec-cpu-down

I've coded that up, but then the calling cpu never does vpa_shutdown(). Why 
don't we just do it in a loop?

cheers

-- 
Michael Ellerman
IBM OzLabs

email: michael:ellerman.id.au
inmsg: mpe:jabber.org
wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/linuxppc64-dev/attachments/20051010/e3b58420/attachment.pgp 


More information about the Linuxppc64-dev mailing list