[Skiboot] [PATCH] nx: use gcid + 1 for CI

Dan Streetman ddstreet at ieee.org
Wed Apr 8 22:48:57 AEST 2015


On Wed, Apr 8, 2015 at 2:16 AM, Stewart Smith
<stewart at linux.vnet.ibm.com> wrote:
> Dan Streetman <ddstreet at ieee.org> writes:
>> In commit e077676 the nx CI's were changed to just use the chip id.
>> That works fine, except CI 0 is reserved, so if there is a chip id
>> of 0, the CI is set to 0, which is invalid.  This doesn't currently
>> affect the kernel driver, as it just uses the reserved CI of 0 for
>> all requests, as CI == 0 tells the hw to auto-select which CI to
>> send the request to.  However, valid CI's should be assigned; we can
>> use the chip id + 1 to ensure a valid CI.
>
> I knew that tagging -rc3 would almost instantly get me a patch :)

It's irresistible! ;-)

>
> Merged.
>

thanks.


More information about the Skiboot mailing list