]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/fsl_booke/kaslr: export offset in VMCOREINFO ELF notes
authorJason Yan <yanaijie@huawei.com>
Fri, 20 Sep 2019 09:45:45 +0000 (17:45 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 13 Nov 2019 08:27:54 +0000 (19:27 +1100)
commit47c685542a8833a02d2cb6e1b8ba50710995966d
treea96027c7eef3cd7505ddff5fa26f3f3ddd5c208f
parent8bebc69189094791a5e1e76ac391937a656d8001
powerpc/fsl_booke/kaslr: export offset in VMCOREINFO ELF notes

Like all other architectures such as x86 or arm64, include KASLR offset
in VMCOREINFO ELF notes to assist in debugging. After this, we can use
crash --kaslr option to parse vmcore generated from a kaslr kernel.

Note: The crash tool needs to support --kaslr too.

Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Scott Wood <oss@buserror.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/machine_kexec.c