* [Xen-devel] [PATCH for-4.13] x86/spec-ctrl: Annotate remaining model names
@ 2019-10-03 14:25 Andrew Cooper
2019-10-04 4:48 ` Jürgen Groß
2019-10-04 10:00 ` Jan Beulich
0 siblings, 2 replies; 3+ messages in thread
From: Andrew Cooper @ 2019-10-03 14:25 UTC (permalink / raw)
To: Xen-devel
Cc: Juergen Gross, Andrew Cooper, Wei Liu, Jan Beulich, Roger Pau Monné
The names in retpoline_safe() are copied from should_use_eager_fpu(). The
names in mds_calculations() come partly from Linux's intel-family.h, and
partly from conversations with Intel.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
---
CC: Jan Beulich <JBeulich@suse.com>
CC: Wei Liu <wl@xen.org>
CC: Roger Pau Monné <roger.pau@citrix.com>
CC: Juergen Gross <jgross@suse.com>
Only comment changes. 0 risk for 4.13
---
xen/arch/x86/spec_ctrl.c | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/xen/arch/x86/spec_ctrl.c b/xen/arch/x86/spec_ctrl.c
index 4761be81bd..731d5a767b 100644
--- a/xen/arch/x86/spec_ctrl.c
+++ b/xen/arch/x86/spec_ctrl.c
@@ -505,13 +505,13 @@ static bool __init retpoline_safe(uint64_t caps)
/*
* Skylake, Kabylake and Cannonlake processors are not retpoline-safe.
*/
- case 0x4e:
- case 0x55:
- case 0x5e:
- case 0x66:
- case 0x67:
- case 0x8e:
- case 0x9e:
+ case 0x4e: /* Skylake M */
+ case 0x55: /* Skylake X */
+ case 0x5e: /* Skylake D */
+ case 0x66: /* Cannonlake */
+ case 0x67: /* Cannonlake? */
+ case 0x8e: /* Kabylake M */
+ case 0x9e: /* Kabylake D */
return false;
/*
@@ -842,10 +842,10 @@ static __init void mds_calculations(uint64_t caps)
case 0x4c: /* Cherrytrail / Brasswell */
case 0x4d: /* Avaton / Rangely (Silvermont) */
case 0x5a: /* Moorefield */
- case 0x5d:
- case 0x65:
- case 0x6e:
- case 0x75:
+ case 0x5d: /* SoFIA 3G Granite/ES2.1 */
+ case 0x65: /* SoFIA LTE AOSP */
+ case 0x6e: /* Cougar Mountain */
+ case 0x75: /* Lightning Mountain */
/*
* Knights processors (which are based on the Silvermont/Airmont
* microarchitecture) are similarly only affected by the Store Buffer
--
2.11.0
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Xen-devel] [PATCH for-4.13] x86/spec-ctrl: Annotate remaining model names
2019-10-03 14:25 [Xen-devel] [PATCH for-4.13] x86/spec-ctrl: Annotate remaining model names Andrew Cooper
@ 2019-10-04 4:48 ` Jürgen Groß
2019-10-04 10:00 ` Jan Beulich
1 sibling, 0 replies; 3+ messages in thread
From: Jürgen Groß @ 2019-10-04 4:48 UTC (permalink / raw)
To: Andrew Cooper, Xen-devel; +Cc: Wei Liu, Jan Beulich, Roger Pau Monné
On 03.10.19 16:25, Andrew Cooper wrote:
> The names in retpoline_safe() are copied from should_use_eager_fpu(). The
> names in mds_calculations() come partly from Linux's intel-family.h, and
> partly from conversations with Intel.
>
> Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
Juergen
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xen-devel] [PATCH for-4.13] x86/spec-ctrl: Annotate remaining model names
2019-10-03 14:25 [Xen-devel] [PATCH for-4.13] x86/spec-ctrl: Annotate remaining model names Andrew Cooper
2019-10-04 4:48 ` Jürgen Groß
@ 2019-10-04 10:00 ` Jan Beulich
1 sibling, 0 replies; 3+ messages in thread
From: Jan Beulich @ 2019-10-04 10:00 UTC (permalink / raw)
To: Andrew Cooper; +Cc: Juergen Gross, Xen-devel, Wei Liu, Roger Pau Monné
On 03.10.2019 16:25, Andrew Cooper wrote:
> The names in retpoline_safe() are copied from should_use_eager_fpu(). The
> names in mds_calculations() come partly from Linux's intel-family.h, and
> partly from conversations with Intel.
>
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-10-04 10:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-03 14:25 [Xen-devel] [PATCH for-4.13] x86/spec-ctrl: Annotate remaining model names Andrew Cooper
2019-10-04 4:48 ` Jürgen Groß
2019-10-04 10:00 ` Jan Beulich
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.