Commit ab1b2ab
committed
Revert "PCI: hv: Fix a timing issue which causes kdump to fail occasionally"
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2182619
commit a847234
Author: Dexuan Cui <decui@microsoft.com>
Date: Wed Jun 14 21:44:50 2023 -0700
Revert "PCI: hv: Fix a timing issue which causes kdump to fail occasionally"
This reverts commit d6af2ed.
The statement "the hv_pci_bus_exit() call releases structures of all its
child devices" in commit d6af2ed is not true: in the path
hv_pci_probe() -> hv_pci_enter_d0() -> hv_pci_bus_exit(hdev, true): the
parameter "keep_devs" is true, so hv_pci_bus_exit() does *not* release the
child "struct hv_pci_dev *hpdev" that is created earlier in
pci_devices_present_work() -> new_pcichild_device().
The commit d6af2ed was originally made in July 2020 for RHEL 7.7,
where the old version of hv_pci_bus_exit() was used; when the commit was
rebased and merged into the upstream, people didn't notice that it's
not really necessary. The commit itself doesn't cause any issue, but it
makes hv_pci_probe() more complicated. Revert it to facilitate some
upcoming changes to hv_pci_probe().
Signed-off-by: Dexuan Cui <decui@microsoft.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Acked-by: Wei Hu <weh@microsoft.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20230615044451.5580-5-decui@microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>1 parent 5776f14 commit ab1b2ab
1 file changed
+34
-37
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3225 | 3225 | | |
3226 | 3226 | | |
3227 | 3227 | | |
| 3228 | + | |
3228 | 3229 | | |
3229 | 3230 | | |
| 3231 | + | |
3230 | 3232 | | |
3231 | 3233 | | |
3232 | 3234 | | |
| |||
3253 | 3255 | | |
3254 | 3256 | | |
3255 | 3257 | | |
| 3258 | + | |
| 3259 | + | |
| 3260 | + | |
| 3261 | + | |
| 3262 | + | |
| 3263 | + | |
| 3264 | + | |
| 3265 | + | |
| 3266 | + | |
| 3267 | + | |
| 3268 | + | |
| 3269 | + | |
| 3270 | + | |
| 3271 | + | |
| 3272 | + | |
| 3273 | + | |
| 3274 | + | |
| 3275 | + | |
| 3276 | + | |
| 3277 | + | |
| 3278 | + | |
| 3279 | + | |
| 3280 | + | |
| 3281 | + | |
| 3282 | + | |
| 3283 | + | |
| 3284 | + | |
| 3285 | + | |
| 3286 | + | |
| 3287 | + | |
| 3288 | + | |
| 3289 | + | |
3256 | 3290 | | |
3257 | 3291 | | |
3258 | 3292 | | |
| |||
3498 | 3532 | | |
3499 | 3533 | | |
3500 | 3534 | | |
3501 | | - | |
3502 | 3535 | | |
3503 | 3536 | | |
3504 | 3537 | | |
| |||
3638 | 3671 | | |
3639 | 3672 | | |
3640 | 3673 | | |
3641 | | - | |
3642 | 3674 | | |
3643 | 3675 | | |
3644 | 3676 | | |
3645 | 3677 | | |
3646 | 3678 | | |
3647 | | - | |
3648 | | - | |
3649 | | - | |
3650 | | - | |
3651 | | - | |
3652 | | - | |
3653 | | - | |
3654 | | - | |
3655 | | - | |
3656 | | - | |
3657 | | - | |
3658 | | - | |
3659 | | - | |
3660 | | - | |
3661 | | - | |
3662 | | - | |
3663 | | - | |
3664 | | - | |
3665 | | - | |
3666 | | - | |
3667 | | - | |
3668 | | - | |
3669 | | - | |
3670 | | - | |
3671 | | - | |
3672 | | - | |
3673 | | - | |
3674 | | - | |
3675 | | - | |
3676 | | - | |
3677 | | - | |
3678 | | - | |
3679 | | - | |
3680 | | - | |
3681 | | - | |
3682 | 3679 | | |
3683 | 3680 | | |
3684 | 3681 | | |
| |||
0 commit comments