• [^] # Re: Desactivable?

    Posté par (site web personnel) . En réponse au journal Ça sent pas bon chez Intel ?. Évalué à 6. Dernière modification le 03 janvier 2018 à 10:03.

    Quand on voit le patch du gars d'AMD, j'ai comme des doutes qu'on puisse le désactiver

     Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
     ---
     arch/x86/kernel/cpu/common.c | 4 ++--
     1 file changed, 2 insertions(+), 2 deletions(-)
     diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
     index c47de4e..7d9e3b0 100644
     --- a/arch/x86/kernel/cpu/common.c
     +++ b/arch/x86/kernel/cpu/common.c
     @@ -923,8 +923,8 @@ static void __init early_identify_cpu(struct cpuinfo_x86 *c)
     setup_force_cpu_cap(X86_FEATURE_ALWAYS);
     - /* Assume for now that ALL x86 CPUs are insecure */
     - setup_force_cpu_bug(X86_BUG_CPU_INSECURE);
     + if (c->x86_vendor != X86_VENDOR_AMD)
     + setup_force_cpu_bug(X86_BUG_CPU_INSECURE);
     fpu__init_system(c);