mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v2 0/4] usbgadget: add support for USB mass storage gadget
@ 2021-04-30 13:40 Ahmad Fatoum
  2021-04-30 13:40 ` [PATCH v2 1/4] bthread: implement basic Linux-like completion API Ahmad Fatoum
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Ahmad Fatoum @ 2021-04-30 13:40 UTC (permalink / raw)
  To: barebox

This series applies on top of:
https://lore.barebox.org/barebox/20210215102740.30418-1-a.fatoum@pengutronix.de/

v1 was here:
https://lore.barebox.org/barebox/20210215102740.30418-1-a.fatoum@pengutronix.de/#r
https://lore.barebox.org/barebox/20210215103704.32537-1-a.fatoum@pengutronix.de/

v1 -> v2:
  - rebase on top of new bthread API
  - drop blocking fallback implementation; we now have bthreads
    everywhere
  - reuse $global.system.partitions instead of creating even more
    autostart variables
  - fix assert_command_context to actually do what the commit message said

Ahmad Fatoum (4):
  bthread: implement basic Linux-like completion API
  slice: reschedule bthreads doing File I/O in command context
  usbgadget: refactor usbgadget_register to accept array
  usbgadget: add support for USB mass storage gadget

 Documentation/user/usb.rst          |    5 +
 commands/usbgadget.c                |   28 +-
 common/usbgadget.c                  |   29 +-
 drivers/usb/gadget/Kconfig          |   15 +-
 drivers/usb/gadget/Makefile         |    1 +
 drivers/usb/gadget/f_mass_storage.c | 2753 +++++++++++++++++++++++++++
 drivers/usb/gadget/multi.c          |   37 +
 drivers/usb/gadget/storage_common.c |  173 ++
 drivers/usb/gadget/storage_common.h |  245 +++
 include/linux/completion.h          |   55 +
 include/scsi.h                      |   12 +
 include/slice.h                     |    6 +-
 include/usb/gadget-multi.h          |   19 +-
 include/usb/mass_storage.h          |   28 +
 include/usb/storage.h               |   87 +
 15 files changed, 3469 insertions(+), 24 deletions(-)
 create mode 100644 drivers/usb/gadget/f_mass_storage.c
 create mode 100644 drivers/usb/gadget/storage_common.c
 create mode 100644 drivers/usb/gadget/storage_common.h
 create mode 100644 include/linux/completion.h
 create mode 100644 include/usb/mass_storage.h
 create mode 100644 include/usb/storage.h

-- 
2.29.2


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


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

end of thread, other threads:[~2021-04-30 13:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-30 13:40 [PATCH v2 0/4] usbgadget: add support for USB mass storage gadget Ahmad Fatoum
2021-04-30 13:40 ` [PATCH v2 1/4] bthread: implement basic Linux-like completion API Ahmad Fatoum
2021-04-30 13:40 ` [PATCH v2 2/4] slice: reschedule bthreads doing File I/O in command context Ahmad Fatoum
2021-04-30 13:41 ` [PATCH v2 3/4] usbgadget: refactor usbgadget_register to accept array Ahmad Fatoum
2021-04-30 13:41 ` [PATCH v2 4/4] usbgadget: add support for USB mass storage gadget Ahmad Fatoum

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