Messages in this thread | ![/](/images/icornerl.gif) | | Subject | Re: FSGSBASE causing panic on 5.9-rc1 | From | Paolo Bonzini <> | Date | Thu, 20 Aug 2020 15:43:16 +0200 |
| |
On 19/08/20 23:25, Andy Lutomirski wrote: > wrmsrl(MSR_KERNEL_GS_BASE, current->thread.gsbase); > load_gs_index(svm->host.gs); > > Surely that should do load_gs_index() *before* wrmsrl(). But that's > not the problem at hand.
The wrmsrl is writing the inactive GS base so the ordering between load_gs_index and wrmsrl(MSR_KERNEL_GS_BASE) should be irrelevant?
Paolo
| ![\](/images/icornerr.gif) |