Skip to content

Commit

Permalink
arm64: cpufeature: Silence SANITY CHECK logspam
Browse files Browse the repository at this point in the history
Signed-off-by: TogoFire <togofire@mailfence.com>
Change-Id: I241beaab286e78165f10ed37fb8dcaeb5ddb148d
  • Loading branch information
Divyanshu-Modi authored and TogoFire committed May 24, 2023
1 parent b1d2546 commit db60c79
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion arch/arm64/kernel/cpufeature.c
Original file line number Diff line number Diff line change
Expand Up @@ -528,8 +528,10 @@ static int check_update_ftr_reg(u32 sys_id, int cpu, u64 val, u64 boot)
update_cpu_ftr_reg(regp, val);
if ((boot & regp->strict_mask) == (val & regp->strict_mask))
return 0;
pr_warn("SANITY CHECK: Unexpected variation in %s. Boot CPU: %#016llx, CPU%d: %#016llx\n",

pr_debug("SANITY CHECK: Unexpected variation in %s. Boot CPU: %#016llx, CPU%d: %#016llx\n",
regp->name, boot, cpu, val);

return 1;
}

Expand Down

0 comments on commit db60c79

Please sign in to comment.