mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
hw/cxl/cxl-mailbox-utils: Media operations Sanitize and Write Zeros commands CXL r3.2(8.2.10.9.5.3)
CXL spec 3.2 section 8.2.10.9.5.3 describes media operations commands. CXL devices supports media operations Sanitize and Write zero command. Signed-off-by: Vinayak Holikatti <vinayak.kh@samsung.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Message-Id: <20250305092501.191929-6-Jonathan.Cameron@huawei.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
484df0704e
commit
40ab4ed107
2 changed files with 208 additions and 0 deletions
|
@ -540,6 +540,8 @@ typedef struct CXLSetFeatureInfo {
|
|||
size_t data_size;
|
||||
} CXLSetFeatureInfo;
|
||||
|
||||
struct CXLSanitizeInfo;
|
||||
|
||||
struct CXLType3Dev {
|
||||
/* Private */
|
||||
PCIDevice parent_obj;
|
||||
|
@ -606,6 +608,8 @@ struct CXLType3Dev {
|
|||
uint8_t num_regions; /* 0-8 regions */
|
||||
CXLDCRegion regions[DCD_MAX_NUM_REGION];
|
||||
} dc;
|
||||
|
||||
struct CXLSanitizeInfo *media_op_sanitize;
|
||||
};
|
||||
|
||||
#define TYPE_CXL_TYPE3 "cxl-type3"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue