linux-uconsole/drivers/soc/ti
Marc Zyngier 176e8d6df9 soc: ti: QMSS: Fix usage of irq_set_affinity_hint
commit 832ad0e3da upstream.

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: stable@vger.kernel.org
Acked-by: Santosh Shilimkar <ssantosh@kernel.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-11-21 09:19:18 +01:00
..
Kconfig soc: ti: Add Support for AM654 SoC config option 2018-07-18 11:48:36 -07:00
knav_dma.c soc: ti: K2G: provide APIs to support driver probe deferral 2018-04-18 21:00:56 -04:00
knav_qmss.h soc: ti: QMSS: Fix usage of irq_set_affinity_hint 2018-11-21 09:19:18 +01:00
knav_qmss_acc.c soc: ti: QMSS: Fix usage of irq_set_affinity_hint 2018-11-21 09:19:18 +01:00
knav_qmss_queue.c soc: ti: QMSS: Fix usage of irq_set_affinity_hint 2018-11-21 09:19:18 +01:00
Makefile soc: ti: Add pm33xx driver for basic suspend support 2018-02-27 08:53:46 -08:00
pm33xx.c ARM: OMAP2+: sleep33/43xx: Add RTC-Mode support 2018-07-09 23:01:34 -07:00
ti_sci_pm_domains.c soc: ti: ti_sci_pm_domains: Populate name for genpd 2017-08-18 11:59:53 +02:00
wkup_m3_ipc.c soc: ti: wkup_m3_ipc: mark PM functions as __maybe_unused 2018-07-06 09:47:51 -07:00