Commit b07bfaa3 authored by Ard Biesheuvel's avatar Ard Biesheuvel

arm64: dmi: set DMI string as dump stack arch description

This sets the DMI string, containing system type, serial number,
firmware version etc. as dump stack arch description, so that oopses
and other kernel stack dumps automatically have this information
included, if available.
Tested-by: default avatarLeif Lindholm <leif.lindholm@linaro.org>
Acked-by: default avatarLeif Lindholm <leif.lindholm@linaro.org>
Signed-off-by: default avatarArd Biesheuvel <ard.biesheuvel@linaro.org>
parent d1ae8c00
...@@ -479,6 +479,8 @@ static int __init arm64_dmi_init(void) ...@@ -479,6 +479,8 @@ static int __init arm64_dmi_init(void)
* itself, depends on dmi_scan_machine() having been called already. * itself, depends on dmi_scan_machine() having been called already.
*/ */
dmi_scan_machine(); dmi_scan_machine();
if (dmi_available)
dmi_set_dump_stack_arch_desc();
return 0; return 0;
} }
core_initcall(arm64_dmi_init); core_initcall(arm64_dmi_init);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment