[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 02/10] hw/core: create Resettable QOM interface
From: |
Peter Maydell |
Subject: |
Re: [PATCH v4 02/10] hw/core: create Resettable QOM interface |
Date: |
Fri, 27 Sep 2019 14:07:14 +0100 |
On Tue, 24 Sep 2019 at 12:21, Damien Hedde <address@hidden> wrote:
>
> Hi All,
>
> Do you think I should respin with the sugestions made by David so far ?
>
> + reset type removal
> + s/init/enter/ for the phases terminology
> + handling of parent changes during reset
My takes:
* I think we should keep the reset type. Among other things,
we probably want a reset type for "PCI bus reset" and
"SCSI bus reset", when we come to conversion of those
* I don't have an opinion about the phase names
* I think we should look at what we're doing for dynamic
changes of the reset tree. This falls into two parts,
both of which have come up in this thread:
- hotplug, ie what state should a hotplugged device
get set up to if it's plugged into a bus that's
currently in reset
- the modification of the qbus tree during reset,
like the raspi sd card thing
These feel related to me, so maybe handling the first
gives a better answer to handling the second ?
thanks
-- PMM