Skip to contentSkip to conversation

Please pull powerpc/linux.git powerpc-7.4-1 tag

GIT PULL Applied Madhavan Srinivasan 6 participants 7 messages Oct 21 – Oct 26 PowerPC

lore
Share & tools
lore

Madhavan Srinivasan

author maintainer
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi Linus,

Please pull powerpc updates for 7.4:

Notable out of area changes:
  Documentation/ABI/testing/ppc-memtrace        # cb3502d2e57a update PKS documentation and MAINTAINERS entry    # 0499ab96527a

Thanks

The following changes since commit 93f51579e7df248780214094418f205253383cc5:

  Linux 7.3-rc4 (2026-09-20 13:48:15 -0700)

are available in the git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git tags/powerpc-7.4-1

for you to fetch changes up to 129f5d395fd66b6587a5ac156b232cca060d6512:

  powerpc/numa: Support coregroup on PowerNV (2026-10-12 11:24:19 +0530)

- ------------------------------------------------------------------ powerpc updates for 7.4

 - powerpc/numa: Support coregroup on PowerNV

 - powerpc/irq: Move __softirq_pending out of irq_stat

 - powerpc/512x: Remove pdm360ng platform setup in favor of mpc512x_generic

 - powerpc/ps3: Simplify control flow in ps3_{virq,irq_plug}_setup()

 - KVM: PPC: Book3S HV: Add preempt_disable() around virtual-mode HPTE bit-lock users

 - powerpc/syscall: Avoid atomic test_and_clear_thread_flag on fast path

 - pseries/plpks cleanup and fixes

 - Misc fixes and cleanup

Thanks to:
Abhishek Dubey, Amit Machhiwal, Anushree Mathur, Bui Nguyen Nhu Quynh, Christophe Leroy (CS GROUP), Dmitry Torokhov, Gaurav Batra, Gautam Menghani, Geert Uytterhoeven, Greg Joyce, Hari Bathini, Harsh Prateek Bora, Karl Mehltretter, Link Mauve, Michal Suchánek, Mukesh Kumar Chaurasiya (IBM), Nayna Jain, Ritesh Harjani (IBM), R Nageswara Sastry, Saket Kumar Bhaskar, Samir Mulani, Shivang Upadhyay, Shrikanth Hegde, Sourabh Jain, Srikar Dronamraju, Srish Srinivasan, Thorsten Blum, Vaibhav Jain (IBM), Venkat Rao Bagalkote, Yeswanth Krishna Tellakula,

- ------------------------------------------------------------------ Abhishek Dubey (5):
      powerpc64/bpf: fix compare instruction emitted for tailcall powerpc64/bpf: fix percpu private stack leak on JIT failure powerpc/bpf: fix buffer overflow in JIT for large BPF programs powerpc/bpf: fix alignment of long branch trampoline address powerpc/bpf: Move out dummy_tramp_addr after Long branch stub

Amit Machhiwal (3):
      KVM: PPC: Book3S HV: Add SRCU protection for virtual-mode HPT hcalls
      KVM: PPC: Book3S HV: Add preempt_disable() around virtual-mode HPTE bit-lock users
      KVM: PPC: Fix get_d_signext() 12-bit displacement for paired-single D-form

Bui Nguyen Nhu Quynh (1):
      KVM: PPC: Fix callback check in kvmppc_gsm_refresh_info

Dmitry Torokhov (3):
      powerpc/dts: mpc5121: Move GPIO controller properties to SoC dtsi powerpc/dts: pdm360ng: Convert ADS7845 touchscreen to DT bindings powerpc/512x: Remove pdm360ng platform setup in favor of mpc512x_generic

Gaurav Batra (1):
      powerpc/pseries/iommu: Add TCEs for 16GB pages when RAM is pre-mapped

Gautam Menghani (2):
      KVM: PPC: Book3S HV: Add missing mappings for tracing exits
      KVM: PPC: Book3S HV: Free the queue pages in error path

Karl Mehltretter (1):
      docs: ABI: Fix powerpc memtrace Kconfig symbol

Link Mauve (2):
      powerpc/sstep: Consistently use one define to check arch bit width powerpc/sstep: Don’t define variables we won’t be using

