Messages in this thread | | | Date | Mon, 22 May 2023 20:30:58 -0700 | From | Dan Williams <> | Subject | RE: [PATCH 4/4] tools/testing/cxl: add firmware update emulation to CXL memdevs |
| |
Vishal Verma wrote: > Add emulation for the 'Get FW Info', 'Transfer FW', and 'Activate FW' > CXL mailbox commands to the cxl_test emulated memdevs to enable > end-to-end unit testing of a firmware update flow. For now, only > advertise an 'offline activation' capability as that is all the CXL > memdev driver currently implements. > > Add some canned values for the serial number fields, and create a > platform device sysfs knob to calculate the sha256sum of the firmware > image that was received, so a unit test can compare it with the original > file that was uploaded. >
Looks good.
| |