[PATCH] powerpc/eeh: Delay probing EEH device during hotplug

Gavin Shan gwshan at linux.vnet.ibm.com
Fri May 1 11:28:40 AEST 2015


On Fri, May 01, 2015 at 09:50:57AM +1000, Michael Ellerman wrote:
>On Fri, 2015-05-01 at 09:22 +1000, Gavin Shan wrote:
>> Commit 1c509148b ("powerpc/eeh: Do probe on pci_dn") probes EEH
>> devices in early stage, which is reasonable to pSeries platform.
>> However, it's wrong for PowerNV platform because the PE# isn't
>> determined until the resources (IO and MMIO) are assigned to
>> PE in hotplug case. So we have to delay probing EEH devices
>> for PowerNV platform until the PE# is assigned.
>> 
>> Fixes: 1c509148b ("powerpc/eeh: Do probe on pci_dn")
>
>I don't have that SHA.
>
>I've have a commit with the same subject which is ff57b454ddb9.
>
>Is that the same thing?
>

Yes, they're same thing.

>I also have 89a51df5ab1d, which Fixes that commit (ff57..).
>

There seems something wrong at local because "git show 1c509148b" leads
me to the patch as well. However, I believe ff57b454ddb9 is the correct
one. I'll send v2 to fix it up.

---

gwshan at gwshan:~/sandbox/linux$ git show 1c509148b
1 commit 1c509148bd6b5199dc1d97e146eda496f9f22a06
2 Author: Gavin Shan <gwshan at linux.vnet.ibm.com>
3 Date:   Tue Mar 17 10:49:45 2015 +1100
4 
5     powerpc/eeh: Do probe on pci_dn

gwshan at gwshan:~/sandbox/linux$ git show ff57b454ddb9
      1 commit ff57b454ddb938d98d48d8df356357000fedc88c
      2 Author: Gavin Shan <gwshan at linux.vnet.ibm.com>
      3 Date:   Tue Mar 17 16:15:06 2015 +1100
      4 
      5     powerpc/eeh: Do probe on pci_dn

Thanks,
Gavin

>cheers
>
>



More information about the Linuxppc-dev mailing list