struct amdgpu_ras *ras = amdgpu_ras_get_context(adev);
int ret = 0;
- /* skip get ecc info during gpu recovery */
- if (atomic_read(&ras->in_recovery) == 1 &&
- adev->ip_versions[MP1_HWIP][0] == IP_VERSION(13, 0, 2))
- return;
-
/*
* choosing right query method according to
* whether smu support query error information
if (info.head.block == AMDGPU_RAS_BLOCK__PCIE_BIF)
continue;
+ /*
+ * this is a workaround for aldebaran, skip send msg to
+ * smu to get ecc_info table due to smu handle get ecc
+ * info table failed temporarily.
+ * should be removed until smu fix handle ecc_info table.
+ */
+ if ((info.head.block == AMDGPU_RAS_BLOCK__UMC) &&
+ (adev->ip_versions[MP1_HWIP][0] == IP_VERSION(13, 0, 2)))
+ continue;
+
amdgpu_ras_query_error_status(adev, &info);
}
}