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

Daniel Henrique Barboza posted 3 patches 6 years, 8 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20170830182141.19996-1-danielhb@linux.vnet.ibm.com
Test FreeBSD passed
Test checkpatch passed
Test docker passed
Test s390x passed
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(-)
[Qemu-devel] [PATCH for-2.11 v3 0/3] hw/ppc: CAS reset on early device hotplug
Posted by Daniel Henrique Barboza 6 years, 8 months ago
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(-)

-- 
2.9.4


Re: [Qemu-devel] [PATCH for-2.11 v3 0/3] hw/ppc: CAS reset on early device hotplug
Posted by David Gibson 6 years, 8 months ago
On Wed, Aug 30, 2017 at 03:21:38PM -0300, Daniel Henrique Barboza wrote:
> 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

Applied to ppc-for-2.11.  The first two I'm also considering sending
off for the 2.10 stable branch.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson