[GIT PULL] arm64 fixes for -rc3

From: Will Deacon
Date: Fri Nov 26 2021 - 08:24:54 EST


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