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

Stewart Smith stewart at flamingspork.com
Mon Feb 10 22:32:01 AEDT 2020


> 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.



More information about the Skiboot mailing list