public inbox for linux-usb@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Fixes for USB3 CV Chapter 9.15 tests
@ 2025-04-22 10:32 Prashanth K
  2025-04-22 10:32 ` [PATCH v2 1/3] usb: gadget: f_ecm: Add get_status callback Prashanth K
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Prashanth K @ 2025-04-22 10:32 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Thinh Nguyen, Kees Bakker, William McVicker,
	Marek Szyprowski
  Cc: linux-usb, linux-kernel, Prashanth K

While performing USB3 Command Verifier Chapter 9 tests, failures
were observed during 9.15 ("Function Remote Wakeup Enabled Test").
This is due to the following reasons,

1. Interfaces were incorrectly reporting as remote wakeup capable
   when host requested GET_STATUS.
2. Remote wakeup failures from DWC3 driver due to timeouts.

Address them through this series.

Changes in v2:
- Don't advertise func wakeup capability if USB_CONFIG_ATT_WAKEUP
  is not set in bmAttributes.
- Refactored func wakeup logic in linksts_change_interrupt().

Prashanth K (3):
  usb: gadget: f_ecm: Add get_status callback
  usb: gadget: Use get_status callback to set remote wakeup capability
  usb: dwc3: gadget: Make gadget_wakeup asynchronous

 drivers/usb/dwc3/core.h             |  4 ++
 drivers/usb/dwc3/gadget.c           | 60 +++++++++++------------------
 drivers/usb/gadget/composite.c      | 12 +++---
 drivers/usb/gadget/function/f_ecm.c |  7 ++++
 4 files changed, 39 insertions(+), 44 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-04-22 22:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-22 10:32 [PATCH v2 0/3] Fixes for USB3 CV Chapter 9.15 tests Prashanth K
2025-04-22 10:32 ` [PATCH v2 1/3] usb: gadget: f_ecm: Add get_status callback Prashanth K
2025-04-22 22:13   ` Thinh Nguyen
2025-04-22 10:32 ` [PATCH v2 2/3] usb: gadget: Use get_status callback to set remote wakeup capability Prashanth K
2025-04-22 22:15   ` Thinh Nguyen
2025-04-22 10:32 ` [PATCH v2 3/3] usb: dwc3: gadget: Make gadget_wakeup asynchronous Prashanth K
2025-04-22 22:11   ` Thinh Nguyen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox