Re: [PATCH] x86/entry_32: Move CLEAR_CPU_BUFFERS before CR3 switch

From: Dave Hansen
Date: Thu May 09 2024 - 20:04:53 EST


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.