diff options
author | Jason Yan <[email protected]> | 2019-09-20 17:45:44 +0800 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2019-11-13 19:27:51 +1100 |
commit | 921a79b7802078fab3787c7eae561536906cb8f3 (patch) | |
tree | d426aa12effa6d0afc9525f6000133adf1123a04 /lib/memory-notifier-error-inject.c | |
parent | 8c2ae87be5a4bb2d3cadff72d3aa5f1e3d5aac2b (diff) |
powerpc/fsl_booke/kaslr: dump out kernel offset information on panic
When kaslr is enabled, the kernel offset is different for every boot.
This brings some difficult to debug the kernel. Dump out the kernel
offset when panic so that we can easily debug the kernel.
This code is derived from x86/arm64 which has similar functionality.
Signed-off-by: Jason Yan <[email protected]>
Reviewed-by: Christophe Leroy <[email protected]>
Reviewed-by: Diana Craciun <[email protected]>
Tested-by: Diana Craciun <[email protected]>
Signed-off-by: Scott Wood <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions