On Tuesday, March 04, 2014 12:06 PM, Dinh Nguyen wrote:
>
> From: Dinh Nguyen
>
> Hi,
>
> Apologies for sending the wrong 1st patch of this series.
>
> ---
> This is a shortened version of the v1 patch to combine the dwc2/s3c-hsotg into
> a single dual-role driver. The series will only move th
Hi Tony,
On 03/03/2014 09:02 PM, Tony Lindgren wrote:
> * Roger Quadros [140303 07:10]:
>> Move omap-control binding information to the right location.
>>
>> Signed-off-by: Roger Quadros
>> ---
>> Documentation/devicetree/bindings/phy/ti-phy.txt | 25
>> ++
>> Documentati
On 03/03/2014 08:52 PM, Tony Lindgren wrote:
> * Roger Quadros [140303 07:11]:
>> The OMAP_USB2 and OMAP_PIP3 phy devices will not be
>> detected if the OMAP_OCP2SCP driver is not present.
>> So select it.
>
> Selecting drivers like this will easily lead into missing
> dependencies. Especially it
Roger,
On Monday 03 March 2014 08:37 PM, Roger Quadros wrote:
From: Kishon Vijay Abraham I
Rename struct omap_control_usb to struct omap_control_phy since it can
be used to control PHY of USB, SATA and PCIE. Also move the driver and
include files under *phy* and made the corresponding changes
Hi,
On Monday 03 March 2014 08:37 PM, Roger Quadros wrote:
As this driver is no longer USB specific, use generic clock names.
- Fix PLL_SD_SHIFT from 9 to 10
- As optclk and wkupclk may not be always required, don't bail out
if they aren't available.
I think here too we face the same problem a
On 03/04/2014 11:29 AM, Kishon Vijay Abraham I wrote:
> Hi,
>
> On Monday 03 March 2014 08:37 PM, Roger Quadros wrote:
>> As this driver is no longer USB specific, use generic clock names.
>> - Fix PLL_SD_SHIFT from 9 to 10
>> - As optclk and wkupclk may not be always required, don't bail out
>> i
From: Sarah Sharp
> Greg, Dave, Freddy, question about cross-subsystem reverts below:
>
> On Fri, Feb 28, 2014 at 04:15:12PM -0500, Alan Stern wrote:
> > On Fri, 28 Feb 2014, Sarah Sharp wrote:
> >
> > > When testing 3.14-rc1 with a USB 3.0 Lexar flash drive, the drive fails
> > > to be mounted.
Hi ,
When we try to modprode Xhci-hcd Driver with "dmesg -n 6" command in
background , xhci driver loading failed.But if we give dmesg -n 7/5 or
any thing its work.
When Extended Capability register is being read its given zero insted
of 544 value .
Here is the Step to reproduce:
#dd if=/dev/mtd4
hi all:
from xhci spec, Interrupter Target is the value between 0 and MaxIntrs-1.
But why the parameter pass to TRB_INTR_TARGTRB_INTR_TARGET is always 0.
Does that mean so far xhci host didn't support multi-interrupt as
MSI-X suggested?
Thanks for your help in advance,
--
To unsubscribe from this
From: vichy
> hi all:
> from xhci spec, Interrupter Target is the value between 0 and MaxIntrs-1.
> But why the parameter pass to TRB_INTR_TARGTRB_INTR_TARGET is always 0.
>
> Does that mean so far xhci host didn't support multi-interrupt as
> MSI-X suggested?
AFAIK The Linux USB stack doesn't su
On 03/03/2014 08:37 PM, Greg KH wrote:
On Mon, Mar 03, 2014 at 07:30:17PM +0200, Mathias Nyman wrote:
xHCI driver has its own pci probe function that will call usb_hcd_pci_probe
to register its usb-2 bus, and then continue to manually register the
usb-3 bus. usb_hcd_pci_probe does a pm_runtime_p
Reset and reinitialize the device when the tx timeout occurs.
Signed-off-by: Hayes Wang
---
drivers/net/usb/r8152.c | 41 +++--
1 file changed, 31 insertions(+), 10 deletions(-)
diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c
index e04fcbd..23e
Reduce the numbers of tx and rx aggregation buffers.
Signed-off-by: Hayes Wang
---
drivers/net/usb/r8152.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c
index 72cbab1..b60b3bc 100644
--- a/drivers/net/usb/r8152.c
+++ b/d
Add additional parameter for non x86 platform for better throughput.
Signed-off-by: Hayes Wang
---
drivers/net/usb/r8152.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c
index b60b3bc..e04fcbd 100644
--- a/drivers/net/us
Support hw IPv6 checksum for TCP and UDP packets.
Note that the hw has the limitation of the range of the transport
offset. Besides, the TCP Pseudo Header of the IPv6 TSO of the hw
bases on the Microsoft document which excludes the packet length.
Signed-off-by: Hayes Wang
---
drivers/net/usb/r8
move the tx_bottom() from delayed_work to tasklet. It makes the rx
and tx balanced. If the device is in runtime suspend when getting
the tx packet, wakeup the device before trasmitting.
Signed-off-by: Hayes Wang
---
drivers/net/usb/r8152.c | 45 +++--
1 fi
Check tx agg list before spin lock to avoid doing spin lock every
times.
Signed-off-by: Hayes Wang
---
drivers/net/usb/r8152.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c
index 8ecb41b..00b3192 100644
--- a/drivers/net/usb/r8152.c
+++
Support hw rx checksum for TCP and UDP packets.
Signed-off-by: Hayes Wang
---
drivers/net/usb/r8152.c | 53 ++---
1 file changed, 50 insertions(+), 3 deletions(-)
diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c
index f1eaa18..5fdf0af 10
Support scatter gather and TSO.
Adjust the tx checksum function and set the max gso size to fix the
size of the tx aggregation buffer.
Signed-off-by: Hayes Wang
---
drivers/net/usb/r8152.c | 133 +---
1 file changed, 103 insertions(+), 30 deletions(-)
Replace some tp->netdev with netdev.
Signed-off-by: Hayes Wang
---
drivers/net/usb/r8152.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c
index c8bad62..151398b 100644
--- a/drivers/net/usb/r8152.c
+++ b/drivers/net/u
Use spin_lock and spin_unlock in interrupt context.
The ndo_start_xmit would not be called in interrupt context, so
replace the relative spin_lock_irqsave and spin_unlock_irqrestore
with spin_lock_bh and spin_unlock_bh.
Signed-off-by: Hayes Wang
---
drivers/net/usb/r8152.c | 28
The rtl8152_get_stats() returns the point address of the struct
net_device_stats. This could be got from struct net_device directly.
Signed-off-by: Hayes Wang
---
drivers/net/usb/r8152.c | 21 ++---
1 file changed, 6 insertions(+), 15 deletions(-)
diff --git a/drivers/net/usb/r8
Besides the adjustment of the code, support rx checksum,
TCP large send, and IPv6.
Hayes Wang (12):
r8152: deal with the empty line and space
r8152: replace tp->netdev with netdev
r8152: remove rtl8152_get_stats
r8152: replace spin_lock_irqsave and spin_unlock_irqrestore
r8152: check tx
Add or remove some empty lines. Replace the spaces with the tabs.
Signed-off-by: Hayes Wang
---
drivers/net/usb/r8152.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c
index 0654bd3..c8bad62 100644
--- a/drivers/net/u
From: Hayes Wang
> Support scatter gather and TSO.
>
> Adjust the tx checksum function and set the max gso size to fix the
> size of the tx aggregation buffer.
There is little point supporting TSO unless the usb host controller
supports arbitrary aligned scatter-gather.
All you do is require that
hi David:
2014-03-04 19:40 GMT+08:00 David Laight :
> From: vichy
>> hi all:
>> from xhci spec, Interrupter Target is the value between 0 and MaxIntrs-1.
>> But why the parameter pass to TRB_INTR_TARGTRB_INTR_TARGET is always 0.
>>
>> Does that mean so far xhci host didn't support multi-interrupt
There are known issues for switching the drivers between ECM mode and
vendor mode. The interrup transfer may become abnormal. The hardware
may have the opportunity to die if you change the configuration without
unloading the current driver first, because all the control transfers
of the current dri
David Laight [mailto:david.lai...@aculab.com]
> Sent: Tuesday, March 04, 2014 8:12 PM
> To: 'Hayes Wang'; net...@vger.kernel.org
> Cc: nic_s...@realtek.com; linux-ker...@vger.kernel.org;
> linux-usb@vger.kernel.org
> Subject: RE: [PATCH net-next 08/12] r8152: support TSO
>
> From: Hayes Wang
>
On Monday 03 March 2014 10:10 PM, Felipe Balbi wrote:
Hi,
On Mon, Mar 03, 2014 at 05:08:09PM +0530, Kishon Vijay Abraham I wrote:
Added support for optional PHY in dwc3 as not all SoCs having PHYs for DWC3
should be programmed. While this can be considered as a temporary fix,
a long term solut
From: hayeswang
> David Laight [mailto:david.lai...@aculab.com]
> > Sent: Tuesday, March 04, 2014 8:12 PM
> > To: 'Hayes Wang'; net...@vger.kernel.org
> > Cc: nic_s...@realtek.com; linux-ker...@vger.kernel.org;
> > linux-usb@vger.kernel.org
> > Subject: RE: [PATCH net-next 08/12] r8152: support T
Ming Lei writes:
>>> The SG entries don't come from usb-storage; they come from the block
>>> layer. As far as I know, there is no way to tell the block layer that
>>> each element in an SG list (except the last) must be a multiple of
>>> some specific size.
>>>
>>> > revert commit 3804fad45411
From: Bjørn Mork
> > If xHCI won't plan to support arbitrary-length scatter-gather any more, that
> > is fine to revert the commit forever. Otherwise, it should be better to
> > just
> > clear no_sg_constraint in xhcd, shouldn't it?
>
> No, that's what's currently causing bugs with the storage d
On Tue, 4 Mar 2014, David Laight wrote:
> > > Notice the request length: 1536. That's three 512-byte sectors. A
> > > little unusual, since most I/O is done in units of pages, which are
> > > 4096 bytes.
> > Ok, we can't have SuperSpeed mass storage devices broken, so it looks
> > like we'll ha
On Tue, 2014-03-04 at 14:35 +, David Laight wrote:
> Does that mean you are splitting the 64k 'ethernet packet' from TCP
> is software? I've looked at the ax88179 where the hardware can do it.
>
> Is there really a gain doing segmentation here if you have to do the
> extra data copy?
There i
On Mon, 3 Mar 2014, Pratik Prajapati wrote:
> Can anyone please explain me, how runtime d3 works for xhci.
It works the same way for all USB host controller drivers, including
xhci-hcd.
> I am trying to understand generic code/control flow. When usb bus is
> ideal, how RTD3 (runtime d3) will be
From: Eric Dumazet
> On Tue, 2014-03-04 at 14:35 +, David Laight wrote:
>
> > Does that mean you are splitting the 64k 'ethernet packet' from TCP
> > is software? I've looked at the ax88179 where the hardware can do it.
> >
> > Is there really a gain doing segmentation here if you have to do
On Tue, Mar 4, 2014 at 10:56 PM, David Laight wrote:
> From: Bjørn Mork
>> > If xHCI won't plan to support arbitrary-length scatter-gather any more,
>> > that
>> > is fine to revert the commit forever. Otherwise, it should be better to
>> > just
>> > clear no_sg_constraint in xhcd, shouldn't it
On Mon, Mar 03, 2014 at 09:20:02PM -0600, Dinh Nguyen wrote:
> Hi Paul,
>
> On 3/3/14 9:14 PM, Paul Zimmerman wrote:
> >> From: dingu...@altera.com [mailto:dingu...@altera.com]
> >> Sent: Monday, March 03, 2014 2:20 PM
> >>
> >> From: Dinh Nguyen
> >>
> >> The dwc2 IP on the SOCFPGA cannot use th
On Mon, Mar 03, 2014 at 09:06:13PM -0600, dingu...@altera.com wrote:
> From: Dinh Nguyen
>
> In preparation of combining the dwc2/s3c-hsotg driver in a single DRD driver,
> the defines in dwc2/hw.h needs to get updated so that the s3c-hsotg driver can
> use them.
>
> Signed-off-by: Dinh Nguyen
On Mon, Mar 03, 2014 at 09:25:13PM -0600, dingu...@altera.com wrote:
> From: Dinh Nguyen
>
> The dwc2 IP on the SOCFPGA cannot use the default HW configured
> FIFO sizes. The total FIFO depth as read from GHWCFG3 reports 0x1f80 or 8064
> 32-bit words. But the GRXFSIZ, GNPTXFSIZ, and HPTXFSIZ regi
Hi,
On Tue, Mar 04, 2014 at 07:30:20AM -0700, Jim Davis wrote:
> Building with the attached random configuration file,
>
> warning: (USB_OTG_FSM && FSL_USB2_OTG && USB_MV_OTG) selects USB_OTG
> which has unmet direct dependencies (USB_SUPPORT && USB && PM_RUNTIME)
> warning: (USB_OTG_FSM && FSL_U
On Mon, Mar 03, 2014 at 09:06:14PM -0600, dingu...@altera.com wrote:
> From: Dinh Nguyen
>
> Moves the s3c-hsotg driver into the dwc2 folder and use the dwc2 defines in
> hw.h. The s3c-hostg driver will now be built with a kconfig option under
> the dwc2 kconfig. USB_DWC2_HOST and USB_S3C_HSOTG a
Hi,
This is the seventh version of this patchset. First and most significant change
is that this patchset includes only patches touching the Generic PHY Framework.
Patches to the USB controllers were stripped as they require additional work.
S5PV210 support is also omitted - it requires more testi
Previously the of_phy_get function took a struct device * and
was declared static. It was impossible to call it from
another driver and thus it was impossible to get phy defined
for a given node. The old function was renamed to _of_phy_get
and was left for internal use. of_phy_get function was adde
Adding devm_of_phy_get will allow to get phys by supplying a
pointer to the struct device_node instead of struct device.
Signed-off-by: Kamil Debski
---
drivers/phy/phy-core.c | 31 +++
include/linux/phy/phy.h |8
2 files changed, 39 insertions(+)
dif
From: renev...@internode.on.net
> Not only that though, I moved to a SandyBridge platform and...
> The nic stops working very quickly when using an onboard Etron controller.
> The nic also stops working quickly when using an addon card with Renesas
> controller.
What I found was that the nic's tr
Add a new driver for the Exynos USB 2.0 PHY. The new driver uses the generic
PHY framework. The driver includes support for the Exynos 4210 and 4x12
SoC families.
Signed-off-by: Kamil Debski
---
.../devicetree/bindings/phy/samsung-phy.txt| 53
Documentation/phy/samsung-usb2.txt
From: Alan Stern
> There are only two reasonable ways to fix this: Add appropriate TRB
> fragment handling into xhci-hcd, or use bounce buffers for non-aligned
> requests.
>
> In theory the block layer could be taught about the need for these
> bounce buffers, but that would be only a partial solu
Add support for Exynos 5250. This driver is to replace the old
USB 2.0 PHY driver.
Signed-off-by: Kamil Debski
---
.../devicetree/bindings/phy/samsung-phy.txt|1 +
drivers/phy/Kconfig| 11 +
drivers/phy/Makefile |1 +
On 03/04/2014 12:21 PM, shishir tiwari wrote:
Hi ,
When we try to modprode Xhci-hcd Driver with "dmesg -n 6" command in
background , xhci driver loading failed.But if we give dmesg -n 7/5 or
any thing its work.
When Extended Capability register is being read its given zero insted
of 544 value .
On Mon, 3 Mar 2014, Dan Williams wrote:
> > In general I agree, and I like the compartmentalization of only needing
> > to take the lock in hub.c. But I still think we have a hole with a
> > scenario like the following (granted, this should never happen in
> > current code...):
> >
> > CPU1
commit 388e5c5 (usb: dwc3: remove dwc3 dependency
on host AND gadget.) created the possibility for
host-only and peripheral-only dwc3 builds but
left a possible randconfig build error when host-only
builds are selected.
Cc: # v3.8+
Reported-by: Jim Davis
Signed-off-by: Felipe Balbi
---
drivers
few new revisions of the core have been released,
add them to our list of revisions so we can apply
workarounds if necessary.
Signed-off-by: Felipe Balbi
---
drivers/usb/dwc3/core.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h
index 5b9
On Tue, Mar 4, 2014 at 11:21 PM, David Laight wrote:
>
> Actually most of the block layer code could be taught to split requests
> into multiple URBs. Or even resubmit bounced requests split in two.
> Although splitting requests won't help the network code.
It might not help storage too since the
Hello.
On 03/04/2014 10:34 AM, Chuansheng Liu wrote:
When the request length is aligned to maxpacketsize, sometimes
the return length ret > the user space requested len.
At that time, we will use min_t(size_t, ret, len) to limit the
size in case of user data buffer overflow.
But we need r
On Tue, 4 Mar 2014, David Laight wrote:
> > An alternative is to work around this particular problem by identifying
> > the code that submits the 3-sector SG element, and changing it to use
> > an even number of sectors. But obviously that doesn't solve the
> > underlying issue.
>
> Actually mos
On Mon, 3 Mar 2014, Dan Williams wrote:
> Ok, so the root issue is that the peering code needs to see
> hcd->primary_hcd = NULL to know that there is no longer a peer. I
> update usb_remove_hcd() to clear out ->shared_hcd and ->primary_hcd
> under the peer lock before we allow the root hub to be
On Tue, Mar 04, 2014 at 08:01:15PM +0300, Sergei Shtylyov wrote:
> Hello.
>
> On 03/04/2014 10:34 AM, Chuansheng Liu wrote:
>
> >When the request length is aligned to maxpacketsize, sometimes
> >the return length ret > the user space requested len.
>
> >At that time, we will use min_t(size_t, re
On Tue, 2014-03-04 at 20:01 +0800, Hayes Wang wrote:
> +static u32 r8152_xmit_frags(struct r8152 *tp, struct sk_buff *skb, u8 *data)
> +{
> + struct skb_shared_info *info = skb_shinfo(skb);
> + unsigned int cur_frag;
> + u32 total = skb_headlen(skb);
> +
> + memcpy(data, skb->data,
On Mon, 3 Mar 2014, Dan Williams wrote:
> Subject: usb: find internal hub tier mismatch via acpi
>
> From: Dan Williams
>
> ACPI identifies peer ports by setting their 'group_token' and
> 'group_position' _PLD data to the same value. If a platform has tier
> mismatch [1] , ACPI can override th
On Tue, Mar 04, 2014 at 10:45:34AM +0800, Ming Lei wrote:
> On Tue, Mar 4, 2014 at 5:47 AM, Sarah Sharp
> wrote:
> > Ok, we can't have SuperSpeed mass storage devices broken, so it looks
> > like we'll have to revert the last patch to add scatter-gather to the
> > ASIX driver to avoid that breaka
* Roger Quadros [140304 01:17]:
> Hi Tony,
>
> On 03/03/2014 09:02 PM, Tony Lindgren wrote:
> > * Roger Quadros [140303 07:10]:
> >> Move omap-control binding information to the right location.
> >>
> >> Signed-off-by: Roger Quadros
> >> ---
> >> Documentation/devicetree/bindings/phy/ti-phy.tx
On Tue, 2014-03-04 at 20:01 +0800, Hayes Wang wrote:
> Support scatter gather and TSO.
>
> - netdev->features |= NETIF_F_RXCSUM | NETIF_F_IP_CSUM;
> - netdev->hw_features = NETIF_F_RXCSUM | NETIF_F_IP_CSUM;
> + netdev->features |= NETIF_F_RXCSUM | NETIF_F_IP_CSUM | NETIF_F_SG |
> +
On Tue, 2014-03-04 at 20:01 +0800, Hayes Wang wrote:
> Support hw IPv6 checksum for TCP and UDP packets.
> +/*
> + * r8152_csum_workaround()
> + * The hw limites the value the transport offset. When the offset is out of
> the
> + * range, calculate the checksum by sw.
> + */
> +static void r8152
On Tue, 4 Mar 2014, Sarah Sharp wrote:
> Scatter-gather under xHCI seems to work fine on mass storage, but it
> fails with that particular ASIX device, because of how the xHCI driver
> sets up the buffers on the endpoint rings. We need to implement the TD
> fragment rules to avoid breaking this p
From: Sarah Sharp
...
> The block layer may submit scatter-gather lists with entries that
> are multiples of 512-byte blocks. That's fine for USB 2.0 devices,
> where the bulk endpoint max packet size is 512 bytes. But USB 3.0
> devices have bulk endpoints with a 1024 byte max packet size.
>
> T
On Tue, Mar 04, 2014 at 01:50:55PM +0200, Mathias Nyman wrote:
> On 03/03/2014 08:37 PM, Greg KH wrote:
> >On Mon, Mar 03, 2014 at 07:30:17PM +0200, Mathias Nyman wrote:
> >>xHCI driver has its own pci probe function that will call usb_hcd_pci_probe
> >>to register its usb-2 bus, and then continue
switch over to endpoint feature flags so we can
drop naming conventions.
Signed-off-by: Felipe Balbi
---
drivers/usb/gadget/lpc32xx_udc.c | 48
1 file changed, 48 insertions(+)
diff --git a/drivers/usb/gadget/lpc32xx_udc.c b/drivers/usb/gadget/lpc32xx_ud
switch over to endpoint feature flags so we can
drop naming conventions.
Signed-off-by: Felipe Balbi
---
drivers/usb/chipidea/udc.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/usb/chipidea/udc.c b/drivers/usb/chipidea/udc.c
index 80de2f8..e80dc82 100644
--- a/drivers/usb/c
Hi Greg,
On Tue, Mar 04, 2014 at 09:04:58AM -0800, Greg KH wrote:
> On Tue, Mar 04, 2014 at 01:50:55PM +0200, Mathias Nyman wrote:
> > On 03/03/2014 08:37 PM, Greg KH wrote:
> > >On Mon, Mar 03, 2014 at 07:30:17PM +0200, Mathias Nyman wrote:
> > >>xHCI driver has its own pci probe function that wi
switch over to endpoint feature flags so we can
drop naming conventions.
Signed-off-by: Felipe Balbi
---
drivers/usb/musb/musb_gadget.c | 13 +++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c
index d4aa779
This patch locks rpipe->seg_lock around the entire transfer segment
cleanup loop in wa_urb_dequeue instead of just one case of the switch
statement. This fixes a race between __wa_xfer_delayed_run and
wa_urb_dequeue where a transfer segment in the WA_SEG_DELAYED state
could be removed from the
Fix two race conditions that could cause memory corruption when
unlinking WUSB urbs.
Thomas Pugliese (2):
usb: wusbcore: fix potential double list_del on urb dequeue
usb: wusbcore: don't mark WA_SEG_DTI_PENDING segs as done in
urb_dequeue
drivers/usb/wusbcore/wa-xfer.c | 19
Data for transfer segments in the WA_SEG_DTI_PENDING state is actively
being read by the driver. Let the buffer read callback handle the
transfer cleanup since cleaning it up in wa_urb_dequeue will cause the
read callback to access invalid memory if the transfer is completed.
Signed-off-by: Thoma
On Tue, 2014-03-04 at 09:18 -0600, Felipe Balbi wrote:
> On Mon, Mar 03, 2014 at 09:25:13PM -0600, dingu...@altera.com wrote:
> > From: Dinh Nguyen
> >
> > The dwc2 IP on the SOCFPGA cannot use the default HW configured
> > FIFO sizes. The total FIFO depth as read from GHWCFG3 reports 0x1f80 or 8
switch over to endpoint feature flags so we can
drop naming conventions.
Signed-off-by: Felipe Balbi
---
drivers/usb/renesas_usbhs/mod_gadget.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/usb/renesas_usbhs/mod_gadget.c
b/drivers/usb/renesas_usbhs/mod_gadget.c
index
Hi,
On Tue, Mar 04, 2014 at 11:34:26AM -0600, Dinh Nguyen wrote:
> On Tue, 2014-03-04 at 09:18 -0600, Felipe Balbi wrote:
> > On Mon, Mar 03, 2014 at 09:25:13PM -0600, dingu...@altera.com wrote:
> > > From: Dinh Nguyen
> > >
> > > The dwc2 IP on the SOCFPGA cannot use the default HW configured
>
On Tue, Mar 04, 2014 at 10:00:16AM -0500, Alan Stern wrote:
> On Tue, 4 Mar 2014, David Laight wrote:
>
> > > > Notice the request length: 1536. That's three 512-byte sectors. A
> > > > little unusual, since most I/O is done in units of pages, which are
> > > > 4096 bytes.
>
> > > Ok, we can't
On Tue, 4 Mar 2014, Sarah Sharp wrote:
> > David is right; this problem can't be fixed simply by reverting
> > patches. The real problem is that the block layer has handed the USB
> > stack an SG list that xhci-hcd cannot handle at all, in its current
> > form.
>
> We do not know if the driver n
* Roger Quadros [140303 01:38]:
> Hi Tony,
>
> On 03/01/2014 12:56 AM, Tony Lindgren wrote:
> > * Roger Quadros [140227 06:21]:
> >> Hi,
> >>
> >> This patchset brings up USB Host ports and Ethernet port on
> >> the OMAP5 uEVM board.
> >>
> >> It also does some cleanup with respect to DT clock b
We've encountered a rare issue when enumerating two Logitech webcams
after a reboot that doesn't power cycle the USB ports. They are spewing
random data (possibly some leftover UVC buffers) on the second
(full-sized) Get Configuration request of the enumeration phase. Since
the data is random this
The DELAY_INIT quirk only reduces the frequency of enumeration failures
with the Logitech HD Pro C920 and C930e webcams, but does not quite
eliminate them. We have found that adding a delay of 100ms between the
first and second Get Configuration request makes the device enumerate
perfectly reliable
On Tue, Mar 04, 2014 at 10:53:06AM -0800, Julius Werner wrote:
> The DELAY_INIT quirk only reduces the frequency of enumeration failures
> with the Logitech HD Pro C920 and C930e webcams, but does not quite
> eliminate them. We have found that adding a delay of 100ms between the
> first and second
Add libudev as dependency and remove libsysfs.
Signed-off-by: Valentina Manea
---
drivers/staging/usbip/userspace/README | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/usbip/userspace/README
b/drivers/staging/usbip/userspace/README
index 00a1658..6ead290
Add a new list API from CCAN.
Signed-off-by: Valentina Manea
---
drivers/staging/usbip/userspace/libsrc/Makefile.am | 3 +-
.../staging/usbip/userspace/libsrc/build_assert.h | 40 ++
.../staging/usbip/userspace/libsrc/check_type.h| 64 +++
.../staging/usbip/userspace/libsrc/container_of
The class device lists were used only when being initialized,
being populated and being destroyed. They had no real meaning
and thus the code was useless.
Signed-off-by: Valentina Manea
---
.../staging/usbip/userspace/libsrc/vhci_driver.c | 178 -
.../staging/usbip/userspac
This patch modifies usbip_host_driver to use libudev.
Signed-off-by: Valentina Manea
---
.../staging/usbip/userspace/libsrc/usbip_common.c | 74 ++
.../staging/usbip/userspace/libsrc/usbip_common.h | 5 +-
.../usbip/userspace/libsrc/usbip_host_driver.c | 282 ++---
.
This patch migrates vhci_driver to libudev.
Signed-off-by: Valentina Manea
---
.../staging/usbip/userspace/libsrc/usbip_common.h | 1 -
.../staging/usbip/userspace/libsrc/vhci_driver.c | 154 ++---
.../staging/usbip/userspace/libsrc/vhci_driver.h | 5 +-
3 files changed,
libsysfs is now completely removed from USB/IP.
Signed-off-by: Valentina Manea
---
drivers/staging/usbip/userspace/configure.ac | 6 --
1 file changed, 6 deletions(-)
diff --git a/drivers/staging/usbip/userspace/configure.ac
b/drivers/staging/usbip/userspace/configure.ac
index a5193c6..25b
Since it offers a API to both usbip tools and libusbip,
it is more appropriate to be place in the library.
Signed-off-by: Valentina Manea
---
drivers/staging/usbip/userspace/libsrc/Makefile.am | 3 +-
.../staging/usbip/userspace/libsrc/sysfs_utils.c | 36 ++
.../staging/us
This patch series modifies the USB/IP userspace side (usbip-utils)
to use libudev instead of libsysfs. This change was necessary as
libsysfs is no longer maintained and we have discovered a bug that
affected USB/IP.
On the other hand, libudev is actively maintained and recommended
for interacting w
This patch modifies usbip_unbind to use libudev.
Signed-off-by: Valentina Manea
---
drivers/staging/usbip/userspace/src/usbip_unbind.c | 92 +++---
1 file changed, 29 insertions(+), 63 deletions(-)
diff --git a/drivers/staging/usbip/userspace/src/usbip_unbind.c
b/drivers/stagin
This patch removes useless libsysfs.h includes in various
userspace files.
Signed-off-by: Valentina Manea
---
drivers/staging/usbip/userspace/src/usbip_attach.c | 1 -
drivers/staging/usbip/userspace/src/usbip_detach.c | 2 --
drivers/staging/usbip/userspace/src/usbip_network.h | 1 -
3 files
This was deleted in the driver conversion patch. It didn't need
to be deleted; showing more information is ok.
Signed-off-by: Valentina Manea
---
drivers/staging/usbip/userspace/src/usbip_list.c | 20 +++-
drivers/staging/usbip/userspace/src/usbipd.c | 16 +++-
2
This patch adds autoconf check for libudev and migrates
usbip_bind to the new library.
libsysfs will still be used until all userspace is modified.
Signed-off-by: Valentina Manea
---
drivers/staging/usbip/userspace/configure.ac | 6 +
.../staging/usbip/userspace/libsrc/usbip_common.h |
This patch modifies usbip_list to use libudev.
Signed-off-by: Valentina Manea
---
drivers/staging/usbip/userspace/src/usbip_list.c | 137 +--
1 file changed, 51 insertions(+), 86 deletions(-)
diff --git a/drivers/staging/usbip/userspace/src/usbip_list.c
b/drivers/staging/us
Signed-off-by: Valentina Manea
---
drivers/staging/usbip/userspace/configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/usbip/userspace/configure.ac
b/drivers/staging/usbip/userspace/configure.ac
index 25bf160..607d05c 100644
--- a/drivers/staging/usbi
On Tue, Mar 04, 2014 at 09:16:39PM +0200, Valentina Manea wrote:
> Signed-off-by: Valentina Manea
> ---
> drivers/staging/usbip/userspace/configure.ac | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/usbip/userspace/configure.ac
> b/drivers/staging/usbip/
Since usbip-host is now a device driver and the client
has full access to the shared device, it makes sense to
let the client choose device configuration.
Signed-off-by: Valentina Manea
---
drivers/staging/usbip/stub_dev.c | 10 +-
drivers/staging/usbip/stub_rx.c | 26 +++---
A sysfs attribute is used to announce kernel space that a
new driver probing session should be triggered for the just
unbinded device.
In order to have the address of struct device associated to this
USB device, a new member has been added to struct bus_id_priv.
Signed-off-by: Valentina Manea
--
1 - 100 of 140 matches
Mail list logo