diff options
| author | Sahil Chandna <sahilchandna@linux.microsoft.com> | 2026-09-14 03:39:09 -0700 |
|---|---|---|
| committer | Wei Liu <wei.liu@kernel.org> | 2026-09-21 08:41:44 -0700 |
| commit | ca039df94983c441fdee0e2488263fc744e8ecb6 (patch) | |
| tree | c7f88a8270839db037425fc8ae93d646292d4924 /tools/lib/python/kdoc/python_version.py | |
| parent | c37fc4deee0065e444306def9c79ba22b9b0f84e (diff) | |
| download | linux-next-ca039df94983c441fdee0e2488263fc744e8ecb6.tar.gz linux-next-ca039df94983c441fdee0e2488263fc744e8ecb6.zip | |
PCI: hv: Warn when wait_for_response() waits indefinitely
A guest can wait indefinitely in wait_for_response() for the host to
send either a rescind message or a packet completion. If the
host does not send either, the guest can remain blocked with no
diagnostic indicating a reason.
This was observed during a guest kernel upgrade in which the
host-side application handling the PCI channel faulted, causing the
guest to never receive the completion request.
Add a warning in wait_for_response() when the wait exceeds
a timeout so that such a hang is visible in the guest's kernel log
and can be correlated with host-side state.
Suggested-by: Michael Kelley <mhklinux@outlook.com>
Reviewed-by: Naman Jain <namjain@linux.microsoft.com>
Signed-off-by: Sahil Chandna <sahilchandna@linux.microsoft.com>
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
