linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] x86/entry for 5.8
@ 2020-06-28 14:05 Borislav Petkov
  2020-06-28 16:57 ` Linus Torvalds
  2020-06-28 18:45 ` pr-tracker-bot
  0 siblings, 2 replies; 5+ messages in thread
From: Borislav Petkov @ 2020-06-28 14:05 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Peter Zijlstra, x86-ml, lkml

Hi Linus,

please pull the x86/entry urgent pile which has accumulated since the
merge window. It is not the smallest but considering the almost complete
entry core rewrite, the amount of fixes to follow is somewhat higher
than usual, which is to be expected.

Thx.

---
The following changes since commit 8be3a53e18e0e1a98f288f6c7f5e9da3adbe9c49:

  Merge tag 'erofs-for-5.8-rc3-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs (2020-06-24 17:39:30 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_entry_for_5.8

for you to fetch changes up to 2c92d787cc9fad57d05c96bd117782183768258a:

  Merge branch 'linus' into x86/entry, to resolve conflicts (2020-06-26 12:24:42 +0200)

----------------------------------------------------------------
Peter Zijlstra says:

These patches address a number of instrumentation issues that were found after
the x86/entry overhaul. When combined with rcu/urgent and objtool/urgent, these
patches make UBSAN/KASAN/KCSAN happy again.

Part of making this all work is bumping the minimum GCC version for KASAN
builds to gcc-8.3, the reason for this is that the __no_sanitize_address
function attribute is broken in GCC releases before that.

No known GCC version has a working __no_sanitize_undefined, however because the
only noinstr violation that results from this happens when an UB is found, we
treat it like WARN. That is, we allow it to violate the noinstr rules in order
to get the warning out.

----------------------------------------------------------------
Ingo Molnar (1):
      Merge branch 'linus' into x86/entry, to resolve conflicts

Marco Elver (4):
      kasan: Bump required compiler version
      compiler_types.h: Add __no_sanitize_{address,undefined} to noinstr
      compiler_attributes.h: Support no_sanitize_undefined check with GCC 4
      kasan: Fix required compiler version

Peter Zijlstra (10):
      x86, kcsan: Remove __no_kcsan_or_inline usage
      kcsan: Remove __no_kcsan_or_inline
      x86, kcsan: Add __no_kcsan to noinstr
      x86/entry, cpumask: Provide non-instrumented variant of cpu_is_offline()
      x86/entry, ubsan, objtool: Whitelist __ubsan_handle_*()
      x86/entry, bug: Comment the instrumentation_begin() usage for WARN()
      objtool: Don't consider vmlinux a C-file
      x86/entry: Fixup bad_iret vs noinstr
      x86/entry: Increase entry_stack size to a full page
      x86/entry: Fix #UD vs WARN more

 Documentation/dev-tools/kcsan.rst   |  6 ---
 arch/x86/include/asm/bitops.h       |  6 +--
 arch/x86/include/asm/bug.h          |  6 +++
 arch/x86/include/asm/cpumask.h      | 18 +++++++++
 arch/x86/include/asm/processor.h    |  2 +-
 arch/x86/kernel/cpu/mce/core.c      |  2 +-
 arch/x86/kernel/nmi.c               |  2 +-
 arch/x86/kernel/traps.c             | 78 +++++++++++++++++++------------------
 arch/x86/lib/memcpy_64.S            |  4 ++
 include/linux/compiler-clang.h      |  8 ++++
 include/linux/compiler-gcc.h        |  6 +++
 include/linux/compiler_attributes.h |  1 +
 include/linux/compiler_types.h      | 14 +++----
 lib/Kconfig.kasan                   |  4 ++
 tools/objtool/check.c               | 30 +++++++++++++-
 15 files changed, 126 insertions(+), 61 deletions(-)

-- 
Regards/Gruss,
    Boris.

SUSE Software Solutions Germany GmbH, GF: Felix Imendörffer, HRB 36809, AG Nürnberg

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

* Re: [GIT PULL] x86/entry for 5.8
  2020-06-28 14:05 [GIT PULL] x86/entry for 5.8 Borislav Petkov