Mukesh Kumar Chaurasiya (IBM) (3):
      powerpc: fix NMI exit ordering: restore soft masks after irqentry_nmi_exit() powerpc/kasan: fix r2 corruption in mem*() on GENERIC_ENTRY with old compilers powerpc/syscall: Avoid atomic test_and_clear_thread_flag on fast path

Shivang Upadhyay (1):
      powerpc/fadump: collect dump when CPU_STATE_DATA is less than reserved

Shrikanth Hegde (4):
      powerpc/irq: Move __softirq_pending out of irq_stat powerpc/irq: Make irqstats array based powerpc/irq: Suppress unlikely interrupt stats by default powerpc/ftrace: Don't restore r13 during ftrace_regs_caller

Srikar Dronamraju (3):
      powerpc/numa: Simplify find_primary_domain_index powerpc/numa: Allow cpu_to_coregroup_id without PPC_SPLPAR powerpc/numa: Support coregroup on PowerNV

Srish Srinivasan (12):
      pseries/plpks: fix error handling in plpks_read_var() pseries/plpks: fix error code for wrapping key reads pseries/plpks: validate input to plpks_signed_update_var() pseries/plpks: clear sensitive PLPKS buffers pseries/plpks: clear sensitive buffers in wrapping operations pseries/plpks: clear signed update authentication buffer pseries/plpks: clear SED key data after use pseries/plpks: fix self-reference in plpks_var initializer pseries/plpks: hide wrapping_features when unsupported pseries/plpks: make narrowing conversions explicit pseries/plpks: rename the default wrapping key macro pseries/plpks: update PKS documentation and MAINTAINERS entry

Thorsten Blum (2):
      powerpc/ps3: Simplify control flow in ps3_{virq,irq_plug}_setup() powerpc/sysfs: Remove redundant wait time clamps

