Commit 7edfa96
HACK: iommu: apple-dart: workaround broken runtime PM with PCIe devices
Runtime PM behaves strangely with PCIe devices, pm_runtime_enabled()
returns true here although the devices do not support runtime PM.
This seems to confuse the PM core and DART is runtime suspended while
the device is in use. The dart_hw_reset() in the resume path ends up
breaking PCIe devices eventually.
Signed-off-by: Janne Grunau <j@jannau.net>1 parent 282ab49 commit 7edfa96
1 file changed
Lines changed: 12 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
764 | 764 | | |
765 | 765 | | |
766 | 766 | | |
| 767 | + | |
767 | 768 | | |
768 | 769 | | |
769 | 770 | | |
770 | 771 | | |
771 | 772 | | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
772 | 783 | | |
773 | | - | |
774 | | - | |
775 | | - | |
| 784 | + | |
776 | 785 | | |
777 | 786 | | |
778 | 787 | | |
| |||
0 commit comments