Re: [RFC] #MC mess

From: Andy Lutomirski
Date: Tue Feb 18 2020 - 18:11:57 EST




> On Feb 18, 2020, at 10:20 AM, Luck, Tony <tony.luck@xxxxxxxxx> wrote:
>
> ï
>>
>> Anything else I'm missing? It is likely...
>
> + hw_breakpoint_disable();
> + static_key_disable(&__tracepoint_read_msr.key);
> + tracing_off();
> +
> ist_enter(regs);
>
> How about some code to turn all those back on for a recoverable (where we actually recovered) #MC?
>
>


At the very least, in the user_mode(regs) case, tracing is fine.