Re: [PATCH v3 0/5] powerpc/xive: remove __GFP_NOFAIL and fix IPI error handling

Madhavan Srinivasan <[email protected]>
Newsgroups gmane.linux.ports.ppc.embedded
Message-ID <178598971864.942627.7914448330996687839.b4-ty__13474.5240605966$1785989862$gmane$org@linux.ibm.com>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.