All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kees Cook <keescook@chromium.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org,
	"Catalin Marinas" <catalin.marinas@arm.com>,
	"Fangrui Song" <maskray@google.com>,
	"Heiko Carstens" <hca@linux.ibm.com>,
	"Kees Cook" <keescook@chromium.org>,
	"Mark Rutland" <mark.rutland@arm.com>,
	"Masahiro Yamada" <masahiroy@kernel.org>,
	"Miguel Ojeda" <ojeda@kernel.org>,
	"Nathan Chancellor" <nathan@kernel.org>,
	"Nick Desaulniers" <ndesaulniers@google.com>,
	"Peter Oberparleiter" <oberpar@linux.ibm.com>,
	"Peter Zijlstra" <peterz@infradead.org>,
	"Philippe Mathieu-Daudé" <philmd@redhat.com>,
	"Sami Tolvanen" <samitolvanen@google.com>,
	"Sedat Dilek" <sedat.dilek@gmail.com>,
	"Will Deacon" <will@kernel.org>
Subject: [GIT PULL] Clang feature updates for v5.14-rc1 (take 2)
Date: Tue, 29 Jun 2021 13:55:20 -0700	[thread overview]
Message-ID: <202106291354.CE55889CF4@keescook> (raw)

Hi Linus,

Please pull these Clang feature updates for v5.14-rc1 (take 2). This is
everything except the big PGO portion from the original pull request
and includes an additional CFI fix that had gotten lost.

Thanks!

-Kees

The following changes since commit d07f6ca923ea0927a1024dfccafc5b53b61cfecc:

  Linux 5.13-rc2 (2021-05-16 15:27:44 -0700)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/clang-features-v5.14-rc1

for you to fetch changes up to fca41af18e10318e4de090db47d9fa7169e1bf2f:

  qemu_fw_cfg: Make fw_cfg_rev_attr a proper kobj_attribute (2021-06-29 13:25:20 -0700)

----------------------------------------------------------------
Clang feature updates for v5.14-rc1

- Add CC_HAS_NO_PROFILE_FN_ATTR in preparation for PGO support in
  the face of the noinstr attribute, paving the way for PGO and fixing
  GCOV. (Nick Desaulniers)

- x86_64 LTO coverage is expanded to 32-bit x86. (Nathan Chancellor)

- Small fixes to CFI. (Mark Rutland, Nathan Chancellor)

----------------------------------------------------------------
Mark Rutland (1):
      CFI: Move function_nocfi() into compiler.h

Nathan Chancellor (3):
      MAINTAINERS: Add Clang CFI section
      x86, lto: Enable Clang LTO for 32-bit as well
      qemu_fw_cfg: Make fw_cfg_rev_attr a proper kobj_attribute

Nick Desaulniers (3):
      compiler_attributes.h: define __no_profile, add to noinstr
      compiler_attributes.h: cleanups for GCC 4.9+
      Kconfig: Introduce ARCH_WANTS_NO_INSTR and CC_HAS_NO_PROFILE_FN_ATTR

 MAINTAINERS                         | 12 ++++++++++++
 arch/Kconfig                        |  7 +++++++
 arch/arm64/Kconfig                  |  1 +
 arch/arm64/include/asm/compiler.h   | 16 ++++++++++++++++
 arch/arm64/include/asm/memory.h     | 16 ----------------
 arch/s390/Kconfig                   |  1 +
 arch/x86/Kconfig                    |  5 +++--
 drivers/firmware/qemu_fw_cfg.c      |  8 +++-----
 include/linux/compiler.h            | 10 ++++++++++
 include/linux/compiler_attributes.h | 19 ++++++++++++++++---
 include/linux/compiler_types.h      |  2 +-
 include/linux/mm.h                  | 10 ----------
 init/Kconfig                        |  3 +++
 kernel/gcov/Kconfig                 |  1 +
 14 files changed, 74 insertions(+), 37 deletions(-)

-- 
Kees Cook

             reply	other threads:[~2021-06-29 20:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-29 20:55 Kees Cook [this message]
2021-06-30 22:34 ` [GIT PULL] Clang feature updates for v5.14-rc1 (take 2) 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=202106291354.CE55889CF4@keescook \
    --to=keescook@chromium.org \
    --cc=catalin.marinas@arm.com \
    --cc=hca@linux.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=masahiroy@kernel.org \
    --cc=maskray@google.com \
    --cc=nathan@kernel.org \
    --cc=ndesaulniers@google.com \
    --cc=oberpar@linux.ibm.com \
    --cc=ojeda@kernel.org \
    --cc=peterz@infradead.org \
    --cc=philmd@redhat.com \
    --cc=samitolvanen@google.com \
    --cc=sedat.dilek@gmail.com \
    --cc=torvalds@linux-foundation.org \
    --cc=will@kernel.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.