Re: [PATCH 02/10] x86/cet: Introduce WRUSS instruction

From: Yu-cheng Yu
Date: Thu Jun 07 2018 - 16:34:21 EST


On Thu, 2018-06-07 at 20:41 +0200, Peter Zijlstra wrote:
> On Thu, Jun 07, 2018 at 09:40:02AM -0700, Andy Lutomirski wrote:
> > Peterz, isn't there some fancy better way we're supposed to handle the
> > error return these days?
>
> Don't think so. I played with a few things but that never really went
> anywhere.
>
> Also, both asm things look suspicously similar, it might make sense to
> share. Also, maybe do the instruction .byte sequence in a #define INSN
> or something.

I will fix that.