Re: nonboot cpu on SMP suspend

From: Li Yang
Date: Thu Mar 19 2009 - 03:18:43 EST


On Thu, Mar 19, 2009 at 3:04 PM, chen gong <gong.chen@xxxxxxxxxxxxxxx> wrote:
> Rafael J. Wysocki åé:
>>
>> On Wednesday 18 March 2009, Li Yang wrote:
>>>
>>> Hi all,
>>>
>>> I'm curious why we need to un-plug all the nonboot cpus before suspend
>>> and start them all over again after the suspend(ACPI sleep)? ÂI mean
>>> if we can bring the booting cpu back to the exact state as before
>>> suspend, why can't we just do the same for non-booting cpus? ÂAnd that
>>> will be much faster. ÂAny thought? ÂThanks.
>>
>> Because we need to enter the BIOS with one CPU on-line only.
>>
> You mean only one CPU can be supported by BIOS when suspend/resume ?

If so, is it a defect of x86 BIOS? And is it true that for other
architectures without a BIOS there won't be such a limitation if the
boot code is sane? Thanks

- Leo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/