forked fromtorvalds/linux
- Notifications
You must be signed in to change notification settings - Fork0
Commit0891fb3
committed
xen/events: don't use chip_data for legacy IRQs
Since commitc330fb1 ("XEN uses irqdesc::irq_data_common::handler_data to store a per interrupt XEN data pointer which contains XEN specific information.")Xen is using the chip_data pointer for storing IRQ specific data. Whenrunning as a HVM domain this can result in problems for legacy IRQs, asthose might use chip_data for their own purposes.Use a local array for this purpose in case of legacy IRQs, avoiding thedouble use.Cc: stable@vger.kernel.orgFixes:c330fb1 ("XEN uses irqdesc::irq_data_common::handler_data to store a per interrupt XEN data pointer which contains XEN specific information.")Signed-off-by: Juergen Gross <jgross@suse.com>Tested-by: Stefan Bader <stefan.bader@canonical.com>Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>Link:https://lore.kernel.org/r/20200930091614.13660-1-jgross@suse.comSigned-off-by: Juergen Gross <jgross@suse.com>1 parenta1b8638 commit0891fb3
1 file changed
+21
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
95 | 97 | | |
96 | 98 | | |
97 | 99 | | |
| |||
156 | 158 | | |
157 | 159 | | |
158 | 160 | | |
159 | | - | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
160 | 173 | | |
161 | 174 | | |
162 | 175 | | |
| |||
377 | 390 | | |
378 | 391 | | |
379 | 392 | | |
380 | | - | |
| 393 | + | |
381 | 394 | | |
382 | 395 | | |
383 | 396 | | |
| |||
426 | 439 | | |
427 | 440 | | |
428 | 441 | | |
429 | | - | |
| 442 | + | |
430 | 443 | | |
431 | 444 | | |
432 | 445 | | |
433 | 446 | | |
434 | 447 | | |
435 | 448 | | |
436 | | - | |
| 449 | + | |
437 | 450 | | |
438 | 451 | | |
439 | 452 | | |
| |||
603 | 616 | | |
604 | 617 | | |
605 | 618 | | |
606 | | - | |
| 619 | + | |
607 | 620 | | |
608 | 621 | | |
609 | 622 | | |
| |||
1108 | 1121 | | |
1109 | 1122 | | |
1110 | 1123 | | |
1111 | | - | |
| 1124 | + | |
1112 | 1125 | | |
1113 | 1126 | | |
1114 | 1127 | | |
| |||
1142 | 1155 | | |
1143 | 1156 | | |
1144 | 1157 | | |
1145 | | - | |
| 1158 | + | |
1146 | 1159 | | |
1147 | 1160 | | |
1148 | 1161 | | |
| |||
1170 | 1183 | | |
1171 | 1184 | | |
1172 | 1185 | | |
1173 | | - | |
| 1186 | + | |
1174 | 1187 | | |
1175 | 1188 | | |
1176 | 1189 | | |
| |||
0 commit comments
Comments
(0)