lkml.org 
[lkml]   [2018]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [patch RFC 3/5] x86/spectre: Prepare for IBRS selection
From
Date
On 01/09/2018 05:06 PM, Thomas Gleixner wrote:
...
> + case SPECTRE_V2_CMD_RETPOLINE:
> + if (IS_ENABLED(CONFIG_RETPOLINE))
> + goto retpoline_auto;
> + break;
> + }
> + pr_err("kernel not compiled with retpoline; no mitigation available!");
> + return;
> +
> +retpoline_auto:
> + /*
> + * Note: This only takes effect during boot before alternatives
> + * have been patched. Later invocations after late micro code
> + * update wont change the boot selection even if IBRS has not been
> + * made available by the microcode loading.
> + */
> if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) {
> retpoline_amd:

Should the "IBRS has not been" be "IBRS has been"?

\
 
 \ /
  Last update: 2018-01-14 23:20    [W:0.264 / U:0.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site