On Wed, 28 Apr 2021 at 14:29, Markus Armbruster wrote:
>
> Peter Maydell writes:
> > These are two separate things:
> > 1) callsites which want to reset some other device, and currently
> > mostly use eg device_legacy_reset() -- the transition to be done
> > is to move them to use device
Peter Maydell writes:
> On Wed, 28 Apr 2021 at 06:03, Markus Armbruster wrote:
>> For what it's worth, Damien further explained the two helpers in
>> docs/devel/reset.rst:
>>
>> For Devices and Buses, the following helper functions exist:
>>
>> - ``device_cold_reset()``
>> - ``bus_co
On Wed, 28 Apr 2021 at 06:03, Markus Armbruster wrote:
> For what it's worth, Damien further explained the two helpers in
> docs/devel/reset.rst:
>
> For Devices and Buses, the following helper functions exist:
>
> - ``device_cold_reset()``
> - ``bus_cold_reset()``
>
> These are si
Eduardo Habkost writes:
> On Tue, Apr 27, 2021 at 02:21:28PM +0200, Philippe Mathieu-Daudé wrote:
>> On 1/23/20 2:28 PM, Damien Hedde wrote:
>> > Deprecate device_legacy_reset(), qdev_reset_all() and
>> > qbus_reset_all() to be replaced by new functions
>> > device_cold_reset() and bus_cold_reset
On Tue, Apr 27, 2021 at 02:21:28PM +0200, Philippe Mathieu-Daudé wrote:
> On 1/23/20 2:28 PM, Damien Hedde wrote:
> > Deprecate device_legacy_reset(), qdev_reset_all() and
> > qbus_reset_all() to be replaced by new functions
> > device_cold_reset() and bus_cold_reset() which uses resettable API.
>
On 1/23/20 2:28 PM, Damien Hedde wrote:
> Deprecate device_legacy_reset(), qdev_reset_all() and
> qbus_reset_all() to be replaced by new functions
> device_cold_reset() and bus_cold_reset() which uses resettable API.
>
> Also introduce resettable_cold_reset_fn() which may be used as a
> replacemen
Deprecate device_legacy_reset(), qdev_reset_all() and
qbus_reset_all() to be replaced by new functions
device_cold_reset() and bus_cold_reset() which uses resettable API.
Also introduce resettable_cold_reset_fn() which may be used as a
replacement for qdev_reset_all_fn and qbus_reset_all_fn().
Fo