linux-stable/drivers/soc
Marc Zyngier d172f25270 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:24:09 +01:00
..
actions soc: actions: owl-sps: Factor out owl_sps_set_pg() for power-gating 2017-06-23 17:43:27 +02:00
amlogic meson-gx-socinfo: Fix package id parsing 2018-02-25 11:07:56 +01:00
atmel ARM: at91: add armv7m SoC detection 2017-06-02 10:11:49 +02:00
bcm soc: bcm: raspberrypi-power: Fix use of __packed 2018-06-21 04:02:42 +09:00
dove License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
fsl soc: fsl: qe: Fix copy/paste bug in ucc_get_tdm_sync_shift() 2018-11-04 14:52:38 +01:00
imx soc: imx: gpc: restrict register range for regmap access 2018-08-24 13:09:19 +02:00
lantiq MIPS: lantiq: gphy: Drop reboot/remove reset asserts 2018-06-05 11:41:58 +02:00
mediatek soc: mediatek: fix the mistaken pointer accessed when subdomains are added 2018-04-24 09:36:28 +02:00
qcom soc: qcom: wcnss_ctrl: Fix increment in NV upload 2018-05-30 07:52:35 +02:00
renesas License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rockchip soc: rockchip: power-domain: Fix wrong value when power up pd with writemask 2018-07-03 11:24:51 +02:00
samsung Samsung soc drivers changes for v4.14 2017-08-23 21:46:12 +02:00
sunxi drivers: soc: sunxi: add support for A64 and its SRAM C 2017-08-18 14:30:21 +08:00
tegra soc/tegra: pmc: Fix child-node lookup 2018-11-13 11:15:12 -08:00
ti soc: ti: QMSS: Fix usage of irq_set_affinity_hint 2018-11-21 09:24:09 +01:00
ux500
versatile soc: versatile: remove unnecessary static in realview_soc_probe() 2017-08-16 22:28:27 +02:00
zte soc: zte: Restrict SOC_ZTE to ARCH_ZX or COMPILE_TEST 2017-07-27 13:12:34 +02:00
Kconfig soc: Add Amlogic SoC Information driver 2017-07-28 09:25:07 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00