Hi all! That's called v3, as it includes "[PATCH v2 0/3] pcie: cleanup code": Supersedes: <20230207121116.325456-1-vsement...@yandex-team.ru> Supersedes: <20230204174758.234951-1-vsement...@yandex-team.ru> Supersedes: <20230207120922.325203-1-vsement...@yandex-team.ru>
Ok, what's this about? The main patches are the last three ones: - introduce HOTPLUG_STATE event, that inform when hotplug controller change it's state, especially indicator leds - query-hotplug command, that provides same information as event on demand - DEVICE_ON event - a kind of counterpart for DEVICE_DELETED, signals when device is finally accepted by guest, power indicator is on and so on. That's all for smarter handling of SHPC and PCIe-native hotplug. Vladimir Sementsov-Ogievskiy (15): pci/shpc: set attention led to OFF on reset pci/shpc: change shpc_get_status() return type to uint8_t pci/shpc: shpc_slot_command(): handle PWRONLY -> ENABLED transition pci/shpc: more generic handle hot-unplug in shpc_slot_command() pci/shpc: pass PCIDevice pointer to shpc_slot_command() pcie: pcie_cap_slot_write_config(): use correct macro pcie_regs: drop duplicated indicator value macros pcie: drop unused PCIExpressIndicator pcie: pcie_cap_slot_enable_power() use correct helper pcie: introduce pcie_sltctl_powered_off() helper pcie: set power indicator to off on reset by default pci: introduce pci_find_the_only_child() qapi: add HOTPLUG_STATE event qapi: introduce DEVICE_ON event qapi: introduce query-hotplug command qapi/qdev.json | 97 ++++++++++++++++ include/hw/hotplug.h | 12 ++ include/hw/pci/pci.h | 16 +++ include/hw/pci/pci_bridge.h | 2 + include/hw/pci/pcie.h | 10 +- include/hw/pci/pcie_regs.h | 14 --- include/hw/pci/shpc.h | 2 + hw/core/hotplug.c | 13 +++ hw/pci-bridge/pci_bridge_dev.c | 14 +++ hw/pci-bridge/pcie_pci_bridge.c | 1 + hw/pci/pci.c | 66 +++++++++++ hw/pci/pcie.c | 119 +++++++++++++++++-- hw/pci/pcie_port.c | 1 + hw/pci/shpc.c | 196 ++++++++++++++++++++++++-------- softmmu/qdev-monitor.c | 30 +++++ 15 files changed, 509 insertions(+), 84 deletions(-) -- 2.34.1