On Mon Mar 4, 2024 at 4:33 PM UTC, Boqun Feng wrote:
> I haven't seen this issue before, looks to me the stall is caused by
> clear_rseq_cs(), which is basically a put_user(), and I don't have an
> immediate theory, could you share the kernel repo and configuration you
> used, so that I can see if I can reproduce this? (Note I don't have the
> exact device as you do nor an ARM64 Windows system with the exact
> Windows build you are using).
>
> Regards,
> Boqun

This happens on the default Windows System for Linux 2 setup, thus the
kernel built with the following sources:
- https://github.com/microsoft/WSL2-Linux-Kernel/tree/linux-msft-wsl-5.15.y

It also happens when I build the kernel myself from a more recent
release:
- https://github.com/maxboone/SQ2-Linux-Kernel-Builds

Microsoft should have a Development Kit (Volterra) with identical hardware 
to mine (and other Surface Pro X, Surface Pro 9 users) that run into the 
same issue with WSL2.

Moreover, the problem does not seem to occur on a regular Hyper-V VM 
(with a different / standard kernel though) at all, so reproduction 
might be difficult. The CPU that's shown by Hyper-V also differs from
the one visible in WSL2, maybe colleagues over at Redmond know what
CPU virtualization is used there?
- https://github.com/microsoft/WSL/issues/9454#issuecomment-1976411786

Thanks,
Max

Reply via email to