Skip to contentSkip to conversation

Subject: [PATCH] x86, AMD: K8 Rev.A-E processors are subject to erratum 400

PATCH In review Boris Ostrovsky 5 participants 5 messages Apr 29, 2011 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Subject: [PATCH] x86, AMD: K8 Rev.A-E processors are subject to erratum 400

Older AMD K8 processors (Revisions A-E) are affected by erratum 400 (APIC timer interrupts don't occur in C states greater than C1). This, for example, means that X86_FEATURE_ARAT flag should not be set for these parts.

This addresses regression introduced by commit b87cf80af3ba4b4c008b4face3c68d604e1715c6 (x86, AMD: Set ARAT feature on AMD processors") so it is somewhat high priority.

---
 arch/x86/kernel/cpu/amd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/kernel/cpu/amd.c +1 -1
index 3532d3b..71499b4 100644
@@ -698,7 +698,7 @@ cpu_dev_register(amd_cpu_dev);
  */
 
 const int amd_erratum_400[] =
-	AMD_OSVW_ERRATUM(1, AMD_MODEL_RANGE(0xf, 0x41, 0x2, 0xff, 0xf),
+	AMD_OSVW_ERRATUM(1, AMD_MODEL_RANGE(0xf, 0x4, 0x2, 0xff, 0xf),
 			    AMD_MODEL_RANGE(0x10, 0x2, 0x1, 0xff, 0xf));
 EXPORT_SYMBOL_GPL(amd_erratum_400);
 
Signature · 1 line
1.7.3.4
#1 lore raw
Quoted 5 lines · Boris Ostrovsky
Quoted 7 lines

Older AMD K8 processors (Revisions A-E) are affected by erratum 400 (APIC timer interrupts don't occur in C states greater than C1). This, for example, means that X86_FEATURE_ARAT flag should not be set for these parts.

This addresses regression introduced by commit b87cf80af3ba4b4c008b4face3c68d604e1715c6 (x86, AMD: Set ARAT feature on AMD processors") so it is somewhat high priority.

Hm, what is the regression, how do users see it? Hangs? Delays? Crashes? Something more benign? The changelog should really contain such information.

Thanks,

Ingo

#2 lore raw
Quoted 12 lines · Ingo Molnar
Quoted 9 lines · Boris Ostrovsky

Older AMD K8 processors (Revisions A-E) are affected by erratum 400 (APIC timer interrupts don't occur in C states greater than C1). This, for example, means that X86_FEATURE_ARAT flag should not be set for these parts.

Quoted 6 lines
Quoted 3 lines

This addresses regression introduced by commit b87cf80af3ba4b4c008b4face3c68d604e1715c6 (x86, AMD: Set ARAT feature on AMD processors") so it is somewhat high priority.

Hm, what is the regression, how do users see it? Hangs? Delays? Crashes? Something more benign? The changelog should really contain such information.

The system becomes unresponsive until an external interrupt (e.g. keyboard input) happens. The most obvious effect is that time is not reported correctly. We haven't seen anything worse but that's probably bad enough.

Do you want me to resubmit the patch with updated comments?

Thanks.
-boris

Acked-by Tested-by Joerg-Volker Peetz
#3 lore raw
Quoted 21 lines · Boris Ostrovsky
Quoted 12 lines · Ingo Molnar
Quoted 9 lines · Boris Ostrovsky

Older AMD K8 processors (Revisions A-E) are affected by erratum 400 (APIC timer interrupts don't occur in C states greater than C1). This, for example, means that X86_FEATURE_ARAT flag should not be set for these parts.

Quoted 6 lines
Quoted 3 lines

This addresses regression introduced by commit b87cf80af3ba4b4c008b4face3c68d604e1715c6 (x86, AMD: Set ARAT feature on AMD processors") so it is somewhat high priority.

Hm, what is the regression, how do users see it? Hangs? Delays? Crashes? Something more benign? The changelog should really contain such information.

Quoted 6 lines

The system becomes unresponsive until an external interrupt (e.g. keyboard input) happens. The most obvious effect is that time is not reported correctly. We haven't seen anything worse but that's probably bad enough.

Do you want me to resubmit the patch with updated comments?

Yes please. Being too verbose is much better than being laconic with the commit message.

Also, please put those lines

_after_ the commit message.

Thanks.

Signature · 5 lines
Regards/Gruss,
Boris.

Operating Systems Research Center
Advanced Micro Devices, Inc.
#4 lore raw
Quoted 32 lines · Borislav Petkov
Quoted 21 lines · Boris Ostrovsky
Quoted 12 lines · Ingo Molnar
Quoted 9 lines · Boris Ostrovsky

Older AMD K8 processors (Revisions A-E) are affected by erratum 400 (APIC timer interrupts don't occur in C states greater than C1). This, for example, means that X86_FEATURE_ARAT flag should not be set for these parts.

Quoted 6 lines
Quoted 3 lines

This addresses regression introduced by commit b87cf80af3ba4b4c008b4face3c68d604e1715c6 (x86, AMD: Set ARAT feature on AMD processors") so it is somewhat high priority.

Hm, what is the regression, how do users see it? Hangs? Delays? Crashes? Something more benign? The changelog should really contain such information.

Quoted 6 lines

The system becomes unresponsive until an external interrupt (e.g. keyboard input) happens. The most obvious effect is that time is not reported correctly. We haven't seen anything worse but that's probably bad enough.

Do you want me to resubmit the patch with updated comments?

Yes please. Being too verbose is much better than being laconic with the commit message.

Quoted 8 lines

Also, please put those lines

_after_ the commit message.

And also please add
Cc: [email protected]
as the original commit (b87cf80a) was merged into stable trees.

thanks,

Signature · 1 line
js