<tt><font size=2><i>> Does HBRT knows whether it's running under pHyp
or OPAL ?</i></font></tt><br><font size=2 face="sans-serif">Yes, we know that since we have all
of the information from the original HB boot where we need to know.</font><br><font size=2 face="sans-serif"><br>--<br>Dan Crowell<br>Senior Software Engineer - Power Systems Enablement Firmware<br>IBM Rochester: t/l 553-2987<br>dcrowell@us.ibm.com</font><br><br><br><br><font size=1 color=#5f5f5f face="sans-serif">From:
</font><font size=1 face="sans-serif">Benjamin Herrenschmidt
<benh@kernel.crashing.org></font><br><font size=1 color=#5f5f5f face="sans-serif">To:
</font><font size=1 face="sans-serif">Jeremy Kerr <jk@ozlabs.org>,
Daniel M Crowell/Rochester/IBM@IBMUS</font><br><font size=1 color=#5f5f5f face="sans-serif">Cc:
</font><font size=1 face="sans-serif">skiboot@lists.ozlabs.org,
Corey Swenson/Rochester/IBM@IBMUS, Patrick Barrett/Rochester/IBM@IBMUS</font><br><font size=1 color=#5f5f5f face="sans-serif">Date:
</font><font size=1 face="sans-serif">09/13/2016 08:06 PM</font><br><font size=1 color=#5f5f5f face="sans-serif">Subject:
</font><font size=1 face="sans-serif">Re: [PATCH 1/2]
opal-prd: Add get_prd_flags to host interfaces</font><br><hr noshade><br><br><br><tt><font size=2>On Wed, 2016-09-14 at 08:47 +0800, Jeremy Kerr wrote:<br>> Yep, that makes sense. We'd just need to define the case where the
'set'<br>> is unknown to opal-prd or pHyp. I'd propose just returning zero, as
long<br>> as we can ensure that zero-bit defaults will be acceptable in future.<br><br>Does HBRT knows whether it's running under pHyp or OPAL ? Or do we need
to<br>use this as a way to inform it ?<br><br>Cheers,<br>Ben.<br><br></font></tt><br><br><BR>