FreeBSD Bugzilla – Attachment 114872 Details for
Bug 156596
[ehci] Extremely high interrupt rate on ehci/uhci IRQ16 80% cpu utilization on CPU0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
ehci_fix_terminate.patch
ehci_fix_terminate.patch (text/x-patch; charset="iso-8859-15"), 1.20 KB, created by
Hans Petter Selasky
on 2011-07-09 10:48:29 UTC
(
hide
)
Description:
ehci_fix_terminate.patch
Filename:
MIME Type:
Creator:
Hans Petter Selasky
Created:
2011-07-09 10:48:29 UTC
Size:
1.20 KB
patch
obsolete
>=== ehci.c >================================================================== >--- ehci.c (revision 223868) >+++ ehci.c (local) >@@ -354,12 +354,9 @@ > htohc32(sc, EHCI_QH_SET_MULT(1)); > qh->qh_curqtd = 0; > >- qh->qh_qtd.qtd_next = >- htohc32(sc, EHCI_LINK_TERMINATE); >- qh->qh_qtd.qtd_altnext = >- htohc32(sc, EHCI_LINK_TERMINATE); >- qh->qh_qtd.qtd_status = >- htohc32(sc, EHCI_QTD_HALTED); >+ qh->qh_qtd.qtd_next = sc->sc_terminate_self; >+ qh->qh_qtd.qtd_altnext = sc->sc_terminate_self; >+ qh->qh_qtd.qtd_status = htohc32(sc, EHCI_QTD_HALTED); > } > > /* >@@ -394,7 +391,7 @@ > qh = sc->sc_intr_p_last[0]; > > /* the last (1ms) QH terminates */ >- qh->qh_link = htohc32(sc, EHCI_LINK_TERMINATE); >+ qh->qh_link = sc->sc_terminate_self; > } > for (i = 0; i < EHCI_VIRTUAL_FRAMELIST_COUNT; i++) { > ehci_sitd_t *sitd; >@@ -497,8 +494,8 @@ > qh->qh_curqtd = 0; > > /* fill the overlay qTD */ >- qh->qh_qtd.qtd_next = htohc32(sc, EHCI_LINK_TERMINATE); >- qh->qh_qtd.qtd_altnext = htohc32(sc, EHCI_LINK_TERMINATE); >+ qh->qh_qtd.qtd_next = sc->sc_terminate_self; >+ qh->qh_qtd.qtd_altnext = sc->sc_terminate_self; > qh->qh_qtd.qtd_status = htohc32(sc, EHCI_QTD_HALTED); > } > /* flush all cache into memory */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 156596
:
114870
|
114871
| 114872 |
114873
|
152572