[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v8 5/7] hw/cxl/events: Add injection of General Media Events
|
From: |
Markus Armbruster |
|
Subject: |
Re: [PATCH v8 5/7] hw/cxl/events: Add injection of General Media Events |
|
Date: |
Sat, 27 May 2023 07:47:45 +0200 |
|
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Jonathan Cameron <Jonathan.Cameron@huawei.com> writes:
> From: Ira Weiny <ira.weiny@intel.com>
>
> To facilitate testing provide a QMP command to inject a general media
> event. The event can be added to the log specified.
>
> Signed-off-by: Ira Weiny <ira.weiny@intel.com>
> Reviewed-by: Fan Ni <fan.ni@samsung.com>
> Acked-by: Markus Armbruster <armbru@redhat.com>
> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> ---
> qapi/cxl.json | 74 ++++++++++++++++++++++++
> include/hw/cxl/cxl_events.h | 20 +++++++
> hw/mem/cxl_type3.c | 111 ++++++++++++++++++++++++++++++++++++
> hw/mem/cxl_type3_stubs.c | 10 ++++
> 4 files changed, 215 insertions(+)
>
> diff --git a/qapi/cxl.json b/qapi/cxl.json
> index ed1c7eea3a..7f0b432767 100644
> --- a/qapi/cxl.json
> +++ b/qapi/cxl.json
[...]
> +##
> +# @cxl-inject-general-media-event:
> +#
> +# Inject an event record for a General Media Event (CXL r3.0
> +# 8.2.9.2.1.1). This event type is reported via one of the event logs
> +# specified via the log parameter.
> +#
> +# @path: CXL type 3 device canonical QOM path
> +#
> +# @log: event log to add the event to
> +#
> +# @flags: Event Record Flags. See CXL r3.0 Table 8-42 Common Event
> +# Record Format, Event Record Flags for subfield definitions.
> +#
> +# @dpa: Device Physical Address (relative to @path device). Note
> +# lower bits include some flags. See CXL r3.0 Table 8-43 General
Two spaces between sentences for consistency, please.
> +# Media Event Record, Physical Address.
> +#
[...]
- [PATCH v8 0/7] QEMU CXL Provide mock CXL events and irq support, Jonathan Cameron, 2023/05/26
- [PATCH v8 1/7] hw/cxl/events: Add event status register, Jonathan Cameron, 2023/05/26
- [PATCH v8 2/7] hw/cxl: Move CXLRetCode definition to cxl_device.h, Jonathan Cameron, 2023/05/26
- [PATCH v8 3/7] hw/cxl/events: Wire up get/clear event mailbox commands, Jonathan Cameron, 2023/05/26
- [PATCH v8 4/7] hw/cxl/events: Add event interrupt support, Jonathan Cameron, 2023/05/26
- [PATCH v8 5/7] hw/cxl/events: Add injection of General Media Events, Jonathan Cameron, 2023/05/26
- Re: [PATCH v8 5/7] hw/cxl/events: Add injection of General Media Events,
Markus Armbruster <=
- [PATCH v8 6/7] hw/cxl/events: Add injection of DRAM events, Jonathan Cameron, 2023/05/26
- [PATCH v8 7/7] hw/cxl/events: Add injection of Memory Module Events, Jonathan Cameron, 2023/05/26