Commit 64a9d5ab authored by Oded Gabbay's avatar Oded Gabbay
Browse files

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: default avatarOded Gabbay <ogabbay@kernel.org>
parent 051504d9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;