[Skiboot] [PATCH] opal-gard: Add support for new PVR POWER9P.

Oliver O'Halloran oohall at gmail.com
Tue Feb 11 01:55:26 AEDT 2020


On Mon, Feb 10, 2020 at 10:32 PM Stewart Smith <stewart at flamingspork.com> wrote:
>
>
> > On 7 Feb 2020, at 07:12, Mahesh Salgaonkar <mahesh at linux.vnet.ibm.com> wrote:
> >
> > Enable a new PVR for gard tool to work on another p9 variant. Makes op-test
> > as well happy.
> >
> > Signed-off-by: Mahesh Salgaonkar <mahesh at linux.vnet.ibm.com>
> > ---
> > external/gard/gard.c |    1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/external/gard/gard.c b/external/gard/gard.c
> > index 5e58fede9..8877f1c84 100644
> > --- a/external/gard/gard.c
> > +++ b/external/gard/gard.c
> > @@ -153,6 +153,7 @@ static void guess_chip_gen(void)
> >        return;
> >
> >    case 0x004e: /* nimbus */
> > +    case 0x004f: /* Axone */
> >        set_chip_gen(p9_chip_units);
> >        return;
>
> Makes me wonder why we don’t have something in the device tree and key off it.

Patches welcome,

Keep in mind that opal-gard can be used on the BMC, where we have no
access to the host DT, or on an x86 where there's no way to choose a
sensible default.

>
> _______________________________________________
> Skiboot mailing list
> Skiboot at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/skiboot


More information about the Skiboot mailing list