LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [GIT PULL] arm64 fixes for -rc3
@ 2020-11-06 13:20 Will Deacon
  2020-11-06 21:13 ` pr-tracker-bot
  0 siblings, 1 reply; 26+ messages in thread
From: Will Deacon @ 2020-11-06 13:20 UTC (permalink / raw)
  To: torvalds; +Cc: catalin.marinas, linux-arm-kernel, linux-kernel, kernel-team

Hi Linus,

Here's the weekly batch of fixes for arm64. Not an awful lot here, but
there are still a few unresolved issues relating to CPU hotplug, RCU and
IRQ tracing that I hope to queue fixes for next week.

In the meantime, there's a summary for this lot in the tag.

Cheers,

Will

--->8

The following changes since commit ec9d78070de986ecf581ea204fd322af4d2477ec:

  arm64: Change .weak to SYM_FUNC_START_WEAK_PI for arch/arm64/lib/mem*.S (2020-10-30 08:32:31 +0000)

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 108aa503657ee2fe8aa071dc620d96372c252ecd:

  arm64: kexec_file: try more regions if loading segments fails (2020-11-05 21:48:05 +0000)

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

- Fix early use of kprobes

- Fix kernel placement in kexec_file_load()

- Bump maximum number of NUMA nodes

----------------------------------------------------------------
Benjamin Gwin (1):
      arm64: kexec_file: try more regions if loading segments fails

Jean-Philippe Brucker (1):
      arm64: kprobes: Use BRK instead of single-step when executing instructions out-of-line

Vanshidhar Konda (1):
      arm64: NUMA: Kconfig: Increase NODES_SHIFT to 4

 arch/arm64/Kconfig                      |  2 +-
 arch/arm64/include/asm/brk-imm.h        |  2 +
 arch/arm64/include/asm/debug-monitors.h |  1 +
 arch/arm64/include/asm/kprobes.h        |  2 +-
 arch/arm64/kernel/kexec_image.c         | 41 +++++++++++++++-----
 arch/arm64/kernel/machine_kexec_file.c  |  9 ++++-
 arch/arm64/kernel/probes/kprobes.c      | 69 +++++++++++----------------------
 7 files changed, 67 insertions(+), 59 deletions(-)

^ permalink raw reply	[flat|nested] 26+ messages in thread
* [GIT PULL] arm64 fixes for -rc3
@ 2022-08-26 17:58 Will Deacon
  2022-08-26 19:09 ` pr-tracker-bot
  0 siblings, 1 reply; 26+ messages in thread
From: Will Deacon @ 2022-08-26 17:58 UTC (permalink / raw)
  To: torvalds; +Cc: catalin.marinas, linux-arm-kernel, linux-kernel, kernel-team

Hi Linus,

Please pull this bumper crop of arm64 fixes for -rc3. The usual summary
is in the tag, but the largest change is fixing our parsing of the
'rodata=full' command line option, which kstrtobool() started treating
as 'rodata=false'. The fix actually makes the parsing of that option much
less fragile and updates the documentation at the same time.

We still have a boot issue pending when KASLR is disabled at compile time,
but there's a fresh fix on the list which I'll send next week if it holds
up to testing.

Cheers,

Will

--->8

The following changes since commit 568035b01cfb107af8d2e4bd2fb9aea22cf5b868:

  Linux 6.0-rc1 (2022-08-14 15:50:18 -0700)

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 714f3cbd70a4db9f9b7fe5b8a032896ed33fb824:

  arm64/sme: Don't flush SVE register state when handling SME traps (2022-08-23 11:29:12 +0100)

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

- Fix workaround for Cortex-A76 erratum #1286807

- Add workaround for AMU erratum #2457168 on Cortex-A510

- Drop reference to removed CONFIG_ARCH_RANDOM #define

- Fix parsing of the "rodata=full" cmdline option

- Fix a bunch of issues in the SME register state switching and sigframe code

- Fix incorrect extraction of the CTR_EL0.CWG register field

- Fix ACPI cache topology probing when the PPTT is not present

- Trivial comment and whitespace fixes

----------------------------------------------------------------
Ionela Voinescu (1):
      arm64: errata: add detection for AMEVCNTR01 incrementing incorrectly

Kuan-Ying Lee (1):
      arm64: Fix comment typo

Lukas Bulwahn (1):
      arm64: adjust KASLR relocation after ARCH_RANDOM removal

Mark Brown (7):
      arm64/sysreg: Directly include bitfield.h
      arm64/sysreg: Guard SYS_FIELD_ macros for asm
      arm64/cache: Fix cache_type_cwg() for register generation
      arm64/signal: Raise limit on stack frames
      arm64/signal: Flush FPSIMD register state when disabling streaming mode
      arm64/sme: Don't flush SVE register state when allocating SME storage
      arm64/sme: Don't flush SVE register state when handling SME traps

Mark Rutland (1):
      arm64: fix rodata=full

Martin Liška (1):
      docs/arm64: elf_hwcaps: unify newlines in HWCAP lists

Sudeep Holla (1):
      arm64: cacheinfo: Fix incorrect assignment of signed error value to unsigned fw_level

Zenghui Yu (1):
      arm64: Fix match_list for erratum 1286807 on Arm Cortex-A76

 Documentation/admin-guide/kernel-parameters.txt |  2 ++
 Documentation/arm64/elf_hwcaps.rst              | 10 --------
 Documentation/arm64/silicon-errata.rst          |  2 ++
 arch/arm64/Kconfig                              | 17 +++++++++++++
 arch/arm64/include/asm/cache.h                  |  2 +-
 arch/arm64/include/asm/fpsimd.h                 |  4 ++--
 arch/arm64/include/asm/setup.h                  | 17 +++++++++++++
 arch/arm64/include/asm/sysreg.h                 |  5 ++--
 arch/arm64/kernel/cacheinfo.c                   |  6 ++++-
 arch/arm64/kernel/cpu_errata.c                  | 12 ++++++++++
 arch/arm64/kernel/cpufeature.c                  |  5 +++-
 arch/arm64/kernel/entry.S                       |  2 +-
 arch/arm64/kernel/fpsimd.c                      | 21 +++++-----------
 arch/arm64/kernel/pi/kaslr_early.c              |  8 +++----
 arch/arm64/kernel/ptrace.c                      |  6 ++---
 arch/arm64/kernel/signal.c                      | 14 +++++++++--
 arch/arm64/kernel/topology.c                    | 32 +++++++++++++++++++++++--
 arch/arm64/mm/mmu.c                             | 18 --------------
 arch/arm64/tools/cpucaps                        |  1 +
 init/main.c                                     | 18 +++++++++++---
 20 files changed, 136 insertions(+), 66 deletions(-)

^ permalink raw reply	[flat|nested] 26+ messages in thread
* [GIT PULL] arm64 fixes for -rc3
@ 2021-11-26 13:22 Will Deacon
  2021-11-26 18:35 ` pr-tracker-bot
  0 siblings, 1 reply; 26+ messages in thread
From: Will Deacon @ 2021-11-26 13:22 UTC (permalink / raw)
  To: torvalds
  Cc: catalin.marinas, mark.rutland, linux-arm-kernel, linux-kernel,
	kernel-team

Hi Linus,

When you get a chance, please can you pull these three arm64 fixes? The
main one is a fix to the way in which we evaluate the macro arguments to
our uaccess routines, which we _think_ might be the root cause behind
some unkillable tasks we've seen in the Android arm64 CI farm (testing is
ongoing). In any case, it's worth fixing.

Other than that, we've toned down an over-zealous VM_BUG_ON() and fixed
ftrace stack unwinding in a bunch of cases.

Please pull.

Thanks,

Will

--->8

The following changes since commit fa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf:

  Linux 5.16-rc1 (2021-11-14 13:56:52 -0800)

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 94902d849e85093aafcdbea2be8e2beff47233e6:

  arm64: uaccess: avoid blocking within critical sections (2021-11-24 09:16:26 +0000)

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

- Evaluate uaccess macro arguments outside of the critical section

- Tighten up VM_BUG_ON() in pmd_populate_kernel() to avoid false positive

- Fix ftrace stack unwinding using HAVE_FUNCTION_GRAPH_RET_ADDR_PTR

----------------------------------------------------------------
Mark Rutland (2):
      arm64: ftrace: use HAVE_FUNCTION_GRAPH_RET_ADDR_PTR
      arm64: uaccess: avoid blocking within critical sections

Pingfan Liu (1):
      arm64: mm: Fix VM_BUG_ON(mm != &init_mm) for trans_pgd

 arch/arm64/include/asm/ftrace.h     | 11 +++++++++
 arch/arm64/include/asm/pgalloc.h    |  2 +-
 arch/arm64/include/asm/stacktrace.h |  6 -----
 arch/arm64/include/asm/uaccess.h    | 48 +++++++++++++++++++++++++++++++------
 arch/arm64/kernel/ftrace.c          |  6 ++---
 arch/arm64/kernel/stacktrace.c      | 18 +++++++-------
 6 files changed, 64 insertions(+), 27 deletions(-)

^ permalink raw reply	[flat|nested] 26+ messages in thread
* [GIT PULL] arm64 fixes for -rc3
@ 2021-07-22 15:55 Will Deacon
  2021-07-22 18:00 ` pr-tracker-bot
  0 siblings, 1 reply; 26+ messages in thread
