[PATCH 1/3] arm64/scs: Fix handling of DWARF augmentation data in CIE/FDE frames

Sami Tolvanen samitolvanen at google.com
Wed Nov 6 14:13:02 PST 2024


On Wed, Nov 6, 2024 at 6:55 PM Ard Biesheuvel <ardb+git at google.com> wrote:
>
> Also introduce some error codes to specify why the patching failed, and
> log it to the kernel console on failure when this happens when loading a
> module. (Doing so for vmlinux is infeasible, as the patching is done
> extremely early in the boot.)

It's a bit unfortunate that we might fail quietly for vmlinux. Could
we store scs_patch() return value somewhere and print out a warning in
dynamic_scs_init() if something went wrong, for example?

Sami



More information about the linux-arm-kernel mailing list