* [RFC/PATCH v4 0/3] UAS Gadget Driver.
@ 2011-12-04 20:18 Shimrit Malichi
[not found] ` <1323029894-16106-1-git-send-email-smalichi-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
0 siblings, 1 reply; 9+ messages in thread
From: Shimrit Malichi @ 2011-12-04 20:18 UTC (permalink / raw)
To: greg-U8xfFu+wG4EAvxtiuMwx3w
Cc: linux-usb-u79uwXL29TY76Z2rM5mHXA,
linux-arm-msm-u79uwXL29TY76Z2rM5mHXA, balbi-l0cyMroinI0,
ablay-sgV2jX0FEOL9JmXXK+q4OQ, Shimrit Malichi
This patch series implements the UAS gadget driver.
It has been tested using the following:
1. Linux UAS host driver
2. Internaly developed unittests framework
The device is functional. More stress tests are needed.
TODO: Further testing
De-register the gadget if the main thread dies.
Shimrit Malichi (3):
uas: MS UAS Gadget driver - Infrastructure
uas: MS UAS Gadget driver - Implementation
uas: Supporting UAS and BOT configuration.
drivers/usb/gadget/f_mass_storage.c | 66 +-
drivers/usb/gadget/f_uasp.c | 2583 +++++++++++++++++++++++++++++++++++
drivers/usb/gadget/f_uasp.h | 524 +++++++
drivers/usb/gadget/mass_storage.c | 75 +-
drivers/usb/gadget/storage_common.c | 90 ++-
drivers/usb/gadget/uasp_cmdiu.c | 1898 +++++++++++++++++++++++++
drivers/usb/gadget/uasp_tmiu.c | 528 +++++++
7 files changed, 5687 insertions(+), 77 deletions(-)
create mode 100644 drivers/usb/gadget/f_uasp.c
create mode 100644 drivers/usb/gadget/f_uasp.h
create mode 100644 drivers/usb/gadget/uasp_cmdiu.c
create mode 100644 drivers/usb/gadget/uasp_tmiu.c
--
1.7.6
--
Sent by a Consultant for Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 9+ messages in thread[parent not found: <1323029894-16106-1-git-send-email-smalichi-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>]
* Re: [RFC/PATCH v4 0/3] UAS Gadget Driver. [not found] ` <1323029894-16106-1-git-send-email-smalichi-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org> @ 2011-12-05 15:55 ` Greg KH 2011-12-06 16:39 ` Shimrit Malichi 0 siblings, 1 reply; 9+ messages in thread From: Greg KH @ 2011-12-05 15:55 UTC (permalink / raw) To: Shimrit Malichi Cc: linux-usb-u79uwXL29TY76Z2rM5mHXA, linux-arm-msm-u79uwXL29TY76Z2rM5mHXA, balbi-l0cyMroinI0, ablay-sgV2jX0FEOL9JmXXK+q4OQ On Sun, Dec 04, 2011 at 10:18:14PM +0200, Shimrit Malichi wrote: > This patch series implements the UAS gadget driver. > > It has been tested using the following: > 1. Linux UAS host driver > 2. Internaly developed unittests framework > > The device is functional. More stress tests are needed. > > TODO: Further testing > De-register the gadget if the main thread dies. What about all of the review comments you seem to be ignoring that have been made for this driver in the past? greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [RFC/PATCH v4 0/3] UAS Gadget Driver. 2011-12-05 15:55 ` Greg KH @ 2011-12-06 16:39 ` Shimrit Malichi 2011-12-06 17:09 ` Greg KH 0 siblings, 1 reply; 9+ messages in thread From: Shimrit Malichi @ 2011-12-06 16:39 UTC (permalink / raw) To: Greg KH; +Cc: Shimrit Malichi, linux-usb, linux-arm-msm, balbi, ablay > On Sun, Dec 04, 2011 at 10:18:14PM +0200, Shimrit Malichi wrote: >> This patch series implements the UAS gadget driver. >> >> It has been tested using the following: >> 1. Linux UAS host driver >> 2. Internaly developed unittests framework >> >> The device is functional. More stress tests are needed. >> >> TODO: Further testing >> De-register the gadget if the main thread dies. > > What about all of the review comments you seem to be ignoring that have > been made for this driver in the past? > > greg k-h > We addressed most of the comments. One of them was indeed to use the target framework, however when we asked an additional information about how to use this framework we didn't get a detailed reply. Sebastian gave an answer on how to use it yesterday. We will study his answer, and come up with a new code. Thanks, Shimrit -- Consultant for Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [RFC/PATCH v4 0/3] UAS Gadget Driver. 2011-12-06 16:39 ` Shimrit Malichi @ 2011-12-06 17:09 ` Greg KH 2011-12-07 8:39 ` Felipe Balbi 0 siblings, 1 reply; 9+ messages in thread From: Greg KH @ 2011-12-06 17:09 UTC (permalink / raw) To: Shimrit Malichi; +Cc: linux-usb, linux-arm-msm, balbi, ablay On Tue, Dec 06, 2011 at 08:39:58AM -0800, Shimrit Malichi wrote: > > > On Sun, Dec 04, 2011 at 10:18:14PM +0200, Shimrit Malichi wrote: > >> This patch series implements the UAS gadget driver. > >> > >> It has been tested using the following: > >> 1. Linux UAS host driver > >> 2. Internaly developed unittests framework > >> > >> The device is functional. More stress tests are needed. > >> > >> TODO: Further testing > >> De-register the gadget if the main thread dies. > > > > What about all of the review comments you seem to be ignoring that have > > been made for this driver in the past? > > > > greg k-h > > > We addressed most of the comments. One of them was indeed to use the > target framework, however when we asked an additional information about > how to use this framework we didn't get a detailed reply. Sebastian gave > an answer on how to use it yesterday. We will study his answer, and come > up with a new code. No one is going to normally give you such a detailed answer as he did. You were told to go use that interface, and Sebastian did just that, why couldn't you have done that in the first place, saving you, and everyone else here, time and effort of telling you to go do that again? greg k-h ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [RFC/PATCH v4 0/3] UAS Gadget Driver. 2011-12-06 17:09 ` Greg KH @ 2011-12-07 8:39 ` Felipe Balbi 2011-12-07 17:34 ` Shimrit Malichi 0 siblings, 1 reply; 9+ messages in thread From: Felipe Balbi @ 2011-12-07 8:39 UTC (permalink / raw) To: Greg KH; +Cc: Shimrit Malichi, linux-usb, linux-arm-msm, balbi, ablay [-- Attachment #1: Type: text/plain, Size: 1623 bytes --] On Tue, Dec 06, 2011 at 09:09:55AM -0800, Greg KH wrote: > On Tue, Dec 06, 2011 at 08:39:58AM -0800, Shimrit Malichi wrote: > > > > > On Sun, Dec 04, 2011 at 10:18:14PM +0200, Shimrit Malichi wrote: > > >> This patch series implements the UAS gadget driver. > > >> > > >> It has been tested using the following: > > >> 1. Linux UAS host driver > > >> 2. Internaly developed unittests framework > > >> > > >> The device is functional. More stress tests are needed. > > >> > > >> TODO: Further testing > > >> De-register the gadget if the main thread dies. > > > > > > What about all of the review comments you seem to be ignoring that have > > > been made for this driver in the past? > > > > > > greg k-h > > > > > We addressed most of the comments. One of them was indeed to use the > > target framework, however when we asked an additional information about > > how to use this framework we didn't get a detailed reply. Sebastian gave > > an answer on how to use it yesterday. We will study his answer, and come > > up with a new code. > > No one is going to normally give you such a detailed answer as he did. > You were told to go use that interface, and Sebastian did just that, why > couldn't you have done that in the first place, saving you, and everyone > else here, time and effort of telling you to go do that again? other than that, it's just waste of time if you go write new code, now that Sebastian already has that almost ready. Save yourself sometime and just help Sebastian finishing what he's already done. Even testing is welcome at this stage. -- balbi [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 836 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [RFC/PATCH v4 0/3] UAS Gadget Driver. 2011-12-07 8:39 ` Felipe Balbi @ 2011-12-07 17:34 ` Shimrit Malichi [not found] ` <dbceef1c27984ec023a409618d25504c.squirrel-mMfbam+mt9083fI46fginR2eb7JE58TQ@public.gmane.org> 0 siblings, 1 reply; 9+ messages in thread From: Shimrit Malichi @ 2011-12-07 17:34 UTC (permalink / raw) To: balbi; +Cc: Greg KH, Shimrit Malichi, linux-usb, linux-arm-msm, ablay > On Tue, Dec 06, 2011 at 09:09:55AM -0800, Greg KH wrote: >> On Tue, Dec 06, 2011 at 08:39:58AM -0800, Shimrit Malichi wrote: >> > >> > > On Sun, Dec 04, 2011 at 10:18:14PM +0200, Shimrit Malichi wrote: >> > >> This patch series implements the UAS gadget driver. >> > >> >> > >> It has been tested using the following: >> > >> 1. Linux UAS host driver >> > >> 2. Internaly developed unittests framework >> > >> >> > >> The device is functional. More stress tests are needed. >> > >> >> > >> TODO: Further testing >> > >> De-register the gadget if the main thread dies. >> > > >> > > What about all of the review comments you seem to be ignoring that >> have >> > > been made for this driver in the past? >> > > >> > > greg k-h >> > > >> > We addressed most of the comments. One of them was indeed to use the >> > target framework, however when we asked an additional information >> about >> > how to use this framework we didn't get a detailed reply. Sebastian >> gave >> > an answer on how to use it yesterday. We will study his answer, and >> come >> > up with a new code. >> >> No one is going to normally give you such a detailed answer as he did. >> You were told to go use that interface, and Sebastian did just that, why >> couldn't you have done that in the first place, saving you, and everyone >> else here, time and effort of telling you to go do that again? > > other than that, it's just waste of time if you go write new code, now > that Sebastian already has that almost ready. Save yourself sometime and > just help Sebastian finishing what he's already done. Even testing is > welcome at this stage. > > -- > balbi > Hi guys, Thanks for all your inputs. The good thing is that we now have a better understanding of the UASP implementation that was done offline, and as balbi mentioned, probably avoid duplicate work. We will coordinate with Sebastian regarding the next phases. Shimrit -- Consultant for Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <dbceef1c27984ec023a409618d25504c.squirrel-mMfbam+mt9083fI46fginR2eb7JE58TQ@public.gmane.org>]
* Re: [RFC/PATCH v4 0/3] UAS Gadget Driver. [not found] ` <dbceef1c27984ec023a409618d25504c.squirrel-mMfbam+mt9083fI46fginR2eb7JE58TQ@public.gmane.org> @ 2011-12-08 17:37 ` Sebastian Andrzej Siewior 2011-12-21 14:05 ` Shimrit Malichi 0 siblings, 1 reply; 9+ messages in thread From: Sebastian Andrzej Siewior @ 2011-12-08 17:37 UTC (permalink / raw) To: Shimrit Malichi Cc: balbi-l0cyMroinI0, Greg KH, linux-usb-u79uwXL29TY76Z2rM5mHXA, linux-arm-msm-u79uwXL29TY76Z2rM5mHXA, ablay-sgV2jX0FEOL9JmXXK+q4OQ * Shimrit Malichi | 2011-12-07 09:34:33 [-0800]: > >Hi guys, Hi, >Thanks for all your inputs. The good thing is that we now have a better >understanding of the UASP implementation that was done offline, and as >balbi mentioned, probably avoid duplicate work. >We will coordinate with Sebastian regarding the next phases. Just posted RFC of something that works at HS. It was tested against dummy_hcd so nobody is required to use real hardware :) >Shimrit Sebastian -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [RFC/PATCH v4 0/3] UAS Gadget Driver. 2011-12-08 17:37 ` Sebastian Andrzej Siewior @ 2011-12-21 14:05 ` Shimrit Malichi 2011-12-21 14:27 ` Felipe Balbi 0 siblings, 1 reply; 9+ messages in thread From: Shimrit Malichi @ 2011-12-21 14:05 UTC (permalink / raw) To: Sebastian Andrzej Siewior Cc: Shimrit Malichi, balbi, Greg KH, linux-usb, linux-arm-msm, ablay > * Shimrit Malichi | 2011-12-07 09:34:33 [-0800]: > >> >>Hi guys, > Hi, > >>Thanks for all your inputs. The good thing is that we now have a better >>understanding of the UASP implementation that was done offline, and as >>balbi mentioned, probably avoid duplicate work. >>We will coordinate with Sebastian regarding the next phases. > > Just posted RFC of something that works at HS. It was tested against > dummy_hcd so nobody is required to use real hardware :) > >>Shimrit > > Sebastian > -- > To unsubscribe from this list: send the line "unsubscribe linux-usb" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Hi Sebastian, Thanks for the update. A big effort was indeed invested. Can you please share your future plans regarding UASP? are you planning to add super speed support as well? Shimrit -- Consultant for Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [RFC/PATCH v4 0/3] UAS Gadget Driver. 2011-12-21 14:05 ` Shimrit Malichi @ 2011-12-21 14:27 ` Felipe Balbi 0 siblings, 0 replies; 9+ messages in thread From: Felipe Balbi @ 2011-12-21 14:27 UTC (permalink / raw) To: Shimrit Malichi Cc: Sebastian Andrzej Siewior, balbi, Greg KH, linux-usb, linux-arm-msm, ablay [-- Attachment #1: Type: text/plain, Size: 1257 bytes --] Hi, On Wed, Dec 21, 2011 at 06:05:26AM -0800, Shimrit Malichi wrote: > > * Shimrit Malichi | 2011-12-07 09:34:33 [-0800]: > > > >> > >>Hi guys, > > Hi, > > > >>Thanks for all your inputs. The good thing is that we now have a better > >>understanding of the UASP implementation that was done offline, and as > >>balbi mentioned, probably avoid duplicate work. > >>We will coordinate with Sebastian regarding the next phases. > > > > Just posted RFC of something that works at HS. It was tested against > > dummy_hcd so nobody is required to use real hardware :) > > > >>Shimrit > > > > Sebastian > > -- > > To unsubscribe from this list: send the line "unsubscribe linux-usb" in > > the body of a message to majordomo@vger.kernel.org > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > > Hi Sebastian, > > Thanks for the update. A big effort was indeed invested. Can you please > share your future plans regarding UASP? are you planning to add super > speed support as well? I can answer that. We are already working on adding superspeed support for target and together with it, proper streams support too. It unlikely to make it for 3.3 though, but on 3.4 we might get it merged. -- balbi [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 836 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2011-12-21 14:27 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-04 20:18 [RFC/PATCH v4 0/3] UAS Gadget Driver Shimrit Malichi
[not found] ` <1323029894-16106-1-git-send-email-smalichi-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2011-12-05 15:55 ` Greg KH
2011-12-06 16:39 ` Shimrit Malichi
2011-12-06 17:09 ` Greg KH
2011-12-07 8:39 ` Felipe Balbi
2011-12-07 17:34 ` Shimrit Malichi
[not found] ` <dbceef1c27984ec023a409618d25504c.squirrel-mMfbam+mt9083fI46fginR2eb7JE58TQ@public.gmane.org>
2011-12-08 17:37 ` Sebastian Andrzej Siewior
2011-12-21 14:05 ` Shimrit Malichi
2011-12-21 14:27 ` Felipe Balbi
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).