[PATCH] Revert "powerpc: Switch to relative jump labels"

Michael Ellerman mpe at ellerman.id.au
Sat May 29 09:39:49 AEST 2021

Roman Bolshakov <r.bolshakov at yadro.com> writes:
> This reverts commit b0b3b2c78ec075cec4721986a95abbbac8c3da4f.
> Otherwise, direct kernel boot with initramfs no longer works in QEMU.
> It's broken in some bizarre way because a valid initramfs is not
> recognized anymore:
>   Found initrd at 0xc000000001f70000:0xc000000003d61d64
>   rootfs image is not initramfs (XZ-compressed data is corrupt); looks like an initrd
> The issue is observed on v5.13-rc3 if the kernel is built with
> defconfig, GCC 7.5.0 and GNU ld 2.32.0.

Are you able to try a different compiler?

I test booting qemu constantly, but I don't use GCC 7.5.

I assume your initramfs is compressed with XZ? How large is it

And what qemu version are you using?


More information about the Linuxppc-dev mailing list