Re: [PATCH v9 1/8] drivers: phy: add generic PHY framework

2013-07-17 Thread Greg KH
On Wed, Jun 26, 2013 at 05:17:29PM +0530, Kishon Vijay Abraham I wrote: +menuconfig GENERIC_PHY + tristate PHY Subsystem + help + Generic PHY support. + + This framework is designed to provide a generic interface for PHY + devices present in the kernel. This layer

[PATCH REPOST 0/2] usb: phy: tegra: Read UTMI parameters from device tree

2013-07-17 Thread Mikko Perttunen
This patchset moves the USB UTMI interface parameters from hardcoded tables in the PHY driver to device tree and adds code to read them from there. This is a repost of the v2 version of the patchset. Mikko Perttunen (2): ARM: dts: tegra20: Rename USB UTMI parameters according to new

[PATCH REPOST 1/2] ARM: dts: tegra20: Rename USB UTMI parameters according to new definitions

2013-07-17 Thread Mikko Perttunen
This patch changes the Tegra20 USB PHY nodes to use the UTMI configuration parameter names as specified in the device tree binding documentation after patch ARM: tegra: finalize USB EHCI and PHY bindings. Signed-off-by: Mikko Perttunen mperttu...@nvidia.com Acked-by: Stephen Warren

[PATCH REPOST 2/2] usb: phy: tegra: Read UTMIP parameters from device tree

2013-07-17 Thread Mikko Perttunen
UTMIP parameters used to be hardcoded into tables in the PHY driver. This patch reads them from the device tree instead in accordance with the phy-tegra-usb DT documentation. Signed-off-by: Mikko Perttunen mperttu...@nvidia.com Reviewed-by: Stephen Warren swar...@nvidia.com Tested-by: Stephen

Re: question on skel_read func of usb_skeleton.c‏

2013-07-17 Thread Oliver Neukum
On Wed, 2013-07-17 at 03:10 +, WangChen wrote: Sorry, I think existing code should already handle retry for blcoking case. My idea to retry anyway @line328 is just intention to make the code looks better and handle the return of -EAGAIN in one place which is handled by retry logic.

[PATCH v3 3/3] ARM: tegra: Remove obsolete nvidia,vbus-gpio properties

2013-07-17 Thread Mikko Perttunen
USB VBUS regulators are now specified with the vbus-supply property instead of nvidia,vbus-gpio, so remove the obsolete properties. The equivalent vbus-supply properties were already added in patch ARM: tegra: update device trees for USB binding rework. Signed-off-by: Mikko Perttunen

[PATCH v3 2/3] usb: tegra: Add vbus-supply property for host mode PHYs

2013-07-17 Thread Mikko Perttunen
Document vbus-supply as an optional property for host mode phy-tegra-usb PHYs. Signed-off-by: Mikko Perttunen mperttu...@nvidia.com Reviewed-by: Stephen Warren swar...@nvidia.com Tested-by: Stephen Warren swar...@nvidia.com --- Documentation/devicetree/bindings/usb/nvidia,tegra20-usb-phy.txt | 2

[PATCH v3 1/3] usb: tegra: Use regulators instead of GPIOs for USB PHY VBUS

2013-07-17 Thread Mikko Perttunen
The tegra ehci driver has enabled USB vbus regulators directly using GPIOs and the device tree attribute nvidia,vbus-gpio. This is ugly and causes error messages on boot when both the regulator driver and the ehci driver want access to the same GPIO. After this patch, usb vbus regulators for

[PATCH v3 0/3] usb: tegra: Replace nvidia,vbus-gpio property with vbus-supply

2013-07-17 Thread Mikko Perttunen
This patchset removes the ehci-tegra device tree property nvidia,vbus-gpio and adds support for the vbus-supply property to phy-tegra-usb. v3: Change commit messages, fix one 80 character line Mikko Perttunen (3): usb: tegra: Use regulators instead of GPIOs for USB PHY VBUS usb: tegra: Add

Re: [PATCH] usb: udc: add gadget state kobject uevent

2013-07-17 Thread Felipe Balbi
Hi, On Mon, Jul 15, 2013 at 11:31:17PM -0700, Greg KH wrote: The question is since we default GADGET, so the g_mass_storage.ko is installed early but connecting to a host PC is randomly, But the udev has no idea when a host PC connects our device. So we consider it's reasonable to let

[PATCH] usb: musb: fix resource passed from glue layer to musb

2013-07-17 Thread Felipe Balbi
From: Kishon Vijay Abraham I kis...@ti.com some MUSB incarnations, such as those governed by omap2430.c and tusb6010.c, have three resources, not two. Fix the bug created by commit 09fc7d2 (usb: musb: fix incorrect usage of resource pointer) where only two of the three resources would be passed

Re: [PATCH] [RFC] EHCI: add to memory barrier to updating hw_next

2013-07-17 Thread Ming Lei
Cc: ARM list On Wed, Jul 17, 2013 at 1:03 PM, 김기오 gioh@lge.com wrote: Hi, I have a missing urb completion problem on ARMv7 based platform. I thought the above problem was caused by coherent memory between the EHCI device and CPU so I tryied to allocates device type memory for EHCI via

Re: [PATCH v9 1/8] drivers: phy: add generic PHY framework

2013-07-17 Thread Kishon Vijay Abraham I
Hi, On Wednesday 17 July 2013 11:59 AM, Greg KH wrote: On Wed, Jun 26, 2013 at 05:17:29PM +0530, Kishon Vijay Abraham I wrote: +menuconfig GENERIC_PHY +tristate PHY Subsystem +help + Generic PHY support. + + This framework is designed to provide a generic interface for

Re: [PATCH] staging: dwc2: add driver parameter to set AHB config register value

2013-07-17 Thread Matthijs Kooijman
Hi Paul, On Tue, Jul 16, 2013 at 12:22:12PM -0700, Paul Zimmerman wrote: The dwc2 driver sets the value of the DWC2 GAHBCFG register to 0x6, which is GAHBCFG_HBSTLEN_INCR4. But different platforms may require different values. In particular, the Broadcom 2835 SOC used in the Raspberry Pi

Re: [PATCH] usb: udc: add gadget state kobject uevent

2013-07-17 Thread Rong Wang
Hi Felipe, On Wed, Jul 17, 2013 at 3:57 PM, Felipe Balbi ba...@ti.com wrote: Hi, On Mon, Jul 15, 2013 at 11:31:17PM -0700, Greg KH wrote: The question is since we default GADGET, so the g_mass_storage.ko is installed early but connecting to a host PC is randomly, But the udev has no idea

Re: [PATCH] usb: udc: add gadget state kobject uevent

2013-07-17 Thread Felipe Balbi
On Wed, Jul 17, 2013 at 09:04:54PM +0800, Rong Wang wrote: Hi Felipe, On Wed, Jul 17, 2013 at 3:57 PM, Felipe Balbi ba...@ti.com wrote: Hi, On Mon, Jul 15, 2013 at 11:31:17PM -0700, Greg KH wrote: The question is since we default GADGET, so the g_mass_storage.ko is installed early

Re: Incompleteness of HW capability registers (Was: [PATCH] staging: dwc2: fix thinko in dwc2_hc_set_even_odd_frame())

2013-07-17 Thread Matthijs Kooijman
Hey Stephen, Ah, that makes sense. It wasn't clear to me from the config structure that some of the variables didn't correspond directly to config fields/registers in the HW. I have a patch pending that separates configured values from hardware values, which would help here. I'll try to send

[PATCH v2 01/42] ARM: at91: move at91_pmc.h to include/linux/clk/at91.h

2013-07-17 Thread Boris BREZILLON
This patch moves at91_pmc.h header from machine specific directory (arch/arm/mach-at91/include/mach/at91_pmc.h) to clk include directory (include/linux/clk/at91.h). We need this to avoid reference to machine specific headers in clk drivers. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com

RE: [PATCH 08/21] usb/gadget: f_mass_storage: split fsg_common initialization into a number of functions

2013-07-17 Thread Andrzej Pietrasiewicz
Hello Alan, On Tuesday, July 16, 2013 5:17 PM Alan Stern wrote: On Tue, 16 Jul 2013, Andrzej Pietrasiewicz wrote: When configfs is in place, the things related to intialization of struct fsg_common will be split over a number of places. This patch adds several functions which together

RE: [PATCH 06/21] usb/gadget: f_mass_storage: add a level of indirection for luns storage

2013-07-17 Thread Andrzej Pietrasiewicz
Hello Alan, Thank you for your review. Please see below for a comment. On Tuesday, July 16, 2013 5:13 PM Alan Stern wrote: On Tue, 16 Jul 2013, Andrzej Pietrasiewicz wrote: This is needed to prepare for configfs integration. So far the luns have been allocated during gadget's

Re: Audio I/O parameters

2013-07-17 Thread Alan Stern
On Tue, 16 Jul 2013, James Stone wrote: Thanks. The patch allows jack to now start at (playback only) 64 frames/period. It doesn't work with 32 frames/period though (I think you predicted this). This is still a regression from 3.5.0-28, which will work with 8 frames/period for playback only.

Re: [PATCH v3 6/7] USB: ohci-at91: add usb_clk for transition to common clk framework

2013-07-17 Thread Alan Stern
On Tue, 16 Jul 2013, Boris BREZILLON wrote: The AT91 PMC (Power Management Controller) provides an USB clock used by USB Full Speed host (ohci) and USB Full Speed device (udc). The usb drivers (ohci and udc) must configure this clock to 48Mhz. This configuration was formely done in

Re: [PATCH] usb: udc: add gadget state kobject uevent

2013-07-17 Thread Alan Stern
On Wed, 17 Jul 2013, Felipe Balbi wrote: On Wed, Jul 17, 2013 at 09:04:54PM +0800, Rong Wang wrote: Hi Felipe, On Wed, Jul 17, 2013 at 3:57 PM, Felipe Balbi ba...@ti.com wrote: Hi, On Mon, Jul 15, 2013 at 11:31:17PM -0700, Greg KH wrote: The question is since we default

RE: [PATCH 08/21] usb/gadget: f_mass_storage: split fsg_common initialization into a number of functions

2013-07-17 Thread Alan Stern
On Wed, 17 Jul 2013, Andrzej Pietrasiewicz wrote: Hello Alan, Hello. @@ -179,7 +179,7 @@ EXPORT_SYMBOL(fsg_ss_function); void fsg_lun_close(struct fsg_lun *curlun) { if (curlun-filp) { - LDBG(curlun, close backing file\n); + pr_debug(close backing file\n);

[PATCH 04/13] staging: dwc2: only read the snpsid register once

2013-07-17 Thread Matthijs Kooijman
This (read-only) register was read twice, storing it for later use the second time. Now it is only read once, storing it right away. Signed-off-by: Matthijs Kooijman matth...@stdin.nl --- drivers/staging/dwc2/hcd.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

[PATCH 05/13] staging: dwc2: simplify register shift expressions

2013-07-17 Thread Matthijs Kooijman
This commit changes expressions from (val shift) (mask shift) to (val mask) shift. Signed-off-by: Matthijs Kooijman matth...@stdin.nl --- drivers/staging/dwc2/core.c | 20 ++--- drivers/staging/dwc2/hcd.c | 62 +++--

[PATCH 02/13] staging: dwc2: fix off-by-one in check for max_packet_count parameter

2013-07-17 Thread Matthijs Kooijman
Previously, the max_packet_count could be set to 1 x, where x is the number of bits available (width + 4 in the code). Since 1 x requires x + 1 bits to represent, this will not work. The real maximum value is (1 x) - 1. This value is already used the default when the set value is invalid, but

[PATCH 11/13] staging: dwc2: interpret all hwcfg and related register at init time

2013-07-17 Thread Matthijs Kooijman
Before, the hwcfg registers were read at device init time, but interpreted at various parts in the code. This commit unpacks the hwcfg register values into a struct with properly labeled variables at init time, which makes all the other code using these values more consise and easier to read. Some

[PATCH 03/13] staging: dwc2: unshift non-bool register value constants

2013-07-17 Thread Matthijs Kooijman
Various register fields wider than one bit have constants defined for their value. Previously, these registers would define the values as they appear in the register, so shifted to the right to the position the value appears in the register. This commit changes those constants to their natural

[PATCH 13/13] staging: dwc2: make dwc2_core_params documentation more complete

2013-07-17 Thread Matthijs Kooijman
Some of the defaults were missing or unclear. In particular, I suspect the defaults were documented assuming there were still module parameters and taking the default module parameters into account. Now, the defaults are the values that will get chosen when the params passed to dwc2_hcd_init are

[PATCH 10/13] staging: dwc2: properly mask the GRXFSIZ register

2013-07-17 Thread Matthijs Kooijman
Bits 16-31 are reserved, so the old code just reads the whole register to get bits 0-15, assuming the reserved bits would be 0 (which seems true on current hardware, but who knows...). This commit properly masks out the reserved bits when reading and doesn't touch the reserved bits while writing.

[PATCH 01/13] staging: dwc2: fix naming of register constants

2013-07-17 Thread Matthijs Kooijman
A generic set of FIFOSIZE_* constants was used for both the GNPTXFSIZ and HPTXFSIZ registers, even where a specific set of constants was a available for the GNPTXFSIZ register. This change adds specific constants for the HPTXFSIZ register as well, changes the code to use those specific constants

[PATCH 08/13] staging: dwc2: re-use hptxfsiz variable

2013-07-17 Thread Matthijs Kooijman
For some reason, the value of the HPTXFSIZ register was built in the ptxfsiz variable, while there was also a hptxfsiz variable availble. Better just use that and remove the (now unused) ptxfsiz variable. Signed-off-by: Matthijs Kooijman matth...@stdin.nl --- drivers/staging/dwc2/core.c | 12

[PATCH v2 27/42] usb: gadget: at91_udc: add usb_clk for transition to common clk framework

2013-07-17 Thread Boris BREZILLON
The AT91 PMC (Power Management Controller) provides an USB clock used by USB Full Speed host (ohci) and USB Full Speed device (udc). The usb drivers (ohci and udc) must configure this clock to 48Mhz. This configuration was formely done in mach-at91/clock.c, but this implementation will be removed

[PATCH v2 26/42] USB: ohci-at91: add usb_clk for transition to common clk framework

2013-07-17 Thread Boris BREZILLON
The AT91 PMC (Power Management Controller) provides an USB clock used by USB Full Speed host (ohci) and USB Full Speed device (udc). The usb drivers (ohci and udc) must configure this clock to 48Mhz. This configuration was formely done in mach-at91/clock.c, but this implementation will be removed

Re: [PATCH v3 6/7] USB: ohci-at91: add usb_clk for transition to common clk framework

2013-07-17 Thread boris brezillon
On 17/07/2013 17:33, Alan Stern wrote: On Tue, 16 Jul 2013, Boris BREZILLON wrote: The AT91 PMC (Power Management Controller) provides an USB clock used by USB Full Speed host (ohci) and USB Full Speed device (udc). The usb drivers (ohci and udc) must configure this clock to 48Mhz. This

[PATCH 07/13] staging: dwc2: simplify debug output in dwc_hc_init

2013-07-17 Thread Matthijs Kooijman
The value of the hcchar register is built from individual values by shifting and masking. Before, the debug output extracted the individual values out of the complete hcchar register again by doing the reverse. This commit makes the debug output use the original values instead. One debug message

[PATCH 12/13] staging: dwc2: validate the value for phy_utmi_width

2013-07-17 Thread Matthijs Kooijman
The HWCFG4 register stores the supported utmi width values (8, 16 or both). This commit reads that value and validates the configured value against that. If no (valid) value is given, the parameter defaulted to 8 bits previously. However, the documentation for dwc2_core_params_struct suggests

[PATCH 09/13] staging: dwc2: remove redundant register reads

2013-07-17 Thread Matthijs Kooijman
For calculating FIFO offsets, the sizes of preceding fifos need to be known. For filling the GDFIFOCFG register, these fifo sizes were read from hardware registers. However, these values were written to these registers just a few lines before, so we can just use the values written instead.

[PATCH 3/3] staging: dwc2: Don't touch the dma_mask when dma is disabled

2013-07-17 Thread Matthijs Kooijman
There was some code that cleared the dma_mask when dma was disabled in the driver. Given that clearing the mask doesn't actually tell the usb core we're not using dma, and a previous commit explicitely sets the hcd-self.uses_dma value, it seems these values are unneeded and can only potentially

[PATCH 1/3] staging: dwc2: disable dma when no dma_mask was setup

2013-07-17 Thread Matthijs Kooijman
If the platform or bus driver failed to setup a dma_mask, but the hardware advertises support for DMA, before DMA would be enabled in dwc2, but disabled in the usb core, making all connectivity break. With this commit, the dwc2 driver will emit a warning and fall back to slave mode in this case.

[PATCH 0/3] staging: dwc2: Add some dma-related defensive programming

2013-07-17 Thread Matthijs Kooijman
Here's a resend of three patches I sent a while ago as part of a bigger series. These were the unimportant patches to be included later, so here they are again. Gr. Matthijs Matthijs Kooijman (3): staging: dwc2: disable dma when no dma_mask was setup staging: dwc2: when dma is disabled,

[PATCH 2/3] staging: dwc2: when dma is disabled, clear hcd-self.uses_dma

2013-07-17 Thread Matthijs Kooijman
When dma is disabled inside dwc2 (because the hardware does not support it, or the code was changed to disable it for testing), let the usb core know about this by clearing hcd-self.uses_dma. By default, the usb core assumes that dma is used when a dma_mask is set, but this might not always match

Re: [PATCH v3 6/7] USB: ohci-at91: add usb_clk for transition to common clk framework

2013-07-17 Thread Alan Stern
On Wed, 17 Jul 2013, boris brezillon wrote: On 17/07/2013 17:33, Alan Stern wrote: On Tue, 16 Jul 2013, Boris BREZILLON wrote: The AT91 PMC (Power Management Controller) provides an USB clock used by USB Full Speed host (ohci) and USB Full Speed device (udc). The usb drivers (ohci and

Re: Audio I/O parameters

2013-07-17 Thread James Stone
On Wed, Jul 17, 2013 at 3:59 PM, Alan Stern st...@rowland.harvard.edu wrote: On Tue, 16 Jul 2013, James Stone wrote: Thanks. The patch allows jack to now start at (playback only) 64 frames/period. It doesn't work with 32 frames/period though (I think you predicted this). This is still a

Re: musb: dsps: make it work with two instances

2013-07-17 Thread Sebastian Andrzej Siewior
* Ezequiel Garcia | 2013-07-06 18:39:50 [-0300]: Hi Sebastian, Hi Ezequiel, After some minor DT tweaking on the current patchset, I've managed to detect an USB mass storage device in the second instance (host / usb1) using a Beaglebone black board. Beaglebone black, that one has a different

question about bus_suspend and bus_resume

2013-07-17 Thread Thomas Pugliese
Hi, What is the expected behavior if a host controller does not implement bus_suspend and bus_resume? I am seeing that with the HWA HCD, kworker and khubd peg the CPU at 100% because the kernel is constantly calling hcd_bus_suspend and hcd_bus_resume. The calls to hcd_bus_suspend and

Re: [PATCH] usb: udc: add gadget state kobject uevent

2013-07-17 Thread Greg KH
On Wed, Jul 17, 2013 at 10:57:06AM +0300, Felipe Balbi wrote: Hi, On Mon, Jul 15, 2013 at 11:31:17PM -0700, Greg KH wrote: The question is since we default GADGET, so the g_mass_storage.ko is installed early but connecting to a host PC is randomly, But the udev has no idea when a host

Re: [PATCH v9 1/8] drivers: phy: add generic PHY framework

2013-07-17 Thread Greg KH
On Wed, Jul 17, 2013 at 03:02:59PM +0530, Kishon Vijay Abraham I wrote: Hi, On Wednesday 17 July 2013 11:59 AM, Greg KH wrote: On Wed, Jun 26, 2013 at 05:17:29PM +0530, Kishon Vijay Abraham I wrote: +menuconfig GENERIC_PHY + tristate PHY Subsystem + help +Generic PHY support.

Re: musb: dsps: make it work with two instances

2013-07-17 Thread Ezequiel Garcia
Hi Sebastian, On Wed, Jul 17, 2013 at 07:12:29PM +0200, Sebastian Andrzej Siewior wrote: After some minor DT tweaking on the current patchset, I've managed to detect an USB mass storage device in the second instance (host / usb1) using a Beaglebone black board. Beaglebone black, that one

RE: [PATCH] staging: dwc2: add driver parameter to set AHB config register value

2013-07-17 Thread Paul Zimmerman
From: Matthijs Kooijman [mailto:matth...@stdin.nl] Sent: Wednesday, July 17, 2013 4:15 AM On Tue, Jul 16, 2013 at 12:22:12PM -0700, Paul Zimmerman wrote: The dwc2 driver sets the value of the DWC2 GAHBCFG register to 0x6, which is GAHBCFG_HBSTLEN_INCR4. But different platforms may require

RE: [PATCH 01/13] staging: dwc2: fix naming of register constants

2013-07-17 Thread Paul Zimmerman
From: Matthijs Kooijman [mailto:matth...@stdin.nl] Sent: Wednesday, July 17, 2013 8:10 AM A generic set of FIFOSIZE_* constants was used for both the GNPTXFSIZ and HPTXFSIZ registers, even where a specific set of constants was a available for the GNPTXFSIZ register. This change adds

RE: [PATCH 00/13] staging: dwc2: Register-related cleanups

2013-07-17 Thread Paul Zimmerman
From: Matthijs Kooijman [mailto:matth...@stdin.nl] Sent: Wednesday, July 17, 2013 8:10 AM these are the last of that huge series of patches I sent a few months ago. What's left is mostly cleanups related to register and configuration values. Note that this series does not apply cleanly

Re: Audio I/O parameters

2013-07-17 Thread Alan Stern
On Wed, 17 Jul 2013, James Stone wrote: On Wed, Jul 17, 2013 at 3:59 PM, Alan Stern st...@rowland.harvard.edu wrote: On Tue, 16 Jul 2013, James Stone wrote: Thanks. The patch allows jack to now start at (playback only) 64 frames/period. It doesn't work with 32 frames/period though (I

RE: [PATCH 03/13] staging: dwc2: unshift non-bool register value constants

2013-07-17 Thread Paul Zimmerman
From: Matthijs Kooijman [mailto:matth...@stdin.nl] Sent: Wednesday, July 17, 2013 8:10 AM Various register fields wider than one bit have constants defined for their value. Previously, these registers would define the values as they appear in the register, so shifted to the right to the

Re: question about bus_suspend and bus_resume

2013-07-17 Thread Alan Stern
On Wed, 17 Jul 2013, Thomas Pugliese wrote: Hi, What is the expected behavior if a host controller does not implement bus_suspend and bus_resume? I am seeing that with the HWA HCD, kworker and khubd peg the CPU at 100% because the kernel is constantly calling hcd_bus_suspend and

Re: How should we handle isochronous underruns?

2013-07-17 Thread Alan Stern
On Thu, 4 Jul 2013, Alan Stern wrote: On Thu, 4 Jul 2013, Ming Lei wrote: If so, your coming change may break ABI because as you described that the flag should be set in the first URB of a new stream, but some user-space drivers may not set it before. Even USB audio driver doesn't

[PATCH] staging: dwc2: add microframe scheduler from downstream Pi kernel

2013-07-17 Thread Paul Zimmerman
The transfer scheduler in the dwc2 driver is pretty basic, not to mention buggy. It works fairly well with just a couple of devices plugged in, but if you add, say, multiple devices with periodic endpoints, the scheduler breaks down and can't even enumerate all the devices. To fix this, import

RE: [PATCH] staging: dwc2: fix thinko in dwc2_hc_set_even_odd_frame()

2013-07-17 Thread Paul Zimmerman
From: Stephen Warren [mailto:swar...@wwwdotorg.org] Sent: Saturday, July 13, 2013 10:35 PM On 07/13/2013 04:34 PM, Paul Zimmerman wrote: I just sent out a patch series with a number of fixes for the dwc2 driver. With that, plus the hack patch below to add all the driver parameters

Re: [PATCH 00/13] staging: dwc2: Register-related cleanups

2013-07-17 Thread Matthijs Kooijman
Hi Paul, I was about to send out another patch which enhances the scheduling code in the driver. It finally makes the driver work well on the Raspberry Pi, at least in my testing. So I would rather submit that code first rather than risk breaking it with this big set of changes. So can you

Re: [PATCH 01/13] staging: dwc2: fix naming of register constants

2013-07-17 Thread Matthijs Kooijman
Hi Paul, On Wed, Jul 17, 2013 at 06:44:04PM +, Paul Zimmerman wrote: From: Matthijs Kooijman [mailto:matth...@stdin.nl] Sent: Wednesday, July 17, 2013 8:10 AM A generic set of FIFOSIZE_* constants was used for both the GNPTXFSIZ and HPTXFSIZ registers, even where a specific set of

Re: question about bus_suspend and bus_resume

2013-07-17 Thread Thomas Pugliese
On Wed, 17 Jul 2013, Alan Stern wrote: On Wed, 17 Jul 2013, Thomas Pugliese wrote: Hi, What is the expected behavior if a host controller does not implement bus_suspend and bus_resume? I am seeing that with the HWA HCD, kworker and khubd peg the CPU at 100% because the kernel is

Re: question about bus_suspend and bus_resume

2013-07-17 Thread Alan Stern
On Wed, 17 Jul 2013, Thomas Pugliese wrote: On Wed, 17 Jul 2013, Alan Stern wrote: On Wed, 17 Jul 2013, Thomas Pugliese wrote: Hi, What is the expected behavior if a host controller does not implement bus_suspend and bus_resume? I am seeing that with the HWA HCD, kworker

Reply !!!

2013-07-17 Thread info
Download and read attachment for claims of your winning prize from Jagua Automobile Online Lottery. Prize.docx Description: Binary data

RE: [PATCH] [RFC] EHCI: add to memory barrier to updating hw_next

2013-07-17 Thread Gioh Kim
Thanks for your reply. -Original Message- From: Ming Lei [mailto:tom.leim...@gmail.com] Sent: Wednesday, July 17, 2013 5:52 PM To: 김기오 Cc: Alan Stern; linux-usb@vger.kernel.org; linux-ker...@vger.kernel.org; Mark Salter; namhyung@lge.com; Minchan Kim; Chanho Min; Jong-Sung Kim;

Re: How should we handle isochronous underruns?

2013-07-17 Thread Ming Lei
On Thu, Jul 18, 2013 at 3:24 AM, Alan Stern st...@rowland.harvard.edu wrote: On Thu, 4 Jul 2013, Alan Stern wrote: On Thu, 4 Jul 2013, Ming Lei wrote: If so, your coming change may break ABI because as you described that the flag should be set in the first URB of a new stream, but