-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MdeModulePkg: FMP support for CXL devices #6296
base: master
Are you sure you want to change the base?
Conversation
Defines and structs from the CXL Specification should do into MdePkg/Include/IndustryStandard. I see use of libc like functions. Please refer to MdePkg/Include/Library/BaseLib.h and consider using those instead of providing new implementations here. |
Hi, |
Hi All, |
Hi @mdkinney / @LiuZhiguang001 , |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some of the code does not follow the coding style and there are many function header comment blocks missing and very few comments to explain the logic..
Please see:
Hi @mdkinney , |
Signed-off-by: Alok Rathore <[email protected]>
Signed-off-by: Abhishek Narvaria <[email protected]>
Signed-off-by: Abhishek Narvaria <[email protected]>
Signed-off-by: Abhishek Narvaria <[email protected]>
Signed-off-by: Sweta Kumari <[email protected]>
Signed-off-by: Abhishek Narvaria <[email protected]>
Signed-off-by: Abhishek Narvaria <[email protected]>
180a8e3
to
89c00ed
Compare
Description
Enables the detection of CXL devices in UEFI environment and to update the Firmware of the detected CXL devices
How This Was Tested
Using OVMF of QEMU
The following commands emulate a CXL type 3 device in QEMU
CxlFirmwareMgmt.efi is the Application to Send / Receive the FMP commands.
The following UEFI shell commands showcase how to use the FMP commands.
Display Help Menu: CxlFirmwareMgmt.efi
Fw Image Info on BDF value 13, 0, 0: CxlFirmwareMgmt.efi -fimginfo 13 0 0
SetImage on BDF value 13, 0, 0 and slot 2: CxlFirmwareMgmt.efi -fsetimg 13 0 0 2 hello.bin
GetImage on BDF value 13, 0, 0 and slot 2: CxlFirmwareMgmt.efi -fgetimg 13 0 0 2
SetPackageInfo on BDF value 13, 0, 0: CxlFirmwareMgmt.efi -fsetpack 13 0 0
GetPackageInfo on BDF value 13, 0, 0: CxlFirmwareMgmt.efi -fgetpack 13 0 0
Integration Instructions
N/A