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>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user