Re: [PATCH RFC v1] vdpa/ifcvf: Time out and report device reset failure

From: Yuho Choi

Date: Thu Oct 01 2026 - 00:54:32 EST


Thanks for the review.

On Wed, 30 Sept 2026 at 20:01, Michael S. Tsirkin <mst@xxxxxxxxxx> wrote:
>
> No one handles reset errors. You can not timeout this.

Agreed, returning early lets callers free memory the device may still
DMA into.

For a device that is present but never completes the reset, would it
be acceptable to fence it instead: pci_clear_master() after a bounded wait,
and pci_set_master() only once a later reset completes? .reset would
then always return with the device quiet, so caller can keep ignoring
the result.

> Use standard is present APIs not "all ones" hacks.

Will do, v2 will use the present APIs.

Thanks,
Yuho