Re: [PATCH v3 2/5] x86/enter: Create macros to set/clear IBRS
From: Thomas Gleixner
Date: Thu Jan 11 2018 - 11:04:52 EST
On Tue, 9 Jan 2018, Tim Chen wrote:
> +
> +.macro WRMSR_ASM msr_nr:req edx_val:req eax_val:req
> + movl \msr_nr, %ecx
> + movl \edx_val, %edx
> + movl \eax_val, %eax
> +.endm
This is the most brilliant piece of useless code I've seen in a long time.
tglx