Messages in this thread | | | Subject | Re: [PATCH v3 2/5] x86/enter: Create macros to set/clear IBRS | From | Tim Chen <> | Date | Thu, 11 Jan 2018 13:24:52 -0800 |
| |
On 01/11/2018 01:05 PM, Tim Chen wrote: > 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. >
Our internal tester mixed in retpoline with IBRS so we've missed this. Will correct our test.
Tim
| |