This repository has been archived on 2026-03-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
ubports_kernel_google_msm/drivers/usb/host
Ajay Dudani 49349e96f0 EHCI: Update qTD next pointer in QH overlay region during unlink
There is a possibility of QH overlay region having reference to a stale
qTD pointer during unlink.

Consider an endpoint having two pending qTD before unlink process begins.
The endpoint's QH queue looks like this.

qTD1 --> qTD2 --> Dummy

To unlink qTD2, QH is removed from asynchronous list and Asynchronous
Advance Doorbell is programmed.  The qTD1's next qTD pointer is set to
qTD2'2 next qTD pointer and qTD2 is retired upon controller's doorbell
interrupt.  If QH's current qTD pointer points to qTD1, transfer overlay
region still have reference to qTD2. But qtD2 is just unlinked and freed.
This may cause EHCI system error.  Fix this by updating qTD next pointer
in QH overlay region with the qTD next pointer of the current qTD.

CRs-Fixed: 386914
Change-Id: Idbc41b93674955325c8da445fcb25d189bddddb2
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2013-03-04 12:48:03 -08:00
..
2011-12-08 09:38:53 -08:00
2011-09-18 01:39:36 -07:00
2012-02-24 13:40:04 -08:00
2011-11-26 19:46:48 -08:00
2011-10-18 13:51:34 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2012-02-13 14:32:34 -08:00
2011-03-31 11:26:23 -03:00
2011-09-18 01:39:36 -07:00
2011-11-18 10:51:00 -08:00
2011-11-18 10:51:00 -08:00
2011-09-18 01:39:36 -07:00
2011-09-18 01:39:36 -07:00
2011-09-18 01:39:36 -07:00
2011-09-18 01:39:36 -07:00
2011-09-18 01:39:36 -07:00
2011-11-18 10:51:00 -08:00
2011-11-18 10:51:00 -08:00
2011-11-18 10:51:00 -08:00
2011-11-18 10:51:00 -08:00
2011-09-18 01:39:36 -07:00
2011-11-18 10:51:00 -08:00