Re: [PATCH v2] USB: sisusbvga: avoid prolonged initialization on failure

From: Greg KH

Date: Thu Dec 03 2026 - 22:22:54 EST


On Mon, Sep 07, 2026 at 01:13:08PM +0530, Ayush Yaduvanshi wrote:
> The USB core holds minor_rwsem while invoking a USB character
> device's open callback. Avoid retrying graphics-device initialization
> from open() and fail probe when early initialization fails.
>
> Also stop sisusb_do_init_gfxdevice() after the first failed request.
> Continuing initialization after a failed USB request causes additional
> synchronous transfers and their retries against an unresponsive device.

When you say "also" that implies there should be multiple patches.
Please split this up into a patch series.

> v2:
> Stop sisusb_do_init_gfxdevice() after the first failed USB request and
> treat early initialization failure in probe() as a probe failure.
> Remove the initialization retry from sisusb_open().
>
> The exact v2 patch was tested by syzbot using the reported reproducer,
> and the reproducer did not trigger the reported hang.

v2 stuff goes below the --- line, right? Please fix this up.

thanks,

greg k-h