* cpu_no_speculation omissions? @ 2018-07-16 16:05 Rich Felker 2018-07-16 16:56 ` Thomas Gleixner 0 siblings, 1 reply; 10+ messages in thread From: Rich Felker @ 2018-07-16 16:05 UTC (permalink / raw) To: x86 Cc: Thomas Gleixner, Ingo Molnar, H. Peter Anvin, David Woodhouse, linux-kernel At least the Centerton (late-generation Bonnell uarch) Atom family is omitted from the cpu_no_speculation table added by commit fec9434a12f3 to arch/x86/kernel/cpu/common.c. Is this intentional? Would a patch adding it and possibly other omissions be welcome? Rich ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: cpu_no_speculation omissions? 2018-07-16 16:05 cpu_no_speculation omissions? Rich Felker @ 2018-07-16 16:56 ` Thomas Gleixner 2018-07-16 17:28 ` Dave Hansen 0 siblings, 1 reply; 10+ messages in thread From: Thomas Gleixner @ 2018-07-16 16:56 UTC (permalink / raw) To: Rich Felker Cc: x86, Ingo Molnar, H. Peter Anvin, David Woodhouse, LKML, Dave Hansen On Mon, 16 Jul 2018, Rich Felker wrote: > At least the Centerton (late-generation Bonnell uarch) Atom family is > omitted from the cpu_no_speculation table added by commit fec9434a12f3 > to arch/x86/kernel/cpu/common.c. Is this intentional? Would a patch > adding it and possibly other omissions be welcome? Probably. Dave? Thanks, tglx ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: cpu_no_speculation omissions? 2018-07-16 16:56 ` Thomas Gleixner @ 2018-07-16 17:28 ` Dave Hansen 2018-07-16 18:55 ` Alan Cox 0 siblings, 1 reply; 10+ messages in thread From: Dave Hansen @ 2018-07-16 17:28 UTC (permalink / raw) To: Thomas Gleixner, Rich Felker Cc: x86, Ingo Molnar, H. Peter Anvin, David Woodhouse, LKML, Alan Cox On 07/16/2018 09:56 AM, Thomas Gleixner wrote: > On Mon, 16 Jul 2018, Rich Felker wrote: >> At least the Centerton (late-generation Bonnell uarch) Atom family is >> omitted from the cpu_no_speculation table added by commit fec9434a12f3 >> to arch/x86/kernel/cpu/common.c. Is this intentional? Would a patch >> adding it and possibly other omissions be welcome? > > Probably. Dave? IIRC, Alan Cox was compiling a list on what is affected vs. not. He would know way better than I. Rich, did you have a specific set of family/model combinations that you thought were missed? ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: cpu_no_speculation omissions? 2018-07-16 17:28 ` Dave Hansen @ 2018-07-16 18:55 ` Alan Cox 2018-07-16 19:20 ` Thomas Gleixner 2018-07-26 13:29 ` Jiri Kosina 0 siblings, 2 replies; 10+ messages in thread From: Alan Cox @ 2018-07-16 18:55 UTC (permalink / raw) To: Dave Hansen, Thomas Gleixner, Rich Felker Cc: x86, Ingo Molnar, H. Peter Anvin, David Woodhouse, LKML On Mon, 2018-07-16 at 10:28 -0700, Dave Hansen wrote: > On 07/16/2018 09:56 AM, Thomas Gleixner wrote: > > On Mon, 16 Jul 2018, Rich Felker wrote: > > > At least the Centerton (late-generation Bonnell uarch) Atom > > > family is > > > omitted from the cpu_no_speculation table added by commit > > > fec9434a12f3 > > > to arch/x86/kernel/cpu/common.c. Is this intentional? Would a > > > patch > > > adding it and possibly other omissions be welcome? > > > > Probably. Dave? > > IIRC, Alan Cox was compiling a list on what is affected vs. not. He > would know way better than I. The pre Silvermont atom cores are in order. When I did the original list I didn't bother with all the 32bit cores as we didn't have any 32bit mitigations then. Alan ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: cpu_no_speculation omissions? 2018-07-16 18:55 ` Alan Cox @ 2018-07-16 19:20 ` Thomas Gleixner 2018-07-16 19:54 ` Rich Felker 2018-07-26 13:29 ` Jiri Kosina 1 sibling, 1 reply; 10+ messages in thread From: Thomas Gleixner @ 2018-07-16 19:20 UTC (permalink / raw) To: Alan Cox Cc: Dave Hansen, Rich Felker, x86, Ingo Molnar, H. Peter Anvin, David Woodhouse, LKML On Mon, 16 Jul 2018, Alan Cox wrote: > On Mon, 2018-07-16 at 10:28 -0700, Dave Hansen wrote: > > On 07/16/2018 09:56 AM, Thomas Gleixner wrote: > > > On Mon, 16 Jul 2018, Rich Felker wrote: > > > > At least the Centerton (late-generation Bonnell uarch) Atom > > > > family is > > > > omitted from the cpu_no_speculation table added by commit > > > > fec9434a12f3 > > > > to arch/x86/kernel/cpu/common.c. Is this intentional? Would a > > > > patch > > > > adding it and possibly other omissions be welcome? > > > > > > Probably. Dave? > > > > IIRC, Alan Cox was compiling a list on what is affected vs. not. He > > would know way better than I. > > The pre Silvermont atom cores are in order. When I did the original > list I didn't bother with all the 32bit cores as we didn't have any > 32bit mitigations then. At least we should give the users that warm and fuzzy feeling that they are not affected. Thanks, tglx ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: cpu_no_speculation omissions? 2018-07-16 19:20 ` Thomas Gleixner @ 2018-07-16 19:54 ` Rich Felker 2018-07-16 20:38 ` Thomas Gleixner 0 siblings, 1 reply; 10+ messages in thread From: Rich Felker @ 2018-07-16 19:54 UTC (permalink / raw) To: Thomas Gleixner Cc: Alan Cox, Dave Hansen, x86, Ingo Molnar, H. Peter Anvin, David Woodhouse, LKML On Mon, Jul 16, 2018 at 09:20:58PM +0200, Thomas Gleixner wrote: > On Mon, 16 Jul 2018, Alan Cox wrote: > > On Mon, 2018-07-16 at 10:28 -0700, Dave Hansen wrote: > > > On 07/16/2018 09:56 AM, Thomas Gleixner wrote: > > > > On Mon, 16 Jul 2018, Rich Felker wrote: > > > > > At least the Centerton (late-generation Bonnell uarch) Atom > > > > > family is > > > > > omitted from the cpu_no_speculation table added by commit > > > > > fec9434a12f3 > > > > > to arch/x86/kernel/cpu/common.c. Is this intentional? Would a > > > > > patch > > > > > adding it and possibly other omissions be welcome? > > > > > > > > Probably. Dave? > > > > > > IIRC, Alan Cox was compiling a list on what is affected vs. not. He > > > would know way better than I. > > > > The pre Silvermont atom cores are in order. When I did the original > > list I didn't bother with all the 32bit cores as we didn't have any > > 32bit mitigations then. > > At least we should give the users that warm and fuzzy feeling that they are > not affected. It's not just fuzzies -- my box was actually affected by slowdown for mitigation without adding "nopti" to boot command line, which is rather unfortunate when you're running a severely-slower box already for the sake of not being affected by these vulnerabilities. Since Dave asked, mine is a Centerton as I originally mentioned, Atom S1260, which seems to be the fastest in-order Intel chip with boards still commercially available. I'm not sure if there are other omissions that are actually interesting. I have several other Atoms too, but I think all of those are covered by the existing table. Rich ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: cpu_no_speculation omissions? 2018-07-16 19:54 ` Rich Felker @ 2018-07-16 20:38 ` Thomas Gleixner 0 siblings, 0 replies; 10+ messages in thread From: Thomas Gleixner @ 2018-07-16 20:38 UTC (permalink / raw) To: Rich Felker Cc: Alan Cox, Dave Hansen, x86, Ingo Molnar, H. Peter Anvin, David Woodhouse, LKML On Mon, 16 Jul 2018, Rich Felker wrote: > On Mon, Jul 16, 2018 at 09:20:58PM +0200, Thomas Gleixner wrote: > > On Mon, 16 Jul 2018, Alan Cox wrote: > > > On Mon, 2018-07-16 at 10:28 -0700, Dave Hansen wrote: > > > > On 07/16/2018 09:56 AM, Thomas Gleixner wrote: > > > > > On Mon, 16 Jul 2018, Rich Felker wrote: > > > > > > At least the Centerton (late-generation Bonnell uarch) Atom > > > > > > family is > > > > > > omitted from the cpu_no_speculation table added by commit > > > > > > fec9434a12f3 > > > > > > to arch/x86/kernel/cpu/common.c. Is this intentional? Would a > > > > > > patch > > > > > > adding it and possibly other omissions be welcome? > > > > > > > > > > Probably. Dave? > > > > > > > > IIRC, Alan Cox was compiling a list on what is affected vs. not. He > > > > would know way better than I. > > > > > > The pre Silvermont atom cores are in order. When I did the original > > > list I didn't bother with all the 32bit cores as we didn't have any > > > 32bit mitigations then. > > > > At least we should give the users that warm and fuzzy feeling that they are > > not affected. > > It's not just fuzzies -- my box was actually affected by slowdown for I was talking about 32bit. Yours seem to be 64bit. Thanks, tglx ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: cpu_no_speculation omissions? 2018-07-16 18:55 ` Alan Cox 2018-07-16 19:20 ` Thomas Gleixner @ 2018-07-26 13:29 ` Jiri Kosina 2018-07-26 14:18 ` Joerg Roedel 1 sibling, 1 reply; 10+ messages in thread From: Jiri Kosina @ 2018-07-26 13:29 UTC (permalink / raw) To: Alan Cox Cc: Dave Hansen, Thomas Gleixner, Rich Felker, x86, Ingo Molnar, H. Peter Anvin, David Woodhouse, LKML, jroedel On Mon, 16 Jul 2018, Alan Cox wrote: > > > > At least the Centerton (late-generation Bonnell uarch) Atom family > > > > is omitted from the cpu_no_speculation table added by commit > > > > fec9434a12f3 to arch/x86/kernel/cpu/common.c. Is this intentional? > > > > Would a patch adding it and possibly other omissions be welcome? > > > > > > Probably. Dave? > > > > IIRC, Alan Cox was compiling a list on what is affected vs. not. He > > would know way better than I. > > The pre Silvermont atom cores are in order. When I did the original > list I didn't bother with all the 32bit cores as we didn't have any > 32bit mitigations then. Now that 32bit PTI is in tip, I believe refresh of that list would be justified. CCing Joerg. -- Jiri Kosina SUSE Labs ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: cpu_no_speculation omissions? 2018-07-26 13:29 ` Jiri Kosina @ 2018-07-26 14:18 ` Joerg Roedel 2018-07-26 15:54 ` Rich Felker 0 siblings, 1 reply; 10+ messages in thread From: Joerg Roedel @ 2018-07-26 14:18 UTC (permalink / raw) To: Jiri Kosina Cc: Alan Cox, Dave Hansen, Thomas Gleixner, Rich Felker, x86, Ingo Molnar, H. Peter Anvin, David Woodhouse, LKML On Thu, Jul 26, 2018 at 03:29:53PM +0200, Jiri Kosina wrote: > On Mon, 16 Jul 2018, Alan Cox wrote: > > The pre Silvermont atom cores are in order. When I did the original > > list I didn't bother with all the 32bit cores as we didn't have any > > 32bit mitigations then. > > Now that 32bit PTI is in tip, I believe refresh of that list would be > justified. CCing Joerg. Agreed, PTI for x86-32 is in -tip now and will likely make it into v4.19. In-order cores (which should not be not affected by Meltdown) should be on the list, otherwise they will get a huge performance hit. Regards, Joerg ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: cpu_no_speculation omissions? 2018-07-26 14:18 ` Joerg Roedel @ 2018-07-26 15:54 ` Rich Felker 0 siblings, 0 replies; 10+ messages in thread From: Rich Felker @ 2018-07-26 15:54 UTC (permalink / raw) To: Joerg Roedel Cc: Jiri Kosina, Alan Cox, Dave Hansen, Thomas Gleixner, x86, Ingo Molnar, H. Peter Anvin, David Woodhouse, LKML On Thu, Jul 26, 2018 at 04:18:42PM +0200, Joerg Roedel wrote: > On Thu, Jul 26, 2018 at 03:29:53PM +0200, Jiri Kosina wrote: > > On Mon, 16 Jul 2018, Alan Cox wrote: > > > The pre Silvermont atom cores are in order. When I did the original > > > list I didn't bother with all the 32bit cores as we didn't have any > > > 32bit mitigations then. > > > > Now that 32bit PTI is in tip, I believe refresh of that list would be > > justified. CCing Joerg. > > Agreed, PTI for x86-32 is in -tip now and will likely make it into > v4.19. In-order cores (which should not be not affected by Meltdown) > should be on the list, otherwise they will get a huge performance hit. Does anyone have a complete list of pre-speculation Atom models? Mine is one of the few 64-bit ones, but there are lots of 32-bit Atoms that PTI would hit hard. Rich ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2018-07-26 15:56 UTC | newest] Thread overview: 10+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2018-07-16 16:05 cpu_no_speculation omissions? Rich Felker 2018-07-16 16:56 ` Thomas Gleixner 2018-07-16 17:28 ` Dave Hansen 2018-07-16 18:55 ` Alan Cox 2018-07-16 19:20 ` Thomas Gleixner 2018-07-16 19:54 ` Rich Felker 2018-07-16 20:38 ` Thomas Gleixner 2018-07-26 13:29 ` Jiri Kosina 2018-07-26 14:18 ` Joerg Roedel 2018-07-26 15:54 ` Rich Felker
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox