From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796354571; b=qaOTzbsSiO1btRVnQpWNgOOGadkouSCPLAz+AjL4/6aROyyWaMDYpdEuqmfL/XykGy6X bGItvBdyzkkjVocRNUvl4Z7PWU/WYGfaOPgTbPhyulf4+cMOQSAJHaZk9m1Ap7pBrhwoU VdKAvI4UooysR6ry6wMuMIR9s3Zrtv5iJCjBzVSNkJK0fJxeSX/YQMqFRJAO3MoGDrNp4 PM+lPOpnS+Hx5y2W3W/wrAsOl+Db4O/Megewi/j7yxvRvcs+iPoyTDZxgvFbNZWuLRdmF Q2uL60lW3MLyuQvD8O40YYo98QquIOBkGuxVOI1C4fAv4SXkib7WYfnfJ0D9laUIQKQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796354571; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=iPolqXbYjQ0w0B033yAyB9E2dSwWsE35OM8WoRDW5Vc=; b=kpT6umnZK3Ue2Q254pgnqiaMc+ZCm31PGP7WPDs2fJXQm/t/PEfaSDpMSsRyHFO8nPgn GVUp9ou3TA3b+qKQvhHv6nSgYrzehS1jc8i9nOo/GOTMqqQrgp9YTmwFopVJ0bMHvR4nK N5o631dKty1H0t6VfSfYimdFj/HETsr+hs7I72v+aVzWFMK9oJLQ+OE6YJqg3MxVABWSv 9yBFJ+wqen4oNoucwkVa1hwmMnM+nZK23DfAMiomrvYvZ5QKj3pb4MyZihNudO/vQzrDZ 1LqGIIs461AZ/F1nWyzhrHoL+hNDqPWCtHtV7lasHqcwb5RIKe/pwOdQW2OhPZTRBtA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=N8RkHWch; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9C6E3606A32C; Fri, 4 Dec 2026 03:22:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=N8RkHWch Received: by smtp.kernel.org (Postfix) with ESMTPSA id 203F41F000CE; Fri, 4 Dec 2026 03:22:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796354571; bh=iPolqXbYjQ0w0B033yAyB9E2dSwWsE35OM8WoRDW5Vc=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=N8RkHWchu8dYwp/+p7GJp4tcjS5X2twu10C+6jSbLIfu49oaiPnLtS1ov88X64OEI GCOB7y8X3+IWxfJ7DUV5g5uiSOPsb6bUzXS4oyUgrpsMaXHwKQq9tpul5Ur+ZnBfOV cEq4alAy0cZslQozjElna47aSZzBCi+CHMUw7PxU= Date: Thu, 3 Dec 2026 18:36:44 +0100 From: Greg KH To: Ayush Yaduvanshi Cc: michal.pecio@gmail.com, thomas@winischhofer.net, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, syzbot+3bc656a9271e7c8a5c6b@syzkaller.appspotmail.com Subject: Re: [PATCH v2] USB: sisusbvga: avoid prolonged initialization on failure Message-ID: <2026120304-remindful-pueblo-105d@gregkh> References: <20260907074308.109603-1-ayush37735@gmail.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260907074308.109603-1-ayush37735@gmail.com> 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