[PATCH] arm64: Apply dynamic shadow call stack patching in two passes

Linus Torvalds torvalds at linux-foundation.org
Thu Jan 26 12:08:45 PST 2023


On Thu, Jan 26, 2023 at 11:35 AM Ard Biesheuvel <ardb at kernel.org> wrote:
> >
> > Because I *think* this dry-run thing is only run of the (few) arm64
> > cores that actually have PACIASP/AUTIASP. No?
>
> No, the other way around. On cores where PACIASP/AUTIASP execute as
> NOPs, they are replaced with shadow call stack pushes and pops.

Ahh, good, so at least this gets test coverage.

            Linus



More information about the linux-arm-kernel mailing list