Re: [PATCH v3 2/5] x86/enter: Create macros to set/clear IBRS
From: Tim Chen
Date: Thu Jan 11 2018 - 16:05:39 EST
On 01/11/2018 08:04 AM, Thomas Gleixner wrote:
> 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
>
Sorry that was a major brain fart on my part.
Tim