Re: [PATCH v1 1/1] x86/fred: Fix system hang during S4 resume with FRED enabled
From: Xin Li
Date: Tue Apr 01 2025 - 02:34:53 EST
On 3/31/2025 8:30 AM, Rafael J. Wysocki wrote:
+ *
+ * Note, FRED RSPs setup needs to access percpu data structures.
And I'm not sure what you wanted to say here? Does this refer to the
ordering of the code below or to something else?
Yes, this refers to the ordering of the code: FRED config restoration
needs to happen after wrmsrl(MSR_GS_BASE, ctxt->kernelmode_gs_base), or
the system still hangs.
I will make it explicit in the next iteration.