[PATCH 0/2] scripts/gdb/symbols: make lx-symbols skip the s390 decompressor

From: Ilya Leoshkevich
Date: Wed Jun 25 2025 - 11:43:27 EST


Hi,

In order to debug the early s390 kernel boot, one has to skip the
decompressor code, which requires some private scripts or memorized
commands. This series makes it work out of the box with the lx-symbols
command.

Patch 1 adds helper infrastructure to the s390 decompressor code; it is
already acked by Heiko.

Patch 2 is the implementation; it would be great to have an Ack from
one of the GDB scripts maintainers.

We would like to get this series via the s390 tree, if possible.

Best regards,
Ilya

Ilya Leoshkevich (2):
s390/boot: Introduce jump_to_kernel() function
scripts/gdb/symbols: make lx-symbols skip the s390 decompressor

arch/s390/boot/Makefile | 2 +-
arch/s390/boot/boot.h | 1 +
arch/s390/boot/ipl_data.c | 9 ++++++++-
arch/s390/boot/startup.c | 2 +-
arch/s390/boot/trampoline.S | 9 +++++++++
scripts/gdb/linux/symbols.py | 26 ++++++++++++++++++++++++++
6 files changed, 46 insertions(+), 3 deletions(-)
create mode 100644 arch/s390/boot/trampoline.S

--
2.49.0