diff options
| author | Shannon Nelson <shannon.nelson@amd.com> | 2023-09-15 01:31:57 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-05-09 10:43:58 +0300 |
| commit | 5e51c0b51b25e4a21d6b52e34cddde76ebe8dea2 (patch) | |
| tree | ce4ea2e1978501582cb53b68df5683322ae33e93 /include/linux/pds | |
| parent | 5ba9380f79f288c490e655ddaa3fddffa4072463 (diff) | |
| download | linux-5e51c0b51b25e4a21d6b52e34cddde76ebe8dea2.tar.xz | |
pds_core: check health in devcmd wait
[ Upstream commit f7b5bd725b737de3f2c4a836e07c82ba156d75df ]
Similar to what we do in the AdminQ, check for devcmd health
while waiting for an answer.
Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Reviewed-by: Brett Creeley <brett.creeley@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: dfd76010f8e8 ("pds_core: remove write-after-free of client_id")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/pds')
| -rw-r--r-- | include/linux/pds/pds_core_if.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pds/pds_core_if.h b/include/linux/pds/pds_core_if.h index e838a2b90440..17a87c1a55d7 100644 --- a/include/linux/pds/pds_core_if.h +++ b/include/linux/pds/pds_core_if.h @@ -79,6 +79,7 @@ enum pds_core_status_code { PDS_RC_EVFID = 31, /* VF ID does not exist */ PDS_RC_BAD_FW = 32, /* FW file is invalid or corrupted */ PDS_RC_ECLIENT = 33, /* No such client id */ + PDS_RC_BAD_PCI = 255, /* Broken PCI when reading status */ }; /** |
