All of lore.kernel.org
 help / color / mirror / Atom feed
From: Will Deacon <will@kernel.org>
To: torvalds@linux-foundation.org
Cc: catalin.marinas@arm.com, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, kernel-team@android.com
Subject: [GIT PULL] arm64 fixes for -rc3
Date: Fri, 26 Jun 2020 14:21:32 +0100	[thread overview]
Message-ID: <20200626132131.GA9750@willie-the-truck> (raw)

Hi Linus,

Please pull these arm64 fixes for -rc3. The big fix here is to our vDSO
sigreturn trampoline as, after a painfully long stint of debugging, it
turned out that fixing some of our CFI directives in the merge window lit up
a bunch of logic in libgcc which has been shown to SEGV in some cases during
asynchronous pthread cancellation. It looks like we can fix this by
extending the directives to restore most of the interrupted register state
from the sigcontext, but it's risky and hard to test so we opted to remove
the CFI directives for now and rely on the unwinder fallback path like we
used to.

Cheers,

Will

--->8

The following changes since commit 24ebec25fb270100e252b19c288e21bd7d8cc7f7:

  arm64: hw_breakpoint: Don't invoke overflow handler on uaccess watchpoints (2020-06-18 11:10:00 +0100)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git tags/arm64-fixes

for you to fetch changes up to 108447fd0d1a34b0929cd26dc637c917a734ebab:

  arm64: Add KRYO{3,4}XX silver CPU cores to SSB safelist (2020-06-25 20:18:57 +0100)

----------------------------------------------------------------
arm64 fixes for -rc3

- Fix unwinding through vDSO sigreturn trampoline

- Fix build warnings by raising minimum LD version for PAC

- Whitelist some Kryo Cortex-A55 derivatives for Meltdown and SSB

- Fix perf register PC reporting for compat tasks

- Fix 'make clean' warning for arm64 signal selftests

- Fix ftrace when BTI is compiled in

- Avoid building the compat vDSO using GCC plugins

----------------------------------------------------------------
Alexander Popov (1):
      arm64: vdso: Don't use gcc plugins for building vgettimeofday.c

Jean-Philippe Brucker (1):
      arm64: Don't insert a BTI instruction at inner labels

Jiping Ma (1):
      arm64: perf: Report the PC value in REGS_ABI_32 mode

Mark Brown (2):
      arm64: Depend on newer binutils when building PAC
      kselftest: arm64: Remove redundant clean target

Sai Prakash Ranjan (2):
      arm64: kpti: Add KRYO{3, 4}XX silver CPU cores to kpti safelist
      arm64: Add KRYO{3,4}XX silver CPU cores to SSB safelist

Will Deacon (5):
      arm64: vdso: Disable dwarf unwinding through the sigreturn trampoline
      arm64: compat: Allow 32-bit vdso and sigpage to co-exist
      arm64: compat: Always use sigpage for sigreturn trampoline
      arm64: compat: Remove 32-bit sigreturn code from the vDSO
      arm64: vdso: Only pass --no-eh-frame-hdr when linker supports it

 arch/arm64/Kconfig                            |  4 +-
 arch/arm64/include/asm/linkage.h              |  6 ---
 arch/arm64/include/asm/mmu.h                  |  3 ++
 arch/arm64/kernel/Makefile                    |  2 -
 arch/arm64/kernel/cpu_errata.c                |  2 +
 arch/arm64/kernel/cpufeature.c                |  2 +
 arch/arm64/kernel/perf_regs.c                 | 25 +++++++++--
 arch/arm64/kernel/signal32.c                  | 27 +-----------
 arch/arm64/kernel/vdso.c                      | 61 ++++++++++++---------------
 arch/arm64/kernel/vdso/Makefile               |  7 +--
 arch/arm64/kernel/vdso/sigreturn.S            | 54 +++++++++++++++---------
 arch/arm64/kernel/vdso32/Makefile             |  1 -
 arch/arm64/kernel/vdso32/sigreturn.S          | 58 -------------------------
 arch/arm64/kernel/vdso32/vdso.lds.S           | 12 ------
 tools/testing/selftests/arm64/signal/Makefile |  4 --
 15 files changed, 98 insertions(+), 170 deletions(-)
 delete mode 100644 arch/arm64/kernel/vdso32/sigreturn.S

