Re: [PATCH v5 0/9] Improve non-"safe" MSR access failure handling

From: Borislav Petkov
Date: Mon Apr 04 2016 - 12:23:51 EST


On Sat, Apr 02, 2016 at 07:01:31AM -0700, Andy Lutomirski wrote:
> There are two parts here:
>
> ***** FIRST PART: EARLY EXCEPTIONS *****
>
> The first few patches move some early panic code into C, add pt_regs
> to early exception handling, and make fancy exception handlers work early.
>
> ***** SECOND PART: MSRs *****
>
> Setting CONFIG_PARAVIRT=y has an unintended side effect: it silently
> turns all rdmsr and wrmsr operations into the safe variants without
> any checks that the operations actually succeed.


...

FWIW:

Reviewed-by: Borislav Petkov <bp@xxxxxxx>

Definitely a step in the right direction, regardless of how we're going
to be doing early_printk(), which is a tangential topic. This pile could
be taken for a spin in tip.

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.