[GIT PULL] arm64 fixes for -rc2

From: Will Deacon
Date: Fri Apr 08 2022 - 12:29:13 EST


Hi Linus,

Please pull these arm64 fixes for -rc2. The usual summary is in the tag,
but the two main things to note are:

(1) The bulk of the diffstat is us reverting a horrible bodge we had
in place to ease the merging of maple tree during the merge window
(which turned out not to be needed, but anyway)

(2) The TLB invalidation fix is done in core code, as suggested by
(and Acked-by) Peter.

Cheers,

Will

--->8

The following changes since commit 3123109284176b1532874591f7c81f3837bbdc17:

Linux 5.18-rc1 (2022-04-03 14:08:21 -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 d02b4dd84e1a90f7f1444d027c0289bf355b0d5a:

perf/imx_ddr: Fix undefined behavior due to shift overflowing the constant (2022-04-08 14:17:57 +0100)

----------------------------------------------------------------
arm64 fixes for -rc2

- Revert temporary bodge in MTE coredumping to ease maple tree integration

- Fix stack frame size warning reported with 64k pages

- Fix stop_machine() race with instruction text patching

- Ensure alternatives patching routines are not instrumented

- Enable Spectre-BHB mitigation for Cortex-A78AE

- Fix hugetlb TLB invalidation when contiguous hint is used

- Minor perf driver fixes

- Fix some typos

----------------------------------------------------------------
Borislav Petkov (1):
perf/imx_ddr: Fix undefined behavior due to shift overflowing the constant

Catalin Marinas (1):
arm64: mte: Fix the stack frame size warning in mte_dump_tag_range()

Chanho Park (1):
arm64: Add part number for Arm Cortex-A78AE

Geert Uytterhoeven (1):
perf: MARVELL_CN10K_DDR_PMU should depend on ARCH_THUNDER

Guo Ren (1):
arm64: patch_text: Fixup last cpu should be master

Joey Gouly (1):
arm64: alternatives: mark patch_alternative() as `noinstr`

Julia Lawall (1):
arm64: fix typos in comments

Phil Auld (1):
arch/arm64: Fix topology initialization for core scheduling

Steve Capper (1):
tlb: hugetlb: Add more sizes to tlb_remove_huge_tlb_entry

Will Deacon (1):
Revert "arm64: Change elfcore for_each_mte_vma() to use VMA iterator"

Xiaomeng Tong (1):
perf: qcom_l2_pmu: fix an incorrect NULL check on list iterator

Zhiyuan Dai (1):
arm64: Fix comments in macro __init_el2_gicv3

arch/arm64/include/asm/cputype.h | 2 ++
arch/arm64/include/asm/el2_setup.h | 2 +-
arch/arm64/kernel/alternative.c | 6 ++---
arch/arm64/kernel/elfcore.c | 47 +++++++++++++++++++++-----------------
arch/arm64/kernel/hw_breakpoint.c | 2 +-
arch/arm64/kernel/module-plts.c | 2 +-
arch/arm64/kernel/patching.c | 4 ++--
arch/arm64/kernel/proton-pack.c | 1 +
arch/arm64/kernel/smp.c | 2 +-
arch/arm64/kernel/suspend.c | 2 +-
arch/arm64/mm/init.c | 4 ++--
drivers/perf/Kconfig | 2 +-
drivers/perf/fsl_imx8_ddr_perf.c | 2 +-
drivers/perf/qcom_l2_pmu.c | 6 ++---
include/asm-generic/tlb.h | 10 +++++---
15 files changed, 53 insertions(+), 41 deletions(-)