On Wed, Oct 31, 2018 at 08:41:34AM +0000, Marc Zyngier wrote: > The Keystone QMSS driver is pretty damaged, in the sense that it > does things like this: > > irq_set_affinity_hint(irq, to_cpumask(&cpu_map)); > > where cpu_map is a local variable. As we leave the function, this > will point to nowhere-land, and things will end-up badly. > > Instead, let's use a proper cpumask that gets allocated, giving > the driver a chance to actually work with things like irqbalance > as well as have a hypothetical 64bit future. > > Cc: [email protected] > Acked-by: Santosh Shilimkar <[email protected]> > Signed-off-by: Marc Zyngier <[email protected]> > --- > * From v1: > - Added Santosh's Ack > - Cc stable > - Directly sent to arm-soc for immediate pick-up > > (https://lore.kernel.org/lkml/[email protected]/)
Applied to fixes, thanks. (We could have added the cc too, but thanks for doing it!) -Olof

