diff options
| author | Ilya Leoshkevich <[email protected]> | 2025-05-15 15:52:13 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2025-05-21 17:48:25 +0000 |
| commit | c164679bed3a5f0d235723c2395d9a5122b151c4 (patch) | |
| tree | 5f303dc271388538125e35916af8bd07d17feb6f /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | scripts/gdb/symbols: factor out pagination_off() (diff) | |
| download | kernel-c164679bed3a5f0d235723c2395d9a5122b151c4.tar.gz kernel-c164679bed3a5f0d235723c2395d9a5122b151c4.zip | |
scripts/gdb/symbols: determine KASLR offset on s390 during early boot
Using lx-symbols during s390 early boot fails with:
Error occurred in Python: 'utf-8' codec can't decode byte 0xcb in position 0: invalid continuation byte
The reason is that s390 decompressor's startup_kernel() does not create
vmcoreinfo note, and sets vmcore_info to kernel's physical base. This
confuses get_vmcore_s390().
Fix by handling this special case. Extract vm_layout.kaslr_offset from
the kernel image in physical memory, which is placed there by the
decompressor using the __bootdata_preserved mechanism, and generate a
synthetic vmcoreinfo note from it.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ilya Leoshkevich <[email protected]>
Cc: Alexander Gordeev <[email protected]>
Cc: Heiko Carstens <[email protected]>
Cc: Jan Kiszka <[email protected]>
Cc: Kieran Bingham <[email protected]>
Cc: Vasily Gorbik <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions
