[Skiboot] [PATCH] STOP API: API conditionally supports 255 SCOM restore entries for each quad.

Stewart Smith stewart at linux.vnet.ibm.com
Tue Jul 17 16:15:52 AEST 2018

Akshay Adiga <akshay.adiga at linux.vnet.ibm.com> writes:
> From: Prem Shanker Jha <premjha2 at in.ibm.com>
> This is first of the series of commits intended for incorporating
> new mechanisms for SCOM restore. STOP API looks for a specific
> version in QPMR header of HOMER. If version is greater than 2, it allows
>  - 255 SCOM Restore entries per quad
>  - doesn't divide quad restore region in to L2, L3 and EQ sub-region
> If version is less than or equal to 2, API provideis legacy
> functionality.
> Key_Cronus_Test=PM_REGRESS

This patch appears to break things, we get these new OPAL errors:

[   81.249303719,3] IMC: IMC event_mask stopapi ret = 12, scoms = 20010aa8 (core id = 0)
[   81.249405452,3] IMC: SCOM entries are full
[  106.228080041,3] IMC: IMC event_mask stopapi ret = 12, scoms = 20010aa8 (core id = 0)
[  106.228183131,3] IMC: SCOM entries are full

Is this a bug with the STOP API changes or have we just been silently
dropping this and having bugs in IMC?

Stewart Smith
OPAL Architect, IBM.

More information about the Skiboot mailing list