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

From: Jue Wang
Date: Sat Jul 31 2021 - 02:30:18 EST


Been busy with some other work.

After cherry picking patch 1 & 2, I saw the following with 2 UC errors injected
into the user space buffer passed into write(2), as expected:

[ 287.994754] Kernel panic - not syncing: Machine checks to different
user pages

The kernel tested with has its x86/mce and mm/memory-failure aligned with
upstream till around 2020/11.

Is there any other patch that I have missed to the write syscall etc?

Thanks,
-Jue