[Skiboot] [PATCH 9/9] npu2: Allow POWER9 DD2 in ec level check

Alistair Popple alistair at popple.id.au
Mon Jul 17 13:53:34 AEST 2017


On Fri, 14 Jul 2017 10:39:28 AM Reza Arbab wrote:
> Don't bail when we encounter a POWER9 DD2.x chip.

Clown.

Acked-By: Alistair Popple <alistair at popple.id.au>

> Cc: Alistair Popple <alistair at popple.id.au>
> Signed-off-by: Reza Arbab <arbab at linux.vnet.ibm.com>
> ---
>  hw/npu2.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/hw/npu2.c b/hw/npu2.c
> index dfe8622..02000e4 100644
> --- a/hw/npu2.c
> +++ b/hw/npu2.c
> @@ -1242,7 +1242,7 @@ static void npu2_probe_phb(struct dt_node *dn)
>  	path = dt_get_path(dn);
>  	gcid = dt_get_chip_id(dn);
>  	assert(proc_chip = get_chip(gcid));
> -	if ((proc_chip->ec_level & 0xf0) != 0x10) {
> +	if ((proc_chip->ec_level & 0xf0) > 0x20) {
>  		prerror("NPU2: unsupported ec level on Chip 0x%x!\n", gcid);
>  		return;
>  	}
> 



More information about the Skiboot mailing list