Messages in this thread | | | Date | Mon, 10 Oct 2011 22:35:13 +0200 | From | Borislav Petkov <> | Subject | Re: [PATCH v2 0/3] Freezer, CPU hotplug, x86 Microcode: Fix task freezing failures |
| |
On Mon, Oct 10, 2011 at 03:00:18PM -0400, Srivatsa S. Bhat wrote: > > Hmm... is it possible to tell whether the core coming online is the > > same one as the last time? If that's possible, the problem becomes > > pretty simple and we can simply tell people who are mixing > > suspend/hibernate with physical hotplug that they're crazy. > > > > I think that is pretty easy, atleast from a microcode revision standpoint: > the collect_cpu_info() function (defined in arch/x86/kernel/microcode_core.c > and arch/x86/kernel/microcode_intel.c or ..._amd.c) can be used for that > purpose. Am I right Boris?
Correct, on AMD the PATCH_LEVEL MSR (0x8b) contains the ... doh, current patch level of the core, i.e. the applied ucode version.
-- Regards/Gruss, Boris.
Advanced Micro Devices GmbH Einsteinring 24, 85609 Dornach GM: Alberto Bozzo Reg: Dornach, Landkreis Muenchen HRB Nr. 43632 WEEE Registernr: 129 19551
| |