[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [PATCH v2] Add device reset timeout field
> From: Michael S. Tsirkin <firstname.lastname@example.org> > Sent: Friday, October 8, 2021 4:52 PM > > On Fri, Oct 08, 2021 at 10:59:02AM +0000, Parav Pandit wrote: > > It may be even a pre-boot environment where 100msec or 10msec may be > too short interval as other extreme of VM boot time example. > > I don't really know what this means. We are talking about how long it takes > device to calm down and stop poking at the host after it's told to reset. 10ms > worst case not enough for this? For the example you gave, probably yes, it is. However, when the device is coming up for the first time, in such reset scenario, device is not even poking at the host yet. It is still under reset. 10msec may not be enough. And infinite wait is yet another extreme where system is optimistic that device _will_ finish the reset.