Commit b223af8
Desnes Nunes
usb: host: xhci-mem: Cleanup pending secondary event ring events
JIRA: https://issues.redhat.com/browse/RHEL-116016
Conflicts:
* Commit bea5892 ("xhci: Limit time spent with xHC interrupts
disabled during bus resume") causes a conflicts here by making
xhci_enable_interrupter() and xhci_disable_interrupter() public
on drivers/usb/host/xhci.h
commit 5beb4a5
Author: Wesley Cheng <quic_wcheng@quicinc.com>
Date: Wed, 9 Apr 2025 12:47:35 -0700
As part of xHCI bus suspend, the xHCI is halted. However, if there are
pending events in the secondary event ring, it is observed that the xHCI
controller stops responding to further commands upon host or device
initiated bus resume. Iterate through all pending events and update the
dequeue pointer to the beginning of the event ring.
Tested-by: Puma Hsu <pumahsu@google.com>
Tested-by: Daehwan Jung <dh10.jung@samsung.com>
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
Acked-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20250409194804.3773260-3-quic_wcheng@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Desnes Nunes <desnesn@redhat.com>1 parent f6a3bf9 commit b223af8
3 files changed
+52
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1805 | 1805 | | |
1806 | 1806 | | |
1807 | 1807 | | |
1808 | | - | |
| 1808 | + | |
1809 | 1809 | | |
1810 | 1810 | | |
1811 | 1811 | | |
| |||
1848 | 1848 | | |
1849 | 1849 | | |
1850 | 1850 | | |
| 1851 | + | |
| 1852 | + | |
| 1853 | + | |
| 1854 | + | |
| 1855 | + | |
1851 | 1856 | | |
1852 | 1857 | | |
1853 | 1858 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3050 | 3050 | | |
3051 | 3051 | | |
3052 | 3052 | | |
3053 | | - | |
3054 | | - | |
3055 | | - | |
| 3053 | + | |
| 3054 | + | |
| 3055 | + | |
3056 | 3056 | | |
3057 | 3057 | | |
3058 | 3058 | | |
| |||
3095 | 3095 | | |
3096 | 3096 | | |
3097 | 3097 | | |
3098 | | - | |
| 3098 | + | |
| 3099 | + | |
3099 | 3100 | | |
3100 | 3101 | | |
3101 | | - | |
| 3102 | + | |
3102 | 3103 | | |
3103 | 3104 | | |
3104 | 3105 | | |
| |||
3121 | 3122 | | |
3122 | 3123 | | |
3123 | 3124 | | |
3124 | | - | |
| 3125 | + | |
| 3126 | + | |
3125 | 3127 | | |
3126 | 3128 | | |
3127 | 3129 | | |
| |||
3148 | 3150 | | |
3149 | 3151 | | |
3150 | 3152 | | |
| 3153 | + | |
| 3154 | + | |
| 3155 | + | |
| 3156 | + | |
| 3157 | + | |
| 3158 | + | |
| 3159 | + | |
| 3160 | + | |
| 3161 | + | |
| 3162 | + | |
| 3163 | + | |
| 3164 | + | |
| 3165 | + | |
| 3166 | + | |
| 3167 | + | |
| 3168 | + | |
| 3169 | + | |
| 3170 | + | |
| 3171 | + | |
| 3172 | + | |
| 3173 | + | |
| 3174 | + | |
| 3175 | + | |
| 3176 | + | |
| 3177 | + | |
| 3178 | + | |
| 3179 | + | |
| 3180 | + | |
| 3181 | + | |
| 3182 | + | |
| 3183 | + | |
3151 | 3184 | | |
3152 | 3185 | | |
3153 | 3186 | | |
| |||
3192 | 3225 | | |
3193 | 3226 | | |
3194 | 3227 | | |
3195 | | - | |
| 3228 | + | |
3196 | 3229 | | |
3197 | 3230 | | |
3198 | 3231 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1855 | 1855 | | |
1856 | 1856 | | |
1857 | 1857 | | |
| 1858 | + | |
| 1859 | + | |
| 1860 | + | |
1858 | 1861 | | |
1859 | 1862 | | |
1860 | 1863 | | |
| |||
1940 | 1943 | | |
1941 | 1944 | | |
1942 | 1945 | | |
| 1946 | + | |
| 1947 | + | |
| 1948 | + | |
1943 | 1949 | | |
1944 | 1950 | | |
1945 | 1951 | | |
| |||
0 commit comments