Skip to content

hw/ppc: CAS reset on early device hotplug

Daniel Henrique Barboza qemu-devel 4 versions – Applied

Status from this message: Applied to ppc-for-2.11. The first two I'm also considering sending

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 1 replyApplied
  2. v2 posting 2/21 patch 1 replySuperseded
  3. v2 posting 1/21 patch 3 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch1 replySuperseded

Changes in v3 from the cover letter

- split into 3 patches, first 2 are fixes that are independent of the reboot code that can be applied separately:
- patch 1: spapr_drc_needed fix
- patch 2: clear pending_events on reboot, following David's
suggestions on the v2 review.
- patch 3: CAS reboot

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/3hw/ppc/spapr_drc.c: change spapr_drc_needed to use drc->devhw/ppc/spapr_drc.c+1 -20 replies
2/3hw/ppc: clear pending_events on machine resethw/ppc/spapr.c hw/ppc/spapr_events.c include/hw/ppc/spapr.h+13 -00 replies
3/3hw/ppc: CAS reset on early device hotplughw/ppc/spapr.c hw/ppc/spapr_drc.c include/hw/ppc/spapr_drc.h+27 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [Qemu-devel] [PATCH for-2.11 v3 0/3] hw/ppc: CAS reset on early device hotplug

v3:
- split into 3 patches, first 2 are fixes that are independent of the reboot code that can be applied separately:
- patch 1: spapr_drc_needed fix
- patch 2: clear pending_events on reboot, following David's
suggestions on the v2 review.
- patch 3: CAS reboot

v2:
- rebased with ppc-for-2.11
- function 'spapr_cas_completed' dropped
- function 'spapr_drc_needed' made public and it's now used inside 'spapr_hotplugged_dev_before_cas'
- 'spapr_drc_needed' was changed to support the migration of logical DRCs with devs attached in UNUSED state
- new function: 'spapr_clear_pending_events'. This function is used inside ppc_spapr_reset to reset the pending_events QTAILQ

Daniel Henrique Barboza (3):
hw/ppc/spapr_drc.c: change spapr_drc_needed to use drc->dev hw/ppc: clear pending_events on machine reset hw/ppc: CAS reset on early device hotplug

 hw/ppc/spapr.c             | 27 ++++++++++++++++++++++++++-
 hw/ppc/spapr_drc.c         |  5 ++---
 hw/ppc/spapr_events.c      | 11 +++++++++++
 include/hw/ppc/spapr.h     |  1 +
 include/hw/ppc/spapr_drc.h |  1 +
 5 files changed, 41 insertions(+), 4 deletions(-)
Signature · 1 line
2.9.4