Linux kernel -stable discussions
 help / color / mirror / Atom feed
* Please put the gcc "asm goto" bug workaround into stable
@ 2024-02-16 15:57 Linus Torvalds
  2024-02-16 18:45 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 4+ messages in thread
From: Linus Torvalds @ 2024-02-16 15:57 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: stable, Sean Christopherson

I didn't think to mark these for stable in the commits, but they
definitely should go into the stable queue, since it's a known
mis-compilation of the kvm nested guest code with gcc-11 otherwise.

The bug technically affects other gcc versions too, but apparently not
so that we'd actually notice.

It's two commits:

  4356e9f841f7 ("work around gcc bugs with 'asm goto' with outputs")
  68fb3ca0e408 ("update workarounds for gcc "asm goto" issue")

where the first one works around the problem, and the second one
("update") just ends up pinpointing exactly which gcc versions are
affected so that future gcc releases won't get the unnecessary
workaround.

Technically only the first one really needs to go into stable. The
second one is more of a judgement call - do you want to match
upstream, and do you care about the (very slight) code generation
improvement with updated gcc versions?

            Linus

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-02-17 13:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-16 15:57 Please put the gcc "asm goto" bug workaround into stable Linus Torvalds
2024-02-16 18:45 ` Greg Kroah-Hartman
2024-02-16 19:14   ` Linus Torvalds
2024-02-17 13:32     ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox