CXL CCI media operations commands implmented as per CXL Specification 3.2 8.2.10.9.5.3 1) General(00h) - Discovery (00h) 2) Sanitize(01h - Sanitize (00h) Write zeros (01h)
The patches are generated against the Johnathan's tree https://gitlab.com/jic23/qemu.git and branch cxl-2024-11-27. Changes V2 -> V3 - Addressed review comments from Jonathan Cameron. - Updated CXL Spec r3.2 references Changes V1->V2 - Addressed the review comments from Jonathan Cameron. - Modularied the media operations class & subclass handling into separate functions. Signed-off-by: Vinayak Holikatti <vinayak...@samsung.com> Vinayak Holikatti (3): hw/cxl/cxl-mailbox-utils: Add support for Media operations discovery commands cxl r3.2 (8.2.10.9.5.3) hw/cxl: factor out calculation of sanitize duration from cmd_santize_overwrite hw/cxl/cxl-mailbox-utils: Add support for Media operations Sanitize and Write Zeros commands cxl r3.2(8.2.10.9.5.3) hw/cxl/cxl-mailbox-utils.c | 402 +++++++++++++++++++++++++++++++++--- include/hw/cxl/cxl_device.h | 4 + 2 files changed, 380 insertions(+), 26 deletions(-) -- 2.34.1