mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH v3 0/4] usbgadget: add support for USB mass storage gadget
Date: Mon,  3 May 2021 14:45:04 +0200	[thread overview]
Message-ID: <20210503124508.856-1-a.fatoum@pengutronix.de> (raw)

v2 -> v3:
  - rebase on v3 of the preparatory system partitions series
  - have usbgadget -S '' fallback to use $global.system.partitions
  - do file_list_detect_all at gadget instantiation time

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                |   29 +-
 common/usbgadget.c                  |   36 +-
 drivers/usb/gadget/Kconfig          |   15 +-
 drivers/usb/gadget/Makefile         |    1 +
 drivers/usb/gadget/f_mass_storage.c | 2755 +++++++++++++++++++++++++++
 drivers/usb/gadget/multi.c          |   36 +
 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          |   21 +-
 include/usb/mass_storage.h          |   28 +
 include/usb/storage.h               |   87 +
 15 files changed, 3474 insertions(+), 30 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


             reply	other threads:[~2021-05-03 12:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-03 12:45 Ahmad Fatoum [this message]
2021-05-03 12:45 ` [PATCH v3 1/4] bthread: implement basic Linux-like completion API Ahmad Fatoum
2021-05-03 12:45 ` [PATCH v3 2/4] slice: reschedule bthreads doing File I/O in command context Ahmad Fatoum
2021-05-03 12:45 ` [PATCH v3 3/4] usbgadget: refactor usbgadget_register to accept array Ahmad Fatoum
2021-05-03 12:45 ` [PATCH v3 4/4] usbgadget: add support for USB mass storage gadget Ahmad Fatoum

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=20210503124508.856-1-a.fatoum@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /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