Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 651333

Summary: RHEL5.6: EHCI: AMD periodic frame list table quirk
Product: Red Hat Enterprise Linux 5 Reporter: Shane Huang <shane.huang>
Component: kernelAssignee: Don Zickus <dzickus>
Status: CLOSED ERRATA QA Contact: Chao Yang <chyang>
Severity: medium Docs Contact:
Priority: low    
Version: 5.6CC: andiry.xu, dzickus, henry.su, jarod, jfeeney, kthiruma, pbenas, qcai, shane.huang
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 651332 Environment:
Last Closed: 2011-07-21 10:25:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 651332, 651334, 662756    
Bug Blocks:    
Attachments:
Description Flags
ehci_frame_list_fix_RHEL5.6.patch none

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