diff options
author | Oded Gabbay <ogabbay@kernel.org> | 2020-11-21 13:29:25 +0100 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2020-11-30 09:47:36 +0100 |
commit | 64a9d5ab2c1cccf7aa902039887d5911a6060141 (patch) | |
tree | ad9b74c5afd28ca243b5a47885dfe0a4914b3eb7 /drivers | |
parent | habanalabs: update firmware files (diff) | |
download | linux-64a9d5ab2c1cccf7aa902039887d5911a6060141.tar.xz linux-64a9d5ab2c1cccf7aa902039887d5911a6060141.zip |
habanalabs/gaudi: print ECC type field
We have the ECC type field from the firmware but the driver didn't
print it, so we need to add that field to the ECC print message.
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/misc/habanalabs/gaudi/gaudi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/habanalabs/gaudi/gaudi.c b/drivers/misc/habanalabs/gaudi/gaudi.c index c99ad8d65dea..cd18456fa523 100644 --- a/drivers/misc/habanalabs/gaudi/gaudi.c +++ b/drivers/misc/habanalabs/gaudi/gaudi.c @@ -6918,8 +6918,8 @@ static int gaudi_hbm_read_interrupts(struct hl_device *hdev, int device, le32_to_cpu(hbm_ecc_data->hbm_ecc_info)); dev_err(hdev->dev, - "HBM%d pc%d interrupts info: WR_PAR=%d, RD_PAR=%d, CA_PAR=%d, SERR=%d, DERR=%d\n", - device, ch, wr_par, rd_par, ca_par, serr, derr); + "HBM%d pc%d ECC: TYPE=%d, WR_PAR=%d, RD_PAR=%d, CA_PAR=%d, SERR=%d, DERR=%d\n", + device, ch, type, wr_par, rd_par, ca_par, serr, derr); err = 1; |