qemu/hw/pci-bridge
Peter Maydell ad80e36744 hw, target: Add ResetType argument to hold and exit phase methods
We pass a ResetType argument to the Resettable class enter
phase method, but we don't pass it to hold and exit, even though
the callsites have it readily available. This means that if
a device cared about the ResetType it would need to record it
in the enter phase method to use later on. Pass the type to
all three of the phase methods to avoid having to do that.

Commit created with

  for dir in hw target include; do \
      spatch --macro-file scripts/cocci-macro-file.h \
             --sp-file scripts/coccinelle/reset-type.cocci \
             --keep-comments --smpl-spacing --in-place \
             --include-headers --dir $dir; done

and no manual edits.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@amd.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Luc Michel <luc.michel@amd.com>
Message-id: 20240412160809.1260625-5-peter.maydell@linaro.org
2024-04-25 10:21:06 +01:00
..
cxl_downstream.c hw/cxl: Standardize all references on CXL r3.1 and minor updates 2024-02-14 06:09:33 -05:00
cxl_root_port.c hw, target: Add ResetType argument to hold and exit phase methods 2024-04-25 10:21:06 +01:00
cxl_upstream.c hw/pci-bridge/cxl_upstream: Fix missing ERRP_GUARD() in cxl_usp_realize() 2024-03-12 17:56:55 -04:00
gen_pcie_root_port.c hw/pci-bridge: Constify VMState 2023-12-30 07:38:06 +11:00
i82801b11.c hw/pci-bridge: Constify VMState 2023-12-30 07:38:06 +11:00
ioh3420.c hw/pci-bridge: Constify VMState 2023-12-30 07:38:06 +11:00
Kconfig hw/pci-bridge: make building pcie-to-pci bridge configurable 2023-05-19 10:30:46 -04:00
meson.build meson: remove CONFIG_ALL 2023-12-31 09:11:28 +01:00
pci_bridge_dev.c hw/pci-bridge: Constify VMState 2023-12-30 07:38:06 +11:00
pci_expander_bridge_stubs.c pci/pci_expander_bridge: For CXL HB delay the HB register memory region setup. 2022-06-09 19:32:49 -04:00
pci_expander_bridge.c hw/pci-bridge/pxb-cxl: Drop RAS capability from host bridge. 2024-03-12 17:56:55 -04:00
pcie_pci_bridge.c hw/pci-bridge: Constify VMState 2023-12-30 07:38:06 +11:00
pcie_root_port.c hw, target: Add ResetType argument to hold and exit phase methods 2024-04-25 10:21:06 +01:00
simba.c pci: drop redundant PCIDeviceClass::is_bridge field 2022-12-21 07:32:24 -05:00
xio3130_downstream.c hw/pci-bridge: Constify VMState 2023-12-30 07:38:06 +11:00
xio3130_upstream.c hw/pci-bridge: Constify VMState 2023-12-30 07:38:06 +11:00