[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e94b8434-09ff-4ea0-a762-0869345aab4e@oss.qualcomm.com>
Date: Wed, 4 Feb 2026 09:47:16 +0530
From: Prashanth K <prashanth.k@....qualcomm.com>
To: Kyle Tso <kyletso@...gle.com>
Cc: Thinh Nguyen <Thinh.Nguyen@...opsys.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
stable@...r.kernel.org
Subject: Re: [PATCH] usb: dwc3: gadget: Move vbus draw to workqueue context
On 2/4/2026 9:29 AM, Kyle Tso wrote:
> On Thu, Jan 29, 2026 at 7:16 PM Prashanth K
> <prashanth.k@....qualcomm.com> wrote:
>>
>> Currently dwc3_gadget_vbus_draw() can be called from atomic
>> context, which in turn invokes power-supply-core APIs. And
>> some these PMIC APIs have operations that may sleep, leading
>> to kernel panic.
>>
>> Fix this by moving the vbus_draw into a workqueue context.
>>
>> Fixes: 66e0ea341a2a ("usb: dwc3: core: Defer the probe until USB power supply ready")
>
> I think the following patch is the one to fix:
>
> https://lore.kernel.org/all/20210222115149.3606776-3-raychi@google.com/
>
Yes agreed, i added 66e0ea341a2a because it can be backported without
conflicts only till 66e0ea341a2a, but I'll change it to the correct one.
Thanks for confirming,
Prashanth K
Powered by blists - more mailing lists