From: Will Deacon @ 2021-07-22 15:55 UTC (permalink / raw)
  To: torvalds
  Cc: catalin.marinas, maz, linux-arm-kernel, linux-kernel, kernel-team, mpe

Hi Linus,

Please pull this pair of arm64 fixes for -rc3. The straightforward one
is a fix to our firmware calling stub, which accidentally started
corrupting the link register on machines with SVE. Since these machines
don't really exist yet, it wasn't spotted in -next.

The other fix is a revert-and-a-bit of a patch originally intended to
allow PTE-level huge mappings for the VMAP area on 32-bit PPC 8xx. A
side-effect of this change was that our pXd_set_huge() implementations
could be replaced with generic dummy functions depending on the levels
of page-table being used, which in turn broke the boot if we fail to
create the linear mapping as a result of using these functions to
operate on the pgd. Huge thanks to Michael Ellerman for modifying the
revert so as not to regress PPC 8xx in terms of functionality.

Anyway, that's the background and it's also available in the commit
message along with Link tags pointing at all of the fun. Please pull.

Cheers,

Will

--->8

The following changes since commit e6f85cbeb23bd74b8966cf1f15bf7d01399ff625:

  arm64: entry: fix KCOV suppression (2021-07-15 17:37:55 +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 d8a719059b9dc963aa190598778ac804ff3e6a87:

  Revert "mm/pgtable: add stubs for {pmd/pub}_{set/clear}_huge" (2021-07-21 11:28:09 +0100)

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

- Fix hang when issuing SMC on SVE-capable system due to clobbered LR

- Fix boot failure due to missing block mappings with folded page-table

----------------------------------------------------------------
Jean-Philippe Brucker (1):
      arm64: smccc: Save lr before calling __arm_smccc_sve_check()

Jonathan Marek (1):
      Revert "mm/pgtable: add stubs for {pmd/pub}_{set/clear}_huge"

 arch/arm64/kernel/smccc-call.S |  9 ++++++---
 arch/arm64/mm/mmu.c            | 20 ++++++++------------
 arch/powerpc/mm/nohash/8xx.c   | 10 ++++++++++
 arch/x86/mm/pgtable.c          | 34 +++++++++++++++-------------------
 include/linux/pgtable.h        | 26 +-------------------------
 5 files changed, 40 insertions(+), 59 deletions(-)

^ permalink raw reply	[flat|nested] 26+ messages in thread
* [GIT PULL] arm64: Fixes for -rc3
@ 2021-03-12 13:34 Will Deacon
  2021-03-12 20:03 ` pr-tracker-bot
  0 siblings, 1 reply; 26+ messages in thread
From: Will Deacon @ 2021-03-12 13:34 UTC (permalink / raw)
  To: torvalds
  Cc: Catalin Marinas, Linux Kernel Mailing List,
	Linux ARM Kernel Mailing List, kernel-team

Hi Linus,

Please pull these arm64 fixes for -rc3. Summary in the tag, but we've
got a smattering of changes all over the place which we've acrued since
-rc1. To my knowledge, there aren't any pending issues at the moment,
but there's still plenty of time for something else to crop up...

Cheers,

Will

--->8

The following changes since commit a38fd8748464831584a19438cbb3082b5a2dab15:

  Linux 5.12-rc2 (2021-03-05 17:33:41 -0800)

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 c8e3866836528a4ba3b0535834f03768d74f7d8e:

  perf/arm_dmc620_pmu: Fix error return code in dmc620_pmu_device_probe() (2021-03-12 11:30:31 +0000)

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

- Fix booting a 52-bit-VA-aware kernel on Qualcomm Amberwing

- Fix pfn_valid() not to reject all ZONE_DEVICE memory

- Fix memory tagging setup for hotplugged memory regions

- Fix KASAN tagging in page_alloc() when DEBUG_VIRTUAL is enabled

- Fix accidental truncation of CPU PMU event counters

- Fix error code initialisation when failing probe of DMC620 PMU

- Fix return value initialisation for sve-ptrace selftest

- Drop broken support for CMDLINE_EXTEND

----------------------------------------------------------------
Andrey Konovalov (1):
      arm64: kasan: fix page_alloc tagging with DEBUG_VIRTUAL

Anshuman Khandual (4):
      arm64/mm: Drop redundant ARCH_WANT_HUGE_PMD_SHARE
      arm64/mm: Drop THP conditionality from FORCE_MAX_ZONEORDER
      arm64/mm: Fix pfn_valid() for ZONE_DEVICE based memory
      arm64/mm: Reorganize pfn_valid()

Ard Biesheuvel (2):
      arm64: mm: use a 48-bit ID map when possible on 52-bit VA builds
      arm64: mm: remove unused __cpu_uses_extended_idmap[_level()]

Catalin Marinas (1):
      arm64: mte: Map hotplugged memory as Normal Tagged

James Morse (1):
      arm64/mm: Fix __enable_mmu() for new TGRAN range values

Mark Brown (1):
      kselftest: arm64: Fix exit code of sve-ptrace

Rob Herring (1):
      arm64: perf: Fix 64-bit event counter read truncation

Wei Yongjun (1):
      perf/arm_dmc620_pmu: Fix error return code in dmc620_pmu_device_probe()

Will Deacon (2):
      arm64: cpufeatures: Fix handling of CONFIG_CMDLINE for idreg overrides
      arm64: Drop support for CMDLINE_EXTEND

 arch/arm64/Kconfig                            | 12 ++------
 arch/arm64/include/asm/memory.h               |  5 ++++
 arch/arm64/include/asm/mmu_context.h          | 17 -----------
 arch/arm64/include/asm/pgtable-prot.h         |  1 -
 arch/arm64/include/asm/pgtable.h              |  3 ++
 arch/arm64/include/asm/sysreg.h               | 20 +++++++++----
 arch/arm64/kernel/head.S                      |  8 +++--
 arch/arm64/kernel/idreg-override.c            | 43 ++++++++++++++-------------
 arch/arm64/kernel/perf_event.c                |  2 +-
 arch/arm64/kvm/reset.c                        | 10 ++++---
 arch/arm64/mm/init.c                          | 29 ++++++++++++++++--
 arch/arm64/mm/mmu.c                           |  5 ++--
 drivers/firmware/efi/libstub/arm64-stub.c     |  2 +-
 drivers/perf/arm_dmc620_pmu.c                 |  1 +
 include/linux/pgtable.h                       |  4 +++
 mm/memory_hotplug.c                           |  2 +-
 tools/testing/selftests/arm64/fp/sve-ptrace.c |  2 +-
 17 files changed, 96 insertions(+), 70 deletions(-)

^ permalink raw reply	[flat|nested] 26+ messages in thread
* [GIT PULL] arm64 fixes for -rc3
@ 2020-06-26 13:21 Will Deacon
  2020-06-27 16:00 ` pr-tracker-bot
  0 siblings, 1 reply; 26+ messages in thread
From: Will Deacon @ 2020-06-26 13:21 UTC (permalink / raw)
  To: torvalds; +Cc: catalin.marinas, linux-arm-kernel, linux-kernel, kernel-team

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

^ permalink raw reply	[flat|nested] 26+ messages in thread
* [GIT PULL] arm64 fixes for -rc3
@ 2020-02-21 16:01 Will Deacon
  2020-02-22  0:07 ` Linus Torvalds
  2020-02-22  0:15 ` pr-tracker-bot
  0 siblings, 2 replies; 26+ messages in thread
From: Will Deacon @ 2020-02-21 16:01 UTC (permalink / raw)
  To: torvalds; +Cc: linux-arm-kernel, linux-kernel, catalin.marinas, kernel-team

Hi Linus,

Please pull these arm64 fixes for -rc3.

It's all straightforward apart from the changes to mmap()/mremap() in
relation to their handling of address arguments from userspace with
non-zero tag bits in the upper byte. The change to brk() is necessary
to fix a nasty user-visible regression in malloc(), but we tightened up
mmap() and mremap() at the same time because they also allow the user to
create virtual aliases by accident. It's much less likely than brk() to
matter in practice, but enforcing the principle of "don't permit the
creation of mappings using tagged addresses" leads to a straightforward
ABI without having to worry about the "but what if a crazy program did
foo?" aspect of things.

That said, this is core code and I know you'd prefer to limit the change
to brk(), so the patch is sitting on top of the branch in case you prefer
not to include it. If you decide to tweak it manually, please can you
update the docs at the same time?

Cheers,

Will

--->8

The following changes since commit d91771848f0ae2eec250a9345926a1a3558fa943:

  arm64: time: Replace <linux/clk-provider.h> by <linux/of_clk.h> (2020-02-12 17:26:38 +0000)

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 dcde237319e626d1ec3c9d8b7613032f0fd4663a:

  mm: Avoid creating virtual address aliases in brk()/mmap()/mremap() (2020-02-20 10:03:14 +0000)

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

- Fix regression in malloc() caused by ignored address tags in brk()

- Add missing brackets around argument to untagged_addr() macro

- Fix clang build when using binutils assembler

- Fix silly typo in virtual memory map documentation

----------------------------------------------------------------
Catalin Marinas (1):
      mm: Avoid creating virtual address aliases in brk()/mmap()/mremap()

Scott Branden (1):
      docs: arm64: fix trivial spelling enought to enough in memory.rst

Vincenzo Frascino (1):
      arm64: lse: Fix LSE atomics with LLVM

Will Deacon (1):
      arm64: memory: Add missing brackets to untagged_addr() macro

 Documentation/arm64/memory.rst             |  2 +-
 Documentation/arm64/tagged-address-abi.rst | 11 +++++++++--
 arch/arm64/include/asm/lse.h               |  2 +-
 arch/arm64/include/asm/memory.h            |  2 +-
 mm/mmap.c                                  |  4 ----
 mm/mremap.c                                |  1 -
 6 files changed, 12 insertions(+), 10 deletions(-)

^ permalink raw reply	[flat|nested] 26+ messages in thread
* [GIT PULL] arm64: Fixes for -rc3
@ 2019-10-09 13:30 Will Deacon
  2019-10-09 19:30 ` pr-tracker-bot
  0 siblings, 1 reply; 26+ messages in thread
From: Will Deacon @ 2019-10-09 13:30 UTC (permalink / raw)
  To: torvalds; +Cc: catalin.marinas, linux-kernel, linux-arm-kernel

Hi Linus,

Here is a larger-than-usual batch of arm64 fixes for -rc3. The bulk of
the fixes are dealing with a bunch of issues with the build system from
the compat vDSO, which unfortunately led to some significant Makefile
rework to manage the horrible combinations of toolchains that we can end
up needing to drive simultaneously. We came close to disabling the thing
entirely, but Vincenzo was quick to spin up some patches and I ended up
picking up most of the bits that were left. Future work will look at
disentangling the header files properly.

My subsequent vDSO fixes were:

	Reviewed-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
	Tested-by: Vincenzo Frascino <vincenzo.frascino@arm.com>

but they were already in linux-next by then and I didn't want to rebase,
so hopefully you can just include those in the merge commit.

Other than that, we have some important fixes all over, including one
papering over the miscompilation fallout from forcing
CONFIG_OPTIMIZE_INLINING=y, which I'm still unhappy about. Harumph.

We've still got a couple of open issues, so I'm expecting to have some
more fixes later this cycle.

Thanks, and please pull.

Will

--->8

The following changes since commit 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c:

  Linux 5.4-rc1 (2019-09-30 10:35:40 -0700)

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 3e7c93bd04edfb0cae7dad1215544c9350254b8f:

  arm64: armv8_deprecated: Checking return value for memory allocation (2019-10-08 13:34:04 +0100)

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

- Numerous fixes to the compat vDSO build system, especially when
  combining gcc and clang

- Fix parsing of PAR_EL1 in spurious kernel fault detection

- Partial workaround for Neoverse-N1 erratum #1542419

- Fix IRQ priority masking on entry from compat syscalls

- Fix advertisment of FRINT HWCAP to userspace

- Attempt to workaround inlining breakage with '__always_inline'

- Fix accidental freeing of parent SVE state on fork() error path

- Add some missing NULL pointer checks in instruction emulation init

- Some formatting and comment fixes

----------------------------------------------------------------
Adam Zerella (1):
      docs: arm64: Fix indentation and doc formatting

James Morse (2):
      arm64: Fix incorrect irqflag restore for priority masking for compat
      arm64: ftrace: Ensure synchronisation in PLT setup for Neoverse-N1 #1542419

Julien Grall (1):
      arm64: cpufeature: Effectively expose FRINT capability to userspace

Mark Rutland (2):
      arm64: mm: avoid virt_to_phys(init_mm.pgd)
      arm64: mm: fix spurious fault detection

Masayoshi Mizuma (1):
      arm64/sve: Fix wrong free for task->thread.sve_state

Thierry Reding (1):
      arm64: errata: Update stale comment

Vincenzo Frascino (5):
      arm64: vdso32: Fix broken compat vDSO build warnings
      arm64: vdso: Remove stale files from old assembly implementation
      arm64: vdso32: Detect binutils support for dmb ishld
      arm64: vdso32: Remove jump label config option in Makefile
      lib: vdso: Remove CROSS_COMPILE_COMPAT_VDSO

Will Deacon (7):
      arm64: Mark functions using explicit register variables as '__always_inline'
      arm64: Default to building compat vDSO with clang when CONFIG_CC_IS_CLANG
      arm64: vdso32: Move definition of COMPATCC into vdso32/Makefile
      arm64: vdso32: Don't use KBUILD_CPPFLAGS unconditionally
      arm64: vdso32: Pass '--target' option to clang via VDSO_CAFLAGS
      arm64: vdso32: Rename COMPATCC to CC_COMPAT
      arm64: Kconfig: Make CONFIG_COMPAT_VDSO a proper Kconfig option

Yunfeng Ye (1):
      arm64: armv8_deprecated: Checking return value for memory allocation

 Documentation/arm64/memory.rst               |  9 +++++-
 arch/arm64/Kconfig                           | 15 ++++++++--
 arch/arm64/Makefile                          | 16 ----------
 arch/arm64/include/asm/atomic_lse.h          |  6 ++--
 arch/arm64/include/asm/vdso/compat_barrier.h |  2 +-
 arch/arm64/include/asm/vdso_datapage.h       | 33 ---------------------
 arch/arm64/kernel/armv8_deprecated.c         |  5 ++++
 arch/arm64/kernel/cpu_errata.c               |  4 +--
 arch/arm64/kernel/cpufeature.c               |  1 +
 arch/arm64/kernel/entry.S                    |  1 +
 arch/arm64/kernel/ftrace.c                   | 12 ++++++--
 arch/arm64/kernel/process.c                  | 32 ++++++++++----------
 arch/arm64/kernel/vdso/gettimeofday.S        |  0
 arch/arm64/kernel/vdso32/Makefile            | 44 ++++++++++++++++++----------
 arch/arm64/mm/fault.c                        | 13 ++++++--
 lib/vdso/Kconfig                             |  9 ------
 16 files changed, 98 insertions(+), 104 deletions(-)
 delete mode 100644 arch/arm64/include/asm/vdso_datapage.h
 delete mode 100644 arch/arm64/kernel/vdso/gettimeofday.S

^ permalink raw reply	[flat|nested] 26+ messages in thread
* [GIT PULL] arm64: fixes for -rc3
@ 2019-05-30 16:11 Will Deacon
  2019-05-31  4:25 ` pr-tracker-bot
  0 siblings, 1 reply; 26+ messages in thread
From: Will Deacon @ 2019-05-30 16:11 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel, linux-arm-kernel, catalin.marinas, ebiederm

Hi Linus,

The fixes are still trickling in for arm64, but the only really significant
one here is actually fixing a regression in the botched module relocation
range checking merged for -rc2. Hopefully we've nailed it this time.

Please pull.

Thanks,

Will

--->8

The following changes since commit edbcf50eb8aea5f81ae6d83bb969cb0bc02805a1:

  arm64: insn: Add BUILD_BUG_ON() for invalid masks (2019-05-24 14:58:30 +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 1e29ab3186e33c77dbb2d7566172a205b59fa390:

  arm64: use the correct function type for __arm64_sys_ni_syscall (2019-05-29 13:46:00 +0100)

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

- Fix implementation of our set_personality() system call, which wasn't
  being wrapped properly

- Fix system call function types to keep CFI happy

- Fix siginfo layout when delivering SIGKILL after a kernel fault

- Really fix module relocation range checking

----------------------------------------------------------------
Ard Biesheuvel (1):
      arm64/module: revert to unsigned interpretation of ABS16/32 relocations

Catalin Marinas (1):
      arm64: Fix the arm64_personality() syscall wrapper redirection

Eric W. Biederman (1):
      signal/arm64: Use force_sig not force_sig_fault for SIGKILL

Sami Tolvanen (3):
      arm64: fix syscall_fn_t type
      arm64: use the correct function type in SYSCALL_DEFINE0
      arm64: use the correct function type for __arm64_sys_ni_syscall

 arch/arm64/include/asm/syscall.h         |  2 +-
 arch/arm64/include/asm/syscall_wrapper.h | 18 +++++++--------
 arch/arm64/kernel/module.c               | 38 +++++++++++++++++++++++++-------
 arch/arm64/kernel/sys.c                  | 16 +++++++++-----
 arch/arm64/kernel/sys32.c                |  7 ++----
 arch/arm64/kernel/traps.c                |  5 ++++-
 6 files changed, 56 insertions(+), 30 deletions(-)


^ permalink raw reply	[flat|nested] 26+ messages in thread
* [GIT PULL] arm64: fixes for -rc3
@ 2019-01-20  0:04 Will Deacon
  2019-01-20  3:29 ` Linus Torvalds
  2019-01-20  4:00 ` pr-tracker-bot
  0 siblings, 2 replies; 26+ messages in thread
From: Will Deacon @ 2019-01-20  0:04 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel, linux-arm-kernel, catalin.marinas, ard.biesheuvel

Hi Linus,

Please pull these three arm64 fixes for -rc3. We've plugged a couple of
nasty issues involving KASLR-enabled kernels, and removed a redundant
#define that was introduced as part of the KHWASAN fixes from akpm at -rc2.

The kernel.org servers wouldn't talk to me from NZ (the keys appeared to
have changed), so I ended up pushing via the UK which seems to have worked.
Please shout if anything looks weird.

Cheers,

Will

--->8

The following changes since commit 1c7fc5cbc33980acd13d668f1c8f0313d6ae9fd8:

  Linux 5.0-rc2 (2019-01-14 10:41:12 +1200)

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 7fa1e2e6afa7f4c9f46528e61de6a15d9e8dffd9:

  kasan, arm64: remove redundant ARCH_SLAB_MINALIGN define (2019-01-16 12:09:11 +0000)

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

- Fix broken kpti page-table rewrite in bizarre KASLR configuration

- Fix module loading with KASLR

- Remove redundant definition of ARCH_SLAB_MINALIGN

----------------------------------------------------------------
Andrey Konovalov (1):
      kasan, arm64: remove redundant ARCH_SLAB_MINALIGN define

Ard Biesheuvel (1):
      arm64: kaslr: ensure randomized quantities are clean to the PoC

James Morse (1):
      arm64: kpti: Update arm64_kernel_use_ng_mappings() when forced on

 arch/arm64/include/asm/cache.h | 2 --
 arch/arm64/include/asm/mmu.h   | 5 ++++-
 arch/arm64/kernel/kaslr.c      | 8 ++++++--
 3 files changed, 10 insertions(+), 5 deletions(-)

^ permalink raw reply	[flat|nested] 26+ messages in thread
* [GIT PULL] arm64: fixes for -rc3
@ 2018-04-27 16:23 Will Deacon
  0 siblings, 0 replies; 26+ messages in thread
From: Will Deacon @ 2018-04-27 16:23 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel, linux-arm-kernel, catalin.marinas

Hi Linus,

Please pull these arm64 fixes for -rc3. Nothing too bad, but the spectre
updates to smatch identified a few places that may need sanitising so we've
got those covered. As per usual, details are in the tag.

It's worth noting that we had some DMARC hiccups this week which should be
resolved now, so hopefully this won't go into your spam folder.

Thanks,

Will

--->8

The following changes since commit 6d08b06e67cd117f6992c46611dfb4ce267cd71e:

  Linux 4.17-rc2 (2018-04-22 19:20:09 -0700)

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 3789c122d0a016b947ce5c05d3f1fbafa5db8f26:

  arm64: avoid instrumenting atomic_ll_sc.o (2018-04-27 12:14:44 +0100)

----------------------------------------------------------------
arm64 fixes:

- Close some potential spectre-v1 vulnerabilities found by smatch

- Add missing list sentinel for CPUs that don't require KPTI

- Removal of unused 'addr' parameter for I/D cache coherency

- Removal of redundant set_fs(KERNEL_DS) calls in ptrace

- Fix single-stepping state machine handling in response to kernel traps

- Clang support for 128-bit integers

- Avoid instrumenting our out-of-line atomics in preparation for enabling
  LSE atomics by default in 4.18

----------------------------------------------------------------
Jason A. Donenfeld (1):
      arm64: support __int128 with clang

Kim Phillips (1):
      arm64/kernel: rename module_emit_adrp_veneer->module_emit_veneer_for_adrp

Mark Rutland (7):
      arm64: add sentinel to kpti_safe_list
      arm64: ptrace: remove addr_limit manipulation
      arm64: only advance singlestep for user instruction traps
      arm64: fix possible spectre-v1 in ptrace_hbp_get_event()
      KVM: arm/arm64: vgic: fix possible spectre-v1 in vgic_get_irq()
      KVM: arm/arm64: vgic: fix possible spectre-v1 in vgic_mmio_read_apr()
      arm64: avoid instrumenting atomic_ll_sc.o

Shaokun Zhang (1):
      arm64: mm: drop addr parameter from sync icache and dcache

 arch/arm64/Makefile              |  4 ++++
 arch/arm64/include/asm/module.h  |  2 +-
 arch/arm64/include/asm/pgtable.h |  4 ++--
 arch/arm64/kernel/cpufeature.c   |  1 +
 arch/arm64/kernel/module-plts.c  |  2 +-
 arch/arm64/kernel/module.c       |  2 +-
 arch/arm64/kernel/ptrace.c       | 20 ++++++++++----------
 arch/arm64/kernel/traps.c        |  3 ++-
 arch/arm64/lib/Makefile          |  4 ++++
 arch/arm64/mm/flush.c            |  2 +-
 virt/kvm/arm/vgic/vgic-mmio-v2.c |  5 +++++
 virt/kvm/arm/vgic/vgic.c         | 14 ++++++++++----
 12 files changed, 42 insertions(+), 21 deletions(-)

^ permalink raw reply	[flat|nested] 26+ messages in thread
* [GIT PULL] arm64: fixes for -rc3
@ 2017-12-07 17:58 Will Deacon
  0 siblings, 0 replies; 26+ messages in thread
From: Will Deacon @ 2017-12-07 17:58 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel, linux-arm-kernel, catalin.marinas, dave.martin

Hi Linus,

Please pull the following arm64 fixes for 4.15-rc3.

Details in the tag, but they broadly fix some more FP register fallout
from the SVE patches and also some problems with the PGD tracking in our
software PAN emulation code, after we received a crash report from a 3.18
kernel running a backport.

Cheers,

Will

--->8

The following changes since commit ae64f9bd1d3621b5e60d7363bc20afb46aede215:

  Linux 4.15-rc2 (2017-12-03 11:01:47 -0500)

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 cb968afc789821cdf9e17e79ef08ab90e5bae0f2:

  arm64/sve: Avoid dereference of dead task_struct in KVM guest entry (2017-12-06 19:08:05 +0000)

----------------------------------------------------------------
arm64 fixes:

- Fix SW PAN pgd shadowing for kernel threads, EFI and exiting user tasks

- Fix FP register leak when a task_struct is re-allocated

- Fix potential use-after-free in FP state tracking used by KVM

----------------------------------------------------------------
Dave Martin (3):
      arm64: fpsimd: Prevent registers leaking from dead tasks
      arm64: fpsimd: Abstract out binding of task's fpsimd context to the cpu.
      arm64/sve: Avoid dereference of dead task_struct in KVM guest entry

Will Deacon (2):
      arm64: SW PAN: Point saved ttbr0 at the zero page when switching to init_mm
      arm64: SW PAN: Update saved ttbr0 value on enter_lazy_tlb

 arch/arm64/include/asm/efi.h         |  4 +--
 arch/arm64/include/asm/mmu_context.h | 46 ++++++++++++++++----------------
 arch/arm64/kernel/fpsimd.c           | 51 +++++++++++++++++++++---------------
 arch/arm64/kernel/process.c          |  9 +++++++
 4 files changed, 63 insertions(+), 47 deletions(-)

^ permalink raw reply	[flat|nested] 26+ messages in thread
* [GIT PULL] arm64: fixes for -rc3
@ 2016-10-28 16:01 Will Deacon
  0 siblings, 0 replies; 26+ messages in thread
From: Will Deacon @ 2016-10-28 16:01 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel, linux-arm-kernel, catalin.marinas

Hi Linus,

Please pull these three arm64 fixes for -rc3. They're all pretty
straightforward: a couple of NUMA issues from the Huawei folks and a
thinko in __page_to_voff that seems to be benign, but is certainly
better off fixed.

Thanks,

Will

--->8

The following changes since commit 07d9a380680d1c0eb51ef87ff2eab5c994949e69:

  Linux 4.9-rc2 (2016-10-23 17:10:14 -0700)

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 3fa72fe9c614717d22ae75b84d45f41da65c10fe:

  arm64: mm: fix __page_to_voff definition (2016-10-26 18:22:42 +0100)

----------------------------------------------------------------
arm64 fixes:

- Couple of NUMA fixes
- Thinko in __page_to_voff

----------------------------------------------------------------
Hanjun Guo (1):
      arm64/numa: fix incorrect log for memory-less node

Neeraj Upadhyay (1):
      arm64: mm: fix __page_to_voff definition

Yisheng Xie (1):
      arm64/numa: fix pcpu_cpu_distance() to get correct CPU proximity

 arch/arm64/include/asm/memory.h | 2 +-
 arch/arm64/mm/numa.c            | 9 ++++++---
 2 files changed, 7 insertions(+), 4 deletions(-)

^ permalink raw reply	[flat|nested] 26+ messages in thread
* [GIT PULL] arm64: fixes for -rc3
@ 2016-02-04 18:49 Will Deacon
  0 siblings, 0 replies; 26+ messages in thread
From: Will Deacon @ 2016-02-04 18:49 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel, linux-arm-kernel, catalin.marinas

Hi Linus,

Please pull these arm64 fixes for -rc3. Nothing particularly interesting
here, but all important fixes nonetheless. Details in the tag.

Cheers,

Will

--->8

The following changes since commit 36f90b0a2ddd60823fe193a85e60ff1906c2a9b3:

  Linux 4.5-rc2 (2016-01-31 18:12:16 -0800)

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 3e275c64a973ba1554ef87f76c9f0f5b5221ab14:

  arm64: asm: Explicitly include linux/personality.h in asm/page.h (2016-02-03 19:22:02 +0000)

----------------------------------------------------------------
arm64 fixes:

- Add missing PAN toggling in the futex code

- Fix missing #include that briefly caused issues in -next

- Allow changing of vmalloc permissions with set_memory_* (used by bpf)

----------------------------------------------------------------
Ard Biesheuvel (1):
      arm64: allow vmalloc regions to be set with set_memory_*

James Morse (1):
      arm64: futex.h: Add missing PAN toggling

Mark Brown (1):
      arm64: asm: Explicitly include linux/personality.h in asm/page.h

 arch/arm64/include/asm/futex.h |  2 ++
 arch/arm64/include/asm/page.h  |  1 +
 arch/arm64/mm/pageattr.c       | 23 +++++++++++++++++++----
 3 files changed, 22 insertions(+), 4 deletions(-)

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

end of thread, other threads:[~2022-08-26 19:09 UTC | newest]

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

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).