All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org,
	Peter Zijlstra <a.p.zijlstra@chello.nl>,
	Josh Poimboeuf <jpoimboe@redhat.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	Borislav Petkov <bp@alien8.de>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: [GIT PULL] objtool changes for v6.14
Date: Mon, 20 Jan 2025 10:59:58 +0100	[thread overview]
Message-ID: <Z44enghLS7wRNIDA@gmail.com> (raw)

Linus,

Please pull the latest objtool/core Git tree from:

   git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git objtool-core-2025-01-20

   # HEAD: 41a1e976623eb430f7b5a8619d3810b44e6235ad x86/mm: Convert unreachable() to BUG()

Objtool changes for v6.14:

 - Introduce the generic section-based annotation
   infrastructure a.k.a. ASM_ANNOTATE/ANNOTATE (Peter Zijlstra)

 - Convert various facilities to ASM_ANNOTATE/ANNOTATE: (Peter Zijlstra)

    - ANNOTATE_NOENDBR
    - ANNOTATE_RETPOLINE_SAFE
    - instrumentation_{begin,end}()
    - VALIDATE_UNRET_BEGIN
    - ANNOTATE_IGNORE_ALTERNATIVE
    - ANNOTATE_INTRA_FUNCTION_CALL
    - {.UN}REACHABLE

 - Optimize the annotation-sections parsing code (Peter Zijlstra)

 - Centralize annotation definitions in <linux/objtool.h>

 - Unify & simplify the barrier_before_unreachable()/unreachable()
   definitions (Peter Zijlstra)

 - Convert unreachable() calls to BUG() in x86 code, as
   unreachable() has unreliable code generation (Peter Zijlstra)

 - Remove annotate_reachable() and annotate_unreachable(), as it's
   unreliable against compiler optimizations (Peter Zijlstra)

 - Fix non-standard ANNOTATE_REACHABLE annotation order (Peter Zijlstra)

 - Robustify the annotation code by warning about unknown annotation
   types (Peter Zijlstra)

 - Allow arch code to discover jump table size, in preparation of
   annotated jump table support (Ard Biesheuvel)

 Thanks,

	Ingo

------------------>
Ard Biesheuvel (1):
      objtool: Allow arch code to discover jump table size

Peter Zijlstra (17):
      objtool: Generic annotation infrastructure
      objtool: Convert ANNOTATE_NOENDBR to ANNOTATE
      objtool: Convert ANNOTATE_RETPOLINE_SAFE to ANNOTATE
      objtool: Convert instrumentation_{begin,end}() to ANNOTATE
      objtool: Convert VALIDATE_UNRET_BEGIN to ANNOTATE
      objtool: Convert ANNOTATE_IGNORE_ALTERNATIVE to ANNOTATE
      objtool: Convert ANNOTATE_INTRA_FUNCTION_CALL to ANNOTATE
      objtool: Collapse annotate sequences
      objtool: Collect more annotations in objtool.h
      unreachable: Unify
      x86: Convert unreachable() to BUG()
      loongarch: Use ASM_REACHABLE
      objtool: Remove annotate_{,un}reachable()
      objtool: Convert {.UN}REACHABLE to ANNOTATE
      objtool: Fix ANNOTATE_REACHABLE to be a normal annotation
      objtool: Warn about unknown annotation types
      x86/mm: Convert unreachable() to BUG()


 arch/loongarch/include/asm/bug.h        |  13 +-
 arch/x86/entry/entry_64.S               |   9 +-
 arch/x86/include/asm/alternative.h      |  22 +-
 arch/x86/include/asm/bug.h              |   2 +-
 arch/x86/include/asm/irq_stack.h        |   4 +-
 arch/x86/include/asm/nospec-branch.h    |  18 --
 arch/x86/kernel/process.c               |   2 +-
 arch/x86/kernel/reboot.c                |   2 +-
 arch/x86/kvm/svm/sev.c                  |   2 +-
 arch/x86/mm/fault.c                     |   2 +-
 include/linux/compiler-gcc.h            |  12 -
 include/linux/compiler.h                |  37 +--
 include/linux/instrumentation.h         |  11 +-
 include/linux/objtool.h                 | 126 ++++++----
 include/linux/objtool_types.h           |  12 +
 tools/include/linux/objtool_types.h     |  12 +
 tools/objtool/arch/loongarch/special.c  |   3 +-
 tools/objtool/arch/powerpc/special.c    |   3 +-
 tools/objtool/arch/x86/special.c        |   4 +-
 tools/objtool/check.c                   | 426 +++++++++-----------------------
 tools/objtool/include/objtool/check.h   |   5 +-
 tools/objtool/include/objtool/special.h |   3 +-
 22 files changed, 267 insertions(+), 463 deletions(-)

             reply	other threads:[~2025-01-20 10:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-20  9:59 Ingo Molnar [this message]
2025-01-21 19:40 ` [GIT PULL] objtool changes for v6.14 pr-tracker-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Z44enghLS7wRNIDA@gmail.com \
    --to=mingo@kernel.org \
    --cc=a.p.zijlstra@chello.nl \
    --cc=akpm@linux-foundation.org \
    --cc=bp@alien8.de \
    --cc=jpoimboe@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tglx@linutronix.de \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.