RESEND: GCC asm goto outputs workaround (Was: "Re: [PATCH 1/3] arm64: start using 'asm goto' for get_user() when") available
Linus Torvalds
torvalds at linux-foundation.org
Wed Jul 17 11:29:18 PDT 2024
On Wed, 17 Jul 2024 at 09:28, Mark Rutland <mark.rutland at arm.com> wrote:
>
> [resending as I messed up the LKML address; sorry!]
Bah. And my reply was to your original.
I'll just leave the lore link to the reply (that did go to the arm
list successfully) here for anybody that only gets lkml..
https://lore.kernel.org/all/CAHk-=wghzGt7J9XaQgcmLniYrQMtoXGcv+FvdGcyspkb+FxUsw@mail.gmail.com/
but the gist of it probably boils down to the final few sentences:
"Maybe we just need to give up on the workaround and say that "asm goto
with outputs only works when ASM_GOTO_OUTPUT_WORKAROUND is not set".
The set of broken gcc versions will get progressively smaller as time goes on"
which is sad, but not the end of the world.
Unless the gcc people can maybe come up with some variation of our
current workaround that actually works (because the "workaround at
target label" model looks very inconvenient).
Linus
More information about the linux-arm-kernel
mailing list