aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/perf/arm_pmu.h
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2018-07-07 23:16:56 +0200
committerWill Deacon <will.deacon@arm.com>2018-07-09 13:29:43 +0100
commit64b2f025715a68bed49fb14588c2d893dfbd00a8 (patch)
tree2e0212310846e63316e1eaa82f4c6d2180e20dd6 /include/linux/perf/arm_pmu.h
parentdrivers/perf: Initialise return value in armpmu_request_irqs() (diff)
downloadlinux-dev-64b2f025715a68bed49fb14588c2d893dfbd00a8.tar.xz
linux-dev-64b2f025715a68bed49fb14588c2d893dfbd00a8.zip
arm: perf: prevent unbind/bind via sysfs
Unbinding and rebinding the ARM PMU driver via sysfs leads to a warning followed by more errors: WARNING: CPU: 0 PID: 217 at kernel/irq/chip.c:1034 irq_modify_status+0x150/0x16c .. genirq: Flags mismatch irq 19. 00010c04 (arm-pmu) vs. 00010c04 (arm-pmu) hw perfevents: unable to request IRQ19 for ARM PMU counters hw perfevents: /pmu: failed to register PMU devices! armv7-pmu: probe of pmu failed with error -16 The driver is clearly not designed to be removed. Disable bind/ unbind for this driver. Signed-off-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'include/linux/perf/arm_pmu.h')
0 files changed, 0 insertions, 0 deletions