Bug 651333 - RHEL5.6: EHCI: AMD periodic frame list table quirk
Summary: RHEL5.6: EHCI: AMD periodic frame list table quirk
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel
Version: 5.6
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Don Zickus
QA Contact: Chao Yang
URL:
Whiteboard:
Depends On: 651332 651334 662756
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-09 09:49 UTC by Shane Huang
Modified: 2011-07-21 10:25 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 651332
Environment:
Last Closed: 2011-07-21 10:25:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
ehci_frame_list_fix_RHEL5.6.patch (4.30 KB, patch)
2010-11-23 09:49 UTC, Andiry
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:1065 0 normal SHIPPED_LIVE Important: Red Hat Enterprise Linux 5.7 kernel security and bug fix update 2011-07-21 09:21:37 UTC

Description Shane Huang 2010-11-09 09:49:13 UTC
+++ This bug was initially created as a clone of Bug #651332 +++

On AMD SB700/SB800/Hudson-2/3 platforms, USB EHCI controller may read/write
to memory space not allocated to USB controller if there is longer than
normal latency on DMA read encountered. In this condition the exposure will
be encountered only if the driver has following format of Periodic Frame
List link pointer structure:

For any idle periodic schedule, the Frame List link pointers that have the
T-bit set to 1 intending to terminate the use of frame list link pointer
as a physical memory pointer.

Idle periodic schedule Frame List Link pointer shoule be in the following
format to avoid the issue:

Frame list link pointer should be always contains a valid pointer to a
inactive QHead with T-bit set to 0.

Steps to Reproduce:
It is SW workaround of HW issue, it is difficult to reproduce from driver
point.

Patch has been accepted by EHCI maintainer:
http://www.spinics.net/lists/linux-usb/msg38405.html
http://www.spinics.net/lists/linux-usb/msg38414.html

--- Additional comment from shane.huang on 2010-11-09 04:47:33 EST ---

We will provide the git link here once it is available,
suppose the patch will appear from kernel 2.6.37 if everything is ok.

Comment 1 Andiry 2010-11-23 09:49:34 UTC
Created attachment 462285 [details]
ehci_frame_list_fix_RHEL5.6.patch

Please find the patch attached.

Comment 2 Shane Huang 2010-12-16 03:16:14 UTC
Here is the git link, which will appear from 2.6.37:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=3d091a6f703906c5680855ff29bd94d051c8c6d8

Comment 4 RHEL Program Management 2011-03-22 16:30:15 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 6 Jarod Wilson 2011-04-01 22:04:01 UTC
Patch(es) available in kernel-2.6.18-254.el5
You can download this test kernel (or newer) from http://people.redhat.com/jwilson/el5
Detailed testing feedback is always welcomed.

Comment 8 Shane Huang 2011-04-07 03:21:00 UTC
Verified with kernel-2.6.18-255.el5

Comment 10 Petr Beňas 2011-04-26 08:48:35 UTC
Verified in 2.6.18-254.el5.

Comment 11 errata-xmlrpc 2011-07-21 10:25:16 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-1065.html


Note You need to log in before you can comment on or make changes to this bug.