summaryrefslogtreecommitdiffstats
path: root/include/linux/pds
diff options
context:
space:
mode:
authorShannon Nelson <shannon.nelson@amd.com>2023-09-14 15:31:57 -0700
committerDavid S. Miller <davem@davemloft.net>2023-09-18 09:28:22 +0100
commitf7b5bd725b737de3f2c4a836e07c82ba156d75df (patch)
tree9ba657e616be364f9c46bca98f09cdfb0c18a855 /include/linux/pds
parent8d6198a14e2bfb09f190055b387c90b4ac9b49a4 (diff)
downloadlinux-stable-f7b5bd725b737de3f2c4a836e07c82ba156d75df.tar.gz
linux-stable-f7b5bd725b737de3f2c4a836e07c82ba156d75df.tar.bz2
linux-stable-f7b5bd725b737de3f2c4a836e07c82ba156d75df.zip
pds_core: check health in devcmd wait
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>
Diffstat (limited to 'include/linux/pds')
-rw-r--r--include/linux/pds/pds_core_if.h1
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 */
};
/**