Skip to contentSkip to conversation

linux-firmware/AMD: add readme files for amd-ucode

PATCH In review Sherry Hurwitz 3 participants 6 messages Jul 19, 2013 – Aug 9, 2013 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux-firmware/AMD: add readme files for amd-ucode

File: README
File: microcode_amd.bin.README
File: microcode_amd_fam15h.bin.README

---
 amd-ucode/README                          |   46 +++++++++++++++++++++++++++++
 amd-ucode/microcode_amd.bin.README        |   29 ++++++++++++++++++
 amd-ucode/microcode_amd_fam15h.bin.README |   13 ++++++++
 3 files changed, 88 insertions(+)
 create mode 100644 amd-ucode/README
 create mode 100644 amd-ucode/microcode_amd.bin.README
 create mode 100644 amd-ucode/microcode_amd_fam15h.bin.README
amd-ucode/README new file +46 -0
new file mode 100644
index 0000000..a92831d
@@ -0,0 +1,46 @@
+This package provides latest microcode patches
+for AMD processor families >= 0x10.
+
+See http://www.amd64.org/support/microcode.html
+for details.
+
+Microcode patches are included in container files:
+- 'microcode_amd.bin' (for AMD CPU families 10h - 14h)
+- 'microcode_amd_fam15h.bin' (for AMD CPU family 15h)
+
+Please read the file INSTALL for install instructions.
+Please read the file LICENSE for licensing information.
+
+The container files include following microcode patches:
+
+    mc_patch_01000083_PUB-v4/mc_patch_01000083.asm
+    mc_patch_01000084_PUB-v4/mc_patch_01000084.asm
+    mc_patch_010000C7_PUB-v1/mc_patch_010000C7.asm
+    mc_patch_010000C8_PUB-v1/mc_patch_010000C8.asm
+    mc_patch_010000D9_PUB-v1/mc_patch_010000D9.asm
+    mc_patch_010000DA_PUB-v1/mc_patch_010000DA.asm
+    mc_patch_010000DB_PUB-v1/mc_patch_010000DB.asm
+    mc_patch_010000DC_PUB-v1/mc_patch_010000DC.asm
+    mc_patch_02000032_PUB-v3/mc_patch_02000032.asm
+    mc_patch_03000027_PUB-v1/mc_patch_03000027.asm
+    mc_patch_05000029_PUB-v1/mc_patch_05000029.asm
+    mc_patch_05000119_PUB-v1/mc_patch_05000119.asm
+    mc_patch_0600063D_PUB-v1/mc_patch_0600063D.asm
+    mc_patch_06000822_PUB-v1/mc_patch_06000822.asm
+    mc_patch_06001119_PUB-v2/mc_patch_06001119.asm
+
+***********************************************************************
+Copyright 2008-2013 ADVANCED MICRO DEVICES, INC.  All Rights Reserved.
+
+AMD is granting you permission to use this software and documentation
+(if any) (collectively, the “Materials”) pursuant to the terms and
+conditions of the Software License Agreement included with the
+Materials.  This header does NOT give you permission to use the
+Materials or any rights under AMD’s intellectual property.  Your use
+of any portion of these Materials shall constitute your acceptance of
+those terms and conditions.  If you do not agree to the terms and
+conditions of the Software License Agreement, you do not have
+permission to use any portion of these Materials.  If you do not have
+a copy of the Software License Agreement, contact your AMD
+representative for a copy.
+
amd-ucode/microcode_amd.bin.README new file +29 -0
new file mode 100644
index 0000000..617d951
@@ -0,0 +1,29 @@
+;******************************************************************************
+; The associated microcode container file fixes the errata as documented in
+; Revision Guide for AMD Family 10h Processors, order #41322,
+; Revision Guide for AMD Family 11h Processors, order #41788,
+; Revision Guide for AMD Family 12h Processors, order #44739,
+; Revision Guide for AMD Family 14h Models 00h-0Fh Processors, order #47534,
+; for different revisions of AMD processors as follows:
+; 
+; CPUIDFn[0000_0001]_EAX; ID;         Errata fixed;
+;
+; 0x00100F22;             0x01000083; 244, 260, 280, 302, 308, 315, 342;
+; 0x00100F23;             0x01000083; 244, 260, 280, 302, 308, 315, 342;
+; 0x00100F2A;             0x01000084; 244, 260, 280, 302, 308, 315, 342;
+; 0x00100F42;             0x010000DB; 342, 440, 573;
+; 0x00100F43;             0x010000C8; 407, 440;
+; 0x00100F52;             0x010000DB; 342, 440, 573;
+; 0x00100F53;             0x010000C8; 407, 440;
+; 0x00100F62;             0x010000C7; 407, 440;
+; 0x00100F63;             0x010000C8; 407, 440;
+; 0x00100F80;             0x010000DA; 419, 440, 573;
+; 0x00100F81;             0x010000D9; #406, #407, #440, #573, #669;
+; 0x00100F91;             0x010000D9; #406, #407, #440, #573, #669;
+; 0x00100FA0;             0x010000DC; 438, 440, 573;
+; 0x00200F31;             0x02000032; 311, 316;
+; 0x00300F10;             0x03000027; #564, #573, #662, #686;
+; 0x00500F10;             0x05000029; #461, #564, #594, #595, #784;
+; 0x00500F20;             0x05000119; #461, #564, #594, #639, #662, #686, #784;
+;
+;******************************************************************************
amd-ucode/microcode_amd_fam15h.bin.README new file +13 -0
new file mode 100644
index 0000000..a688b84
@@ -0,0 +1,13 @@
+;******************************************************************************
+; The associated microcode container file fixes the errata as documented in
+; Revision Guide for AMD Family 15h Models 00h-0Fh Processors, order #48063,
+; Revision Guide for AMD Family 15h Models 10h-1Fh Processors, order #48931,
+; for different revisions of AMD processors as follows:
+; 
+; CPUIDFn[0000_0001]_EAX; ID;         Errata fixed;
+;
+; 0x00600F12;             0x0600063D; #659, #660, #661, #671, #672, #673, #691, #709, #740, #759, #778;
+; 0x00600F20;             0x06000822; #691, #699, #704, #708, #709, #734, #740, #778;
+; 0x00610F01;             0x06001119; #671, #686, #697, #698, #699, #704, #709, #734, #740;
+;
+;******************************************************************************
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 21 lines · On Friday 19 July 2013 17:43:52 Sherry Hurwitz wrote:

