[PATCH v2] arm64: Work around missing `bti c` in modules

Mark Brown broonie at kernel.org
Thu Sep 1 09:11:40 PDT 2022


On Thu, Sep 01, 2022 at 08:52:27AM -0700, D Scott Phillips wrote:

> There's a change in behavior here that I don't want to go by
> unnoticed. Previously BTI exceptions would fall through to the default
> case and cause a panic. With this change they'll go into do_bti, and
> then kill the task if not handled by the gcc workaround case. I think
> that change is a good one, but I don't want to sneak it in.

> Would it be better if I split that out into a separate patch so that it
> gets noticed on its own?

I think so.  It should at least be highlighted in the commit log.
Personally I don't have a strong opinion on which behaviour we go with,
there's arguments either way.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20220901/cc703fbc/attachment.sig>


More information about the linux-arm-kernel mailing list