Re: [PATCH] powerpc: xive: ensure active irqd when setting affinity

2017-08-09 Thread Benjamin Herrenschmidt
On Wed, 2017-08-09 at 16:15 +1000, Michael Ellerman wrote: > I'm not sure I'm convinced. We can't handle every possible case of the > higher level code calling us in situations we don't expect. > > For example irq_data could be NULL, but we trust the higher level code > not to do that to us. > >

Re: [PATCH] powerpc: xive: ensure active irqd when setting affinity

2017-08-08 Thread Michael Ellerman
>> > Subject: [PATCH] powerpc: xive: ensure active irqd when setting affinity >> > >> > Ensure irqd is active before attempting to set affinity. This should >> > make the set affinity code more robust. For instance, this prevents >> > these messages seen

Re: [PATCH] powerpc: xive: ensure active irqd when setting affinity

2017-08-08 Thread Sukadev Bhattiprolu
Michael Ellerman [m...@ellerman.id.au] wrote: > Sukadev Bhattiprolu writes: > > > From fd0abf5c61b6041fdb75296e8580b86dc91d08d6 Mon Sep 17 00:00:00 2001 > > From: Benjamin Herrenschmidt > > Date: Tue, 1 Aug 2017 20:54:41 -0500 > > Subject: [PATCH] powerpc: xive: e

Re: [PATCH] powerpc: xive: ensure active irqd when setting affinity

2017-08-08 Thread Michael Ellerman
Sukadev Bhattiprolu writes: > From fd0abf5c61b6041fdb75296e8580b86dc91d08d6 Mon Sep 17 00:00:00 2001 > From: Benjamin Herrenschmidt > Date: Tue, 1 Aug 2017 20:54:41 -0500 > Subject: [PATCH] powerpc: xive: ensure active irqd when setting affinity > > Ensure irqd is active be

[PATCH] powerpc: xive: ensure active irqd when setting affinity

2017-08-02 Thread Sukadev Bhattiprolu
>From fd0abf5c61b6041fdb75296e8580b86dc91d08d6 Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Tue, 1 Aug 2017 20:54:41 -0500 Subject: [PATCH] powerpc: xive: ensure active irqd when setting affinity Ensure irqd is active before attempting to set affinity. This should make the