Re: [PATCH] powerpc/eeh: Fix PE location code

2016-01-20 Thread Stewart Smith
Sam Mendoza-Jonas writes: > On Wed, Jan 20, 2016 at 02:56:13PM +1100, Russell Currey wrote: >> On Wed, 2015-12-02 at 16:25 +1100, Gavin Shan wrote: >> > In eeh_pe_loc_get(), the PE location code is retrieved from the >> > "ibm,loc-code" property of the device node for the bridge of the >> > PE's p

Re: [PATCH] powerpc/eeh: Fix PE location code

2016-01-20 Thread Sam Mendoza-Jonas
On Wed, Jan 20, 2016 at 02:56:13PM +1100, Russell Currey wrote: > On Wed, 2015-12-02 at 16:25 +1100, Gavin Shan wrote: > > In eeh_pe_loc_get(), the PE location code is retrieved from the > > "ibm,loc-code" property of the device node for the bridge of the > > PE's primary bus. It's not correct beca

Re: [PATCH] powerpc/eeh: Fix PE location code

2016-01-19 Thread Russell Currey
On Wed, 2015-12-02 at 16:25 +1100, Gavin Shan wrote: > In eeh_pe_loc_get(), the PE location code is retrieved from the > "ibm,loc-code" property of the device node for the bridge of the > PE's primary bus. It's not correct because the property indicates > the parent PE's location code. > > This re

Re: [PATCH] powerpc/eeh: Fix PE location code

2016-01-19 Thread Joel Stanley
Hello Gavin, On Wed, Dec 2, 2015 at 3:55 PM, Gavin Shan wrote: > In eeh_pe_loc_get(), the PE location code is retrieved from the > "ibm,loc-code" property of the device node for the bridge of the > PE's primary bus. It's not correct because the property indicates > the parent PE's location code.

[PATCH] powerpc/eeh: Fix PE location code

2015-12-01 Thread Gavin Shan
In eeh_pe_loc_get(), the PE location code is retrieved from the "ibm,loc-code" property of the device node for the bridge of the PE's primary bus. It's not correct because the property indicates the parent PE's location code. This reads the correct PE location code from "ibm,io-base-loc-code" or "