Hi, Krzysztof Opasiak <k.opasiak@xxxxxxxxxxx> writes: > Hi, > > On 09/30/2015 06:15 PM, Felipe Balbi wrote: >> On Wed, Sep 30, 2015 at 11:11:52AM -0500, Felipe Balbi wrote: >>> On Tue, Sep 22, 2015 at 08:40:23PM +0200, Krzysztof Opasiak wrote: >>>> Since: >>>> >>>> commit e0857ce58e8658657f5f12fe25272b93cfeb16aa >>> >>> this should be something like: >>> >>> Since commit e0857ce58e86 (" .... ") >>> >>>> ("usb: gadget: loopback: don't queue requests to bogus endpoints") >>>> >>>> Loopback function is not realy working as that commit removed >>>> all looping back logic. After that commit ep-out works like >>>> /dev/null and ep-in works like /dev/zero. >>>> >>>> This commit fix this issue by allocating set of out requests >>>> and set of in requests but each out req shares buffer with >>>> one in req: >>>> >>>> out_req->buf ---> buf <--- in_req.buf >>>> out_req->context <---> in_req.context >>>> >>>> The completion routine simply enqueue the suitable req in >>>> an oposite direction. >>>> >>>> Cc: <stable@xxxxxxxxxxxxxxx> # 3.18+ >>> >>> missing Fixes: e0857ce58e86 ("...") >>> >>> I'll fix both while applying, but make sure to make this proper >>> next time. >> >> actually fails to apply to v4.3-rc3, please rebase. >> > > Sorry for my late response but I was out of office due to ELCE in Dublin. > > I managed to apply this series onto 4.3-rc5 without any conflicts. > > Would you like me to split this series into 2 separate one so you can > apply only this commit and leave the first one for the next merge window? yes, please. Thanks -- balbi
Attachment:
signature.asc
Description: PGP signature