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

Stewart Smith stewart at linux.vnet.ibm.com
Wed Apr 8 16:16:35 AEST 2015


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 :)

Merged.



More information about the Skiboot mailing list