Re: [PATCH] x86/speculation/mds: Flush store buffer after wake up from sleep

2019-06-21 Thread Thomas Gleixner
On Wed, 19 Jun 2019, Zhenzhong Duan wrote: > Intel document says: "When a thread wakes from a sleep state, the store > buffer is repartitioned again. This causes the store buffer to transfer > store buffer entries from the thread that was already active to the one > which just woke up." > > To av

[PATCH] x86/speculation/mds: Flush store buffer after wake up from sleep

2019-06-20 Thread Zhenzhong Duan
Intel document says: "When a thread wakes from a sleep state, the store buffer is repartitioned again. This causes the store buffer to transfer store buffer entries from the thread that was already active to the one which just woke up." To avoid data leak from sibling thread to the woken thread, f