Re: Wake-up from suspend to RAM broken under `retbleed=stuff`

2023-01-11 Thread Andrew Cooper
On 11/01/2023 11:45 am, Jan Beulich wrote: > On 11.01.2023 12:39, Andrew Cooper wrote: >> The bigger issue with stuff accounting is that nothing AFAICT accounts >> for the fact that any hypercall potentially empties the RSB in otherwise >> synchronous program flow. > But that's not just at

Re: Wake-up from suspend to RAM broken under `retbleed=stuff`

2023-01-11 Thread Jan Beulich
On 11.01.2023 12:39, Andrew Cooper wrote: > The bigger issue with stuff accounting is that nothing AFAICT accounts > for the fact that any hypercall potentially empties the RSB in otherwise > synchronous program flow. But that's not just at hypercall boundaries, but effectively anywhere (i.e.

Re: Wake-up from suspend to RAM broken under `retbleed=stuff`

2023-01-11 Thread Andrew Cooper
On 11/01/2023 11:20 am, Peter Zijlstra wrote: > On Mon, Jan 09, 2023 at 04:05:31AM +, Joan Bruguera wrote: >> This fixes wakeup for me on both QEMU and real HW >> (just a proof of concept, don't merge) >> >> diff --git a/arch/x86/kernel/callthunks.c b/arch/x86/kernel/callthunks.c >> index