Re: [PATCHv5 00/18] Equivalent of tcm_usb_gadget with configfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Andrzej & Co,

On Fri, 2015-12-11 at 16:06 +0100, Andrzej Pietrasiewicz wrote:
> Dear All,
> 
> This series adds support to tcm usb gadget for composing it with configfs.
> 
> @Felipe: The v4 series was rebased onto Nicholas' tree (target-pending).
> Consequently, the recent fixing patches were based against that tree.
> This (v5) series is rebased onto your tree in case you want to apply it,
> it includes the said recent fixing patches.
> 
> @target-devel folks: You might be wondering why add configfs for something
> which already supports configfs. In tcm_usb_gadget configfs has beeen
> used for configuring the SCSI target part, but the usb gadget part
> is considered a legacy gadget. A legacy gadget is a composite usb gadget
> whose composition is defined statically at compilation time.
> Composite gadgets can consist of a number of "functions" and configurations.
> In legacy gadgets the selection is hardcoded in a dedicated kernel
> module. But with configfs the selection can be made at runtime without
> writing any kernel code. The conversion process started almost three
> years ago.
> 
> The series aims at integrating configfs into tcm, the way it has been
> done with 19 of 20 usb functions. In other words this concludes the
> process of conversion to configfs in usb gadgets.
> 
> The series depends on the series from Chrisoph:
> http://www.spinics.net/lists/target-devel/msg10730.html
> 
> v4..v5:
> - rebased onto Felipe's next
> - included Krzysztof's patches adding unlocked versions of
> depend/undepend item
> - included changes proposed by Dan Carpenter, thanks Dan!
> 

target-pending/for-next has been updated to include -v5, and a quick
test PULL shows no merge conflicts against Felipe's latest next usb
tree.  Also, no merge conflicts where reported by SFR in Dec18
linux-next code with previous -v4 series patches..

That said, there have been no further discussion wrt configfs changes
that introduce configfs_depend_item_unlocked(), or it's use with
usb-gadget resource export for target mode operation.

Joel, please let me know if you have concerns and/or objections wrt
initial merge of configfs changes.

Also, the usb-gadget target specific patches have been updated to
include Sebastian's Acked-by tag.

Sebastian, please let us know if there are further changes you'd like
see ahead of initial merge.

Thank you,

--nab

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux