Messages in this thread | | | Date | Tue, 6 Oct 2020 11:35:08 +0100 | From | Mark Brown <> | Subject | Re: [BUG][PATCH] crypto: arm64: Avoid indirect branch to bti_c |
| |
On Mon, Oct 05, 2020 at 10:48:54PM -0500, Jeremy Linton wrote: > The AES code uses a 'br x7' as part of a function called by > a macro. That branch needs a bti_j as a target. This results > in a panic as seen below. Instead of trying to replace the branch > target with a bti_jc, lets replace the indirect branch with a > bl/ret, bl sequence that can target the existing bti_c.
Reviewed-by: Mark Brown <broonie@kernel.org> [unhandled content-type:application/pgp-signature] | |