From: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
To: "Guilherme G. Piccoli" <gpiccoli@igalia.com>
Cc: Thinh Nguyen <Thinh.Nguyen@synopsys.com>,
"linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>,
"balbi@kernel.org" <balbi@kernel.org>,
"gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>,
"johan@kernel.org" <johan@kernel.org>,
"quic_wcheng@quicinc.com" <quic_wcheng@quicinc.com>,
"kernel@gpiccoli.net" <kernel@gpiccoli.net>,
"kernel-dev@igalia.com" <kernel-dev@igalia.com>,
Andrey Smirnov <andrew.smirnov@gmail.com>,
Vivek Dasmohapatra <vivek@collabora.com>,
"piyush.mehta@amd.com" <piyush.mehta@amd.com>,
"ray.huang@amd.com" <ray.huang@amd.com>
Subject: Re: [PATCH] usb: dwc3: Fix spurious wakeup when port is on device mode
Date: Fri, 8 Mar 2024 02:42:27 +0000 [thread overview]
Message-ID: <20240308024222.oaxnvagajnnstxrh@synopsys.com> (raw)
In-Reply-To: <70a7692d-647c-9be7-00a6-06fc60f77294@igalia.com>
On Thu, Mar 07, 2024, Guilherme G. Piccoli wrote:
> On 06/03/2024 21:40, Thinh Nguyen wrote:
> > [...]
> >
> > Can you try this? I made some adjustments to the previous conditions:
> > * If operate as device mode, only allow system wakeup if there's gadget
> > * driver binded.
> > * Make sure to pass the wakeup config to the xhci platform device when
> > switch to host.
> >
> > If it works, I'll clean this up and split this into 2 separate patches.
> >
> > Thanks,
> > Thinh
> >
> > <patch>
>
>
> Hi Thinh, thanks again for your support!
>
> I've tested the suggested patch, and it's working fine in both device
> and host modes. In both modes the system suspends and wakes up fine.
>
> And when in host mode, with USB connected, I see the following on dmesg:
> "xhci-hcd xhci-hcd.2.auto: xhci_plat_suspend: device_may_wakeup: 1"
That's great! I assumed you tested remote wakeup from the keyboard?
>
> Please CC me in the official patches if possible, I can send my
> Tested-by tags there.
> Cheers,
>
>
Thanks for testing! I sent out the patch. I think it can be done in a
single patch. Your Tested-by will be very helpful.
BR,
Thinh
next prev parent reply other threads:[~2024-03-08 2:43 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-22 16:51 [PATCH] usb: dwc3: Fix spurious wakeup when port is on device mode Guilherme G. Piccoli
2023-12-04 11:36 ` Guilherme G. Piccoli
2023-12-05 1:23 ` Thinh Nguyen
2023-12-05 14:40 ` Guilherme G. Piccoli
2024-01-09 18:00 ` Guilherme G. Piccoli
2024-01-11 2:01 ` Thinh Nguyen
2024-01-11 16:13 ` Guilherme G. Piccoli
2024-01-13 1:33 ` Thinh Nguyen
2024-01-15 10:44 ` Vivek Dasmohapatra
2024-01-17 0:37 ` Thinh Nguyen
2024-01-16 16:11 ` Guilherme G. Piccoli
2024-01-17 0:34 ` Thinh Nguyen
2024-01-17 10:44 ` Guilherme G. Piccoli
2024-01-18 0:39 ` Thinh Nguyen
2024-01-21 17:48 ` Guilherme G. Piccoli
2024-01-23 2:12 ` Thinh Nguyen
2024-01-28 15:25 ` Guilherme G. Piccoli
2024-01-30 2:17 ` Thinh Nguyen
2024-01-31 18:16 ` Guilherme G. Piccoli
2024-01-31 19:16 ` Guilherme G. Piccoli
2024-02-01 1:23 ` Thinh Nguyen
2024-02-01 1:23 ` Thinh Nguyen
2024-02-01 14:39 ` Guilherme G. Piccoli
2024-02-06 2:53 ` Thinh Nguyen
2024-02-06 10:30 ` Guilherme G. Piccoli
2024-02-08 23:53 ` Thinh Nguyen
2024-02-09 1:18 ` Guilherme G. Piccoli
2024-03-04 15:59 ` Guilherme G. Piccoli
2024-03-05 2:41 ` Thinh Nguyen
2024-03-07 0:40 ` Thinh Nguyen
2024-03-07 19:22 ` Guilherme G. Piccoli
2024-03-08 2:42 ` Thinh Nguyen [this message]
2024-03-08 11:52 ` Guilherme G. Piccoli
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=20240308024222.oaxnvagajnnstxrh@synopsys.com \
--to=thinh.nguyen@synopsys.com \
--cc=andrew.smirnov@gmail.com \
--cc=balbi@kernel.org \
--cc=gpiccoli@igalia.com \
--cc=gregkh@linuxfoundation.org \
--cc=johan@kernel.org \
--cc=kernel-dev@igalia.com \
--cc=kernel@gpiccoli.net \
--cc=linux-usb@vger.kernel.org \
--cc=piyush.mehta@amd.com \
--cc=quic_wcheng@quicinc.com \
--cc=ray.huang@amd.com \
--cc=vivek@collabora.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