22d7e3be07
CXL testing is benefited from an artificial event log injection mechanism. Add an event log infrastructure to insert, get, and clear events from the various logs available on a device. Replace the stubbed out CXL Get/Clear Event mailbox commands with commands that operate on the new infrastructure. Signed-off-by: Ira Weiny <ira.weiny@intel.com> Reviewed-by: Fan Ni <fan.ni@samsung.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Message-Id: <20230530133603.16934-4-Jonathan.Cameron@huawei.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
15 lines
471 B
Meson
15 lines
471 B
Meson
system_ss.add(when: 'CONFIG_CXL',
|
|
if_true: files(
|
|
'cxl-component-utils.c',
|
|
'cxl-device-utils.c',
|
|
'cxl-mailbox-utils.c',
|
|
'cxl-host.c',
|
|
'cxl-cdat.c',
|
|
'cxl-events.c',
|
|
),
|
|
if_false: files(
|
|
'cxl-host-stubs.c',
|
|
))
|
|
|
|
system_ss.add(when: 'CONFIG_ALL', if_true: files('cxl-host-stubs.c'))
|