[Skiboot] [PATCH 2/2] opal-prd: only run on supported systems

Stewart Smith stewart at linux.vnet.ibm.com
Mon Oct 31 11:46:57 AEDT 2016


Rafael Fonseca <rdossant at redhat.com> writes:
> opal-prd is supposed to run only on ppc64le hosts with support for diagnostics.
> The presence of the following device-tree node will indicate a system that
> supports PRD:
>
> /sys/firmware/devicetree/base/ibm,opal/diagnostics
>
> Signed-off-by: Rafael Fonseca <rdossant at redhat.com>
> ---
>  external/opal-prd/opal-prd.service | 3 +++
>  1 file changed, 3 insertions(+)

Thanks! Merged to master as of a1c7f3e.

I dropped the ppc64le archetecture requirement as everything *should*
run on ppc64 (Big Endian) as well, even if literally nobody supports
that in a shipping product :)

I also added a note to the documentation that some systems look for this
path, so that's *hopefully* a hint enough to us that we should never
change the path to that node unless we're on purpose breaking old
opal-prd apps.

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list