Re: [PATCH] x86/entry_32: Move CLEAR_CPU_BUFFERS before CR3 switch
From: Pawan Gupta
Date: Thu May 09 2024 - 20:38:03 EST
On Thu, May 09, 2024 at 05:04:36PM -0700, Dave Hansen wrote:
> On 5/9/24 15:17, Pawan Gupta wrote:
> > It probably can go right before the SWITCH_TO_USER_CR3. I didn't have
> > 32-bit setup with dosemu to experiment with. I will attach a debug patch to
> > the bugzilla and request the reporter to test it.
>
> There's an enter_from_vm86.c in the kernel selftests. That will at
> least exercise this path.
Yes, entry_from_vm86.c should be a good test case for this, thanks.