[Skiboot] [PATCH] hw/slw.c: Offline code still uses p8 bits

Balbir Singh bsingharora at gmail.com
Mon Sep 18 08:03:39 AEST 2017


On Fri, Sep 15, 2017 at 6:17 PM, Stewart Smith
<stewart at linux.vnet.ibm.com> wrote:
> Vaidyanathan Srinivasan <svaidy at linux.vnet.ibm.com> writes:
>> * Balbir Singh <bsingharora at gmail.com> [2017-09-15 14:42:39]:
>>
>>> I'm seeing an infinite loop while hot unplugging
>>> a CPU. This is a workaround till we do the right
>>> things for p9. May be a candidate for backporting
>>>
>>> The messages I see in an infinite loop are:
>>>
>>> [  740.250192896,3] LIBPORE: Core ID = 20 is not within valid range of [0;15]
>>> [  740.250230176,3] SLW: Failed to set spr for CPU 51
>>>
>>> When trying to hotunplug core id 20. For now the
>>> patch just skips calling p8_pore* on p9 machines.
>>
>> STOP-API support in OPAL is provided by this patch set.
>>
>> https://lists.ozlabs.org/pipermail/skiboot/2017-August/008700.html
>> [Skiboot] [PATCH v3 0/7] Enable stop4 idle state
>>
>> We had a change to push to CCAN and that is resolved now.
>
> Cool. I'll take Balbir's patch for now, as at least it closes a window
> where somebody could have an issue.
>
> I'll revert this patch when looking at the stop4 enable series. For
> anyone working the weekend though, they'll have one less surprise.
>
> Merged to master as of 0a2710381f34e6b4c03cff1fa76bc1b74f280ecd
>

Thanks,

I'll try and give the series a review. Gautham pointed to some kernel
fixes as well. I'll see if I can get a combination going, but ideally both
sides should be robust.

Balbir Singh


More information about the Skiboot mailing list