mirror of
https://github.com/torvalds/linux.git
synced 2026-11-01 19:30:03 +01:00
drm/amd/ras: report the banks the scrubber logged
A bank carrying the scrub bit was found by the background scrubber rather than by an access, which is worth telling apart from the rest when reading a log. Signed-off-by: Xiang Liu <xiang.liu@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
2e68fceb40
commit
4d3ffc35f1
|
|
@ -128,6 +128,11 @@ static void aca_bank_log(struct ras_core_context *ras_core,
|
|||
"{%llu}" RAS_HW_ERR "ACA[%02d/%02d].%s=0x%016llx\n",
|
||||
bank->seq_no, idx + 1, total,
|
||||
aca_regs[i].name, bank->regs[aca_regs[i].reg_idx]);
|
||||
|
||||
if (ACA_REG_STATUS_SCRUB(bank->regs[ACA_REG_IDX__STATUS]))
|
||||
RAS_DEV_INFO(ras_core->dev,
|
||||
"{%llu}" RAS_HW_ERR "hardware error logged by the scrubber\n",
|
||||
bank->seq_no);
|
||||
}
|
||||
|
||||
static void aca_log_bank_data(struct ras_core_context *ras_core,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user