Venkat Rao Bagalkote (1):
      powerpc/interrupt: Use early_radix_enabled() in NMI real-mode guard

 Documentation/ABI/testing/ppc-memtrace         |   2 +- Documentation/arch/powerpc/papr_hcalls.rst     |  16 +-- MAINTAINERS                                    |   2 +- arch/powerpc/boot/dts/ac14xx.dts               |  13 --

 arch/powerpc/boot/dts/mpc5121.dtsi             |   6 +-
 arch/powerpc/boot/dts/pdm360ng.dts             |   8 +-
 arch/powerpc/include/asm/hardirq.h             |  31 +++--

 arch/powerpc/include/asm/interrupt.h           |   7 +- arch/powerpc/include/asm/kasan.h               |  15 --- arch/powerpc/include/asm/string.h              |  21 +--- arch/powerpc/include/asm/topology.h            |  15 ++- arch/powerpc/kernel/cputable.c                 |  14 +-- arch/powerpc/kernel/dbell.c                    |   2 +- arch/powerpc/kernel/irq.c                      | 131 ++++++++++---------- arch/powerpc/kernel/prom_init.c                |  10 +- arch/powerpc/kernel/prom_init_check.sh         |  15 +-- arch/powerpc/kernel/syscall.c                  |   6 +- arch/powerpc/kernel/sysfs.c                    |   4 +- arch/powerpc/kernel/time.c                     |   6 +- arch/powerpc/kernel/trace/ftrace_entry.S       |   6 + arch/powerpc/kernel/traps.c                    |  11 +- arch/powerpc/kernel/watchdog.c                 |   2 +- arch/powerpc/kvm/book3s_hv.c                   |  76 ++++++------ arch/powerpc/kvm/book3s_paired_singles.c       |   7 +- arch/powerpc/kvm/book3s_xive.c                 |   4 +- arch/powerpc/kvm/guest-state-buffer.c          |   2 +- arch/powerpc/kvm/trace_book3s.h                |   4 +- arch/powerpc/lib/copy_32.S                     |  10 +- arch/powerpc/lib/mem_64.S                      |   7 +- arch/powerpc/lib/memcpy_64.S                   |   4 +- arch/powerpc/lib/sstep.c                       | 111 +++++++++-------- arch/powerpc/mm/numa.c                         |  85 +++++++++---- arch/powerpc/net/bpf_jit.h                     |  20 ++- arch/powerpc/net/bpf_jit_comp.c                | 100 +++++++++++---- arch/powerpc/net/bpf_jit_comp32.c              |   7 +- arch/powerpc/net/bpf_jit_comp64.c              |  15 +-- arch/powerpc/platforms/512x/Kconfig            |   3 +- arch/powerpc/platforms/512x/Makefile           |   1 - arch/powerpc/platforms/512x/mpc512x_generic.c  |   1 +

 arch/powerpc/platforms/512x/pdm360ng.c         | 126 -------------------
 arch/powerpc/platforms/ps3/interrupt.c         |  22 +---
 arch/powerpc/platforms/pseries/iommu.c         |  67 ++++++----

 arch/powerpc/platforms/pseries/plpks-sysfs.c   |  20 ++- arch/powerpc/platforms/pseries/plpks.c         |  51 ++++---- arch/powerpc/platforms/pseries/plpks_sed_ops.c |  12 +- arch/powerpc/platforms/pseries/rtas-fadump.c   |  18 ++-

 46 files changed, 544 insertions(+), 572 deletions(-)

 delete mode 100644 arch/powerpc/platforms/512x/pdm360ng.c -----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEqX2DNAOgU8sBX3pRpnEsdPSHZJQFAmrYQ6wACgkQpnEsdPSH ZJTPDw//QGC0T2n98V0QtOQDcRKCHWKORfXtAcuzK9c50tR8fIpqW9/Xox8DAdG6 AJtSWqGDnTahpQg4O2bjq3NgE5yYW4ghmAWVqCwL8P/j97YM436123EUTEw6M5ai kk1rjswxMltyGAVlNrVbYxJ5edCmqUE2oYKxioy7UAgKtO9gSGgsBgoogCB/0tq0 Z1BqmTmPrlkcVkY0hTXgqF+Q0JELVR0IZ5Jivk++jUWVBOLvMSHVYMWFKR5l5K5D vk+ffkzS69xVtOXQcAb6smpaTpb4PSG0QSWe90vXNOAkQCFRg3P+o6bgO57C0ZC8 AETdvsBjMl3cMq/bhZGREqareSX+kI/3gP0lto8lQ1DDpbHePwrYcrOqOCk/TPnZ rum6AXhHwpLZmMsIqk1K3Q9px1ghcnyjnl7GVAwfB4OrKPa8IzL4+X2b2X/EBlTt tA5SKrL4z8CNkqI7ibFYAEB8UliYkG3kD3qvLo+W+rNFzCcsRI/O4VEu2keetQUF lRE+HwUEZOEJgD5MhGSziJkq/IqErvyEIUINvTCuT6aEylGL0JSRLpZ0Jcse/8LG wiJP1blocWHLHzSr2ZfGbhmSyEzKgLYV8a/QhmZV/FZCkWMN7OL2JvwYAPpNC/rp C6RZLQwS06xAPZJOzKCfsBDyHPByQUKO/XSz5BqVlU9a3rF1ZZY= =9+Nb
-----END PGP SIGNATURE-----

merge bot Merged
#1 lore raw
The pull request you sent on Wed, 21 Oct 2026 10:19:07 +0530:

The pull request you sent on Wed, 21 Oct 2026 10:19:07 +0530:

Quoted 1 line

https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git tags/powerpc-7.4-1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/bb2235894a8a604c08b3f93f4e1082b9df03265a

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html
#2 lore raw

PATCH 1/1 powerpc/irq: Fix build with CONFIG_PROC_FS=n

In reply to Madhavan Srinivasan

Commit fbb22ceaaf8f ("powerpc/irq: Make irqstats array based") made arch_show_interrupts() call irq_proc_emit_counts(). That function lives in kernel/irq/proc.c, which is only built with CONFIG_PROC_FS, so kernels without procfs no longer link:

powerpc64-linux-ld: arch/powerpc/kernel/irq.o: in function `arch_show_interrupts':
arch/powerpc/kernel/irq.c:134:(.text+0x4b8c): undefined reference to `irq_proc_emit_counts'

arch_show_interrupts() is only called from irq_seq_show(), which is in kernel/irq/proc.c as well, so build it only with CONFIG_PROC_FS, as x86 already does.

Fixes fbb22ceaaf8f ("powerpc/irq: Make irqstats array based")

---

