]> git.baikalelectronics.ru Git - kernel.git/commit
arm64/dt: add machine name to kernel call stack dump output
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 28 Oct 2014 12:24:20 +0000 (12:24 +0000)
committerWill Deacon <will.deacon@arm.com>
Thu, 6 Nov 2014 17:25:28 +0000 (17:25 +0000)
commite0b908a365b2f862ac0f6cf93ccd4f130d561631
treed3545aee80375ab33e6eacedc92d8cc7d03afb2a
parentfbdb8138f2166d3193539c6c983de44999d64cae
arm64/dt: add machine name to kernel call stack dump output

This installs the machine name as recorded by setup_machine_fdt()
as dump stack arch description. This results in the string to be
included in call stack dumps, as is shown here:

  ...
  Bad mode in Synchronous Abort handler detected, code 0x84000005
  CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.18.0-rc2+ #548
> Hardware name: linux,dummy-virt (DT)
  task: ffffffc07c870000 ti: ffffffc07c878000 task.ti: ffffffc07c878000
  PC is at 0x0
  ...

Note that systems that support DMI/SMBIOS may override this later.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/setup.c