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

From: Andy Lutomirski
Date: Sat Apr 02 2016 - 11:14:21 EST


On Sat, Apr 2, 2016 at 7:24 AM, Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
> This patch series looks much nicer than the last one. I assume you
> tested that the early-trap handling actually worked too? I only looked
> at the patches..
>
> Ack to it all,

I injected some BUGs in various places on 32-bit an 64-bit and it
seemed to do the right thing. Depending on how early they were, I
either got a clean hang or I got a printout, and whether it displayed
anything didn't seem to change with and without the patches. I think
that early_printk doesn't work from the very very beginning.

I also tried a bad wrmsrl at a couple early points. Very very early
it just works with not warning. A little later and it prints the
warning.

--Andy