[GIT PULL] Please pull powerpc/linux.git powerpc-5.13-3 tag

From: Michael Ellerman
Date: Sat May 15 2021 - 19:52:31 EST


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

Hi Linus,

Please pull some more powerpc fixes for 5.13:

The following changes since commit 6efb943b8616ec53a5e444193dccf1af9ad627b5:

Linux 5.13-rc1 (2021-05-09 14:17:44 -0700)

are available in the git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git tags/powerpc-5.13-3

for you to fetch changes up to c6ac667b07996929835b512de0e9a988977e6abc:

powerpc/64e/interrupt: Fix nvgprs being clobbered (2021-05-14 17:28:54 +1000)

- ------------------------------------------------------------------
powerpc fixes for 5.13 #3

- Fix a regression in the conversion of the 64-bit BookE interrupt entry to C.

- Fix KVM hosts running with the hash MMU since the recent KVM gfn changes.

- Fix a deadlock in our paravirt spinlocks when hcall tracing is enabled.

- Several fixes for oopses in our runtime code patching for security mitigations.

- A couple of minor fixes for the recent conversion of 32-bit interrupt entry/exit to C.

- Fix __get_user() causing spurious crashes in sigreturn due to a bad inline asm
constraint, spotted with GCC 11.

- A fix for the way we track IRQ masking state vs NMI interrupts when using the new scv
system call entry path.

- A couple more minor fixes.

Thanks to: Cédric Le Goater, Christian Zigotzky, Christophe Leroy, Naveen N. Rao, Nicholas
Piggin Paul Menzel, Sean Christopherson.

- ------------------------------------------------------------------
Christophe Leroy (5):
powerpc/interrupts: Fix kuep_unlock() call
powerpc/syscall: Calling kuap_save_and_lock() is wrong
powerpc/uaccess: Fix __get_user() with CONFIG_CC_HAS_ASM_GOTO_OUTPUT
powerpc/signal: Fix possible build failure with unsafe_copy_fpr_{to/from}_user
powerpc/legacy_serial: Fix UBSAN: array-index-out-of-bounds

Michael Ellerman (5):
KVM: PPC: Book3S HV: Fix kvm_unmap_gfn_range_hv() for Hash MMU
powerpc/64s: Fix crashes when toggling stf barrier
powerpc/64s: Fix crashes when toggling entry flush barrier
powerpc/64s: Fix entry flush patching w/strict RWX & hash
powerpc/64s: Fix stf mitigation patching w/strict RWX & hash

Nicholas Piggin (6):
powerpc/pseries: Fix hcall tracing recursion in pv queued spinlocks
powerpc/pseries: Don't trace hcall tracing wrapper
powerpc/pseries: use notrace hcall variant for H_CEDE idle
powerpc/pseries: warn if recursing into the hcall tracing code
powerpc/64s: Make NMI record implicitly soft-masked code as irqs disabled
powerpc/64e/interrupt: Fix nvgprs being clobbered


arch/powerpc/include/asm/hvcall.h | 3 +
arch/powerpc/include/asm/interrupt.h | 9 +-
arch/powerpc/include/asm/paravirt.h | 22 +++-
arch/powerpc/include/asm/plpar_wrappers.h | 6 +-
arch/powerpc/include/asm/uaccess.h | 2 +-
arch/powerpc/kernel/exceptions-64e.S | 38 ++++---
arch/powerpc/kernel/interrupt.c | 4 +-
arch/powerpc/kernel/legacy_serial.c | 7 +-
arch/powerpc/kernel/signal.h | 4 +-
arch/powerpc/kvm/book3s_64_mmu_hv.c | 2 +-
arch/powerpc/lib/feature-fixups.c | 114 +++++++++++++++-----
arch/powerpc/platforms/pseries/hvCall.S | 10 ++
arch/powerpc/platforms/pseries/lpar.c | 29 +++--
13 files changed, 175 insertions(+), 75 deletions(-)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEJFGtCPCthwEv2Y/bUevqPMjhpYAFAmCgWe8ACgkQUevqPMjh
pYDZqg//RzF68ywTKG51T3JmOjVfvkptpEWZOQ52LCwpMQYvMQc+CSnBjEFoNyuS
bIA0xlg0/1xBXNMtPVgNVk7WgDa/yvahVlX3rIuWt4Uhqv6u6Z1fw7aYaGIDH3b2
akRvSvVWYyv87LlMEtxDOHncH1u8Q6E3YW4JM6eaQwjD2XqqeiTYKXUaZATTmepc
GruEdNK5239LkmxMnyFvxCDDyHb8YyCZORHp/l4U+l005/dkM7ZyzHSA1LMekVSB
LrW5q/KjdQW3EC2WDLijSCcshWujOf2MGvaZkmB/TvPtqxsOf3tLZAeEfaObbUrX
6mqe93CtUk1CRNECkqCxF/sO5wq2SJmKx1XTfVR2CvDDg1ZmisesiRHtYk6Dl2Bw
84+5IKwthgTauib3YKyoqXUpfIL8j8qg3M/9WVI6LG+ujPoSD0whPHdqTymqFfwA
ONDT4cSDvBMAtw63cVnWEDgqdrAwTFAr0i+7loWkKeKJv9mxxfGX7MgiglQobDys
xGAOjLnetsD4+JWJMqqrm0ilAKDb+m4stvU7bo/gpWcs6kvxDt2JCOEbJCoqujzQ
B0Tl9H6cyoxhfEnZ7AKzQrGdFg+zUNQ0w5AWslriE5OZcq6vKlgYyVQFeX7t+6vb
Me/YIEBbhPefVZdDD4KZp49PDw+5DgqVJgvMpsrqaRoorZEHni0=
=VnK3
-----END PGP SIGNATURE-----