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.