Messages in this thread | | | From | Thomas Gleixner <> | Subject | Re: [patch 01/10] x86/fpu/signal: Clarify exception handling in restore_fpregs_from_user() | Date | Wed, 01 Sep 2021 17:52:25 +0200 |
| |
On Wed, Sep 01 2021 at 14:00, Thomas Gleixner wrote: > > commit b2f9d678e28c ("x86/mce: Check for faults tagged in > EXTABLE_CLASS_FAULT exception table entries") made use of this in MCE to > allow in kernel recovery. The only thing it uses is checking the > exception handler type. > > Bah. I'll fix that up to make that less obscure. > > The remaining two use cases (SGX and FPU) make use of the stored trap > number.
Though while for the FPU use case we really want to handle the #MC case, it's not clear to me whether this is actually correct for SGX.
Jarkko, Sean, Dave?
Thanks,
tglx
| |