Re: [PATCH] kexec, ppc64: Wait for online/possible CPUs only.

2010-06-08 Thread Michael Ellerman
On Tue, 2010-06-08 at 17:38 +1000, Matt Evans wrote: > kexec_perpare_cpus_wait() iterates i through NR_CPUS to check > paca[i].kexec_state of each to make sure they have quiesced. > However now we have dynamic PACA allocation, paca[NR_CPUS] is not necessarily > valid and we overrun the array; spur

[PATCH] kexec, ppc64: Wait for online/possible CPUs only.

2010-06-08 Thread Matt Evans
kexec_perpare_cpus_wait() iterates i through NR_CPUS to check paca[i].kexec_state of each to make sure they have quiesced. However now we have dynamic PACA allocation, paca[NR_CPUS] is not necessarily valid and we overrun the array; spurious "cpu is not possible, ignoring" errors result. This pat