[GIT PULL] Please pull powerpc/linux.git powerpc-5.9-4 tag

From: Michael Ellerman
Date: Sun Aug 30 2020 - 08:27:39 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi Linus,

Please pull some more powerpc fixes for 5.9:

The following changes since commit 64ef8f2c4791940d7f3945507b6a45c20d959260:

powerpc/perf/hv-24x7: Move cpumask file to top folder of hv-24x7 driver (2020-08-21 23:35:27 +1000)

are available in the git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git tags/powerpc-5.9-4

for you to fetch changes up to 4a133eb351ccc275683ad49305d0b04dde903733:

powerpc/32s: Disable VMAP stack which CONFIG_ADB_PMU (2020-08-28 12:03:18 +1000)

- ------------------------------------------------------------------
powerpc fixes for 5.9 #4

Revert our removal of PROT_SAO, at least one user expressed an interest in using
it on Power9. Instead don't allow it to be used in guests unless enabled
explicitly at compile time.

A fix for a crash introduced by a recent change to FP handling.

Revert a change to our idle code that left Power10 with no idle support.

One minor fix for the new scv system call path to set PPR.

Fix a crash in our "generic" PMU if branch stack events were enabled.

A fix for the IMC PMU, to correctly identify host kernel samples.

The ADB_PMU powermac code was found to be incompatible with VMAP_STACK, so make
them incompatible in Kconfig until the code can be fixed.

A build fix in drivers/video/fbdev/controlfb.c, and a documentation fix.

Thanks to:
Alexey Kardashevskiy, Athira Rajeev, Christophe Leroy, Giuseppe Sacco,
Madhavan Srinivasan, Milton Miller, Nicholas Piggin, Pratik Rajesh Sampat,
Randy Dunlap, Shawn Anastasio, Vaidyanathan Srinivasan.

- ------------------------------------------------------------------
Alexey Kardashevskiy (1):
powerpc/perf: Fix crashes with generic_compat_pmu & BHRB

Athira Rajeev (1):
powerpc/perf: Fix reading of MSR[HV/PR] bits in trace-imc

Christophe Leroy (1):
powerpc/32s: Disable VMAP stack which CONFIG_ADB_PMU

Michael Ellerman (2):
video: fbdev: controlfb: Fix build for COMPILE_TEST=y && PPC_PMAC=n
powerpc/64s: Fix crash in load_fp_state() due to fpexc_mode

Nicholas Piggin (1):
powerpc/64s: scv entry should set PPR

Pratik Rajesh Sampat (1):
Revert "powerpc/powernv/idle: Replace CPU feature check with PVR check"

Randy Dunlap (1):
Documentation/powerpc: fix malformed table in syscall64-abi

Shawn Anastasio (3):
Revert "powerpc/64s: Remove PROT_SAO support"
powerpc/64s: Disallow PROT_SAO in LPARs by default
selftests/powerpc: Update PROT_SAO test to skip ISA 3.1


Documentation/powerpc/syscall64-abi.rst | 4 +-
arch/powerpc/Kconfig | 12 ++++++
arch/powerpc/include/asm/book3s/64/pgtable.h | 8 ++--
arch/powerpc/include/asm/cputable.h | 10 ++---
arch/powerpc/include/asm/mman.h | 31 ++++++++++++--
arch/powerpc/include/asm/nohash/64/pgtable.h | 2 +
arch/powerpc/include/uapi/asm/mman.h | 2 +-
arch/powerpc/kernel/dt_cpu_ftrs.c | 2 +-
arch/powerpc/kernel/entry_64.S | 4 ++
arch/powerpc/kernel/process.c | 12 ++++--
arch/powerpc/mm/book3s64/hash_utils.c | 2 +
arch/powerpc/perf/core-book3s.c | 19 ++++++---
arch/powerpc/perf/imc-pmu.c | 4 +-
arch/powerpc/platforms/Kconfig.cputype | 2 +-
arch/powerpc/platforms/powernv/idle.c | 2 +-
drivers/video/fbdev/controlfb.c | 2 +
include/linux/mm.h | 2 +
include/trace/events/mmflags.h | 2 +
mm/ksm.c | 4 ++
tools/testing/selftests/powerpc/mm/.gitignore | 1 +
tools/testing/selftests/powerpc/mm/Makefile | 4 +-
tools/testing/selftests/powerpc/mm/prot_sao.c | 43 ++++++++++++++++++++
22 files changed, 144 insertions(+), 30 deletions(-)
create mode 100644 tools/testing/selftests/powerpc/mm/prot_sao.c
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEJFGtCPCthwEv2Y/bUevqPMjhpYAFAl9LmmkACgkQUevqPMjh
pYBw8w//RQpss9mLAe8NTVBF9bV6sMRWaTugjaRwQIIzbhu21eygaIcW9d4XFtXz
xVB83HHRoD4ND+DH/7rOq6ZCIzusbfeqhm0uRBzkrlwVZuo4Y/ZuCvW+0Bo06qRp
nkayAtpoI1wGoeWQcHUpHunZgwQTbWVNAo1yRo4cm8ux5wP88E1iEiZdNXcP/IPr
V3p0BGYpCrwuNUKE54N3JPOHRP1UILBff1agjfhfctTTVY+tUB5katgMxYh8Euv+
HVTm7U5QHnvkqhLSxdP76UP6R1DCN+E8GruXbDpR+ofJ5PLd1TgY5w3CLNjE88Pn
fnM7GigG6xB3x/DunbVOD3RRGKKg6FFJIRvJ6YrSEWkf84IUKxsQ6Y0Noeb2bLs9
04C5hN0d7GBi7JSjW0nZZvB3jZT0ptiAl3BggEhOshfaqyloogOHEk4pxyXG2/ja
fkTFDdhEgNBO/iAjGCsXaUmaSa1OimpENKNZtosPL6dYbG/FFQ2UgKz+lUR7jsD8
5uH8H1gKH1565JmRfckcplX2hkwPteVDQ2HzSQAD3KyjIMmvDPLCAynTlvxxxn/V
wPeoXpeD1DDZA7RSiV+jaVtjK6rNcjbAUUOhlngigSiXCjBvfsA4lDhovQzivsOF
E1TRnWSmCrTlV21+rtSZjbEdg/WLiBIHVu0DLGjcSw/XeaVa9g8=
=3NM9
-----END PGP SIGNATURE-----