diff options
author | Moti Haimovski <mhaimovski@habana.ai> | 2021-04-08 20:18:03 +0200 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2021-06-18 14:23:38 +0200 |
commit | 7bd1e23e5f1381c58ed2a68045ac042dd174c55f (patch) | |
tree | cf3392d36577fb72ecf5431722e3c706bada831f /drivers/misc/habanalabs | |
parent | bus: fsl-mc: mc-io: Correct misdocumentation of 'dpmcp_dev' param (diff) | |
download | linux-7bd1e23e5f1381c58ed2a68045ac042dd174c55f.tar.xz linux-7bd1e23e5f1381c58ed2a68045ac042dd174c55f.zip |
habanalabs: increase ELBI reset timeout for PLDM
On PLDM, in case of NIC hangs, the ELBI reset to take much longer than
expected. As a result an increase in the ELBI reset timeout is required.
Signed-off-by: Moti Haimovski <mhaimovski@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'drivers/misc/habanalabs')
-rw-r--r-- | drivers/misc/habanalabs/common/pci/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/habanalabs/common/pci/pci.c b/drivers/misc/habanalabs/common/pci/pci.c index e941b7eef346..5d07ca53d9ce 100644 --- a/drivers/misc/habanalabs/common/pci/pci.c +++ b/drivers/misc/habanalabs/common/pci/pci.c @@ -10,7 +10,7 @@ #include <linux/pci.h> -#define HL_PLDM_PCI_ELBI_TIMEOUT_MSEC (HL_PCI_ELBI_TIMEOUT_MSEC * 10) +#define HL_PLDM_PCI_ELBI_TIMEOUT_MSEC (HL_PCI_ELBI_TIMEOUT_MSEC * 100) #define IATU_REGION_CTRL_REGION_EN_MASK BIT(31) #define IATU_REGION_CTRL_MATCH_MODE_MASK BIT(30) |