File: README
File: microcode_amd.bin.README
File: microcode_amd_fam15h.bin.README

---
 amd-ucode/README                          |   46
+++++++++++++++++++++++++++++ amd-ucode/microcode_amd.bin.README        |  
29 ++++++++++++++++++ amd-ucode/microcode_amd_fam15h.bin.README |   13
++++++++
 3 files changed, 88 insertions(+)
 create mode 100644 amd-ucode/README
 create mode 100644 amd-ucode/microcode_amd.bin.README
 create mode 100644 amd-ucode/microcode_amd_fam15h.bin.README
amd-ucode/README new file +0 -0
new file mode 100644
index 0000000..a92831d

amd-ucode/README line 5

Quoted 5 lines
amd-ucode/README new file +5 -0
@@ -0,0 +1,46 @@
+This package provides latest microcode patches
+for AMD processor families >= 0x10.
+
+See http://www.amd64.org/support/microcode.html
+for details.

Wasn't this URL deprecated (at least it's offline now)?

Marc

#2 lore raw

Yes, this site is down for the moment but we are working to get it back up as an informational site. It will not be used as the primary distribution site for the ucode. We want to direct people to the linux-firmware tree.

Quoted 41 lines

-----Original Message-----
From: Marc Dietrich [mailto:[email protected]]
Sent: Saturday, July 20, 2013 4:44 AM
To: Hurwitz, Sherry
Cc: David Woodhouse; Ben Hutchings; [email protected]
Subject: Re: [PATCH] linux-firmware/AMD: add readme files for amd-ucode

Quoted 8 lines · On Friday 19 July 2013 17:43:52 Sherry Hurwitz wrote:

File: README
File: microcode_amd.bin.README
File: microcode_amd_fam15h.bin.README

---
 amd-ucode/README                          |   46

+++++++++++++++++++++++++++++ amd-ucode/microcode_amd.bin.README

|

Quoted 1 line

29 ++++++++++++++++++ amd-ucode/microcode_amd_fam15h.bin.README |

13

amd-ucode/README new file mode

Quoted 7 lines

++++++++

 3 files changed, 88 insertions(+)
 create mode 100644 amd-ucode/README
 create mode 100644 amd-ucode/microcode_amd.bin.README
 create mode 100644 amd-ucode/microcode_amd_fam15h.bin.README
amd-ucode/README new file mode renamed from amd-ucode/README +0 -0

100644

amd-ucode/README line 5

Quoted 9 lines

index 0000000..a92831d

amd-ucode/README new file +5 -0
@@ -0,0 +1,46 @@
+This package provides latest microcode patches for AMD processor
+families >= 0x10.
+
+See http://www.amd64.org/support/microcode.html
+for details.

Wasn't this URL deprecated (at least it's offline now)?

Marc

A message that is not in the archive (sent off-list or not yet received): CAJJHM5r9_2h1J=MqXssLAW=cJ8kwcUuG=TOJ_SQBsD0c0ybsuA@mail.gmail.com

#4 lore raw
Quoted 4 lines · suravee suthikulpanit

Hi All,

I just would like to follow up the status of this patch.

I've not applied it, and I think the documentation needs some changes to make it useful outside of www.amd64.org.

Ben.

Signature · 2 lines
Ben Hutchings
The two most common things in the universe are hydrogen and stupidity.
#5 lore raw
In reply to Sherry Hurwitz

I don't think this documentation is currently very useful. See further comments inline:

Quoted 20 lines · Sherry Hurwitz

File: README
File: microcode_amd.bin.README
File: microcode_amd_fam15h.bin.README

---
 amd-ucode/README                          |   46 +++++++++++++++++++++++++++++
 amd-ucode/microcode_amd.bin.README        |   29 ++++++++++++++++++
 amd-ucode/microcode_amd_fam15h.bin.README |   13 ++++++++
 3 files changed, 88 insertions(+)
 create mode 100644 amd-ucode/README
 create mode 100644 amd-ucode/microcode_amd.bin.README
 create mode 100644 amd-ucode/microcode_amd_fam15h.bin.README
amd-ucode/README new file +0 -0
new file mode 100644
index 0000000..a92831d

amd-ucode/README line 5

Quoted 5 lines
amd-ucode/README new file +5 -0
@@ -0,0 +1,46 @@
+This package provides latest microcode patches
+for AMD processor families >= 0x10.
+
+See http://www.amd64.org/support/microcode.html
+for details.

As Marc Dietrich pointed out, this URL is currently broken.

amd-ucode/README line 12

Quoted 6 lines
amd-ucode/README new file +6 -0
+Microcode patches are included in container files:
+- 'microcode_amd.bin' (for AMD CPU families 10h - 14h)
+- 'microcode_amd_fam15h.bin' (for AMD CPU family 15h)
+
+Please read the file INSTALL for install instructions.
+Please read the file LICENSE for licensing information.

These aren't the filenames used in linux-firmware.git.

Quoted 7 lines
amd-ucode/README new file +7 -0
+The container files include following microcode patches:
+
+    mc_patch_01000083_PUB-v4/mc_patch_01000083.asm
+    mc_patch_01000084_PUB-v4/mc_patch_01000084.asm
+    mc_patch_010000C7_PUB-v1/mc_patch_010000C7.asm
+    mc_patch_010000C8_PUB-v1/mc_patch_010000C8.asm
+    mc_patch_010000D9_PUB-v1/mc_patch_010000D9.asm

amd-ucode/README line 30

