Messages in this thread | ![/](/images/icornerl.gif) | | From | "Luck, Tony" <> | Subject | RE: [PATCH -next v4 2/3] x86/mce: rename MCE_IN_KERNEL_COPYIN to MCE_IN_KERNEL_COPY_MC | Date | Fri, 2 Feb 2024 18:44:32 +0000 |
| |
> So you have, for example: > > unsigned long __must_check copy_mc_to_kernel(void *dst, const void *src, unsigned len) > > Now imagine you get a MCE for *dst which is some kernel page which > cannot be poisoned: direct map, kernel text, and so on.
At least on Intel you can only get a machine check for operation on poison data LOAD. Not for a STORE. I believe that is generally true - other arches to confirm.
So there can't me a machine check on "*dst".
-Tony
| ![\](/images/icornerr.gif) |