RE: [PATCH 2/3] x86/mce: Avoid infinite loop for copy from user recovery

Luck, Tony
2021-07-23T14:47:48Z

> In our test, the application memory was anon.
> With 1 UC error injected, the test always passes with the error
> recovered and a SIGBUS delivered to user space.
>
> When there are >1 UC errors in buffer, then indefinite mce loop.

Do you still see the infinite loop with these three patches on top of
v5.14-rc, rather than a short byte return value from write, or

mce_panic("Machine checks to different user pages", m, msg);

-Tony