Re: [PATCH v3 0/5] powerpc/xive: remove __GFP_NOFAIL and fix IPI error handling
From: Madhavan Srinivasan <maddy@linux.ibm.com>
Date: 2026-08-06 04:17:31
Also in:
lkml
On Mon, 27 Jul 2026 18:42:10 +0800, Gou Hao wrote:
Changes in v3: - Split into a separate xive-only series; the drm, test_hmm and cxgb4 patches are unchanged since v1 and will no longer be updated here. - Rework the first patch: instead of simply removing the unreachable NULL check, remove __GFP_NOFAIL from the IPI allocation and make all xive_ipis access paths NULL-safe (suggested by Andrew Morton [1] and Cédric Le Goater). - Add a patch to defer setting cause_ipi until IPI init succeeds, so that smp_muxed_ipi_message_pass() does not call into a half-initialized IPI path. - Add a defensive NULL guard for cause_ipi in smp_muxed_ipi_message_pass() as a safety net. [...]
Applied to powerpc/next.
[1/5] powerpc/xive: make xive IPI allocation NULL-safe
https://git.kernel.org/powerpc/c/f068fca7e8b7014014296b0e458ba9c5aa77f954
[2/5] powerpc/xive: add error return value to xive_smp_probe()
https://git.kernel.org/powerpc/c/ab5ae5dceb86614f6c9e7488f91b652000edfdc5
[3/5] powerpc/xive: propagate IPI init errors to prevent use-after-free
https://git.kernel.org/powerpc/c/411a3c016e7a95f5fa105a0587e07d0647a77727
[4/5] powerpc/xive: defer setting cause_ipi until IPI init succeeds
https://git.kernel.org/powerpc/c/37d401c9c4b89c3c193726e177493ef06c657f40
[5/5] powerpc/smp: add NULL guard for cause_ipi in smp_muxed_ipi_message_pass
https://git.kernel.org/powerpc/c/5aabc192702defb8950e7c81b05c3f4ca8ee43ec
cheers