]> xenbits.xensource.com Git - people/dwmw2/xen.git/commitdiff
x86/spec-ctrl: Knights Landing/Mill are retpoline-safe
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 5 Jul 2019 08:29:48 +0000 (10:29 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 5 Jul 2019 08:29:48 +0000 (10:29 +0200)
They are both Airmont-based and should have been included in c/s 17f74242ccf
"x86/spec-ctrl: Extend repoline safey calcuations for eIBRS and Atom parts".

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
master commit: e2105180f99d22aad47ee57113015e11d7397e54
master date: 2019-05-31 19:11:29 +0100

xen/arch/x86/spec_ctrl.c

index 10fcd77f300c1c60867a023b5f45e7e728550d77..ba1f058f9d05617645eee26d5a1213c208c72089 100644 (file)
@@ -567,9 +567,11 @@ static bool __init retpoline_safe(uint64_t caps)
     case 0x4d: /* Avaton / Rangely (Silvermont) */
     case 0x4c: /* Cherrytrail / Brasswell */
     case 0x4a: /* Merrifield */
+    case 0x57: /* Knights Landing */
     case 0x5a: /* Moorefield */
     case 0x5c: /* Goldmont */
     case 0x5f: /* Denverton */
+    case 0x85: /* Knights Mill */
         return true;
 
     default: