Repository navigation
Commit 0ba1788
powerpc/eeh: Remove reference to PCI device
We will rely on pcibios_release_device() to remove the EEH cache
and unbind EEH device for the specific PCI device. So we shouldn't
hold the reference to the PCI device from EEH cache and EEH device.
Otherwise, pcibios_release_device() won't be called as we expected.
The patch removes the reference to the PCI device in EEH core.
Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>1 parent ee1dd1e commit 0ba1788
2 files changed
Lines changed: 5 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
499 | 499 | | |
500 | 500 | | |
501 | 501 | | |
502 | | - | |
503 | | - | |
504 | 502 | | |
505 | 503 | | |
506 | 504 | | |
| |||
904 | 902 | | |
905 | 903 | | |
906 | 904 | | |
907 | | - | |
908 | 905 | | |
909 | 906 | | |
910 | 907 | | |
| |||
992 | 989 | | |
993 | 990 | | |
994 | 991 | | |
995 | | - | |
996 | 992 | | |
997 | 993 | | |
998 | 994 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
81 | 77 | | |
82 | 78 | | |
83 | 79 | | |
| |||
156 | 152 | | |
157 | 153 | | |
158 | 154 | | |
159 | | - | |
160 | 155 | | |
161 | 156 | | |
162 | 157 | | |
| |||
250 | 245 | | |
251 | 246 | | |
252 | 247 | | |
253 | | - | |
254 | 248 | | |
255 | 249 | | |
256 | 250 | | |
| |||
302 | 296 | | |
303 | 297 | | |
304 | 298 | | |
305 | | - | |
306 | 299 | | |
307 | 300 | | |
308 | 301 | | |
309 | 302 | | |
310 | | - | |
311 | 303 | | |
312 | 304 | | |
313 | 305 | | |
| |||
0 commit comments