Linux USB
 help / color / mirror / Atom feed
From: Faisal Hassan <faisal.hassan@oss.qualcomm.com>
To: Peter Chen <peter.chen@oss.qualcomm.com>
Cc: Thinh.Nguyen@synopsys.com, gregkh@linuxfoundation.org,
	Philipp Zabel <p.zabel@pengutronix.de>,
	linux-usb@vger.kernel.org, linux-arm-msm@vger.kernel.org,
	linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
	krishna.kurapati@oss.qualcomm.com,
	krzysztof.kozlowski@oss.qualcomm.com,
	Sriram Dash <sriram.dash@oss.qualcomm.com>
Subject: Re: [PATCH v5 07/11] usb: dwc3: qcom: Recover controller state after power loss in system suspend
Date: Thu, 3 Dec 2026 12:34:55 +0530	[thread overview]
Message-ID: <bac9843d-d77f-49be-bb94-2a2e467d00c0@oss.qualcomm.com> (raw)
In-Reply-To: <awgBe34JQQ-Z35kz@hu-petche-lv.qualcomm.com>

On 26-11-2026 03:22 pm, Peter Chen wrote:
> On 26-11-23 16:17:22, Faisal Hassan wrote:
> [...]
>> @@ -741,6 +773,9 @@ static int dwc3_qcom_probe(struct platform_device *pdev)
>>   	probe_data.ignore_clocks_and_resets = true;
>>   	probe_data.properties = DWC3_DEFAULT_PROPERTIES;
>>   	probe_data.properties.skip_phy_init = true;
>> +	/* Controller loses power on system suspend, even with wakeup enabled */
>> +	probe_data.properties.needs_full_reinit = qcom->power_lost_in_suspend;
>> +	probe_data.properties.xhci_reset_on_resume = qcom->power_lost_in_suspend;
> 
> There is a xhci_power_lost flag support patch for dwc3 at [1], do we still need
> "xhci_reset_on_resume" or could totally re-use it?
> 
> [1] https://lore.kernel.org/all/20261125181116.121-1-26rote@gmail.com/
> 
> Peter

Hi Peter,

Thanks for pointing it out. We can reuse it fully. xhci_power_lost does 
what xhci_reset_on_resume was doing here, so in v6 I will drop the 
reset-on-resume plumbing (v5 5/11 and 6/11) and base the series on that 
patch.

Thanks,
Faisal


  reply	other threads:[~2026-12-03  7:05 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23 10:47 [PATCH v5 00/11] usb: dwc3: qcom: Add firmware-managed resource support for SA8255P Faisal Hassan
2026-11-23 10:47 ` [PATCH v5 01/11] usb: dwc3: qcom: Distinguish PM and runtime suspend/resume paths Faisal Hassan
2026-11-26  7:40   ` Peter Chen
2026-11-23 10:47 ` [PATCH v5 02/11] usb: dwc3: qcom: Disarm wakeup IRQs on system suspend without wakeup Faisal Hassan
2026-11-26  7:44   ` Peter Chen
2026-11-23 10:47 ` [PATCH v5 03/11] usb: dwc3: qcom: Keep wakeup IRQ enable/disable balanced on failed resume Faisal Hassan
2026-11-26  8:37   ` Peter Chen
2026-12-03  7:05     ` Faisal Hassan
2026-11-26 17:31   ` Krishna Kurapati
2026-11-23 10:47 ` [PATCH v5 04/11] dt-bindings: usb: Add qcom,sa8255p-dwc3 for firmware-managed resources Faisal Hassan
2026-11-23 10:47 ` [PATCH v5 05/11] usb: host: xhci-plat: Support XHCI_RESET_ON_RESUME via device property Faisal Hassan
2026-11-23 10:47 ` [PATCH v5 06/11] usb: dwc3: Support resetting the xHCI host on system resume Faisal Hassan
2026-11-23 10:47 ` [PATCH v5 07/11] usb: dwc3: qcom: Recover controller state after power loss in system suspend Faisal Hassan
2026-11-26  9:52   ` Peter Chen
2026-12-03  7:04     ` Faisal Hassan [this message]
2026-11-23 10:47 ` [PATCH v5 08/11] usb: dwc3: qcom: Restore VBUS override after system resume Faisal Hassan
2026-11-26  9:54   ` Peter Chen
2026-11-26 17:32   ` Krishna Kurapati
2026-11-23 10:47 ` [PATCH v5 09/11] usb: dwc3: qcom: Assert controller reset on remove and probe failure Faisal Hassan
2026-11-26  9:56   ` Peter Chen
2026-11-23 10:47 ` [PATCH v5 10/11] usb: dwc3: qcom: Support firmware-managed resource states for power management Faisal Hassan
2026-11-26 10:09   ` Peter Chen
2026-11-23 10:47 ` [PATCH v5 11/11] usb: dwc3: qcom: Enable VBUS override at probe for default peripheral role Faisal Hassan
2026-11-26 10:12   ` Peter Chen
2026-11-26 17:34   ` Krishna Kurapati

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bac9843d-d77f-49be-bb94-2a2e467d00c0@oss.qualcomm.com \
    --to=faisal.hassan@oss.qualcomm.com \
    --cc=Thinh.Nguyen@synopsys.com \
    --cc=devicetree@vger.kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=krishna.kurapati@oss.qualcomm.com \
    --cc=krzysztof.kozlowski@oss.qualcomm.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=p.zabel@pengutronix.de \
    --cc=peter.chen@oss.qualcomm.com \
    --cc=sriram.dash@oss.qualcomm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox