[PATCH] pseries/eeh: fix the kdump kernel crash during eeh_pseries_init

Michael Ellerman patch-notifications at ellerman.id.au
Sat Oct 9 00:23:04 AEDT 2021


On Mon, 20 Sep 2021 22:03:26 +0530, Mahesh Salgaonkar wrote:
> On pseries lpar when an empty slot is assigned to partition OR on single
> lpar mode, kdump kernel crashes during issuing PHB reset. In the kdump
> scenario, we traverse all PHBs and issue reset using the pe_config_addr of
> first child device present under each PHB. However the code assumes that
> none of the PHB slot can be empty and uses list_first_entry() to get first
> child device under PHB. Since list_first_entry() expect list to be not
> empty, it returns invalid pci_dn entry and ends up accessing NULL phb
> pointer under pci_dn->phb causing kdump kernel crash.
> 
> [...]

Applied to powerpc/fixes.

[1/1] pseries/eeh: fix the kdump kernel crash during eeh_pseries_init
      https://git.kernel.org/powerpc/c/eb8257a12192f43ffd41bd90932c39dade958042

cheers


More information about the Linuxppc-dev mailing list