@ 2020-06-28 16:57 ` Linus Torvalds
  2020-06-28 17:18   ` Borislav Petkov
  2020-06-28 18:45 ` pr-tracker-bot
  1 sibling, 1 reply; 5+ messages in thread
From: Linus Torvalds @ 2020-06-28 16:57 UTC (permalink / raw)
  To: Borislav Petkov; +Cc: Peter Zijlstra, x86-ml, lkml

On Sun, Jun 28, 2020 at 7:05 AM Borislav Petkov <bp@suse.de> wrote:
>
> please pull the x86/entry urgent pile which has accumulated since the
> merge window. It is not the smallest but considering the almost complete
> entry core rewrite, the amount of fixes to follow is somewhat higher
> than usual, which is to be expected.

Tssk. This has an unnecessary merge "to resolve conflicts". I'd much
rather have seen the pull without that.

Oh well. Pulled.

             Linus

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

* Re: [GIT PULL] x86/entry for 5.8
  2020-06-28 16:57 ` Linus Torvalds
@ 2020-06-28 17:18   ` Borislav Petkov
  2020-06-28 18:02     ` Ingo Molnar
  0 siblings, 1 reply; 5+ messages in thread
From: Borislav Petkov @ 2020-06-28 17:18 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Peter Zijlstra, x86-ml, lkml

On Sun, Jun 28, 2020 at 09:57:00AM -0700, Linus Torvalds wrote:
> Tssk. This has an unnecessary merge "to resolve conflicts". I'd much
> rather have seen the pull without that.

Yeah, reportedly because "Linus renamed probe_kernel_read() and [peterz]
removed a call". I guess they did that for linux-next's sake.

> Oh well. Pulled.

Thx.

-- 
Regards/Gruss,
    Boris.

SUSE Software Solutions Germany GmbH, GF: Felix Imendörffer, HRB 36809, AG Nürnberg

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

* Re: [GIT PULL] x86/entry for 5.8
  2020-06-28 17:18   ` Borislav Petkov
@ 2020-06-28 18:02     ` Ingo Molnar
  0 siblings, 0 replies; 5+ messages in thread
From: Ingo Molnar @ 2020-06-28 18:02 UTC (permalink / raw)
  To: Borislav Petkov; +Cc: Linus Torvalds, Peter Zijlstra, x86-ml, lkml


* Borislav Petkov <bp@suse.de> wrote:

> On Sun, Jun 28, 2020 at 09:57:00AM -0700, Linus Torvalds wrote:
> > Tssk. This has an unnecessary merge "to resolve conflicts". I'd much
> > rather have seen the pull without that.
> 
> Yeah, reportedly because "Linus renamed probe_kernel_read() and [peterz]
> removed a call". I guess they did that for linux-next's sake.

Yeah, I did the 2c92d787cc9f merge to have a clean integration - but 
if the merge resolution is the tail commit of a branch, then I usually 
strip it just before sending it to Linus, and let Linus resolve it 
instead - a branch with a tail conflict merge commit is arguably ugly.

> > Oh well. Pulled.
> 
> Thx.

Thanks guys!

	Ingo

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

* Re: [GIT PULL] x86/entry for 5.8
  2020-06-28 14:05 [GIT PULL] x86/entry for 5.8 Borislav Petkov
  2020-06-28 16:57 ` Linus Torvalds
@ 2020-06-28 18:45 ` pr-tracker-bot
  1 sibling, 0 replies; 5+ messages in thread
From: pr-tracker-bot @ 2020-06-28 18:45 UTC (permalink / raw)
  To: Borislav Petkov; +Cc: Linus Torvalds, Peter Zijlstra, x86-ml, lkml

The pull request you sent on Sun, 28 Jun 2020 16:05:23 +0200:

> git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_entry_for_5.8

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

Thank you!

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

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

end of thread, other threads:[~2020-06-28 18:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-28 14:05 [GIT PULL] x86/entry for 5.8 Borislav Petkov
2020-06-28 16:57 ` Linus Torvalds
2020-06-28 17:18   ` Borislav Petkov
2020-06-28 18:02     ` Ingo Molnar
2020-06-28 18:45 ` 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;
as well as URLs for NNTP newsgroup(s).