summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--LICENSE.amd-sev64
-rw-r--r--LICENSE.amd-ucode64
-rw-r--r--LICENSE.amd_pmf51
-rw-r--r--README235
-rw-r--r--amd-ucode/README64
-rw-r--r--amd-ucode/microcode_amd.binbin0 -> 12684 bytes
-rw-r--r--amd-ucode/microcode_amd.bin.asc11
-rw-r--r--amd-ucode/microcode_amd_fam15h.binbin0 -> 7876 bytes
-rw-r--r--amd-ucode/microcode_amd_fam15h.bin.asc11
-rw-r--r--amd-ucode/microcode_amd_fam16h.binbin0 -> 3510 bytes
-rw-r--r--amd-ucode/microcode_amd_fam16h.bin.asc11
-rw-r--r--amd-ucode/microcode_amd_fam17h.binbin0 -> 12924 bytes
-rw-r--r--amd-ucode/microcode_amd_fam17h.bin.asc11
-rw-r--r--amd-ucode/microcode_amd_fam19h.binbin0 -> 39172 bytes
-rw-r--r--amd-ucode/microcode_amd_fam19h.bin.asc11
-rw-r--r--amd/amd_sev_fam17h_model0xh.sbinbin0 -> 33728 bytes
-rw-r--r--amd/amd_sev_fam17h_model3xh.sbinbin0 -> 45440 bytes
-rw-r--r--amd/amd_sev_fam19h_model0xh.sbinbin0 -> 88320 bytes
-rw-r--r--amd/amd_sev_fam19h_model1xh.sbinbin0 -> 92864 bytes
-rw-r--r--amdtee/773bd96f-b83f-4d52-b12dc529b13d8543.binbin0 -> 12864 bytes
l---------amdtee/amd_pmf_v3.bin1
21 files changed, 534 insertions, 0 deletions
diff --git a/LICENSE.amd-sev b/LICENSE.amd-sev
new file mode 100644
index 0000000..de4d948
--- /dev/null
+++ b/LICENSE.amd-sev
@@ -0,0 +1,64 @@
+Copyright (C) 2015-2019 Advanced Micro Devices, Inc., All rights reserved.
+
+Permission is hereby granted by Advanced Micro Devices, Inc. ("AMD"),
+free of any license fees, to any person obtaining a copy of this
+microcode in binary form (the "Software") ("You"), to install,
+reproduce, copy and distribute copies of the Software and to permit
+persons to whom the Software is provided to do the same, subject to
+the following terms and conditions. Your use of any portion of the
+Software shall constitute Your acceptance of the following terms and
+conditions. If You do not agree to the following terms and conditions,
+do not use, retain or redistribute any portion of the Software.
+
+If You redistribute this Software, You must reproduce the above
+copyright notice and this license with the Software.
+Without specific, prior, written permission from AMD, You may not
+reference AMD or AMD products in the promotion of any product derived
+from or incorporating this Software in any manner that implies that
+AMD endorses or has certified such product derived from or
+incorporating this Software.
+
+You may not reverse engineer, decompile, or disassemble this Software
+or any portion thereof.
+
+THE SOFTWARE IS PROVIDED "AS IS" WITHOUT ANY EXPRESS OR IMPLIED
+WARRANTY OF ANY KIND, INCLUDING BUT NOT LIMITED TO WARRANTIES OF
+MERCHANTABILITY, NONINFRINGEMENT, TITLE, FITNESS FOR ANY PARTICULAR
+PURPOSE, OR WARRANTIES ARISING FROM CONDUCT, COURSE OF DEALING, OR
+USAGE OF TRADE. IN NO EVENT SHALL AMD OR ITS LICENSORS BE LIABLE FOR
+ANY DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR
+LOSS OF PROFITS, BUSINESS INTERRUPTION, OR LOSS OF DATA OR
+INFORMATION) ARISING OUT OF AMD'S NEGLIGENCE, GROSS NEGLIGENCE, THE
+USE OF OR INABILITY TO USE THE SOFTWARE, EVEN IF AMD HAS BEEN ADVISED
+OF THE POSSIBILITY OF SUCH DAMAGES. BECAUSE SOME JURISDICTIONS
+PROHIBIT THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR
+INCIDENTAL DAMAGES OR THE EXCLUSION OF IMPLIED WARRANTIES, THE ABOVE
+LIMITATION MAY NOT APPLY TO YOU.
+
+Without limiting the foregoing, the Software may implement third party
+technologies for which You must obtain licenses from parties other
+than AMD. You agree that AMD has not obtained or conveyed to You, and
+that You shall be responsible for obtaining the rights to use and/or
+distribute the applicable underlying intellectual property rights
+related to the third party technologies. These third party
+technologies are not licensed hereunder.
+
+If You use the Software (in whole or in part), You shall adhere to all
+applicable U.S., European, and other export laws, including but not
+limited to the U.S. Export Administration Regulations ("EAR"), (15
+C.F.R. Sections 730 through 774), and E.U. Council Regulation (EC) No
+1334/2000 of 22 June 2000. Further, pursuant to Section 740.6 of the
+EAR, You hereby certify that, except pursuant to a license granted by
+the United States Department of Commerce Bureau of Industry and
+Security or as otherwise permitted pursuant to a License Exception
+under the U.S. Export Administration Regulations ("EAR"), You will not
+(1) export, re-export or release to a national of a country in Country
+Groups D:1, E:1 or E:2 any restricted technology, software, or source
+code You receive hereunder, or (2) export to Country Groups D:1, E:1
+or E:2 the direct product of such technology or software, if such
+foreign produced direct product is subject to national security
+controls as identified on the Commerce Control List (currently found
+in Supplement 1 to Part 774 of EAR). For the most current Country
+Group listings, or for additional information about the EAR or Your
+obligations under those regulations, please refer to the U.S. Bureau
+of Industry and Security’s website at ttp://www.bis.doc.gov/.
diff --git a/LICENSE.amd-ucode b/LICENSE.amd-ucode
new file mode 100644
index 0000000..ea47c57
--- /dev/null
+++ b/LICENSE.amd-ucode
@@ -0,0 +1,64 @@
+Copyright (C) 2010-2022 Advanced Micro Devices, Inc., All rights reserved.
+
+Permission is hereby granted by Advanced Micro Devices, Inc. ("AMD"),
+free of any license fees, to any person obtaining a copy of this
+microcode in binary form (the "Software") ("You"), to install,
+reproduce, copy and distribute copies of the Software and to permit
+persons to whom the Software is provided to do the same, subject to
+the following terms and conditions. Your use of any portion of the
+Software shall constitute Your acceptance of the following terms and
+conditions. If You do not agree to the following terms and conditions,
+do not use, retain or redistribute any portion of the Software.
+
+If You redistribute this Software, You must reproduce the above
+copyright notice and this license with the Software.
+Without specific, prior, written permission from AMD, You may not
+reference AMD or AMD products in the promotion of any product derived
+from or incorporating this Software in any manner that implies that
+AMD endorses or has certified such product derived from or
+incorporating this Software.
+
+You may not reverse engineer, decompile, or disassemble this Software
+or any portion thereof.
+
+THE SOFTWARE IS PROVIDED "AS IS" WITHOUT ANY EXPRESS OR IMPLIED
+WARRANTY OF ANY KIND, INCLUDING BUT NOT LIMITED TO WARRANTIES OF
+MERCHANTABILITY, NONINFRINGEMENT, TITLE, FITNESS FOR ANY PARTICULAR
+PURPOSE, OR WARRANTIES ARISING FROM CONDUCT, COURSE OF DEALING, OR
+USAGE OF TRADE. IN NO EVENT SHALL AMD OR ITS LICENSORS BE LIABLE FOR
+ANY DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR
+LOSS OF PROFITS, BUSINESS INTERRUPTION, OR LOSS OF DATA OR
+INFORMATION) ARISING OUT OF AMD'S NEGLIGENCE, GROSS NEGLIGENCE, THE
+USE OF OR INABILITY TO USE THE SOFTWARE, EVEN IF AMD HAS BEEN ADVISED
+OF THE POSSIBILITY OF SUCH DAMAGES. BECAUSE SOME JURISDICTIONS
+PROHIBIT THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR
+INCIDENTAL DAMAGES OR THE EXCLUSION OF IMPLIED WARRANTIES, THE ABOVE
+LIMITATION MAY NOT APPLY TO YOU.
+
+Without limiting the foregoing, the Software may implement third party
+technologies for which You must obtain licenses from parties other
+than AMD. You agree that AMD has not obtained or conveyed to You, and
+that You shall be responsible for obtaining the rights to use and/or
+distribute the applicable underlying intellectual property rights
+related to the third party technologies. These third party
+technologies are not licensed hereunder.
+
+If You use the Software (in whole or in part), You shall adhere to all
+applicable U.S., European, and other export laws, including but not
+limited to the U.S. Export Administration Regulations ("EAR"), (15
+C.F.R. Sections 730 through 774), and E.U. Council Regulation (EC) No
+1334/2000 of 22 June 2000. Further, pursuant to Section 740.6 of the
+EAR, You hereby certify that, except pursuant to a license granted by
+the United States Department of Commerce Bureau of Industry and
+Security or as otherwise permitted pursuant to a License Exception
+under the U.S. Export Administration Regulations ("EAR"), You will not
+(1) export, re-export or release to a national of a country in Country
+Groups D:1, E:1 or E:2 any restricted technology, software, or source
+code You receive hereunder, or (2) export to Country Groups D:1, E:1
+or E:2 the direct product of such technology or software, if such
+foreign produced direct product is subject to national security
+controls as identified on the Commerce Control List (currently found
+in Supplement 1 to Part 774 of EAR). For the most current Country
+Group listings, or for additional information about the EAR or Your
+obligations under those regulations, please refer to the U.S. Bureau
+of Industry and Security?s website at ttp://www.bis.doc.gov/.
diff --git a/LICENSE.amd_pmf b/LICENSE.amd_pmf
new file mode 100644
index 0000000..349e207
--- /dev/null
+++ b/LICENSE.amd_pmf
@@ -0,0 +1,51 @@
+Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.
+
+REDISTRIBUTION: Permission is hereby granted, free of any license fees,
+to any person obtaining a copy of this microcode (the "Software"), to
+install, reproduce, copy and distribute copies, in binary form only, of
+the Software and to permit persons to whom the Software is provided to
+do the same, provided that the following conditions are met:
+
+No reverse engineering, decompilation, or disassembly of this Software
+is permitted.
+
+Redistributions must reproduce the above copyright notice, this
+permission notice, and the following disclaimers and notices in the
+Software documentation and/or other materials provided with the
+Software.
+
+DISCLAIMER: THE USE OF THE SOFTWARE IS AT YOUR SOLE RISK. THE SOFTWARE
+IS PROVIDED "AS IS" AND WITHOUT WARRANTY OF ANY KIND AND COPYRIGHT
+HOLDER AND ITS LICENSORS EXPRESSLY DISCLAIM ALL WARRANTIES, EXPRESS AND
+IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
+COPYRIGHT HOLDER AND ITS LICENSORS DO NOT WARRANT THAT THE SOFTWARE WILL
+MEET YOUR REQUIREMENTS, OR THAT THE OPERATION OF THE SOFTWARE WILL BE
+UNINTERRUPTED OR ERROR-FREE. THE ENTIRE RISK ASSOCIATED WITH THE USE OF
+THE SOFTWARE IS ASSUMED BY YOU. FURTHERMORE, COPYRIGHT HOLDER AND ITS
+LICENSORS DO NOT WARRANT OR MAKE ANY REPRESENTATIONS REGARDING THE USE
+OR THE RESULTS OF THE USE OF THE SOFTWARE IN TERMS OF ITS CORRECTNESS,
+ACCURACY, RELIABILITY, CURRENTNESS, OR OTHERWISE.
+
+DISCLAIMER: UNDER NO CIRCUMSTANCES INCLUDING NEGLIGENCE, SHALL COPYRIGHT
+HOLDER AND ITS LICENSORS OR ITS DIRECTORS, OFFICERS, EMPLOYEES OR AGENTS
+("AUTHORIZED REPRESENTATIVES") BE LIABLE FOR ANY INCIDENTAL, INDIRECT,
+SPECIAL OR CONSEQUENTIAL DAMAGES (INCLUDING DAMAGES FOR LOSS OF BUSINESS
+PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, AND THE
+LIKE) ARISING OUT OF THE USE, MISUSE OR INABILITY TO USE THE SOFTWARE,
+BREACH OR DEFAULT, INCLUDING THOSE ARISING FROM INFRINGEMENT OR ALLEGED
+INFRINGEMENT OF ANY PATENT, TRADEMARK, COPYRIGHT OR OTHER INTELLECTUAL
+PROPERTY RIGHT EVEN IF COPYRIGHT HOLDER AND ITS AUTHORIZED
+REPRESENTATIVES HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. IN
+NO EVENT SHALL COPYRIGHT HOLDER OR ITS AUTHORIZED REPRESENTATIVES TOTAL
+LIABILITY FOR ALL DAMAGES, LOSSES, AND CAUSES OF ACTION (WHETHER IN
+CONTRACT, TORT (INCLUDING NEGLIGENCE) OR OTHERWISE) EXCEED THE AMOUNT OF
+US$10.
+
+Notice: The Software is subject to United States export laws and
+regulations. You agree to comply with all domestic and international
+export laws and regulations that apply to the Software, including but
+not limited to the Export Administration Regulations administered by the
+U.S. Department of Commerce and International Traffic in Arm Regulations
+administered by the U.S. Department of State. These laws include
+restrictions on destinations, end users and end use.
diff --git a/README b/README
new file mode 100644
index 0000000..4b7ece5
--- /dev/null
+++ b/README
@@ -0,0 +1,235 @@
+This amd64-microcode release was based on the linux-firmware tree.
+The linux-firmware tree can be found in kernel.org.
+
+It includes AMD-SEV firmware, AMD-UCODE firmware, and AMD-TEE applications
+(which are often firmware for other AMD drivers). The package version is now
+based on the linux-firmware release tag that included the newest of any of the
+included firmware.
+
+amdtee/ currently includes firmware for the amd_pmf driver.
+
+
+latest commits in this release:
+
+commit a193c6517fbfc0e7a4e2f8b06cb2742a82a8dd63
+Author: John Allen <john.allen@amd.com>
+Date: Tue Jan 16 21:07:43 2024 +0000
+
+ linux-firmware: Update AMD cpu microcode
+
+ * Update AMD cpu microcode for processor family 19h
+
+ Key Name = AMD Microcode Signing Key (for signing microcode container files only)
+ Key ID = F328AE73
+ Key Fingerprint = FC7C 6C50 5DAF CC14 7183 57CA E4BE 5339 F328 AE73
+
+ Signed-off-by: John Allen <john.allen@amd.com>
+
+commit bfc33c1e308e1ebd5f216781ea0b091c2379bbb2
+Author: John Allen <john.allen@amd.com>
+Date: Tue Dec 5 20:10:11 2023 +0000
+
+ linux-firmware: Update AMD cpu microcode
+
+ * Update AMD cpu microcode for processor family 17h
+
+ Key Name = AMD Microcode Signing Key (for signing microcode container files only)
+ Key ID = F328AE73
+ Key Fingerprint = FC7C 6C50 5DAF CC14 7183 57CA E4BE 5339 F328 AE73
+
+ Signed-off-by: John Allen <john.allen@amd.com>
+
+commit 06afd7f939c5b245b2af9e0fee13026f2aaf77fa
+Author: John Allen <john.allen@amd.com>
+Date: Thu Oct 19 17:03:20 2023 +0000
+
+ linux-firmware: Update AMD cpu microcode
+
+ * Update AMD cpu microcode for processor family 19h
+
+ Key Name = AMD Microcode Signing Key (for signing microcode container files only)
+ Key ID = F328AE73
+ Key Fingerprint = FC7C 6C50 5DAF CC14 7183 57CA E4BE 5339 F328 AE73
+
+ Signed-off-by: John Allen <john.allen@amd.com>
+
+commit 328beacb005045b313cd36a217ffbe8d9c37090a
+Author: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
+Date: Tue Sep 26 21:11:07 2023 +0530
+
+ amd_pmf: Add initial PMF TA for Smart PC Solution Builder
+
+ AMD PMF driver loads the PMF TA (Trusted Application) into the AMD
+ ASP's (AMD Security Processor) TEE (Trusted Execution Environment).
+
+ PMF Trusted Application is a secured firmware placed under
+ /lib/firmware/amdtee gets loaded only when the TEE environment is
+ initialized. This Firmware adds the initial support for PMF Smart
+ PC Solution Builder.
+
+ Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
+
+commit d252e92d50c02623ea9da0a140240f6d7ac4558e
+Author: Sandipan Das <sandipan.das@amd.com>
+Date: Thu Sep 14 20:16:51 2023 +0530
+
+ linux-firmware: amd-ucode: Add note on fam19h warnings
+
+ When running 5.19+ kernels on Genoa or Bergamo systems, some microcode
+ patches are known to trigger warnings in the PMI handler. Add a note
+ to list the required minimum patch levels for addressing this problem.
+
+ Signed-off-by: Sandipan Das <sandipan.das@amd.com>
+ Signed-off-by: Josh Boyer <jwboyer@kernel.org>
+
+commit 97e88a0d70825d7dc0635d8d898c393b6144ebcc
+Author: John Allen <john.allen@amd.com>
+Date: Wed Aug 23 20:28:06 2023 +0000
+
+ linux-firmware: Update AMD SEV firmware
+
+ Update AMD SEV firmware version 1.55 build 8 for AMD family 19h processors
+ with models in the range 00h to 0fh.
+
+ Add AMD SEV firmware version 1.55 build 21 for AMD family 19h processors
+ with models in the range 10h to 1fh.
+
+ Signed-off-by: John Allen <john.allen@amd.com>
+ Signed-off-by: Josh Boyer <jwboyer@kernel.org>
+
+commit f2eb058afc57348cde66852272d6bf11da1eef8f
+Author: John Allen <john.allen@amd.com>
+Date: Tue Aug 8 19:02:39 2023 +0000
+
+ linux-firmware: Update AMD cpu microcode
+
+ * Update AMD cpu microcode for processor family 19h
+
+ Key Name = AMD Microcode Signing Key (for signing microcode container files only)
+ Key ID = F328AE73
+ Key Fingerprint = FC7C 6C50 5DAF CC14 7183 57CA E4BE 5339 F328 AE73
+
+ Signed-off-by: John Allen <john.allen@amd.com>
+ Signed-off-by: Josh Boyer <jwboyer@kernel.org>
+
+commit 0bc3126c9cfa0b8c761483215c25382f831a7c6f
+Author: John Allen <john.allen@amd.com>
+Date: Wed Jul 19 19:17:57 2023 +0000
+
+ linux-firmware: Update AMD fam17h cpu microcode
+
+ * Update AMD cpu microcode for processor family 17h
+
+ Key Name = AMD Microcode Signing Key (for signing microcode container files only)
+ Key ID = F328AE73
+ Key Fingerprint = FC7C 6C50 5DAF CC14 7183 57CA E4BE 5339 F328 AE73
+
+ Signed-off-by: John Allen <john.allen@amd.com>
+ Signed-off-by: Josh Boyer <jwboyer@kernel.org>
+
+commit b250b32ab1d044953af2dc5e790819a7703b7ee6
+Author: John Allen <john.allen@amd.com>
+Date: Tue Jul 18 23:19:59 2023 +0000
+
+ linux-firmware: Update AMD cpu microcode
+
+ * Update AMD cpu microcode for processor family 19h
+
+ Key Name = AMD Microcode Signing Key (for signing microcode container files only)
+ Key ID = F328AE73
+ Key Fingerprint = FC7C 6C50 5DAF CC14 7183 57CA E4BE 5339 F328 AE73
+
+ Signed-off-by: John Allen <john.allen@amd.com>
+ Signed-off-by: Josh Boyer <jwboyer@kernel.org>
+
+commit 69143e8eca62a80b9791b8d358d1cc4c90e373c9
+Author: John Allen <john.allen@amd.com>
+Date: Fri Apr 14 16:13:58 2023 +0000
+
+ linux-firmware: Update AMD cpu microcode
+
+ * Update AMD cpu microcode for processor family 17h
+
+ Key Name = AMD Microcode Signing Key (for signing microcode container files only)
+ Key ID = F328AE73
+ Key Fingerprint = FC7C 6C50 5DAF CC14 7183 57CA E4BE 5339 F328 AE73
+
+ Signed-off-by: John Allen <john.allen@amd.com>
+ Signed-off-by: Josh Boyer <jwboyer@kernel.org>
+
+commit f79e4ba7ed345c55b72faaaa94ff7430f4b9e1aa
+Author: John Allen <john.allen@amd.com>
+Date: Tue Jan 31 20:13:41 2023 +0000
+
+ linux-firmware: Update AMD cpu microcode
+
+ * Update AMD cpu microcode for processor family 19h
+
+ Key Name = AMD Microcode Signing Key (for signing microcode container files only)
+ Key ID = F328AE73
+ Key Fingerprint = FC7C 6C50 5DAF CC14 7183 57CA E4BE 5339 F328 AE73
+
+ Signed-off-by: John Allen <john.allen@amd.com>
+ Signed-off-by: Josh Boyer <jwboyer@kernel.org>
+
+commit fdf1a65258522edf18a0a1768fbafa61ed07e598
+Author: John Allen <john.allen@amd.com>
+Date: Fri Sep 30 15:51:00 2022 +0000
+
+ linux-firmware: Update AMD cpu microcode
+
+ * Update AMD cpu microcode for processor family 19h
+
+ Key Name = AMD Microcode Signing Key (for signing microcode container files only)
+ Key ID = F328AE73
+ Key Fingerprint = FC7C 6C50 5DAF CC14 7183 57CA E4BE 5339 F328 AE73
+
+ Signed-off-by: John Allen <john.allen@amd.com>
+ Signed-off-by: Josh Boyer <jwboyer@kernel.org>
+
+commit 89ec6198f13d1007563ff87aae5de209e993be07
+Author: John Allen <john.allen@amd.com>
+Date: Tue Aug 9 20:29:50 2022 +0000
+
+ Add amd-ucode README file
+
+ Create new README file describing the microcode patch levels included in the
+ microcode container files in the amd-ucode directory.
+
+ Signed-off-by: John Allen <john.allen@amd.com>
+ [WHENCE entry added by Josh Boyer <jwboyer@kernel.org>
+ Signed-off-by: Josh Boyer <jwboyer@kernel.org>
+
+commit 31ec35bf14df835e2f9f7c8b1a8516a34f836df5
+Author: John Allen <john.allen@amd.com>
+Date: Fri Apr 8 19:55:39 2022 +0000
+
+ linux-firmware: Update AMD cpu microcode
+
+ * Update AMD cpu microcode for processor family 17h
+ * Update AMD cpu microcode for processor family 19h
+
+ Key Name = AMD Microcode Signing Key (for signing microcode container files only)
+ Key ID = F328AE73
+ Key Fingerprint = FC7C 6C50 5DAF CC14 7183 57CA E4BE 5339 F328 AE73
+
+ Signed-off-by: John Allen <john.allen@amd.com>
+ Signed-off-by: Josh Boyer <jwboyer@kernel.org>
+
+commit 21a405e4623d91c673028f67404541afdcfbd056
+Author: John Allen <john.allen@amd.com>
+Date: Fri Feb 25 18:46:35 2022 +0000
+
+ linux-firmware: Update AMD SEV firmware
+
+ Update AMD SEV firmware to version 0.17 build 48 for AMD family 17h
+ processors with models in the range 00h to 0fh.
+
+ Update AMD SEV firmware to version 0.24 build 15 for AMD family 17h
+ processors with models in the range 30h to 3fh.
+
+ Update AMD SEV firmware to version 1.51 build 3 for AMD family 19h
+ processors with models in the range 00h to 0fh.
+
+ Signed-off-by: John Allen <john.allen@amd.com>
+ Signed-off-by: Josh Boyer <jwboyer@kernel.org>
diff --git a/amd-ucode/README b/amd-ucode/README
new file mode 100644
index 0000000..9fd019c
--- /dev/null
+++ b/amd-ucode/README
@@ -0,0 +1,64 @@
+This repository includes microcode container files for family 15h, 16h,
+17h, and 19h AMD CPUs. Microcode patches for families earlier than 15h are
+included in the microcode_amd.bin microcode container file. The microcode
+patches included in an AMD CPU microcode container file can be listed using
+the script in the following git repository:
+https://github.com/AMDESE/amd_ucode_info
+
+The microcode patches included in the container files in this directory are
+listed below:
+
+Microcode patches in microcode_amd.bin:
+ Family=0x10 Model=0x02 Stepping=0x02: Patch=0x01000083 Length=960 bytes
+ Family=0x10 Model=0x02 Stepping=0x0a: Patch=0x01000084 Length=960 bytes
+ Family=0x10 Model=0x06 Stepping=0x02: Patch=0x010000c7 Length=960 bytes
+ Family=0x10 Model=0x05 Stepping=0x03: Patch=0x010000c8 Length=960 bytes
+ Family=0x10 Model=0x09 Stepping=0x01: Patch=0x010000d9 Length=960 bytes
+ Family=0x10 Model=0x08 Stepping=0x00: Patch=0x010000da Length=960 bytes
+ Family=0x10 Model=0x05 Stepping=0x02: Patch=0x010000db Length=960 bytes
+ Family=0x10 Model=0x0a Stepping=0x00: Patch=0x010000dc Length=960 bytes
+ Family=0x11 Model=0x03 Stepping=0x01: Patch=0x02000032 Length=512 bytes
+ Family=0x12 Model=0x01 Stepping=0x00: Patch=0x03000027 Length=960 bytes
+ Family=0x14 Model=0x01 Stepping=0x00: Patch=0x05000029 Length=1568 bytes
+ Family=0x14 Model=0x02 Stepping=0x00: Patch=0x05000119 Length=1568 bytes
+
+Microcode patches in microcode_amd_fam15h.bin:
+ Family=0x15 Model=0x01 Stepping=0x02: Patch=0x0600063e Length=2592 bytes
+ Family=0x15 Model=0x02 Stepping=0x00: Patch=0x06000852 Length=2592 bytes
+ Family=0x15 Model=0x10 Stepping=0x01: Patch=0x06001119 Length=2592 bytes
+
+Microcode patches in microcode_amd_fam16h.bin:
+ Family=0x16 Model=0x00 Stepping=0x01: Patch=0x0700010f Length=3458 bytes
+
+Microcode patches in microcode_amd_fam17h.bin:
+ Family=0x17 Model=0x08 Stepping=0x02: Patch=0x0800820d Length=3200 bytes
+ Family=0x17 Model=0x31 Stepping=0x00: Patch=0x0830107b Length=3200 bytes
+ Family=0x17 Model=0xa0 Stepping=0x00: Patch=0x08a00008 Length=3200 bytes
+ Family=0x17 Model=0x01 Stepping=0x02: Patch=0x0800126e Length=3200 bytes
+
+Microcode patches in microcode_amd_fam19h.bin:
+ Family=0x19 Model=0x11 Stepping=0x02: Patch=0x0a101244 Length=5568 bytes
+ Family=0x19 Model=0x01 Stepping=0x02: Patch=0x0a001236 Length=5568 bytes
+ Family=0x19 Model=0x01 Stepping=0x00: Patch=0x0a001079 Length=5568 bytes
+ Family=0x19 Model=0x01 Stepping=0x01: Patch=0x0a0011d3 Length=5568 bytes
+ Family=0x19 Model=0xa0 Stepping=0x02: Patch=0x0aa00213 Length=5568 bytes
+ Family=0x19 Model=0xa0 Stepping=0x01: Patch=0x0aa00116 Length=5568 bytes
+ Family=0x19 Model=0x11 Stepping=0x01: Patch=0x0a101144 Length=5568 bytes
+
+NOTE: For Genoa (Family=0x19 Model=0x11) and Bergamo (Family=0x19 Model=0xa0),
+either AGESA version >= 1.0.0.8 OR a kernel with the following commit is
+required:
+a32b0f0db3f3 ("x86/microcode/AMD: Load late on both threads too")
+
+When late loading the patches for Genoa or Bergamo, there may be one spurious
+NMI observed per physical core. These NMIs are benign and don't cause any
+functional issue but will result in kernel messages being logged.
+
+NOTE: When running 5.19+ kernels on Genoa or Bergamo systems, some microcode
+patches are known to trigger warnings in the PMI handler. The following are
+the required minimum patch levels to address this problem:
+
+ Family=0x19 Model=0x11 Stepping=0x01: Patch=0x0a10113e
+ Family=0x19 Model=0x11 Stepping=0x02: Patch=0x0a10123e
+ Family=0x19 Model=0xa0 Stepping=0x01: Patch=0x0aa00116
+ Family=0x19 Model=0xa0 Stepping=0x02: Patch=0x0aa00212
diff --git a/amd-ucode/microcode_amd.bin b/amd-ucode/microcode_amd.bin
new file mode 100644
index 0000000..23c9dd3
--- /dev/null
+++ b/amd-ucode/microcode_amd.bin
Binary files differ
diff --git a/amd-ucode/microcode_amd.bin.asc b/amd-ucode/microcode_amd.bin.asc
new file mode 100644
index 0000000..e8048b1
--- /dev/null
+++ b/amd-ucode/microcode_amd.bin.asc
@@ -0,0 +1,11 @@
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.11 (GNU/Linux)
+
+iQEcBAABAgAGBQJR3dkLAAoJEKXo28mMAQi0/9cIAKraXlbchZkkIPzyMrZBZZJe
+zapMterpLdDYL6zukfqgF7Frg94+ilGPK9yKAFsvC+EJyHrF5lbRQ/JthANdRv+Y
+8sBKz5/knVI72WdjSjg+473I1rFdIUK+YN7Ygp6eAwP3fg/IQ9UD9iQfWKbbUnx0
+WSEMCZm/izsyU2LQMJvtizJ2gz9ktFoALUtTvj0bv34CKr++qqngEVFy/WKQdR6x
+R3l5MjFAhvzO0O9gV59s1tXbPU56HRhMbvSBn3NIVZu17pwAFySHwQLAeW10GH0j
+UfgpKQppbz90iLLaSh8vseTOoTBn5SegDtK0JEJNMOuK1VoZ+kgv0cqGCs17HBQ=
+=FnHv
+-----END PGP SIGNATURE-----
diff --git a/amd-ucode/microcode_amd_fam15h.bin b/amd-ucode/microcode_amd_fam15h.bin
new file mode 100644
index 0000000..f12ff79
--- /dev/null
+++ b/amd-ucode/microcode_amd_fam15h.bin
Binary files differ
diff --git a/amd-ucode/microcode_amd_fam15h.bin.asc b/amd-ucode/microcode_amd_fam15h.bin.asc
new file mode 100644
index 0000000..cf6b810
--- /dev/null
+++ b/amd-ucode/microcode_amd_fam15h.bin.asc
@@ -0,0 +1,11 @@
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1
+
+iQEcBAABAgAGBQJbB09SAAoJEOS+UznzKK5z8kAIAK1In82D88fGFbhluAl13UFu
+rs8BhXKL2w7B2KAspBNTmYpIQnfvVDrZzn6t6nqssuJ4bnWH8sf0mC/w5dSQLG4M
+WdpDd+qkdkDGJFlbl3zkr14Q7ZCQPV44pT7BOF07VPflOeQQjRWug9cdyqRIfO4n
+XGR5wvBOJZ2BlriRkYagQHn6iB/UJWXodmTr8CRGIHTApQg6K0NPNvmbwa/W5Z9X
+bS6eniACMfFDH7NXG2uTpFiGa3DYbDyNZiZeM7Uv3BFxtAOGY8vTFghtRyk0qxAl
+o6d8fT6ozkTUxE40Lgb6MegDJPwJ+uDfB7jKVPnYsbDAp6K7L8k/7PQQQRJ69Pc=
+=k2EA
+-----END PGP SIGNATURE-----
diff --git a/amd-ucode/microcode_amd_fam16h.bin b/amd-ucode/microcode_amd_fam16h.bin
new file mode 100644
index 0000000..b339424
--- /dev/null
+++ b/amd-ucode/microcode_amd_fam16h.bin
Binary files differ
diff --git a/amd-ucode/microcode_amd_fam16h.bin.asc b/amd-ucode/microcode_amd_fam16h.bin.asc
new file mode 100644
index 0000000..b9bff2c
--- /dev/null
+++ b/amd-ucode/microcode_amd_fam16h.bin.asc
@@ -0,0 +1,11 @@
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1
+
+iQEcBAABAgAGBQJUTtyFAAoJEOS+UznzKK5z4mwIAKEoRVZfNlqlsD2SR6Sfy3Cw
+8SgsmUk0Wtdt4AmIMn3O4cZ+ONN9knMrJyLcDk+dH2dGsWPutNCE73diC7jP+P2W
+hPy++6o9EBgCVBGxa/9ltuIAsS6N7HXPX2StZHcSaZEy+QWFX9rLmX9YF2lHzhwr
+mbgK9/LLL2mV9BzBeuLAWBpzijIIrYgBfxDQS5gLwyveJMrWFO4WqupXd6XyrFur
+ixe4paWNqHf82Llz7Yy55H8TAlES4eCg/wpxKVFAMDrs25MEXLoIGlAwLoTZBRkQ
+bX+HsHfN3IcOi67UxwbRzTkb+hBvT13yJN4TymKhXstx4A/a3jF2sMlUD4aRs88=
+=YwHU
+-----END PGP SIGNATURE-----
diff --git a/amd-ucode/microcode_amd_fam17h.bin b/amd-ucode/microcode_amd_fam17h.bin
new file mode 100644
index 0000000..4afcc98
--- /dev/null
+++ b/amd-ucode/microcode_amd_fam17h.bin
Binary files differ
diff --git a/amd-ucode/microcode_amd_fam17h.bin.asc b/amd-ucode/microcode_amd_fam17h.bin.asc
new file mode 100644
index 0000000..49a9f32
--- /dev/null
+++ b/amd-ucode/microcode_amd_fam17h.bin.asc
@@ -0,0 +1,11 @@
+-----BEGIN PGP SIGNATURE-----
+
+iQEzBAABCgAdFiEE/HxsUF2vzBRxg1fK5L5TOfMornMFAmVCWc4ACgkQ5L5TOfMo
+rnPh/wf+LAIyLbenqgpit5OPRZBhw/zWk3Wtl08328h1LJilI+ebJxtjYLlL8sQc
+NAkfN2f1RqRAoqhktxEMiWc9G4C7gqji1CTKTFLdALk+NaHPFA9z1E8nc+aUp58Y
+EXfmr0wWjKdMfyGzkDt+gX2QVGom5yN2uAe+rg/OeepuzvVMQtijOHsu4jKlDk4o
+lcuD8m+oRxCA4umPGQVNoeAhqTK+0MIAYQ8Igv6v/yk6bmYvd9CTCs16OrL1cFPm
+153kvq2agnmqLlB9Tl9yVApqkE0iinzWBBDuYuno+1I/tfs1k5AOmsxGa1CVVz45
+ZrYL1jovjWpW7VTiyKxIUlR2SHv22A==
+=B89Z
+-----END PGP SIGNATURE-----
diff --git a/amd-ucode/microcode_amd_fam19h.bin b/amd-ucode/microcode_amd_fam19h.bin
new file mode 100644
index 0000000..2717d54
--- /dev/null
+++ b/amd-ucode/microcode_amd_fam19h.bin
Binary files differ
diff --git a/amd-ucode/microcode_amd_fam19h.bin.asc b/amd-ucode/microcode_amd_fam19h.bin.asc
new file mode 100644
index 0000000..9793fb4
--- /dev/null
+++ b/amd-ucode/microcode_amd_fam19h.bin.asc
@@ -0,0 +1,11 @@
+-----BEGIN PGP SIGNATURE-----
+
+iQEzBAABCgAdFiEE/HxsUF2vzBRxg1fK5L5TOfMornMFAmWm4Z0ACgkQ5L5TOfMo
+rnOnPAgAl9jY26pXhFO3qVTFhjdZMVU7YxmzX9RQqJz3pNHWo4hIRj6m2i2pY3lr
+zJYNO9jeQj/XeKdq5VikAwmZxverrHAlQQiFg0XLd+BEt4yeuq0QvcQAToCCd3mO
+OvgkfT87ePU2SOZ7/HT+Blz25qEyR4WnJgUonTsJeVPyfWbcOjXynqnDjhMRlp/r
+Fc06bGrnu5dXT0Bom8zJ3WPLTfxwDyf5AW4CxH5dDspfd7skCYM0vXHxtL0Rb0l7
+ycQ8XruNYMXz2zy9lR2COu3+yx/oEB+Skr6Bhsr2zBX7niqb6Zt7Yt1S21+W5Wge
+Vv5LBIfslMGAM3ZphlwuSepDwGvCUA==
+=5Znh
+-----END PGP SIGNATURE-----
diff --git a/amd/amd_sev_fam17h_model0xh.sbin b/amd/amd_sev_fam17h_model0xh.sbin
new file mode 100644
index 0000000..8c01d10
--- /dev/null
+++ b/amd/amd_sev_fam17h_model0xh.sbin
Binary files differ
diff --git a/amd/amd_sev_fam17h_model3xh.sbin b/amd/amd_sev_fam17h_model3xh.sbin
new file mode 100644
index 0000000..ea49929
--- /dev/null
+++ b/amd/amd_sev_fam17h_model3xh.sbin
Binary files differ
diff --git a/amd/amd_sev_fam19h_model0xh.sbin b/amd/amd_sev_fam19h_model0xh.sbin
new file mode 100644
index 0000000..9cde6ad
--- /dev/null
+++ b/amd/amd_sev_fam19h_model0xh.sbin
Binary files differ
diff --git a/amd/amd_sev_fam19h_model1xh.sbin b/amd/amd_sev_fam19h_model1xh.sbin
new file mode 100644
index 0000000..529dcb5
--- /dev/null
+++ b/amd/amd_sev_fam19h_model1xh.sbin
Binary files differ
diff --git a/amdtee/773bd96f-b83f-4d52-b12dc529b13d8543.bin b/amdtee/773bd96f-b83f-4d52-b12dc529b13d8543.bin
new file mode 100644
index 0000000..6b454bf
--- /dev/null
+++ b/amdtee/773bd96f-b83f-4d52-b12dc529b13d8543.bin
Binary files differ
diff --git a/amdtee/amd_pmf_v3.bin b/amdtee/amd_pmf_v3.bin
new file mode 120000
index 0000000..e340752
--- /dev/null
+++ b/amdtee/amd_pmf_v3.bin
@@ -0,0 +1 @@
+773bd96f-b83f-4d52-b12dc529b13d8543.bin \ No newline at end of file