mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [GIT PULL] x86/alternatives for v7.3-rc1
@ 2026-08-18  5:32 Borislav Petkov
  2026-08-19  1:16 ` Linus Torvalds
  2026-08-19  2:32 ` pr-tracker-bot
  0 siblings, 2 replies; 4+ messages in thread
From: Borislav Petkov @ 2026-08-18  5:32 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: x86-ml, lkml

Hi Linus,

please pull a x86/alternatives cleanup for v7.3-rc1.

Thx.

---

The following changes since commit a13c140cc289c0b7b3770bce5b3ad42ab35074aa:

  Linux 7.2-rc3 (2026-07-12 14:16:39 -0700)

are available in the Git repository at:

  ssh://git@gitolite.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_alternatives_for_v7.3_rc1

for you to fetch changes up to 4a73b93ce489a58c9a2aac4a5f5cd8cfa58ced64:

  x86/alternative: Drop smp_locks glue (2026-07-13 09:23:36 -0700)

----------------------------------------------------------------
- Remove the smp_locks alternatives machinery which was used to patch out lock
  prefixes when running a SMP kernel on a uniprocessor machine

----------------------------------------------------------------
Borislav Petkov (AMD) (1):
      x86/alternative: Drop smp_locks glue

 Documentation/admin-guide/kernel-parameters.txt |   3 -
 arch/um/kernel/um_arch.c                        |  12 --
 arch/x86/include/asm/alternative.h              |  68 +--------
 arch/x86/include/asm/cmpxchg_32.h               |   4 +-
 arch/x86/include/asm/cpufeatures.h              |   2 +-
 arch/x86/kernel/alternative.c                   | 190 ------------------------
 arch/x86/kernel/kprobes/core.c                  |   3 -
 arch/x86/kernel/kprobes/opt.c                   |   1 -
 arch/x86/kernel/module.c                        |  13 +-
 arch/x86/kernel/smpboot.c                       |   3 -
 arch/x86/kernel/vmlinux.lds.S                   |  12 --
 arch/x86/tools/relocs.c                         |   2 +-
 tools/arch/x86/include/asm/cpufeatures.h        |   2 +-
 tools/objtool/check.c                           |   1 -
 tools/objtool/klp-diff.c                        |   1 -
 15 files changed, 11 insertions(+), 306 deletions(-)


-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette

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

* Re: [GIT PULL] x86/alternatives for v7.3-rc1
  2026-08-18  5:32 [GIT PULL] x86/alternatives for v7.3-rc1 Borislav Petkov
@ 2026-08-19  1:16 ` Linus Torvalds
  2026-08-19  2:13   ` Borislav Petkov
  2026-08-19  2:32 ` pr-tracker-bot
  1 sibling, 1 reply; 4+ messages in thread
From: Linus Torvalds @ 2026-08-19  1:16 UTC (permalink / raw)
  To: Borislav Petkov; +Cc: x86-ml, lkml

On Mon, 17 Aug 2026 at 22:32, Borislav Petkov <bp@alien8.de> wrote:
>
> - Remove the smp_locks alternatives machinery which was used to patch out lock
>   prefixes when running a SMP kernel on a uniprocessor machine

Thanks. Past time.

On that "when CONFIG_SMP becomes unconditional" comment - I do wonder
if UP ends up still relevant in some virtual environments? But yeah,
the hardware certainly isn't worth worrying about any more.

               Linus

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

* Re: [GIT PULL] x86/alternatives for v7.3-rc1
  2026-08-19  1:16 ` Linus Torvalds
@ 2026-08-19  2:13   ` Borislav Petkov
  0 siblings, 0 replies; 4+ messages in thread
From: Borislav Petkov @ 2026-08-19  2:13 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: x86-ml, lkml

On Tue, Aug 18, 2026 at 06:16:01PM -0700, Linus Torvalds wrote:
> Thanks. Past time.

Glad you like it. :-P

> On that "when CONFIG_SMP becomes unconditional" comment - I do wonder
> if UP ends up still relevant in some virtual environments?

Yeah, maybe.

Although I have never heard from virt folks "gee, you need to disable SMP for
that guest kernel". But I can imagine one use case being some new-fangled
micro-VM-execute-a-single-function-and-shut-down-VM-again crap...

We have daydreamed, though, how much ifdeffery CONFIG_SMP is going to get
rid of...

:-)

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette

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

* Re: [GIT PULL] x86/alternatives for v7.3-rc1
  2026-08-18  5:32 [GIT PULL] x86/alternatives for v7.3-rc1 Borislav Petkov
  2026-08-19  1:16 ` Linus Torvalds
@ 2026-08-19  2:32 ` pr-tracker-bot
  1 sibling, 0 replies; 4+ messages in thread
From: pr-tracker-bot @ 2026-08-19  2:32 UTC (permalink / raw)
  To: Borislav Petkov; +Cc: Linus Torvalds, x86-ml, lkml

The pull request you sent on Mon, 17 Aug 2026 22:32:24 -0700:

> ssh://git@gitolite.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_alternatives_for_v7.3_rc1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/ccb9331e132a0554f6efb18140eae78bc32b0ee4

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

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

end of thread, other threads:[~2026-08-19  2:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-18  5:32 [GIT PULL] x86/alternatives for v7.3-rc1 Borislav Petkov
2026-08-19  1:16 ` Linus Torvalds
2026-08-19  2:13   ` Borislav Petkov
2026-08-19  2:32 ` pr-tracker-bot

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

all inboxes | Powered by JetHome®