[GIT,PULL] x86/alternatives for 6.5

Message ID 20230626130124.GCZJmMJKLdnwrwkbzF@fat_crate.local
State New
Headers
Series [GIT,PULL] x86/alternatives for 6.5 |

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_alternatives_for_v6.5

Message

Borislav Petkov June 26, 2023, 1:01 p.m. UTC
  Hi Linus,

please pull a bunch of x86 alternatives improvements for 6.5.

Thx.

---

The following changes since commit ac9a78681b921877518763ba0e89202254349d1b:

  Linux 6.4-rc1 (2023-05-07 13:34:35 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_alternatives_for_v6.5

for you to fetch changes up to 2bd4aa9325821551648cf9738d6aa3a49317d7e5:

  x86/alternative: PAUSE is not a NOP (2023-06-14 19:02:54 +0200)

----------------------------------------------------------------
- Up until now the Fast Short Rep Mov optimizations implied the presence
  of the ERMS CPUID flag. AMD decoupled them with a BIOS setting so decouple
  that dependency in the kernel code too

- Teach the alternatives machinery to handle relocations

- Make debug_alternative accept flags in order to see only that set of
  patching done one is interested in

- Other fixes, cleanups and optimizations to the patching code

----------------------------------------------------------------
Borislav Petkov (AMD) (3):
      x86/lib/memmove: Decouple ERMS from FSRM
      x86/alternative: Optimize returns patching
      x86/alternatives: Fix section mismatch warnings

Peter Zijlstra (7):
      x86/alternative: Make debug-alternative selective
      x86/alternative: Support relocations in alternatives
      x86/alternative: Rewrite optimize_nops() some
      x86/alternative: Complicate optimize_nops() some more
      x86/alternatives: Add longer 64-bit NOPs
      x86/nospec: Shorten RESET_CALL_DEPTH
      x86/alternative: PAUSE is not a NOP

Steven Rostedt (Google) (1):
      x86/alternatives: Add cond_resched() to text_poke_bp_batch()

 arch/x86/include/asm/nops.h          |  16 +-
 arch/x86/include/asm/nospec-branch.h |   6 +-
 arch/x86/kernel/alternative.c        | 470 ++++++++++++++++++++++++-----------
 arch/x86/lib/memmove_64.S            |  13 +-
 tools/arch/x86/include/asm/nops.h    |  16 +-
 tools/objtool/arch/x86/special.c     |   8 +-
 6 files changed, 361 insertions(+), 168 deletions(-)
  

Comments

pr-tracker-bot@kernel.org June 26, 2023, 10:54 p.m. UTC | #1
The pull request you sent on Mon, 26 Jun 2023 15:01:24 +0200:

> git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_alternatives_for_v6.5

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

Thank you!