[PATCH OLK-5.10] arm64/mpam: modify mpam irq register error log

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 2aa9a3ab59f2..50bdc56ca005 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; } -- 2.17.1
participants (1)
-
Tiancheng Lu