[GIT PULL] arm64: Fixes for -rc6

From: Will Deacon
Date: Fri Nov 01 2019 - 10:32:47 EST


Hi Linus,

Please pull these arm64 fixes for -rc6. They're almost exclusively
related to CPU errata in CPUs from Broadcom and Qualcomm where the
workarounds were either not being enabled when they should have been or
enabled when they shouldn't have been. The only "interesting" fix is
ensuring that writeable, shared mappings are initially mapped as clean
since we inadvertently broke the logic back in v4.14 and then noticed
the problem via code inspection the other day.

The only critical issue we have outstanding is a sporadic NULL
dereference in the scheduler, which doesn't appear to be arm64-specific
and PeterZ is tearing his hair out over it at the moment.

Cheers,

Will

--->8

The following changes since commit 777d062e5bee0e3c0751cdcbce116a76ee2310ec:

Merge branch 'errata/tx2-219' into for-next/fixes (2019-10-17 13:42:42 -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 1cf45b8fdbb87040e1d1bd793891089f4678aa41:

arm64: apply ARM64_ERRATUM_843419 workaround for Brahma-B53 core (2019-11-01 10:47:37 +0000)

----------------------------------------------------------------
arm64 fixes for -rc6

- Enable CPU errata workarounds for Broadcom Brahma-B53

- Enable CPU errata workarounds for Qualcomm Hydra/Kryo CPUs

- Fix initial dirty status of writeable, shared mappings

----------------------------------------------------------------
Bjorn Andersson (2):
arm64: cpufeature: Enable Qualcomm Falkor/Kryo errata 1003
arm64: cpufeature: Enable Qualcomm Falkor errata 1009 for Kryo

Catalin Marinas (1):
arm64: Ensure VM_WRITE|VM_SHARED ptes are clean by default

Doug Berger (1):
arm64: apply ARM64_ERRATUM_845719 workaround for Brahma-B53 core

Florian Fainelli (2):
arm64: Brahma-B53 is SSB and spectre v2 safe
arm64: apply ARM64_ERRATUM_843419 workaround for Brahma-B53 core

Documentation/arm64/silicon-errata.rst | 7 +++-
arch/arm64/include/asm/cputype.h | 2 ++
arch/arm64/include/asm/pgtable-prot.h | 15 +++++----
arch/arm64/kernel/cpu_errata.c | 59 +++++++++++++++++++++++++++-------
4 files changed, 64 insertions(+), 19 deletions(-)