]> git.ipfire.org Git - thirdparty/linux-firmware.git/commitdiff
linux-firmware: Add AMD SEV firmware
authorAllen, John <John.Allen@amd.com>
Wed, 13 Feb 2019 18:41:48 +0000 (18:41 +0000)
committerJosh Boyer <jwboyer@kernel.org>
Thu, 21 Feb 2019 12:38:48 +0000 (07:38 -0500)
Add AMD Secure Encrypted Virtualization (SEV) firmware to allow for the
updating of the SEV firmware outside of BIOS releases. Naming convention
and directory structure follows the convention defined in the kernel
driver in drivers/crypto/ccp/psp-dev.c

SEV firmware files are to be placed in the "amd" directory and names
should follow the pattern: amd_sev_fam<FAMILY>h_model<MODEL>h.sbin

where FAMILY is the two-digit hexadecimal value of the target processor
family (e.g. 17)

where MODEL is the two-digit hexadecimal value of the target processor
model (e.g. 01) or where the least significant nibble of the two-digit
hexadecimal value can be an 'x' to indicate a range of models
(e.g. 0x for 00 to of).

The firmware provided is version 0.17 build 11 and is for AMD family
17h 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>
LICENSE.amd-sev [new file with mode: 0644]
WHENCE
amd/amd_sev_fam17h_model0xh.sbin [new file with mode: 0644]

diff --git a/LICENSE.amd-sev b/LICENSE.amd-sev
new file mode 100644 (file)
index 0000000..de4d948
--- /dev/null
@@ -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/WHENCE b/WHENCE
index 853990b50e51c77e45df76e75d2d761c18510968..0c485f34f2d050202e63d7d7b37fdb74116de3f4 100644 (file)
--- a/WHENCE
+++ b/WHENCE
@@ -3311,6 +3311,15 @@ Licence: Redistributable. See LICENCE.go7007 for details
 
 --------------------------------------------------------------------------
 
+Driver: ccp - Platform Security Processor (PSP) device
+
+File: amd/amd_sev_fam17h_model0xh.sbin
+Version: 2019-02-13
+
+License: Redistributable. See LICENSE.amd-sev for details
+
+--------------------------------------------------------------------------
+
 Driver: microcode_amd - AMD CPU Microcode Update Driver for Linux
 
 File: amd-ucode/microcode_amd.bin
diff --git a/amd/amd_sev_fam17h_model0xh.sbin b/amd/amd_sev_fam17h_model0xh.sbin
new file mode 100644 (file)
index 0000000..1f75b7d
Binary files /dev/null and b/amd/amd_sev_fam17h_model0xh.sbin differ