-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi Linus,
Please pull some more powerpc fixes for 5.15. A bit of a big batch, partly because I didn't send any last week, and also just because the BPF fixes happened to land this week. cheers The following changes since commit e4e737bb5c170df6135a127739a9e6148ee3da82: Linux 5.15-rc2 (2021-09-19 17:28:22 -0700) are available in the git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git tags/powerpc-5.15-3 for you to fetch changes up to eb8257a12192f43ffd41bd90932c39dade958042: pseries/eeh: Fix the kdump kernel crash during eeh_pseries_init (2021-10-07 23:37:22 +1100) - ------------------------------------------------------------------ powerpc fixes for 5.15 #3 Fix a regression hit by the IPR SCSI driver, introduced by the recent addition of MSI domains on pseries. A big series including 8 BPF fixes, some with potential security impact and the rest various code generation issues. Fix our program check assembler entry path, which was accidentally jumping into a gas macro and generating strange stack frames, which could confuse find_bug(). A couple of fixes, and related changes, to fix corner cases in our machine check handling. Fix our DMA IOMMU ops, which were not always returning the optimal DMA mask, leading to at least one device falling back to 32-bit DMA when it shouldn't. A fix for KUAP handling on 32-bit Book3S. Fix crashes seen when kdumping on some pseries systems. Thanks to: Naveen N. Rao, Nicholas Piggin, Alexey Kardashevskiy, Cédric Le Goater, Christophe Leroy, Mahesh Salgaonkar, Abdul Haleem, Christoph Hellwig, Johan Almbladh, Stan Johnson. - ------------------------------------------------------------------ Alexey Kardashevskiy (1): powerpc/iommu: Report the correct most efficient DMA mask for PCI devices Christophe Leroy (1): powerpc/32s: Fix kuap_kernel_restore() Cédric Le Goater (1): powerpc/pseries/msi: Add an empty irq_write_msi_msg() handler Mahesh Salgaonkar (1): pseries/eeh: Fix the kdump kernel crash during eeh_pseries_init Naveen N. Rao (10): powerpc/lib: Add helper to check if offset is within conditional branch range powerpc/bpf: Validate branch ranges powerpc/bpf: Fix BPF_MOD when imm == 1 powerpc/bpf: Fix BPF_SUB when imm == 0x80000000 powerpc/security: Add a helper to query stf_barrier type powerpc/bpf: Emit stf barrier instruction sequences for BPF_NOSPEC powerpc/bpf ppc32: Fix ALU32 BPF_ARSH operation powerpc/bpf ppc32: Fix JMP32_JSET_K powerpc/bpf ppc32: Do not emit zero extend instruction for 64-bit BPF_END powerpc/bpf ppc32: Fix BPF_SUB when imm == 0x80000000 Nicholas Piggin (5): powerpc/64s: fix program check interrupt emergency stack path powerpc/traps: do not enable irqs in _exception powerpc/64: warn if local irqs are enabled in NMI or hardirq context powerpc/64/interrupt: Reconcile soft-mask state in NMI and fix false BUG powerpc/64s: Fix unrecoverable MCE calling async handler from NMI arch/powerpc/include/asm/book3s/32/kup.h | 8 ++ arch/powerpc/include/asm/code-patching.h | 1 + arch/powerpc/include/asm/interrupt.h | 18 ++-- arch/powerpc/include/asm/security_features.h | 5 + arch/powerpc/kernel/dma-iommu.c | 9 ++ arch/powerpc/kernel/exceptions-64s.S | 25 +++-- arch/powerpc/kernel/irq.c | 6 ++ arch/powerpc/kernel/security.c | 5 + arch/powerpc/kernel/traps.c | 43 +++++---- arch/powerpc/lib/code-patching.c | 7 +- arch/powerpc/net/bpf_jit.h | 33 ++++--- arch/powerpc/net/bpf_jit64.h | 8 +- arch/powerpc/net/bpf_jit_comp.c | 6 +- arch/powerpc/net/bpf_jit_comp32.c | 16 ++-- arch/powerpc/net/bpf_jit_comp64.c | 100 ++++++++++++++++---- arch/powerpc/platforms/pseries/eeh_pseries.c | 4 + arch/powerpc/platforms/pseries/msi.c | 15 +++ 17 files changed, 234 insertions(+), 75 deletions(-) -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEJFGtCPCthwEv2Y/bUevqPMjhpYAFAmFi26IACgkQUevqPMjh pYCMSxAAh40nmRryws4rJ6R6UQlp5eKKAitlFo5y/P3h/qNzu5kelwkS93tog5CA 9i/uznMlyu3jpauHiDaeZCU0WYBqs3AL3qE11pHeG4HkGCCQ/D5eX3KxFRYuqbWh mfGvgRGxr4Rew3ACgQ/eUGwU9DkzmAr49CX9/5MR8chpNzeERpPMcq4jolEjkfJl Jf74WoIhHkuDMXFWVC8Aj6AKuQM+Ia9bXhSAFUIk2yjKRdADFgnR8stjzebW8B5v rSJ9WWNFt97UcgpTcvE+0gEuXFdD3cR16Ov6ObdZjsT1Y3ubC9jTZXy/pO8+YZbq jjGjNfxp7eWr6umgd2bhO5RKDwu/PbKvhM3l8OPQxOkoGK4L8trPm2IGEFjVyV/1 /vhMa439vbPtT7eItmXEuEqgouUCzwA11Du7KhZu+IkdWyJCXsRzkExTI+rYGAYU nokOmE6A9VI4sgqLXAOxVSWDQSURhBfXx5cGeu9sdWNZ1V/F1TCi9kslE4eSlJie NjT5X1rEnM4HDMBKuiSkmu2GzcCAP5IktrkzAmWt1CbFWtLqdOExTmQGR/3DNMwp SniCYTgAw9GdGz46Zkiprr1X8fEqyrGBY6kjrAJ6Yior2Oy5GxU23w7UmE5iddFx jXsVMOh6dWIvJlhkeFEjLed3NezkpQuKehM0inOcAiPcCpnZhYc= =hYTj -----END PGP SIGNATURE-----