linux/drivers/bus
Suzuki K Poulose 2ed46cbf23 arm-ccn: perf: Prevent module unload while PMU is in use
[ Upstream commit c7f5828bf7 ]

When the PMU driver is built as a module, the perf expects the
pmu->module to be valid, so that the driver is prevented from
being unloaded while it is in use. Fix the CCN pmu driver to
fill in this field.

Fixes: a33b0daab7 ("bus: ARM CCN PMU driver")
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2017-12-20 10:07:29 +01:00
..
arm-cci.c bus: arm-cci: Fix use of smp_processor_id() in preemptible context 2017-12-14 09:28:14 +01:00
arm-ccn.c arm-ccn: perf: Prevent module unload while PMU is in use 2017-12-20 10:07:29 +01:00
brcmstb_gisb.c BUS: brcmstb_gisb: Hook to MIPS board_be_handler 2016-05-13 14:01:55 +02:00
imx-weim.c bus: imx-weim: use of_platform_default_populate() to populate default bus 2016-06-23 15:00:45 -05:00
Kconfig bus: qcom-ebi2: depend on ARCH_QCOM or COMPILE_TEST 2016-10-17 13:46:09 -07:00
Makefile bus: qcom: add EBI2 driver 2016-09-08 15:27:05 +02:00
mips_cdmm.c MIPS/BUS/CDMM: Convert to hotplug state machine 2016-09-06 18:30:25 +02:00
mvebu-mbus.c bus: mbus: fix window size calculation for 4GB windows 2017-10-27 10:38:08 +02:00
omap-ocp2scp.c bus: omap-ocp2scp: Fix module alias 2015-10-12 16:10:04 -07:00
omap_l3_noc.c Merge branches 'pm-sleep' and 'pm-runtime' 2015-06-19 01:18:02 +02:00
omap_l3_noc.h bus: omap_l3_noc: Fix master id address decoding for OMAP5 2015-05-04 10:21:01 -07:00
omap_l3_smx.c genirq: Remove the deprecated 'IRQF_DISABLED' request_irq() flag entirely 2015-03-05 20:53:06 +01:00
omap_l3_smx.h drivers: bus: Move the OMAP interconnect driver to drivers/bus/ 2012-09-19 16:53:26 +02:00
qcom-ebi2.c bus: qcom: add EBI2 driver 2016-09-08 15:27:05 +02:00
simple-pm-bus.c drivers: bus: Add Simple Power-Managed Bus Driver 2015-02-24 06:36:18 +09:00
sunxi-rsb.c drivers: sunxi-rsb: fix error output type 2016-01-25 00:00:49 +01:00
tegra-aconnect.c bus: tegra-aconnect: Use of_pm_clk_add_clk() 2016-08-16 12:22:51 +02:00
uniphier-system-bus.c bus: uniphier-system-bus: use of_platform_default_populate() to populate default bus 2016-06-23 15:00:48 -05:00
vexpress-config.c bus: vexpress-config: fix device reference leak 2017-01-19 20:18:07 +01:00