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

From: Peter Zijlstra
Date: Thu Jun 07 2018 - 14:42:20 EST


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.