WARNING: multiple messages have this Message-ID (diff)
From: Will Deacon <will@kernel.org>
To: torvalds@linux-foundation.org
Cc: catalin.marinas@arm.com, kernel-team@android.com,
	linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org
Subject: [GIT PULL] arm64 fixes for -rc3
Date: Fri, 26 Jun 2020 14:21:32 +0100	[thread overview]
Message-ID: <20200626132131.GA9750@willie-the-truck> (raw)

Hi Linus,

Please pull these arm64 fixes for -rc3. The big fix here is to our vDSO
sigreturn trampoline as, after a painfully long stint of debugging, it
turned out that fixing some of our CFI directives in the merge window lit up
a bunch of logic in libgcc which has been shown to SEGV in some cases during
asynchronous pthread cancellation. It looks like we can fix this by
extending the directives to restore most of the interrupted register state
from the sigcontext, but it's risky and hard to test so we opted to remove
the CFI directives for now and rely on the unwinder fallback path like we
used to.

Cheers,

Will

--->8

The following changes since commit 24ebec25fb270100e252b19c288e21bd7d8cc7f7:

  arm64: hw_breakpoint: Don't invoke overflow handler on uaccess watchpoints (2020-06-18 11:10:00 +0100)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git tags/arm64-fixes

for you to fetch changes up to 108447fd0d1a34b0929cd26dc637c917a734ebab:

  arm64: Add KRYO{3,4}XX silver CPU cores to SSB safelist (2020-06-25 20:18:57 +0100)

----------------------------------------------------------------
arm64 fixes for -rc3

- Fix unwinding through vDSO sigreturn trampoline

- Fix build warnings by raising minimum LD version for PAC

- Whitelist some Kryo Cortex-A55 derivatives for Meltdown and SSB

- Fix perf register PC reporting for compat tasks

- Fix 'make clean' warning for arm64 signal selftests

- Fix ftrace when BTI is compiled in

- Avoid building the compat vDSO using GCC plugins

----------------------------------------------------------------
Alexander Popov (1):
      arm64: vdso: Don't use gcc plugins for building vgettimeofday.c

Jean-Philippe Brucker (1):
      arm64: Don't insert a BTI instruction at inner labels

Jiping Ma (1):
      arm64: perf: Report the PC value in REGS_ABI_32 mode

Mark Brown (2):
      arm64: Depend on newer binutils when building PAC
      kselftest: arm64: Remove redundant clean target

Sai Prakash Ranjan (2):
      arm64: kpti: Add KRYO{3, 4}XX silver CPU cores to kpti safelist
      arm64: Add KRYO{3,4}XX silver CPU cores to SSB safelist

Will Deacon (5):
      arm64: vdso: Disable dwarf unwinding through the sigreturn trampoline
      arm64: compat: Allow 32-bit vdso and sigpage to co-exist
      arm64: compat: Always use sigpage for sigreturn trampoline
      arm64: compat: Remove 32-bit sigreturn code from the vDSO
      arm64: vdso: Only pass --no-eh-frame-hdr when linker supports it

 arch/arm64/Kconfig                            |  4 +-
 arch/arm64/include/asm/linkage.h              |  6 ---
 arch/arm64/include/asm/mmu.h                  |  3 ++
 arch/arm64/kernel/Makefile                    |  2 -
 arch/arm64/kernel/cpu_errata.c                |  2 +
 arch/arm64/kernel/cpufeature.c                |  2 +
 arch/arm64/kernel/perf_regs.c                 | 25 +++++++++--
 arch/arm64/kernel/signal32.c                  | 27 +-----------
 arch/arm64/kernel/vdso.c                      | 61 ++++++++++++---------------
 arch/arm64/kernel/vdso/Makefile               |  7 +--
 arch/arm64/kernel/vdso/sigreturn.S            | 54 +++++++++++++++---------
 arch/arm64/kernel/vdso32/Makefile             |  1 -
 arch/arm64/kernel/vdso32/sigreturn.S          | 58 -------------------------
 arch/arm64/kernel/vdso32/vdso.lds.S           | 12 ------
 tools/testing/selftests/arm64/signal/Makefile |  4 --
 15 files changed, 98 insertions(+), 170 deletions(-)
 delete mode 100644 arch/arm64/kernel/vdso32/sigreturn.S

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

             reply	other threads:[~2020-06-26 13:21 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-26 13:21 Will Deacon [this message]
2020-06-26 13:21 ` [GIT PULL] arm64 fixes for -rc3 Will Deacon
2020-06-27 16:00 ` pr-tracker-bot
2020-06-27 16:00   ` pr-tracker-bot
  -- strict thread matches above, loose matches on Subject: below --
2024-02-02 11:11 Will Deacon
2024-02-02 11:11 ` Will Deacon
2024-02-02 20:43 ` pr-tracker-bot
2024-02-02 20:43   ` pr-tracker-bot
2023-09-22 16:19 Will Deacon
2023-09-22 16:19 ` Will Deacon
2023-09-22 20:19 ` pr-tracker-bot
2023-09-22 20:19   ` pr-tracker-bot
2023-05-19 11:46 Will Deacon
2023-05-19 11:46 ` Will Deacon
2023-05-19 18:32 ` pr-tracker-bot
2023-05-19 18:32   ` pr-tracker-bot
2022-08-26 17:58 Will Deacon
2022-08-26 17:58 ` Will Deacon
2022-08-26 19:09 ` pr-tracker-bot
2022-08-26 19:09   ` pr-tracker-bot
2021-11-26 13:22 Will Deacon
2021-11-26 13:22 ` Will Deacon
2021-11-26 18:35 ` pr-tracker-bot
2021-11-26 18:35   ` pr-tracker-bot
2021-07-22 15:55 Will Deacon
2021-07-22 15:55 ` Will Deacon
2021-07-22 18:00 ` pr-tracker-bot
2021-07-22 18:00   ` pr-tracker-bot
2021-03-12 13:34 [GIT PULL] arm64: Fixes " Will Deacon
2021-03-12 13:34 ` Will Deacon
2021-03-12 20:03 ` pr-tracker-bot
2021-03-12 20:03   ` pr-tracker-bot
2020-11-06 13:20 [GIT PULL] arm64 fixes " Will Deacon
2020-11-06 13:20 ` Will Deacon
2020-11-06 21:13 ` pr-tracker-bot
2020-11-06 21:13   ` pr-tracker-bot
2020-02-21 16:01 Will Deacon
2020-02-21 16:01 ` Will Deacon
2020-02-22  0:07 ` Linus Torvalds
2020-02-22  0:07   ` Linus Torvalds
2020-02-22  0:15 ` pr-tracker-bot
2020-02-22  0:15   ` pr-tracker-bot
2019-10-09 13:30 [GIT PULL] arm64: Fixes " Will Deacon
2019-10-09 13:30 ` Will Deacon
2019-10-09 19:30 ` pr-tracker-bot
2019-10-09 19:30   ` pr-tracker-bot
2019-05-30 16:11 [GIT PULL] arm64: fixes " Will Deacon
2019-05-30 16:11 ` Will Deacon
2019-05-31  4:25 ` pr-tracker-bot
2019-05-31  4:25   ` pr-tracker-bot
2019-01-20  0:04 Will Deacon
2019-01-20  0:04 ` Will Deacon
2019-01-20  3:29 ` Linus Torvalds
2019-01-20  3:29   ` Linus Torvalds
2019-01-20  4:00 ` pr-tracker-bot
2019-01-20  4:00   ` pr-tracker-bot
2018-04-27 16:23 Will Deacon
2018-04-27 16:23 ` Will Deacon
2017-12-07 17:58 Will Deacon
2017-12-07 17:58 ` Will Deacon
2016-10-28 16:01 Will Deacon
2016-10-28 16:01 ` Will Deacon
2016-02-04 18:49 Will Deacon
2016-02-04 18:49 ` Will Deacon

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=20200626132131.GA9750@willie-the-truck \
    --to=will@kernel.org \
    --cc=catalin.marinas@arm.com \
    --cc=kernel-team@android.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --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.