From 328beacb005045b313cd36a217ffbe8d9c37090a Mon Sep 17 00:00:00 2001 From: Shyam Sundar S K Date: Tue, 26 Sep 2023 21:11:07 +0530 Subject: [PATCH] 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 --- LICENSE.amd_pmf | 51 ++++++++++++++++++ WHENCE | 11 ++++ .../773bd96f-b83f-4d52-b12dc529b13d8543.bin | Bin 0 -> 12864 bytes 3 files changed, 62 insertions(+) create mode 100644 LICENSE.amd_pmf create mode 100644 amdtee/773bd96f-b83f-4d52-b12dc529b13d8543.bin diff --git a/LICENSE.amd_pmf b/LICENSE.amd_pmf new file mode 100644 index 00000000..349e2076 --- /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/WHENCE b/WHENCE index 7936c7b6..8db8e1ef 100644 --- a/WHENCE +++ b/WHENCE @@ -2457,6 +2457,17 @@ Licence: Redistributable. See LICENSE.amdgpu for details. -------------------------------------------------------------------------- +-------------------------------------------------------------------------- + +Driver: amd_pmf - AMD Platform Management Framework TA + +File: amdtee/773bd96f-b83f-4d52-b12dc529b13d8543.bin +Link: amdtee/amd_pmf_v3.bin -> 773bd96f-b83f-4d52-b12dc529b13d8543.bin + +Licence: Redistributable. See LICENSE.amd_pmf for details. + +-------------------------------------------------------------------------- + Driver: s2255drv File: f2255usb.bin diff --git a/amdtee/773bd96f-b83f-4d52-b12dc529b13d8543.bin b/amdtee/773bd96f-b83f-4d52-b12dc529b13d8543.bin new file mode 100644 index 0000000000000000000000000000000000000000..6b454bfab65f4fe4ea31d742c8af89cc0f2c614b GIT binary patch literal 12864 zcmeG@e^^w?)Dw{OmP-)%x8D zJC=W)XAq9C5->tPKEMIkr`&<-e;M_Q(2lyKk&}KrW_kXReQh5es=nvjvs_CqE_~sE zhd(&;PV4o57*3~Q>;N`9te9$tTB{wF%^u*g=i1>dtp86RSGFBweD6MYHE>r0cQtTV z19vs>e_aEk@RW}JnvfQLn7G!ndQ!>CNh>{``311){C!(z9erT2Z{oXIzHdA?XC#T| z2N|}MtbFwGrR%n>!S)1_i8w@%*R1pm;-g^{H-Zc`ShsQQ`Ze=6V#AG(t^qQVOB^C? z_}==GbxYT5*|KiaMt~%U8|v%HHBUrvQzzLViNx_MH$;RRLgUc6*#LCx<^+=a4EWkNDq%~owR<_+NDoCTDWq<8gL<70ym6keIsS| zhSkzmoYCFqt_JRE;I0PlYT&L0{=aJA?J(6vpZhKTk{&Khdvw=lhjavbIMp)`dUW9; z6#ya7!2?&40QT$r;$;Ct24ZWz%E5{&Cc0fA{^ote=D&)#Jf1o(6Te@p=jm+mmlKd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