From db60c7973404da12f1b6f1931a6a402876e4276b Mon Sep 17 00:00:00 2001 From: Divyanshu-Modi Date: Fri, 1 Apr 2022 23:39:51 +0530 Subject: [PATCH] arm64: cpufeature: Silence SANITY CHECK logspam Signed-off-by: TogoFire Change-Id: I241beaab286e78165f10ed37fb8dcaeb5ddb148d --- arch/arm64/kernel/cpufeature.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm64/kernel/cpufeature.c b/arch/arm64/kernel/cpufeature.c index 72c4171dcb25..7d38fa8b6494 100644 --- a/arch/arm64/kernel/cpufeature.c +++ b/arch/arm64/kernel/cpufeature.c @@ -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; }