[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 15/16] qapi: add HOTPLUG_STATE event
From: |
Markus Armbruster |
Subject: |
Re: [PATCH v4 15/16] qapi: add HOTPLUG_STATE event |
Date: |
Tue, 14 Feb 2023 09:56:50 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Philippe Mathieu-Daudé <philmd@linaro.org> writes:
> On 13/2/23 15:01, Vladimir Sementsov-Ogievskiy wrote:
>> For PCIe and SHPC hotplug it's important to track led indicators,
>> especially the power led. Add an event that helps.
>> Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
>> ---
>> qapi/qdev.json | 175 ++++++++++++++++++++++++++++++++
>> include/hw/hotplug.h | 12 +++
>> include/hw/pci/pci.h | 3 +
>> include/hw/pci/pci_bridge.h | 2 +
>> include/hw/pci/pcie.h | 2 +
>> include/hw/pci/shpc.h | 2 +
>> include/monitor/qdev.h | 5 +
>> hw/core/hotplug.c | 13 +++
>> hw/pci-bridge/pci_bridge_dev.c | 14 +++
>> hw/pci-bridge/pcie_pci_bridge.c | 1 +
>> hw/pci/pcie.c | 79 ++++++++++++++
>> hw/pci/pcie_port.c | 1 +
>> hw/pci/shpc.c | 102 ++++++++++++++++++-
>> softmmu/qdev-monitor.c | 39 +++++++
>> 14 files changed, 445 insertions(+), 5 deletions(-)
>
> -ETOOBIG
Can't see how this could be split sensibly: it's a single query/event
pair. If you can, let us know.
[PATCH v4 08/16] pcie_regs: drop duplicated indicator value macros, Vladimir Sementsov-Ogievskiy, 2023/02/13
[PATCH v4 12/16] pcie: set power indicator to off on reset by default, Vladimir Sementsov-Ogievskiy, 2023/02/13