From: l00797255 l00797255@huawei.com
hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I71UGQ CVE: NA
Reference: N/A
----------------------------------------------------------------
MPAM interrupts are used to report error information and are non-functional interrupts. The current interrupt number is set to the default value 0. As a result, the device startup log contains the error indicating that the MPAM interrupt registration fails, which is sensitive. Therefore, the log level is changed to alarm.
Signed-off-by: Tiancheng Lu lutiancheng5@huawei.com --- arch/arm64/kernel/mpam/mpam_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/kernel/mpam/mpam_device.c b/arch/arm64/kernel/mpam/mpam_device.c index 6455c69f132f..adf4bc034a51 100644 --- a/arch/arm64/kernel/mpam/mpam_device.c +++ b/arch/arm64/kernel/mpam/mpam_device.c @@ -499,7 +499,7 @@ static void mpam_enable_irqs(void) rc = request_irq(irq, mpam_handle_error_irq, request_flags, "MPAM ERR IRQ", dev); if (rc) { - pr_err_ratelimited("Failed to register irq %u\n", irq); + pr_warn_ratelimited("Not support to register irq %u\n", irq); continue; }