Thread (2 messages) flat view 2 messages, 2 authors, 2021-10-08

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

From: Michael Ellerman <hidden>
Date: 2021-10-08 13:25:42

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help