summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/apei
diff options
context:
space:
mode:
authorJon Hunter <jonathanh@nvidia.com>2021-05-14 17:34:14 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-05-21 18:59:49 +0200
commitb7a732a73ac54dbccf14d90779d7e6b70ea0d653 (patch)
tree3ca5768e9a565678dbf274be929ecf8ce10cf4e5 /drivers/acpi/apei
parentLinux 5.13-rc2 (diff)
downloadlinux-b7a732a73ac54dbccf14d90779d7e6b70ea0d653.tar.xz
linux-b7a732a73ac54dbccf14d90779d7e6b70ea0d653.zip
ACPI: APEI: Don't warn if ACPI is disabled
If ACPI is not enabled but support for ACPI and APEI is enabled in the kernel, then the following warning is seen on boot ... WARNING KERN EINJ: ACPI disabled. For ARM64 platforms, the 'acpi_disabled' variable is true by default and hence, the above is often seen on ARM64. Given that it can be normal for ACPI to be disabled, make this an informational print rather that a warning. Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/apei')
-rw-r--r--drivers/acpi/apei/einj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/apei/einj.c b/drivers/acpi/apei/einj.c
index 328e8aeece6c..2882450c443e 100644
--- a/drivers/acpi/apei/einj.c
+++ b/drivers/acpi/apei/einj.c
@@ -673,7 +673,7 @@ static int __init einj_init(void)
struct apei_exec_context ctx;
if (acpi_disabled) {
- pr_warn("ACPI disabled.\n");
+ pr_info("ACPI disabled.\n");
return -ENODEV;
}