[Xen-devel] [PATCH] x86/spec-ctrl: Knights Landing/Mill are retpoline-safe

Andrew Cooper posted 1 patch 1 year, 9 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/xen tags/patchew/1558119005-30941-1-git-send-email-andrew.cooper3@citrix.com
xen/arch/x86/spec_ctrl.c | 2 ++
1 file changed, 2 insertions(+)

[Xen-devel] [PATCH] x86/spec-ctrl: Knights Landing/Mill are retpoline-safe

Posted by Andrew Cooper 1 year, 9 months ago
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>
---
CC: Jan Beulich <JBeulich@suse.com>
CC: Wei Liu <wei.liu2@citrix.com>
CC: Roger Pau Monné <roger.pau@citrix.com>
---
 xen/arch/x86/spec_ctrl.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/xen/arch/x86/spec_ctrl.c b/xen/arch/x86/spec_ctrl.c
index 5d98cac..e66879f 100644
--- a/xen/arch/x86/spec_ctrl.c
+++ b/xen/arch/x86/spec_ctrl.c
@@ -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:
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Re: [Xen-devel] [PATCH] x86/spec-ctrl: Knights Landing/Mill are retpoline-safe

Posted by Jan Beulich 1 year, 9 months ago
>>> On 17.05.19 at 20:50, <andrew.cooper3@citrix.com> wrote:
> 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-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel