Hi Fernando,
Why are older kernels not affected ?
-nestor
On Wed, Feb 26, 2014 at 8:56 AM, Fernando Luis Vázquez Cao
fernando...@lab.ntt.co.jp wrote:
I forgot to mention that if the fix below is acceptable it
should be queued for 3.13-stable (older kernels are not
affected).
On 02/26/2014
Hi
On Wed, Feb 26, 2014 at 8:51 AM, Fernando Luis Vázquez Cao
fernando...@lab.ntt.co.jp wrote:
I noticed that after hot unplugging a Logitech unifying receiver
(drivers/hid/hid-logitech-dj.c) the kernel would occasionally spew a
stack trace similar to this:
usb 1-1.1.2: USB disconnect,
On Mon, Feb 24, 2014 at 10:57 PM, Manu Gautam mgau...@codeaurora.org wrote:
On 2/22/2014 11:11 AM, Clanlab (Taiwan) Linux Project wrote:
In order to reduce the interrupt times in the embedded system,
a receiving workqueue is introduced.
This modification also enhanced the overall throughput
From: Freddy Xin fre...@asix.com.tw
Add VID:DID for Lenovo OneLinkDock Gigabit LAN
Signed-off-by: Freddy Xin fre...@asix.com.tw
---
drivers/net/usb/ax88179_178a.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/drivers/net/usb/ax88179_178a.c
On Wed, 26 Feb 2014, Fernando Luis Vázquez Cao wrote:
I noticed that after hot unplugging a Logitech unifying receiver
(drivers/hid/hid-logitech-dj.c) the kernel would occasionally spew a
stack trace similar to this:
usb 1-1.1.2: USB disconnect, device number 7
WARNING: CPU: 0 PID: 2865 at
Hello!
I compiled usb.c for both an ARM cortex a5 (kernel 3.6.9) and a9 (3.0.35).
Both are connected to the same host when I run the binary with verbose output.
One of them (the one on the A5) appears very quickly as a USB device in
USB device tree viewer and has all the correct string descriptors
On Wed, Feb 26, 2014 at 03:40:32AM +0800, Felipe Balbi wrote:
Adding Amit for whome it will be very useful as he was about to
start some work related to hibernation.
Regards
Pratyush
Hi,
these series cleans up dwc3 a little bit and adds more
boiler plate code for hibernation support. Note
On Wed, Feb 26, 2014 at 03:40:36AM +0800, Felipe Balbi wrote:
From: Paul Zimmerman paul.zimmer...@synopsys.com
This function will be used during hibernation to get
the current link state. It will be needed at least
for Hibernation support.
Since we do receive linksts_change_interrupt,
On Wed, Feb 26, 2014 at 7:08 AM, Marco Zamponi mzamp...@gmail.com wrote:
This is from the one running ont he A9:
/dev/gadget/fsl-usb2-udc ep0 configured
I have already told you this on another thread, but here I go once again:
fsl-usb2-udc is the old driver from 3.0.35.
Recent imx kernel uses
fre...@asix.com.tw writes:
From: Freddy Xin fre...@asix.com.tw
Add VID:DID for Lenovo OneLinkDock Gigabit LAN
This is the same patch Keith Packard sent, but with a slighly different
description. I take that as another proof that we should not attempt to
describe devices in these drivers.
On 18.2.2014 2:18, Michal Šmucr wrote:
Hello,
i'm fighting with audio playback problem on Beaglebone Black AM-3358.
Class compilant USB soundcards with isochronous transfers.
With DMA enabled in kernels 3.13.2 and 3.14-rc2 it has following symptoms.
- it will stutter immediately after starts
Rolf Evers-Fischer embedde...@evers-fischer.de hat am 25. Februar 2014 um
17:30 geschrieben:
Dear Peter,
Peter Chen peter.c...@freescale.com hat am 20. Februar 2014 um 02:45
geschrieben:
Okay that makes sense. In theory the ehci core should do the reset. Is
there
Hi Christian,
Peter Chen peter.c...@freescale.com hat am 26. Februar 2014 um 03:05
geschrieben:
patches. I am working some days on this topic but without much
success and I am running out of time :/
Will keep you posted.
Hope you soon will find some time.
On Wed, Feb 26, 2014 at 03:38:23PM +0530, Pratyush Anand wrote:
On Wed, Feb 26, 2014 at 03:40:32AM +0800, Felipe Balbi wrote:
Adding Amit for whome it will be very useful as he was about to
start some work related to hibernation.
wait a bit on hibernation, there's a lot of ground work still
Hi,
On Tue, Feb 25, 2014 at 05:48:17PM -0800, Neil Zhang wrote:
Hardware zlt will try to send the zero length packet
automatically when the data transferd is multiple times of
max packet, this will cause issues on Windows.
So let's disable HW zlt by default.
On Wed, Feb 26, 2014 at 02:36:19AM +, Peter Chen wrote:
easy to be found.
Chipidea bug too? Does it follow ch 8.5.3.2 Variable-length Data
Stage, USB
2.0 spec?
wait, this is a chipidea core ? Why aren't you guys using the chipidea
driver yet ? You need to
On Wed, Feb 26, 2014 at 02:19:38AM +0300, Sergei Shtylyov wrote:
Hello.
On 02/26/2014 12:36 AM, Felipe Balbi wrote:
Revisions between 2.10a and 2.50a (included) have
a known issue which may cause xHCI compliance tests
to fail and/or quality issues with Isochronous
transactions.
Note
On Wed, Feb 26, 2014 at 02:36:19AM +, Peter Chen wrote:
easy to be found.
Chipidea bug too? Does it follow ch 8.5.3.2 Variable-length Data
Stage, USB
2.0 spec?
wait, this is a chipidea core ? Why aren't you guys using the chipidea
driver yet ? You need to
On Tue, 25 Feb 2014, Sarah Sharp wrote:
On Tue, Feb 25, 2014 at 11:22:57PM +0100, Richard Sch�tz wrote:
Hi everybody!
I am experiencing a problem with my USB card reader and xHCI. Simply
using dd to write an image to a SD card results in USB resets after
a few seconds. Reading with dd
On Wed, 26 Feb 2014, Arkadiusz Miskiewicz wrote:
Hi.
One of my dongles (logitech unifying) disappears sometimes. That results with
sysfs warning.
Shouldn't sysfs part be dealing with such scenario without a warning?
No, sysfs is doing the right thing. But the HID subsystem isn't.
Hi,
On Wed, Feb 26, 2014 at 03:34:43PM +0530, Pratyush Anand wrote:
On Wed, Feb 26, 2014 at 03:40:36AM +0800, Felipe Balbi wrote:
From: Paul Zimmerman paul.zimmer...@synopsys.com
This function will be used during hibernation to get
the current link state. It will be needed at least
On Tue, 25 Feb 2014, Dan Williams wrote:
Look, we guarantee that the peer relation is dropped when either of the
devices is unregistered. Therefore there's no need to take a reference
to the peer device.
Ugh, yes. Reference counts alone don't save us from this scenario:
CPU1
On Wed, 26 Feb 2014, Dennis New wrote:
That's weird. Are you sure you were running the patched kernel?
There very definitely should have been a bunch of debugging output,
at the point where the headset was unplugged if not before.
Should I enable CONFIG_DEBUG_KERNEL as well?
On Tue, Feb 25, 2014 at 03:55:07PM +, Ludovic wrote:
Johan Hovold johan@... writes:
Care to try the patch below?
This driver could use some cleaning up so I might rework the patch
somewhat, but let's find the bugs first.
Thanks,
Johan
Hi,
At 1st the driver detected
On Fri, Feb 07, 2014 at 02:42:45PM -0800, Greg KH wrote:
On Fri, Jan 31, 2014 at 02:29:52AM -0200, Fabio Estevam wrote:
From: Fabio Estevam fabio.este...@freescale.com
Using module_platform_driver() can make the code simpler.
Signed-off-by: Fabio Estevam fabio.este...@freescale.com
Hi Sarah,
On Wed, Feb 26, 2014 at 2:39 PM, Sarah Sharp
sarah.a.sh...@linux.intel.com wrote:
Fabio, are you going to send a new version that fixes these build
errors?
Could you please discard this one and just apply 2/2 instead?
Thanks,
Fabio Estevam
--
To unsubscribe from this list: send
Dennis, please use Reply-To-All so that your messages get sent to the
mailing list as well as to me.
On Wed, 26 Feb 2014, Dennis New wrote:
Btw, I have noticed again that without the debugging patch, I get:
12:27:59 kernel: timeout: still 3 active urbs on EP #3
12:28:00 kernel: timeout:
More information:
Today I was still using it and noticed that I actually had another USB keyboard
attached. (Since this is a wonky dell whose bios doesn't work with the Kinesis
USB keyboard I had a generic USB keyboard plugged in also.)
That keyboard was unresponsive. Very soon after
On Wed, 2014-02-26 at 10:49 -0500, Alan Stern wrote:
On Tue, 25 Feb 2014, Dan Williams wrote:
Look, we guarantee that the peer relation is dropped when either of the
devices is unregistered. Therefore there's no need to take a reference
to the peer device.
Ugh, yes. Reference
Hi Rolf
2014-02-26 15:48 GMT+01:00 Rolf Evers-Fischer embedde...@evers-fischer.de:
Hi Christian,
Peter Chen peter.c...@freescale.com hat am 26. Februar 2014 um 03:05
geschrieben:
patches. I am working some days on this topic but without much
success and I am running out of time :/
From: Fabio Estevam fabio.este...@freescale.com
Using the IS_ENABLED() macro can make the code shorter and easier to read.
Signed-off-by: Fabio Estevam fabio.este...@freescale.com
---
drivers/usb/host/xhci.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git
Use one timer to control command timeout.
start/kick the timer every time a command is completed and a
new command is waiting, or a new command is added to a empty list.
If the timer runs out, then tag the current command as aborted, and
start the xhci command abortion process.
Previously each
Create a list to store command structures, add a structure to it every time
a command is submitted, and remove it from the list once we get a
command completion event matching the command.
Callers that wait for completion will free their command structures themselves.
The other command structures
Remove the per-device command list and handle_cmd_in_cmd_wait_list()
and use the completion and status variables found in the
command structure in the global command list.
Signed-off-by: Mathias Nyman mathias.ny...@linux.intel.com
---
drivers/usb/host/xhci-hub.c | 11 ---
To create a global command queue we require that each command put on the
command ring is submitted with a command structure.
Functions that queue commands and wait for completion need to allocate a command
before submitting it, and free it once completed. The following command queuing
functions
changes since v2:
squash first 7 patches together that all just created commands
and avoid some nasty mid-patch series memory leaking
changes since v1:
Fixing smatch warnings and errors.
Check for null return from alloc_command, release lock in error path and
Hi Alan,
i just checked the current linux git tree and the 3.13 kernel.
In both i miss your fix for the thread irq support in the ehci hcd which
you had promised.
- Stefani
--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to
On Wed, 26 Feb 2014, Stefani Seibold wrote:
Hi Alan,
i just checked the current linux git tree and the 3.13 kernel.
In both i miss your fix for the thread irq support in the ehci hcd which
you had promised.
The patch has not been merged yet. It was submitted here:
On Wed, Feb 26, 2014 at 03:40:52PM -0500, Alan Stern wrote:
On Wed, 26 Feb 2014, Stefani Seibold wrote:
Hi Alan,
i just checked the current linux git tree and the 3.13 kernel.
In both i miss your fix for the thread irq support in the ehci hcd which
you had promised.
The patch
From: Bjørn Mork bj...@mork.no
Date: Wed, 26 Feb 2014 13:13:12 +0100
fre...@asix.com.tw writes:
From: Freddy Xin fre...@asix.com.tw
Add VID:DID for Lenovo OneLinkDock Gigabit LAN
This is the same patch Keith Packard sent, but with a slighly different
description. I take that as another
Quoting Roger Quadros (2014-02-25 01:32:19)
Hi Mike,
On 02/25/2014 10:43 AM, Mike Turquette wrote:
Quoting Roger Quadros (2014-02-20 03:40:01)
The OMAP USB Host MFD driver no longer expects these non-existing
clocks from the OMAP3 platform, so get rid of them.
Looks good to me.
On Wed, 26 Feb 2014, Dan Williams wrote:
When CPU2 takes the lock it will certainly be after hubA-disconnected
has been set, but I don't see what prevents de-referencing the hubA
pointer from crashing. Continuing the above example:
CPU1CPU2
David Miller da...@davemloft.net writes:
From: Bjørn Mork bj...@mork.no
Date: Wed, 26 Feb 2014 13:13:12 +0100
fre...@asix.com.tw writes:
From: Freddy Xin fre...@asix.com.tw
Add VID:DID for Lenovo OneLinkDock Gigabit LAN
This is the same patch Keith Packard sent, but with a slighly
From: Bjørn Mork bj...@mork.no
Date: Wed, 26 Feb 2014 22:14:10 +0100
David Miller da...@davemloft.net writes:
From: Bjørn Mork bj...@mork.no
Date: Wed, 26 Feb 2014 13:13:12 +0100
fre...@asix.com.tw writes:
From: Freddy Xin fre...@asix.com.tw
Add VID:DID for Lenovo OneLinkDock Gigabit
On Fri, 21 Feb 2014, Dan Williams wrote:
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 the default (USB3 defined) peer port
association for internal hubs. External hubs
Am 26.02.2014 16:31, schrieb Alan Stern:
On Tue, 25 Feb 2014, Sarah Sharp wrote:
On Tue, Feb 25, 2014 at 11:22:57PM +0100, Richard Sch�tz wrote:
Hi everybody!
I am experiencing a problem with my USB card reader and xHCI. Simply
using dd to write an image to a SD card results in USB resets
David Miller da...@davemloft.net writes:
From: Bjørn Mork bj...@mork.no
No, sorry for being confusing. The patch is fine. But Keith sent it
first...
Did I apply Keith's patch?
No, you didn't. And when I went looking at it now, I see why: It was
posted to linux-usb and linux-kernel but
On Wed, Feb 26, 2014 at 1:35 PM, Alan Stern st...@rowland.harvard.edu wrote:
On Fri, 21 Feb 2014, Dan Williams wrote:
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 the
From: Bjørn Mork bj...@mork.no
Date: Wed, 26 Feb 2014 22:44:18 +0100
David Miller da...@davemloft.net writes:
From: Bjørn Mork bj...@mork.no
No, sorry for being confusing. The patch is fine. But Keith sent it
first...
Did I apply Keith's patch?
No, you didn't. And when I went looking
On Wed, 26 Feb 2014, Dan Williams wrote:
I've been thinking about this. Maybe it isn't a problem, because now
you don't set up the peer matching until after the port has been
registered. All you have to do is allow the ACPI data to prevent a
default match if the location data values
Bjørn Mork bj...@mork.no writes:
No, you didn't. And when I went looking at it now, I see why: It was
posted to linux-usb and linux-kernel but not to netdev:
http://www.kernelhub.org/?msg=420289p=2
I looked in MAINTAINERS and found linux-usb as a suitable address for
drivers/net/usb/. I'm
On Wed, 2014-02-26 at 14:23 -0800, Keith Packard wrote:
Bjørn Mork bj...@mork.no writes:
No, you didn't. And when I went looking at it now, I see why: It was
posted to linux-usb and linux-kernel but not to netdev:
http://www.kernelhub.org/?msg=420289p=2
I looked in MAINTAINERS and
Hi Felipe,
Can you drop the part that checks the DCNRD bit, please? I made a
mistake when I originally submitted this. It is not necessary to check
the DCNRD bit every time before reading the link state, it should only
be checked the first time after coming out of hibernation. Doing it
every time
Joe Perches j...@perches.com writes:
You could use scripts/get_maintainer.pl next time.
Yeah, good point. I always forget about that tool when I'm hacking
outside my normal areas.
--
keith.pack...@intel.com
pgpdEhsqthszc.pgp
Description: PGP signature
Add support of the device tree probing for the Renesas R-Car generation 2 SoCs
documenting the device tree binding as necessary.
Signed-off-by: Sergei Shtylyov sergei.shtyl...@cogentembedded.com
---
This patch is against the 'next' branch of Felipe Balbi's 'usb.git' repo.
From: b47624 b47624@ubuntu64bit1204.(none)
This patchset adds USB OTG HNP and SRP support on chipidea usb driver,
existing OTG port role swtich function by ID pin status kept unchanged,
based on that, if select CONFIG_USB_OTG_FSM, OTG HNP and SRP will be
supported.
Reference to:
On-The-Go and
According to:On-The-Go and Embedded Host Supplement to the USB Revision 2.0
Specification July 27, 2012 Revision 2.0 version 1.1a
- From a_host to a_wait_bcon if !b_conn
- Add transition from a_host to a_wait_vfall if id state is high or a_bus_drop
- From a_wait_vfall to a_idle if
This patch move usb interrupt enable and status register read functions
from udc driver to core driver to use them in all ci drivers.
Signed-off-by: Li Jun b47...@freescale.com
---
drivers/usb/chipidea/ci.h |4
drivers/usb/chipidea/core.c | 20
Leave vbus on/off hanlded by OTG fsm if in OTG mode.
Signed-off-by: Li Jun b47...@freescale.com
---
drivers/usb/chipidea/host.c |6 +++---
drivers/usb/chipidea/host.h |9 +
2 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/chipidea/host.c
Add b_hnp_enable request handling and enable gadget-is_otg
Signed-off-by: Li Jun b47...@freescale.com
---
drivers/usb/chipidea/udc.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/chipidea/udc.c b/drivers/usb/chipidea/udc.c
index fe30dcc..602bbf3
Init otg_port number of otg capable host to be 1 at host start.
Signed-off-by: Li Jun b47...@freescale.com
---
drivers/usb/chipidea/host.c |7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/chipidea/host.c b/drivers/usb/chipidea/host.c
index 4b609bc..5ec8ccd
This patch adds OTG fsm related initialization when do otg init,
add a seperate file for OTG fsm related utilities.
Signed-off-by: Li Jun b47...@freescale.com
---
drivers/usb/chipidea/Makefile |1 +
drivers/usb/chipidea/ci.h |1 +
drivers/usb/chipidea/otg.c |7 +
Add OTG HNP and SRP operation functions implementation:
- charge vbus
- drive vbus
- connection signaling
- drive sof
- start data pulse
- add fsm timer
- delete fsm timer
- start host
- start gadget
Signed-off-by: Li Jun b47...@freescale.com
---
drivers/usb/chipidea/bits.h| 11 ++
This patch adds sysfs interface description for chipidea USB OTG role switch
in HNP.
Signed-off-by: Li Jun b47...@freescale.com
---
.../ABI/testing/sysfs-platform-chipidea-usb-otg| 55
1 file changed, 55 insertions(+)
diff --git
USB OTG interrupt handling and fsm transition according to USB OTG
and EH 2.0, update otg timer timeout handlers.
Signed-off-by: Li Jun b47...@freescale.com
---
drivers/usb/chipidea/core.c| 10 ++-
drivers/usb/chipidea/otg.c |9 +-
drivers/usb/chipidea/otg_fsm.c | 191
This patch adds sys input to control and show OTG fsm inputs by application,
user can do host and preipheral role switch by change these inputs.
Signed-off-by: Li Jun b47...@freescale.com
---
drivers/usb/chipidea/otg.c |1 +
drivers/usb/chipidea/otg_fsm.c | 192
This patch adds OTG fsm timers initialization, which use controller's 1ms
interrupt as timeout counter, also adds some local timers which are not
in otg_fsm_timer list.
Signed-off-by: Li Jun b47...@freescale.com
---
drivers/usb/chipidea/bits.h|1 +
drivers/usb/chipidea/otg_fsm.c | 190
This patch adds a debug file for OTG vairables show.
Signed-off-by: Li Jun b47...@freescale.com
---
drivers/usb/chipidea/debug.c | 85 ++
1 file changed, 85 insertions(+)
diff --git a/drivers/usb/chipidea/debug.c b/drivers/usb/chipidea/debug.c
index
This patch adds below registers dump for debug:
- USBINTR
- USBSTS
- USBMODE
- USBCMD
- PORTSC
- OTGSC
Signed-off-by: Li Jun b47...@freescale.com
---
drivers/usb/chipidea/debug.c | 48 ++
1 file changed, 48 insertions(+)
diff --git
On Mon, Feb 10, 2014 at 10:32:24AM +0800, Peter Chen wrote:
On Mon, Jan 20, 2014 at 09:56:18AM +0800, Li Jun wrote:
USB OTG interrupt handling and fsm transition according to USB OTG
spec 2.0, update otg timer timeout handlers.
USB OTG and EH 2.0
changed.
Signed-off-by: Li Jun
Chipidea bug too? Does it follow ch 8.5.3.2 Variable-length Data
Stage, USB
2.0 spec?
wait, this is a chipidea core ? Why aren't you guys using the
chipidea driver yet ? You need to switch over to that driver dude,
we can't have duplicated code in the tree.
Hi Michal,
On 2/26/2014 7:07 PM, Michal Šmucr wrote:
On 18.2.2014 2:18, Michal Šmucr wrote:
Hello,
i'm fighting with audio playback problem on Beaglebone Black AM-3358.
Class compilant USB soundcards with isochronous transfers.
what is the application you are using for play back.
With DMA
Start the channel tear down only if the channel is busy, else just
bail out. In some cases its seen that by the time the tear down is
initiated the cppi completes the DMA, especially in ISOCH transfers.
Signed-off-by: George Cherian george.cher...@ti.com
---
drivers/dma/cppi41.c | 7 +--
1
Warinings are seen after ISOCH transfers, during channel tear down.
This is mainly beacause we handle ISOCH differently as compared to
other transfers.
Patch 1: make sure we do channel tear down only if channel is busy.
If not the tear down will never succeed.
Patch 2: ISOCH
Reprogramming the DMA after tear down is initiated leads to warning.
This is mainly seen with ISOCH since we do a delayed completion for
ISOCH transfers. In ISOCH transfers dma_completion should not reprogram
if the channel tear down is initiated.
Signed-off-by: George Cherian
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 return the min_t(size_t, ret, len) to tell the user
space
76 matches
Mail list logo