Messages in this thread | | | From | "Anaczkowski, Lukasz" <> | Subject | RE: [PATCH v2] Linux VM workaround for Knights Landing A/D leak | Date | Wed, 15 Jun 2016 13:12:13 +0000 |
| |
From: Borislav Petkov [mailto:bp@alien8.de] Sent: Tuesday, June 14, 2016 8:10 PM
>> + if (boot_cpu_has_bug(X86_BUG_PTE_LEAK)) > > static_cpu_has_bug()
>> + if (c->x86_model == 87) { > > That should be INTEL_FAM6_XEON_PHI_KNL, AFAICT.
>> + static bool printed; >> + >> + if (!printed) { >> + pr_info("Enabling PTE leaking workaround\n"); >> + printed = true; >> + } > > pr_info_once
Thanks, Boris! This is very valuable. I'll address those comments in next version of the patch.
Cheers, Lukasz
| |