Messages in this thread | | | Date | Wed, 23 May 2018 21:50:30 +0200 (CEST) | From | Thomas Gleixner <> | Subject | Re: [PATCH] x86/speculation: Simplify the CPU bug detection logic |
| |
On Wed, 23 May 2018, Konrad Rzeszutek Wilk wrote: > > @@ -973,16 +965,16 @@ static void __init cpu_set_bug_bits(struct cpuinfo_x86 *c) > > if (cpu_has(c, X86_FEATURE_ARCH_CAPABILITIES)) > > rdmsrl(MSR_IA32_ARCH_CAPABILITIES, ia32_cap); > > Would it make sense to move that above 'rdmsrl' and the conditional as well > to the logic below?
I did that when I was applying the patch ....
Thanks,
tglx
| |