This patch (as1589) resolves some unlikely races involving system
shutdown or controller death in ehci-hcd:
Shutdown races with both root-hub resume and controller
resume.
Controller death races with root-hub suspend.
A new bitflag is added to indicate that the controller
On Wed, 11 Jul 2012 16:10:14 +0200, Ben Minerds wrote:
Removed various checkpatch.sh warnings and errors.
You've meant chekpatch.pl, right?
Split patch by warning/error type.
Corrected line wraps in emails.
Signed-off-by: Ben Minerds
This 0/6 also confuses me -- like Greg have said the 0
using ohci_hcd
So the answer is OHCI.
> Please find the acquired logs attached. I did the following.
>
> 1. Keyboard unresponsive
> 2. log in with SSH
> 3. follow `Documentation/usb/usbmon.txt`
> 4. capture the traces
>
> $ sudo cat /sys/kernel/debug/usb/usbm
This is first release of otg driver for the dwc3 Synopsys USB3 core.
The otg driver implements the otg final state machine and control the
activation of the device controller or host controller.
In this first implementation, only simple DRD mode is implemented,
determine if A or B device according
Hi James,
Please have a look at the patchset and share your opinion.
If there is anything more to it - please let us know.
Thanks & Regards,
Amit Sahrawat
On Sun, Jul 8, 2012 at 8:35 AM, Namjae Jeon wrote:
> From: Namjae Jeon
>
> Update information of Seagate Portable HDD and WD My Passport HD
Hi All,
This is my first post on this list, and I am a relative newcomer to Linux, so
please excuse me if any of my questions seem a bit "basic"...
I'm an Anaesthetist from Australia (the Americans on the list would call that
an Anaesthesiologist) so programming is more of a hobby than a job.
On Thu, Jul 12, 2012 at 05:25:58AM +1000, Richard McLean wrote:
> What I need is advice regarding a suitable USB-Serial port adapter, as my
> Linux laptop does not have a serial port.
>
> There are further constraints in the system - it would be very desirable to
> have a USB-Serial port adapter
On Thu, Jul 12, 2012 at 05:25:58AM +1000, Richard McLean wrote:
> I am particularly interested in the following models of Digi USB-Serial port
> adapter :
>
> 1. Edgeport/4s MEI Isolated - 4 RS-232/422/485 serial DB-9 software
> selectable with galvanic isolation (Part # 301-1000-95)
> http://www
Hi Richard,
> 1. Edgeport/4s MEI Isolated - 4 RS-232/422/485 serial DB-9 software
> selectable with galvanic isolation (Part # 301-1000-95)
> http://www.digi.com/products/model?mid=2690
I have a version very similar to this (5787-01/301-1000-04, without
the isolation I guess) and it is 'plug
Add USB identifiers for MCE compatible I/R transceivers from Twisted Melon.
Signed-off-by: Mark Lord
---
Mauro, please queue this up for inclusion in linux-3.6.
Patch is also attached to bypass emailer mangling.
Thanks.
--- linux-3.5-rc6/drivers/media/rc/mceusb.c 2012-07-07 20:23:56.
Intel EG20T USB host controller does not send SOF in resuming time after
suspending, if the FLR bit was not cleared. When pen drive is attached, the
controller has a long resuming time to try re-connect it. This patch clear the
FLR bit in suspending time for fixing the issue.
Signed-off-by: Tom
From: Ajay Kumar
Changes from v1:
1) Added comment to explain inclusion of dma_mask through pdata.
2) Replaced gpio_request() with gpio_request_one()
3) Removed gpio_set_value()
This patchset is based and tested on 3.5 rc5.
Abhilash Kesavan (1):
USB: ehci-s5p: Add vbus setup function to the s5
This patch adds support to parse probe data for
ehci driver for exynos using device tree
Signed-off-by: Thomas Abraham
Signed-off-by: Abhilash Kesavan
Signed-off-by: Vivek Gautam
diff --git a/drivers/usb/host/ehci-s5p.c b/drivers/usb/host/ehci-s5p.c
index c474cec..52d0049 100644
--- a/drivers/
This patch adds support to parse probe data for
ohci driver for exynos using device tree.
Signed-off-by: Thomas Abraham
Signed-off-by: Abhilash Kesavan
Signed-off-by: Vivek Gautam
diff --git a/drivers/usb/host/ohci-exynos.c b/drivers/usb/host/ohci-exynos.c
index 2909621..c4ad60f 100644
--- a/d
From: Abhilash Kesavan
This patch retrieves and configures the vbus control gpio via
the device tree. The suspend/resume callbacks will be later
modified for vbus control.
Signed-off-by: Abhilash Kesavan
Signed-off-by: Vivek Gautam
diff --git a/drivers/usb/host/ehci-s5p.c b/drivers/usb/host/e
Changes from v1:
1) Added comment to explain inclusion of dma_mask through pdata.
2) Replaced gpio_request() with gpio_request_one()
3) Removed gpio_set_value()
This patchset is based and tested on 3.5 rc5.
Abhilash Kesavan (1):
USB: dwc3-exynos: Add vbus setup function to the exynos dwc3 glue
From: Abhilash Kesavan
This patch retrieves and configures the vbus control gpio via
the device tree. The suspend/resume callbacks will be later
modified for vbus control.
Signed-off-by: Abhilash Kesavan
Signed-off-by: Vivek Gautam
diff --git a/drivers/usb/dwc3/dwc3-exynos.c b/drivers/usb/dwc
This patch adds support to parse probe data for
dwc3 driver for exynos using device tree
Signed-off-by: Praveen Paneri
Signed-off-by: Vivek Gautam
diff --git a/drivers/usb/dwc3/dwc3-exynos.c b/drivers/usb/dwc3/dwc3-exynos.c
index d190301..9ae91b7 100644
--- a/drivers/usb/dwc3/dwc3-exynos.c
+++
On 07/12/2012 10:53 AM, Matt Causey wrote:
On Wed, Jul 11, 2012 at 11:03 AM, Matt Causey wrote:
On Wed, Jul 11, 2012 at 10:12 AM, Matt Causey wrote:
On Tue, Jul 10, 2012 at 10:55 PM, Andiry Xu wrote:
On 07/11/2012 01:56 AM, Matt wrote:
Lee Harris writes:
Hi Sarah
Whenever I restart
On 07/12/2012 01:47 AM, Dr. Ing. Dieter Jurzitza wrote:
Dear Sarah,
dear Andiry,
as I do not know wheter or not attachements to emails are tolerated in the
mailing list, I send this directly to you - please advise if I'd send that
somewhere else.
Please find attached the result of dmesg after log
On Wed, Jul 11, 2012 at 7:53 PM, Kevin Hilman wrote:
> "Munegowda, Keshava" writes:
>
>> On Wed, Jul 11, 2012 at 3:59 PM, Samuel Ortiz wrote:
>>> Hi Keshava, Kevin,
>>>
>>> On Fri, Jul 06, 2012 at 05:29:00PM +0530, Munegowda, Keshava wrote:
Samuel
I have sent that patch to di
* Add this device to usbhid ignore list
Signed-off-by: Yuri Khan
Acked-by: Jiri Kosina
---
drivers/hid/hid-core.c|1 +
drivers/hid/hid-ids.h |3 +++
drivers/input/joystick/xpad.c |1 +
3 files changed, 5 insertions(+)
diff --git a/drivers/hid/hid-core.c b/drivers/hi
On Tuesday 10 July 2012 10:05 PM, Scan Subscription wrote:
Hi Greg/Venu/Alan and others,
The defect discussed in this thread was found in 2006, and was marked in
Coverity Scan as false positive - intentional ( by linux developer or coverity
admin that we don't know)...
As a general rule,
1. w
On Tuesday 10 July 2012 08:39 PM, Alan Stern wrote:
On Tue, 10 Jul 2012, Venu Byravarasu wrote:
Thanks Alan for your comments.
On Monday 09 July 2012 08:04 PM, Alan Stern wrote:
On Mon, 9 Jul 2012, Venu Byravarasu wrote:
In functions itd_complete & sitd_complete, a pointer
by name stream m
Hi,
> > > >> On Mon, Jul 9, 2012 at 7:18 PM, Damodar Santhapuri
>
[...]
> > > >> Avoid getting resource by name.. With dt, you wont be able to do
> > > >> those..
> > > >
> > > > When we are completely on DT then this would anyways go and we
> can
> > > > get these resource data for each usb port
On Tuesday 10 July 2012 08:15 PM, gre...@linuxfoundation.org wrote:
On Tue, Jul 10, 2012 at 09:56:39AM +0530, Venu Byravarasu wrote:
Thanks Alan for your comments.
On Monday 09 July 2012 08:04 PM, Alan Stern wrote:
On Mon, 9 Jul 2012, Venu Byravarasu wrote:
In functions itd_complete & sitd_
On Wed, Jul 11, 2012 at 02:02:19PM +0700, Yuri Khan wrote:
> * Add this device to usbhid ignore list
>
> Signed-off-by: Yuri Khan
> Acked-by: Jiri Kosina
Applied, thank you Yuri.
--
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majo
Greg Kroah-Hartman writes:
> On Tue, Jul 10, 2012 at 06:51:03PM -0300, Gustavo Padovan wrote:
>
>> { USB_VENDOR_AND_INTERFACE_INFO(0x0a5c, 0xff, 0x01, 0x01) }
>
> Two entries in the cdc_wdm driver can also be converted to use this
> interface. Do you want to send a patch doing that, or do you wan
Hello Thomas,
could you verify these? They should both apply cleanly to the current mainline
(v3.5-rc6+).
Bjørn
Bjørn Mork (2):
USB: option: add ZTE MF821D
net: qmi_wwan: add ZTE MF821D
drivers/net/usb/qmi_wwan.c |9 +
drivers/usb/serial/option.c |2 ++
2 files changed,
Sold by O2 (telefonica germany) under the name "LTE4G"
Cc: Thomas Schäfer
Signed-off-by: Bjørn Mork
---
drivers/usb/serial/option.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c
index 417ab1b..46cee56 100644
--- a/drivers/usb/
Sold by O2 (telefonica germany) under the name "LTE4G"
Cc: Thomas Schäfer
Signed-off-by: Bjørn Mork
---
drivers/net/usb/qmi_wwan.c |9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/net/usb/qmi_wwan.c b/drivers/net/usb/qmi_wwan.c
index 3767a12..e01cbf3 100644
--- a/drivers/
Hi Keshava, Kevin,
On Fri, Jul 06, 2012 at 05:29:00PM +0530, Munegowda, Keshava wrote:
> Samuel
> I have sent that patch to disable the ehci in
> omap2plus_defconfig; after merging that
> please merge this patch too. This will fix the crashes in during boot
> with NFS in beagleXM
I'm goi
From: Ajay Kumar Gupta
Added usb_ctrl0 and usb_ctrl1 base address as new memory resources
which will be used at am335x musb driver glue layer to turn on or
off builin PHY untill we have a separate system control module
driver.
Signed-off-by: Ajay Kumar Gupta
Singed-off-by: Damodar Santhapuri
-
From: Ajay Kumar Gupta
Enabled the phy control logic for am335x also based on usbss
revision register.
Signed-off-by: Ajay Kumar Gupta
Signed-off-by: Damodar Santhapuri
---
arch/arm/plat-omap/include/plat/usb.h |1 +
drivers/usb/musb/musb_dsps.c | 17 +++--
2 files
From: Ajay Kumar Gupta
AM335x uses NOP transceiver driver and need to enable builtin PHY
by writing into usb_ctrl register available in system control
module register space. This is being added at musb glue driver
layer untill a separate system control module driver is available.
Signed-off-by:
Hi,
On Wed, Jul 11, 2012 at 3:59 PM, Damodar Santhapuri wrote:
> From: Ajay Kumar Gupta
>
> AM335x uses NOP transceiver driver and need to enable builtin PHY
> by writing into usb_ctrl register available in system control
> module register space. This is being added at musb glue driver
> layer u
Hi,
> On Wed, Jul 11, 2012 at 3:59 PM, Damodar Santhapuri
> wrote:
> > From: Ajay Kumar Gupta
> >
> > AM335x uses NOP transceiver driver and need to enable builtin PHY
> > by writing into usb_ctrl register available in system control
> > module register space. This is being added at musb glue dri
The USB 3.0 specification says that sending a Set Feature or Clear
Feature for U1/U2 Enable is not a valid request when the device is in
the Default or Addressed state. It is only valid when the device is in
the Configured state.
The original LPM patch attempted to disable LPM after the device ha
The following changes since commit 1a49e2ac9651df7349867a5cf44e2c83de1046af:
EHCI: centralize controller initialization (2012-07-09 13:35:05 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/sarah/xhci.git
for-usb-next-2012-07-11
for you to fetch
The USB 3.0 Set/Clear Feature U1/U2 Enable cannot be sent to a device in
the Default or Addressed state. It can only be sent to a configured
device. Change the USB core to initialize the LPM disable count to 1
(disabled), which reflects this limitation.
Change usb_set_configuration() to ensure t
When a user runs `echo 0 > bConfigurationValue` for a USB 3.0 device,
usb_disable_device() is called. This function disables all drivers,
deallocates interfaces, and sets the device configuration value to 0
(unconfigured).
With the new scheme to ensure that unconfigured devices have LPM
disabled,
hub_initiated_lpm_disable_count is not used by any code, so remove it.
This commit should be backported to kernels as old as 3.5, that contain
the commit 8306095fd2c1100e8244c09bf560f97aca5a311d "USB: Disable USB
3.0 LPM in critical sections."
Signed-off-by: Sarah Sharp
Cc: sta...@vger.kernel.or
Some xHCI host controllers may have optional support for Latency
Tolerance Messaging (LTM). This allows USB 3.0 devices that support LTM
to pass information about how much latency they can tolerate to the xHC.
A PCI xHCI host will use this information to update the PCI Latency
Tolerance Request (L
USB 3.0 devices may optionally support a new feature called Latency
Tolerance Messaging. If both the xHCI host controller and the device
support LTM, it should be turned on in order to give the system hardware
a better clue about the latency tolerance values of its PCI devices.
Once a Set Feature
USB 3.0 devices can optionally support Latency Tolerance Messaging
(LTM). Add a new sysfs file in the device directory to show whether a
device is LTM capable. This file will be present for both USB 2.0 and
USB 3.0 devices.
Signed-off-by: Sarah Sharp
---
Documentation/ABI/testing/sysfs-bus-usb
On Wed, Jul 11, 2012 at 11:04:05AM +0800, Andiry Xu wrote:
> On 07/11/2012 03:37 AM, Dr. Ing. Dieter Jurzitza wrote:
> >Dear listmembers,
> >dear Sarah, dear Andiry,
> >Andiry's suggestion (uncomment the return 0 - statement) fixed my issue, the
> >usb soundcard remains active after a login-logout;
Hi Greg,
Looks like no one has objected to these patches in a couple days.
Do you want to queue these up, or should I send you a pull request?
Sarah Sharp
On Sun, Jul 08, 2012 at 10:23:00PM +0800, Lan Tianyu wrote:
> Change since v7: update Documentation/ABI and fix dev_err() show pattern
>
> C
This is first release of otg driver for the dwc3 Synopsys USB3 core.
The otg driver implements the otg final state machine and control the
activation of the device controller or host controller.
In this first implementation, only simple DRD mode is implemented,
determine if A or B device according
From: Marc Kleine-Budde
If udc_start() fails the qh_pool dma-pool cannot be closed because
it's still in use. This patch factors out the dma_pool_free() loop
into destroy_eps() and calls it in the error path of udc_start(),
too.
Signed-off-by: Marc Kleine-Budde
Signed-off-by: Richard Zhao
---
Hello.
On 10-07-2012 10:32, Gerard Snitselaar wrote:
commit ff9cce82 added back 2 lines that were removed by commit
c83a8542
Please also specify the summaries of those 2 commits in parens.
causing build of twl6030-usb to get an error due to otg being
referenced, but not declared. This pa
Hello.
On 11-07-2012 14:29, Damodar Santhapuri wrote:
From: Ajay Kumar Gupta
Added usb_ctrl0 and usb_ctrl1 base address as new memory resources
which will be used at am335x musb driver glue layer to turn on or
off builin PHY untill we have a separate system control module
driver.
Signed-
On Wed, Jul 11, 2012 at 3:59 PM, Samuel Ortiz wrote:
> Hi Keshava, Kevin,
>
> On Fri, Jul 06, 2012 at 05:29:00PM +0530, Munegowda, Keshava wrote:
>> Samuel
>> I have sent that patch to disable the ehci in
>> omap2plus_defconfig; after merging that
>> please merge this patch too. This wil
On Wed, Jul 11, 2012 at 07:47:37AM -0400, Sarah Sharp wrote:
> Hi Greg,
>
> Looks like no one has objected to these patches in a couple days.
> Do you want to queue these up, or should I send you a pull request?
I have already discussed with Lan privately when I will be able to
review these patch
On Wed, Jul 11, 2012 at 10:36:46AM +0200, Bjørn Mork wrote:
> Greg Kroah-Hartman writes:
> > On Tue, Jul 10, 2012 at 06:51:03PM -0300, Gustavo Padovan wrote:
> >
> >> { USB_VENDOR_AND_INTERFACE_INFO(0x0a5c, 0xff, 0x01, 0x01) }
> >
> > Two entries in the cdc_wdm driver can also be converted to use
The following changes since commit 6887a4131da3adaab011613776d865f4bcfb5678:
Linux 3.5-rc5 (2012-06-30 16:08:57 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-3.5-rc6
for you to fetch changes up to dbf0e4c7257f8d684ec1a3
Removed various checkpatch.sh warnings and errors.
Split patch by warning/error type.
Corrected line wraps in emails.
Signed-off-by: Ben Minerds
---
drivers/usb/serial/keyspan.c | 106 +-
1 files changed, 53 insertions(+), 53 deletions(-)
diff --git a/d
Changes to conform with checkpatch.sh script. - no space before tabs.
Removed 52 checkpatch.sh warnings.
Signed-off-by: Ben Minerds
---
drivers/usb/serial/keyspan.c | 106 +-
1 files changed, 53 insertions(+), 53 deletions(-)
diff --git a/drivers/usb/se
Changes to conform with checkpatch.sh script. - spaces around '?'
and ':'.Removed 14 checkpatch.sh errors.
Signed-off-by: Ben Minerds
---
drivers/usb/serial/keyspan.c | 18 +-
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers/usb/serial/keyspan.c b/drivers
Changes to conform with checkpatch.sh script. - space around '='.
Removed 1 checkpatch.sh error.
Signed-off-by: Ben Minerds
---
drivers/usb/serial/keyspan.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/usb/serial/keyspan.c b/drivers/usb/serial/keyspan.c
index
Changes to conform with checkpatch.sh script. - space near open
parenthesis '('. Removed 2 checkpatch.sh errors.
Signed-off-by: Ben Minerds
---
drivers/usb/serial/keyspan.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/usb/serial/keyspan.c b/drivers/usb/seria
Changes to conform with checkpatch.sh script. - trailing whitespace.
Removed 1 checkpatch.sh error.
Signed-off-by: Ben Minerds
---
drivers/usb/serial/keyspan.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/usb/serial/keyspan.c b/drivers/usb/serial/keyspan.c
i
Changes to conform with checkpatch.sh script. - return is not a
function, parentheses not required. Removed 1 checkpatch.sh error.
Signed-off-by: Ben Minerds
---
drivers/usb/serial/keyspan.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/usb/serial/keyspan.c b
"Munegowda, Keshava" writes:
> On Wed, Jul 11, 2012 at 3:59 PM, Samuel Ortiz wrote:
>> Hi Keshava, Kevin,
>>
>> On Fri, Jul 06, 2012 at 05:29:00PM +0530, Munegowda, Keshava wrote:
>>> Samuel
>>> I have sent that patch to disable the ehci in
>>> omap2plus_defconfig; after merging that
>
On Wed, 11 Jul 2012, Tomoya MORINAGA wrote:
>
> Signed-off-by: Tomoya MORINAGA
There's no patch description. What is the cause of the problem and how
does the patch fix it?
> ---
> drivers/usb/host/ehci-hub.c |4
> 1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/d
On 2012-07-09 15:54, Clemens Ladisch wrote:
> (forwarded to linux-usb)
>
> Udo van den Heuvel wrote:
>>
>> One moment the box is runing OK.
>> One moment the 3.4.4 kernel decides to disable an interrupt.
>> Why?
>>
>> Jul 8 07:43:49 box3 ntpd[5067]: parse: convert_rawdcf: INCOMPLETE DATA -
>> ti
On Tue, Jul 10, 2012 at 07:10:06PM -0300, Gustavo Padovan wrote:
> From: Gustavo Padovan
>
> A lot of Broadcom Bluetooth devices provides vendor specific interface
> class and we are getting flooded by patches adding new device support.
> This change will help us enable support for any other Broa
On Tue, Jul 10, 2012 at 05:32:35PM -0500, Alexis Cortes wrote:
> Hi Sarah & Greg,
>
> I made another patch for this issue following your recommendations. The only
> thing that is left is the way the patch is going to be implemented on the
> kernel (module parameter, sysfs...), which is still in di
On Thu, Jul 12, 2012 at 12:10:14AM +1000, Ben Minerds wrote:
> Removed various checkpatch.sh warnings and errors.
> Split patch by warning/error type.
> Corrected line wraps in emails.
>
> Signed-off-by: Ben Minerds
> ---
> drivers/usb/serial/keyspan.c | 106
> +---
On Wed, 11 Jul 2012, Udo van den Heuvel wrote:
> New occurrence:
>
> Jul 11 16:45:26 box3 kernel: irq 18: nobody cared (try booting with the
> "irqpoll" option)
> Jul 11 16:45:26 box3 kernel: Pid: 1465, comm: irq/18-ohci_hcd Not
> tainted 3.4.4 #3
> Any clues and/or updates?
Didn't you see the
Greg:
The following lengthy series contains a set of changes and enhancements
to ehci-hcd. The most notable changes include moving from regular
kernel timers to high-resolution timers, and getting rid of long
polling loops with interrupts disabled.
Other changes include removal of unnecessary
Currently, EHCI initialization turns off the controller (in case it
was left running by the firmware) before setting up the ehci_hcd data
structure. This patch (as1565) reverses that order.
Although it doesn't matter now, it will matter later on when future
additions to ehci_halt() will want to a
This patch (as1566) removes the code in ehci-hcd's resume routines
which tries to restart or cancel any transfers left active while the
root hub or controller was asleep. This code isn't necessary, because
all URBs are terminated before the root hub is suspended.
Signed-off-by: Alan Stern
---
This patch (as1567) removes ehci-hcd's reference counting of QH
structures. It's not necessary to refcount these things because they
always get deallocated at exactly one spot in ehci_endpoint_disable()
(except for two special QHs, ehci->async and ehci->dummy) and are
never used again.
Signed-off
This patch (as1568) introduces symbolic constants for some of the
less-frequently used bitfields in the QH structure. This makes the
code a little easier to read and understand.
Signed-off-by: Alan Stern
---
drivers/usb/host/ehci-dbg.c |6 +++---
drivers/usb/host/ehci-hcd.c |2 +-
dri
This patch (as1569) renames the ehci->reclaim list in ehci-hcd. The
word "reclaim" is used in the EHCI specification to mean something
quite different, and "unlink_next" is more descriptive of the list's
purpose anyway.
Similarly, the "reclaim" field in the ehci_stats structure is renamed
"iaa",
This patch (as1570) adds a pointer for the end of ehci-hcd's
async-unlink list. The list (which is actually a queue) is singly
linked, so having a pointer to its end makes adding new entries easier
-- there's no longer any need to scan through the whole list.
In principle it could be changed to a
This patch (as1571) adds a new state for ehci-hcd's root hubs:
EHCI_RH_STOPPING. This value is used at times when the root hub is
being stopped and we don't know whether or not the hardware has
finished all its DMA yet.
Although the purpose may not be apparent, this distinction will come
in usefu
This patch (as1572) begins the conversion of ehci-hcd over to using
high-resolution timers rather than old-fashioned low-resolution kernel
timers. This reduces overhead caused by timer roundoff on systems
where HZ is smaller than 1000. Also, the new timer framework
introduced here is much more lo
This patch (as1573) adds hrtimer support for managing ehci-hcd's
periodic schedule. There are two issues to deal with.
First, the schedule's state (on or off) must not be changed until the
hardware status has caught up with the current command. This is
handled by an hrtimer event that polls at 1
This patch (as1574) changes the return type of multiple functions in
ehci-sched.c from int to void. The values they return are now always
0, so there's no reason for them to return any value at all.
Signed-off-by: Alan Stern
---
drivers/usb/host/ehci-sched.c | 34 ++-
This patch (as1575) removes special code added for status polling of
the EHCI controller in PS3 systems. While the controller is running,
the polling is now carried out by an hrtimer handler. When the
controller is suspending or stopping, we use the same polling routine
as the old code -- but in
This patch (as1576) adds hrtimer support for managing ehci-hcd's
async schedule. Just as with the earlier change to the periodic
schedule management, two new hrtimer events take care of everything.
One event polls at 1-ms intervals to see when the Asynchronous
Schedule Status (ASS) flag matches t
This patch (as1577) adds hrtimer support for unlinking interrupt QHs
in ehci-hcd. The current code relies on a fixed delay of either 2 or
55 us, which is not always adequate and in any case is totally bogus.
Thanks to internal caching, the EHCI hardware may continue to access
an interrupt QH for m
This patch (as1578) adds an hrtimer event to handle the death of an
EHCI controller. When a controller dies, it doesn't necessarily stop
running right away. The new event polls at 1-ms intervals to see when
all activity has safely stopped. This replaces a busy-wait polling
loop in the current co
This patch (as1579) adds an hrtimer event to handle deallocation of
iTDs and siTDs in ehci-hcd.
Because of the frame-oriented approach used by the EHCI periodic
schedule, the hardware can continue to access the Transfer Descriptor
for isochronous (or split-isochronous) transactions for up to a
mil
This patch (as1580) makes ehci_iso_stream structures behave more like
QHs, in that they will remain allocated until their isochronous
endpoint is disabled. This will come in useful in the future, when
periodic bandwidth gets allocated as an altsetting is installed rather
than on-the-fly.
For now,
This patch (as1581) replaces the iaa_watchdog kernel timer used by
ehci-hcd with an hrtimer event, in keeping with the general conversion
to high-res timers.
Signed-off-by: Alan Stern
---
drivers/usb/host/ehci-hcd.c | 66 --
drivers/usb/host/ehci-hub
This patch (as1582) changes ehci-hcd's strategy for unlinking async
QHs. Currently the driver never unlinks more than one QH at a time.
This can be inefficient and cause unnecessary delays, since a QH
cannot be reused while it is waiting to be unlinked.
The new strategy unlinks all the waiting QH
This patch (as1583) changes ehci-hcd to use an hrtimer event for
unlinking empty (unused) async QHs instead of using a kernel timer.
The check for empty QHs is moved to a new routine, where it doesn't
require going through an entire scan of both the async and periodic
schedules. And it can unlink
This patch (as1584) fixes a minor bug that has been present in
ehci-hcd since the beginning.
Scanning the schedules for URB completions is single-threaded. If a
completion interrupt occurs while an URB is being given back, the
interrupt handler realizes that a scan is in progress on another CPU
a
This patch (as1585) fixes a bug in ehci-hcd's scheme for scanning
interrupt QHs.
Currently a single routine takes care of scanning everything on the
periodic schedule. Whenever an interrupt occurs, it scans all
isochronous and interrupt URBs scheduled for frames that have elapsed
since the last s
This patch (as1586) replaces the kernel timer used by ehci-hcd as an
I/O watchdog with an hrtimer event.
Unlike in the current code, the watchdog event is now always enabled
whenever any isochronous URBs are active. This will prevent bugs
caused by the periodic schedule wrapping around with no co
This patch (as1587) simplifies ehci-hcd's scan_isoc() routine by
eliminating some local variables, declaring boolean-valued values as
bool rather than unsigned, changing variable names to make more sense,
and so on.
The logic at the end of the routine is cut down significantly. The
scanning doesn
This patch (as1588) adjusts the locking in ehci-hcd's various halt,
shutdown, and suspend/resume pathways. We want to hold the spinlock
while writing device registers and accessing shared variables, but not
while polling in a loop.
In addition, there's no need to call ehci_work() at times when no
94 matches
Mail list logo