Skip to contentSkip to conversation

cpu_no_speculation omissions?

DISCUSSION Rich Felker 6 participants 10 messages Jul 16, 2018 – Jul 26, 2018

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 4 lines · Rich Felker

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

#2 lore raw
Quoted 7 lines · Thomas Gleixner
Quoted 4 lines · Rich Felker

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?

#3 lore raw
Quoted 10 lines · Dave Hansen
Quoted 9 lines · Thomas Gleixner
Quoted 7 lines · Rich Felker

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?

Quoted 4 lines
Quoted 1 line

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

#4 lore raw
Quoted 11 lines · Alan Cox
Quoted 10 lines · Dave Hansen
Quoted 9 lines · Thomas Gleixner
Quoted 7 lines · Rich Felker

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?

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

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

#5 lore raw
Quoted 17 lines · Thomas Gleixner
Quoted 16 lines · Alan Cox
Quoted 14 lines · Dave Hansen
Quoted 10 lines · Thomas Gleixner
Quoted 7 lines · Rich Felker

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.

Quoted 6 lines
Quoted 3 lines

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

#6 lore raw
Quoted 18 lines · Rich Felker
Quoted 17 lines · Thomas Gleixner
Quoted 16 lines · Alan Cox
Quoted 14 lines · Dave Hansen
Quoted 10 lines · Thomas Gleixner
Quoted 7 lines · Rich Felker

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.

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

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

#7 lore raw
In reply to Alan Cox
Quoted 5 lines · Alan Cox
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines

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?

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

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.

Signature · 2 lines
Jiri Kosina
SUSE Labs
#8 lore raw
Quoted 7 lines · Jiri Kosina
Quoted 3 lines · Alan Cox

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

#9 lore raw
Quoted 6 lines · Joerg Roedel
Quoted 5 lines · Jiri Kosina
Quoted 3 lines · Alan Cox

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.

Quoted 6 lines
Quoted 2 lines

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