Skip to content

Commit b07bfaa

Browse files
author
Ard Biesheuvel
committed
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: Leif Lindholm <[email protected]> Acked-by: Leif Lindholm <[email protected]> Signed-off-by: Ard Biesheuvel <[email protected]>
1 parent d1ae8c0 commit b07bfaa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/arm64/kernel/efi.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -479,6 +479,8 @@ static int __init arm64_dmi_init(void)
479479
* itself, depends on dmi_scan_machine() having been called already.
480480
*/
481481
dmi_scan_machine();
482+
if (dmi_available)
483+
dmi_set_dump_stack_arch_desc();
482484
return 0;
483485
}
484486
core_initcall(arm64_dmi_init);

0 commit comments

Comments
 (0)