Commit b6e59e7
iommu: apple-dart: Power on device when handling IRQs
It's possible for an IRQ to fire and the device to be RPM suspended
before we can handle it, which then causes device register accesses to
fail in the IRQ handler.
Since RPM is IRQ-safe for this device, just make sure we power on the
DART in the IRQ handler too.
Signed-off-by: Asahi Lina <lina@asahilina.net>1 parent 4000aa2 commit b6e59e7
1 file changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1316 | 1316 | | |
1317 | 1317 | | |
1318 | 1318 | | |
| 1319 | + | |
| 1320 | + | |
| 1321 | + | |
| 1322 | + | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
| 1327 | + | |
| 1328 | + | |
| 1329 | + | |
1319 | 1330 | | |
1320 | 1331 | | |
1321 | 1332 | | |
| |||
1425 | 1436 | | |
1426 | 1437 | | |
1427 | 1438 | | |
1428 | | - | |
| 1439 | + | |
1429 | 1440 | | |
1430 | 1441 | | |
1431 | 1442 | | |
| |||
0 commit comments