Quoted 10 lines
amd-ucode/README new file +10 -0
+    mc_patch_010000DA_PUB-v1/mc_patch_010000DA.asm
+    mc_patch_010000DB_PUB-v1/mc_patch_010000DB.asm
+    mc_patch_010000DC_PUB-v1/mc_patch_010000DC.asm
+    mc_patch_02000032_PUB-v3/mc_patch_02000032.asm
+    mc_patch_03000027_PUB-v1/mc_patch_03000027.asm
+    mc_patch_05000029_PUB-v1/mc_patch_05000029.asm
+    mc_patch_05000119_PUB-v1/mc_patch_05000119.asm
+    mc_patch_0600063D_PUB-v1/mc_patch_0600063D.asm
+    mc_patch_06000822_PUB-v1/mc_patch_06000822.asm
+    mc_patch_06001119_PUB-v2/mc_patch_06001119.asm

Are these filenames supposed to be meaningful? Are they referenced by some other documentation?

Quoted 5 lines
amd-ucode/README new file +5 -0
+***********************************************************************
+Copyright 2008-2013 ADVANCED MICRO DEVICES, INC.  All Rights Reserved.
+
+AMD is granting you permission to use this software and documentation
+(if any) (collectively, the “Materials”) pursuant to the terms and

amd-ucode/README line 46

Quoted 10 lines
amd-ucode/README new file +10 -0
+conditions of the Software License Agreement included with the
+Materials.  This header does NOT give you permission to use the
+Materials or any rights under AMD’s intellectual property.  Your use
+of any portion of these Materials shall constitute your acceptance of
+those terms and conditions.  If you do not agree to the terms and
+conditions of the Software License Agreement, you do not have
+permission to use any portion of these Materials.  If you do not have
+a copy of the Software License Agreement, contact your AMD
+representative for a copy.
+

Isn't this redundant with LICENSE.amd-ucode?

amd-ucode/microcode_amd.bin.README line 6

Quoted 12 lines
amd-ucode/microcode_amd.bin.README new file +6 -0
new file mode 100644
index 0000000..617d951
@@ -0,0 +1,29 @@
+;******************************************************************************
+; The associated microcode container file fixes the errata as documented in
+; Revision Guide for AMD Family 10h Processors, order #41322,
+; Revision Guide for AMD Family 11h Processors, order #41788,
+; Revision Guide for AMD Family 12h Processors, order #44739,
+; Revision Guide for AMD Family 14h Models 00h-0Fh Processors, order #47534,

Where can these be found? (I found *some* revision guides with a web search, but nothing with errata numbers above 400.)

Quoted 12 lines
amd-ucode/microcode_amd.bin.README new file +12 -0
+; for different revisions of AMD processors as follows:
+; 
+; CPUIDFn[0000_0001]_EAX; ID;         Errata fixed;
+;
+; 0x00100F22;             0x01000083; 244, 260, 280, 302, 308, 315, 342;
+; 0x00100F23;             0x01000083; 244, 260, 280, 302, 308, 315, 342;
+; 0x00100F2A;             0x01000084; 244, 260, 280, 302, 308, 315, 342;
+; 0x00100F42;             0x010000DB; 342, 440, 573;
+; 0x00100F43;             0x010000C8; 407, 440;
+; 0x00100F52;             0x010000DB; 342, 440, 573;
+; 0x00100F53;             0x010000C8; 407, 440;
+; 0x00100F62;             0x010000C7; 407, 440;

amd-ucode/microcode_amd.bin.README line 29

Quoted 10 lines
amd-ucode/microcode_amd.bin.README new file +10 -0
+; 0x00100F63;             0x010000C8; 407, 440;
+; 0x00100F80;             0x010000DA; 419, 440, 573;
+; 0x00100F81;             0x010000D9; #406, #407, #440, #573, #669;
+; 0x00100F91;             0x010000D9; #406, #407, #440, #573, #669;
+; 0x00100FA0;             0x010000DC; 438, 440, 573;
+; 0x00200F31;             0x02000032; 311, 316;
+; 0x00300F10;             0x03000027; #564, #573, #662, #686;
+; 0x00500F10;             0x05000029; #461, #564, #594, #595, #784;
+; 0x00500F20;             0x05000119; #461, #564, #594, #639, #662, #686, #784;
+;******************************************************************************

Presumably when I see this in /proc/cpuinfo:

cpu family : 16
model : 6
model name : AMD Turion(tm) II Neo N54L Dual-Core Processor
stepping : 3
microcode : 0x10000c8

this means the relevant line is:

amd-ucode/microcode_amd.bin.README line 15

Quoted 1 line
amd-ucode/microcode_amd.bin.README new file +1 -0
+; 0x00100F43;             0x010000C8; 407, 440;

[...]

But can you make the documentation explicit about how to look this up based on the information Linux provides?

Ben.

Signature · 2 lines
Ben Hutchings
The two most common things in the universe are hydrogen and stupidity.
#6 lore raw
Quoted 18 lines · Ben Hutchings

I don't think this documentation is currently very useful. See further comments inline:

Quoted 14 lines · Sherry Hurwitz

File: README
File: microcode_amd.bin.README
File: microcode_amd_fam15h.bin.README

---
  amd-ucode/README                          |   46 +++++++++++++++++++++++++++++
  amd-ucode/microcode_amd.bin.README        |   29 ++++++++++++++++++
  amd-ucode/microcode_amd_fam15h.bin.README |   13 ++++++++
  3 files changed, 88 insertions(+)

create mode 100644 amd-ucode/README
create mode 100644 amd-ucode/microcode_amd.bin.README create mode 100644 amd-ucode/microcode_amd_fam15h.bin.README

Quoted 12 lines

amd-ucode/README line 5

Quoted 11 lines
amd-ucode/README new file +5 -0
new file mode 100644
index 0000000..a92831d
@@ -0,0 +1,46 @@
+This package provides latest microcode patches
+for AMD processor families >= 0x10.
+
+See http://www.amd64.org/support/microcode.html
+for details.

As Marc Dietrich pointed out, this URL is currently broken.

I will remove the reference to the URL.

Quoted 8 lines

amd-ucode/README line 12

Quoted 7 lines
amd-ucode/README new file +6 -0
+Microcode patches are included in container files:
+- 'microcode_amd.bin' (for AMD CPU families 10h - 14h)
+- 'microcode_amd_fam15h.bin' (for AMD CPU family 15h)
+
+Please read the file INSTALL for install instructions.
+Please read the file LICENSE for licensing information.

These aren't the filenames used in linux-firmware.git.

no the files in linux-firmware.git are container files that hold these .asm files which are the true ucode. This was merely listing what is in the container.

Quoted 12 lines
Quoted 12 lines
amd-ucode/README new file +11 -0
+The container files include following microcode patches:
+
+    mc_patch_01000083_PUB-v4/mc_patch_01000083.asm
+    mc_patch_01000084_PUB-v4/mc_patch_01000084.asm
+    mc_patch_010000C7_PUB-v1/mc_patch_010000C7.asm
+    mc_patch_010000C8_PUB-v1/mc_patch_010000C8.asm
+    mc_patch_010000D9_PUB-v1/mc_patch_010000D9.asm
+    mc_patch_010000DA_PUB-v1/mc_patch_010000DA.asm
+    mc_patch_010000DB_PUB-v1/mc_patch_010000DB.asm
+    mc_patch_010000DC_PUB-v1/mc_patch_010000DC.asm
+    mc_patch_02000032_PUB-v3/mc_patch_02000032.asm
Quoted 8 lines

amd-ucode/README line 30

Quoted 6 lines
amd-ucode/README new file +6 -0
+    mc_patch_03000027_PUB-v1/mc_patch_03000027.asm
+    mc_patch_05000029_PUB-v1/mc_patch_05000029.asm
+    mc_patch_05000119_PUB-v1/mc_patch_05000119.asm
+    mc_patch_0600063D_PUB-v1/mc_patch_0600063D.asm
+    mc_patch_06000822_PUB-v1/mc_patch_06000822.asm
+    mc_patch_06001119_PUB-v2/mc_patch_06001119.asm

Are these filenames supposed to be meaningful? Are they referenced by some other documentation?

These names include the patch ID numbers that could be referenced in the table showing the list of errata or when talking to AMD support. I will explain that in a better way in a new version of the document

