]> xenbits.xensource.com Git - xen.git/commitdiff
x86/spec-ctrl: Knights Landing/Mill are retpoline-safe
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 17 May 2019 18:23:55 +0000 (19:23 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 31 May 2019 18:11:29 +0000 (19:11 +0100)
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>
xen/arch/x86/spec_ctrl.c

index 5d98cac0093369458d5c21d6bab8c21275613412..e66879f5c05a57fd4b831ec64e03184c2c68a3b5 100644 (file)
@@ -524,9 +524,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: