[Skiboot] [PATCH 01/11] xive/p9: Introduce XIVE_INT_ORDER

Cédric Le Goater clg at kaod.org
Fri Jun 5 16:10:19 AEST 2020


> @@ -4397,7 +4401,7 @@ static void xive_reset_one(struct xive *x)
>  	lock(&x->lock);
>  
>  	/* Check all interrupts are disabled */
> -	i = bitmap_find_one_bit(*x->int_enabled_map, 0, MAX_INT_ENTRIE334 V+	i = bitmap_find_one_bit(*x->int_enabled_map, 0, XIVE_INT_COUNT);

There was some corruption on the way to the mailing list ... :/

Patch is fine here :

https://github.com/legoater/skiboot/commit/9714748960a9b90339f0ddabe464541fc657c8ad

C.

>  	if (i >= 0)
>  		xive_warn(x, "Interrupt %d (and maybe more) not disabled"
>  			  " at reset !\n", i);
> @@ -4405,7 +4409,7 @@ static void xive_reset_one(struct xive *x)
>  	/* Reset IPI allocation */
>  	xive_dbg(x, "freeing alloc map %p/%p\n",
>  		 x->ipi_alloc_map, *x->ipi_alloc_map);
> -	memset(x->ipi_alloc_map, 0, BITMAP_BYTES(MAX_INT_ENTRIES));
> +	memset(x->ipi_alloc_map, 0, BITMAP_BYTES(XIVE_INT_COUNT));
>  
>  	xive_dbg(x, "Resetting EQs...\n");
>  
> 



More information about the Skiboot mailing list