From: Gavin Shan Date: Thu, 20 Jun 2013 05:20:53 +0000 (+0800) Subject: powerpc/eeh: Make eeh_phb_pe_get() public X-Git-Tag: v3.11-rc1~94^2~97 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ff67433cef319a02cb64dbe3f710a8566ebfcee;p=pandora-kernel.git powerpc/eeh: Make eeh_phb_pe_get() public One of the possible cases indicated by P7IOC interrupt is fenced PHB. For that case, we need fetch the PE corresponding to the PHB and disable the PHB and all subordinate PCI buses/devices, recover from the fenced state and eventually enable the whole PHB. We need one function to fetch the PHB PE outside eeh_pe.c and the patch is going to make eeh_phb_pe_get() public for that purpose. Signed-off-by: Gavin Shan Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed