Skip to content

net/9p/usbg: series of fixes

Michael Grzeschik lkml stable v9fs 1 version In review

Get series with b4
b4 am [email protected] change-id 20260128-9pfixes-442c28f40622

Versions newest first

  1. v1 Latest11 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11net/9p/usbg: clear stale client pointer on closenet/9p/trans_usbg.c+45 -160 replies
2/11net/9p/usbg: also disable endpoints on p9_usbg_closenet/9p/trans_usbg.c+2 -00 replies
3/11net/9p/usbg: set client to Disconnected on usb9pfs_disablenet/9p/trans_usbg.c+5 -00 replies
4/11net/9p/usbg: always reset completion when disconnectingnet/9p/trans_usbg.c+2 -00 replies
5/11net/9p/usbg: only rely on one completionnet/9p/trans_usbg.c+5 -100 replies
6/11net/9p/usbg: add timeout for usbg_requestnet/9p/trans_usbg.c+9 -20 replies
7/11net/9p/usbg: add extra interface for status changenet/9p/trans_usbg.c+101 -180 replies
8/11tools/usb/p9_fwd: catch if claim_interface is not workingtools/usb/p9_fwd.py+7 -10 replies
9/11tools/usb/p9_fwd: catch write or read errors on disconnecttools/usb/p9_fwd.py+11 -30 replies
10/11tools/usb/p9_fwd: add daemon looptools/usb/p9_fwd.py+23 -100 replies
11/11tools/usb/p9_fwd: set new introduced alt mode 1 on interface 1tools/usb/p9_fwd.py+9 -10 replies

Reviews trailers per patch

1 of 11 patches has a Reviewed-by or Acked-by.

PatchGreg Kroah-Hartman
1/11R-b
2/11
3/11
4/11
5/11
6/11
7/11
8/11
9/11
10/11
11/11

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/11] net/9p/usbg: series of fixes

This series contains a bunch of patches to make the trans_usbg interface more reliable. It adds some extra checks on critical pathes and also solves the overall synchronisation of the daemon with the gadget. The forwarder script also gained the daemon mode to be run and recover any kind of disconnection.

---
Hyungjung Joo (1):
net/9p/usbg: clear stale client pointer on close

Michael Grzeschik (10):
net/9p/usbg: also disable endpoints on p9_usbg_close net/9p/usbg: set client to Disconnected on usb9pfs_disable net/9p/usbg: always reset completion when disconnecting net/9p/usbg: only rely on one completion net/9p/usbg: add timeout for usbg_request net/9p/usbg: add extra interface for status change tools/usb/p9_fwd: catch if claim_interface is not working tools/usb/p9_fwd: catch write or read errors on disconnect tools/usb/p9_fwd: add daemon loop
tools/usb/p9_fwd: set new introduced alt mode 1 on interface 1

 net/9p/trans_usbg.c | 211 +++++++++++++++++++++++++++++++++++++++++-----------
 tools/usb/p9_fwd.py |  67 +++++++++++++----
 2 files changed, 218 insertions(+), 60 deletions(-)

---
base-commit: 8a30aeb0d1b4e4aaf7f7bae72f20f2ae75385ccb
change-id: 20260128-9pfixes-442c28f40622

Best regards,

Signature · 1 line
Michael Grzeschik <[email protected]>