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

From: Alexander Gordeev
Date: Mon Jun 30 2025 - 11:33:42 EST


On Wed, Jun 25, 2025 at 05:36:50PM +0200, Ilya Leoshkevich wrote:
> 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

Tested-by: Alexander Gordeev <agordeev@xxxxxxxxxxxxx>

Thanks!