[Skiboot] [PATCH 1/2] opal-prd: Add get_prd_flags to host interfaces

Daniel M Crowell dcrowell at us.ibm.com
Wed Sep 14 13:28:39 AEST 2016


> Does HBRT knows whether it's running under pHyp or OPAL ?
Yes, we know that since we have all of the information from the original 
HB boot where we need to know.

--
Dan Crowell
Senior Software Engineer - Power Systems Enablement Firmware
IBM Rochester: t/l 553-2987
dcrowell at us.ibm.com



From:   Benjamin Herrenschmidt <benh at kernel.crashing.org>
To:     Jeremy Kerr <jk at ozlabs.org>, Daniel M Crowell/Rochester/IBM at IBMUS
Cc:     skiboot at lists.ozlabs.org, Corey Swenson/Rochester/IBM at IBMUS, 
Patrick Barrett/Rochester/IBM at IBMUS
Date:   09/13/2016 08:06 PM
Subject:        Re: [PATCH 1/2] opal-prd: Add get_prd_flags to host 
interfaces



On Wed, 2016-09-14 at 08:47 +0800, Jeremy Kerr wrote:
> Yep, that makes sense. We'd just need to define the case where the 'set'
> is unknown to opal-prd or pHyp. I'd propose just returning zero, as long
> as we can ensure that zero-bit defaults will be acceptable in future.

Does HBRT knows whether it's running under pHyp or OPAL ? Or do we need to
use this as a way to inform it ?

Cheers,
Ben.





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/skiboot/attachments/20160913/19342e69/attachment.html>


More information about the Skiboot mailing list