[Skiboot] [PATCH] xive: Synchronize after disable IRQs in opal_xive_reset()
Michael Neuling
mikey at neuling.org
Wed Apr 19 15:09:11 AEST 2017
This is now upstream as 30adccf43dfb6b37c7d1635512b04366d95d5456
On Tue, 2017-04-04 at 12:20 +1000, Benjamin Herrenschmidt wrote:
> After all IRQs have been masked, sync the XIVE HW before we
> start disabling all the queues.
>
> Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> ---
> hw/xive.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/hw/xive.c b/hw/xive.c
> index bb5f0b0..9713e8f 100644
> --- a/hw/xive.c
> +++ b/hw/xive.c
> @@ -3777,6 +3777,7 @@ static void xive_reset_one(struct xive *x)
> x->int_base + i, true);
> i++;
> }
> + xive_sync(x);
>
> lock(&x->lock);
> memset(x->int_enabled_map, 0, BITMAP_BYTES(MAX_INT_ENTRIES));
>
>
> _______________________________________________
> Skiboot mailing list
> Skiboot at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/skiboot
More information about the Skiboot
mailing list