fbb22ceaaf8f came in with bb2235894a8a ("Merge tag 'powerpc-7.4-1' of
git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux"), so mainline is affected now. Build-tested with the ppc64 randconfig from the report, a ppc32 tinyconfig with LD_DEAD_CODE_DATA_ELIMINATION disabled (it hides the error otherwise) and ppc64_defconfig.

 arch/powerpc/kernel/irq.c | 2 ++
 1 file changed, 2 insertions(+)
arch/powerpc/kernel/irq.c +2 -0
index bce546931a13b..55bcf0326f5a9 100644
@@ -122,6 +122,7 @@ void inc_irq_stat_and_enable(enum irq_stat_counts which)
 	set_bit(which, irq_stat_count_show);
 }
 
+#ifdef CONFIG_PROC_FS
 int arch_show_interrupts(struct seq_file *p, int prec)
 {
 	const struct irq_stat_info *info = irq_stat_info;
@@ -155,6 +156,7 @@ int arch_show_interrupts(struct seq_file *p, int prec)
 #endif
 	return 0;
 }
+#endif /* CONFIG_PROC_FS */
 
 static int __init irq_init_stats(void)
 {
Signature · 1 line
2.53.0
#3 lore raw

Re: [PATCH] powerpc/irq: Fix build with CONFIG_PROC_FS=n

Quoted 4 lines · Sasha Levin

arch_show_interrupts() is only called from irq_seq_show(), which is in kernel/irq/proc.c as well, so build it only with CONFIG_PROC_FS, as x86 already does.

Thanks, applied.

Linus

author maintainer
#4 lore raw

Re: [PATCH] powerpc/irq: Fix build with CONFIG_PROC_FS=n

Quoted 7 lines · Linus Torvalds
Quoted 3 lines · Sasha Levin

arch_show_interrupts() is only called from irq_seq_show(), which is in kernel/irq/proc.c as well, so build it only with CONFIG_PROC_FS, as x86 already does.

Thanks, applied.

Linus

Sorry missed this. My bad.
Thanks Linus.

Maddy

#5 lore raw

Re: [PATCH] powerpc/irq: Fix build with CONFIG_PROC_FS=n

In reply to Sasha Levin
Quoted 8 lines · Sasha Levin

Commit fbb22ceaaf8f ("powerpc/irq: Make irqstats array based") made arch_show_interrupts() call irq_proc_emit_counts(). That function lives in kernel/irq/proc.c, which is only built with CONFIG_PROC_FS, so kernels without procfs no longer link:

powerpc64-linux-ld: arch/powerpc/kernel/irq.o: in function `arch_show_interrupts':
arch/powerpc/kernel/irq.c:134:(.text+0x4b8c): undefined reference to `irq_proc_emit_counts'

Quoted 7 lines

arch_show_interrupts() is only called from irq_seq_show(), which is in kernel/irq/proc.c as well, so build it only with CONFIG_PROC_FS, as x86 already does.

Fixes fbb22ceaaf8f ("powerpc/irq: Make irqstats array based")

Looks like it still slipped through.

Quoted 2 lines

---

Change looks good to me. Thanks Sasha for fixing it.

-ritesh

#6 lore raw

Re: [PATCH] powerpc/irq: Fix build with CONFIG_PROC_FS=n

Quoted 14 lines · Ritesh Harjani (IBM)
Quoted 12 lines · Sasha Levin

Commit fbb22ceaaf8f ("powerpc/irq: Make irqstats array based") made arch_show_interrupts() call irq_proc_emit_counts(). That function lives in kernel/irq/proc.c, which is only built with CONFIG_PROC_FS, so kernels without procfs no longer link:

powerpc64-linux-ld: arch/powerpc/kernel/irq.o: in function `arch_show_interrupts':

   arch/powerpc/kernel/irq.c:134:(.text+0x4b8c): undefined reference to `irq_proc_emit_counts'

arch_show_interrupts() is only called from irq_seq_show(), which is in kernel/irq/proc.c as well, so build it only with CONFIG_PROC_FS, as x86 already does.

Quoted 6 lines
Quoted 3 lines
Fixes fbb22ceaaf8f ("powerpc/irq: Make irqstats array based")

Looks like it still slipped through.

well, fix was posted a day after the report but was never picked up.

See the fix posted here.
https://lore.kernel.org/all/[email protected]/

Diff is same. Since it made into linus tree already, all is well.