Quoted 17 lines
Quoted 6 lines
amd-ucode/README new file +5 -0
+***********************************************************************
+Copyright 2008-2013 ADVANCED MICRO DEVICES, INC.  All Rights Reserved.
+
+AMD is granting you permission to use this software and documentation
+(if any) (collectively, the “Materials”) pursuant to the terms and

amd-ucode/README line 46

Quoted 10 lines
amd-ucode/README new file +10 -0
+conditions of the Software License Agreement included with the
+Materials.  This header does NOT give you permission to use the
+Materials or any rights under AMD’s intellectual property.  Your use
+of any portion of these Materials shall constitute your acceptance of
+those terms and conditions.  If you do not agree to the terms and
+conditions of the Software License Agreement, you do not have
+permission to use any portion of these Materials.  If you do not have
+a copy of the Software License Agreement, contact your AMD
+representative for a copy.
+

Isn't this redundant with LICENSE.amd-ucode?

Yes, I will remove this in version 2

Quoted 15 lines

amd-ucode/microcode_amd.bin.README line 6

Quoted 13 lines
amd-ucode/microcode_amd.bin.README new file +6 -0
new file mode 100644
index 0000000..617d951
@@ -0,0 +1,29 @@
+;******************************************************************************
+; The associated microcode container file fixes the errata as documented in
+; Revision Guide for AMD Family 10h Processors, order #41322,
+; Revision Guide for AMD Family 11h Processors, order #41788,
+; Revision Guide for AMD Family 12h Processors, order #44739,
+; Revision Guide for AMD Family 14h Models 00h-0Fh Processors, order #47534,

Where can these be found? (I found *some* revision guides with a web search, but nothing with errata numbers above 400.)

I will include the URL for amd developer central where they can be downloaded.

Quoted 31 lines
Quoted 13 lines
amd-ucode/microcode_amd.bin.README new file +12 -0
+; for different revisions of AMD processors as follows:
+;
+; CPUIDFn[0000_0001]_EAX; ID;         Errata fixed;
+;
+; 0x00100F22;             0x01000083; 244, 260, 280, 302, 308, 315, 342;
+; 0x00100F23;             0x01000083; 244, 260, 280, 302, 308, 315, 342;
+; 0x00100F2A;             0x01000084; 244, 260, 280, 302, 308, 315, 342;
+; 0x00100F42;             0x010000DB; 342, 440, 573;
+; 0x00100F43;             0x010000C8; 407, 440;
+; 0x00100F52;             0x010000DB; 342, 440, 573;
+; 0x00100F53;             0x010000C8; 407, 440;
+; 0x00100F62;             0x010000C7; 407, 440;

amd-ucode/microcode_amd.bin.README line 29

Quoted 10 lines
amd-ucode/microcode_amd.bin.README new file +10 -0
+; 0x00100F63;             0x010000C8; 407, 440;
+; 0x00100F80;             0x010000DA; 419, 440, 573;
+; 0x00100F81;             0x010000D9; #406, #407, #440, #573, #669;
+; 0x00100F91;             0x010000D9; #406, #407, #440, #573, #669;
+; 0x00100FA0;             0x010000DC; 438, 440, 573;
+; 0x00200F31;             0x02000032; 311, 316;
+; 0x00300F10;             0x03000027; #564, #573, #662, #686;
+; 0x00500F10;             0x05000029; #461, #564, #594, #595, #784;
+; 0x00500F20;             0x05000119; #461, #564, #594, #639, #662, #686, #784;
+;******************************************************************************

Presumably when I see this in /proc/cpuinfo:

cpu family : 16
model : 6
model name : AMD Turion(tm) II Neo N54L Dual-Core Processor
stepping : 3
microcode : 0x10000c8

Quoted 7 lines

this means the relevant line is:

amd-ucode/microcode_amd.bin.README line 15

Quoted 1 line
amd-ucode/microcode_amd.bin.README new file +1 -0
+; 0x00100F43;             0x010000C8; 407, 440;

[...]

But can you make the documentation explicit about how to look this up based on the information Linux provides?

yes, will add this to the document.

Quoted 3 lines

Ben.

Regards,
Sherry