android_kernel_motorola_sm6375/drivers/perf
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Qi Liu 5345ede4ac drivers/perf: Prevent forced unbinding of PMU drivers
[ Upstream commit f32ed8eb0e3f0d0ef4ddb854554d60ca5863a9f9 ]

Forcefully unbinding PMU drivers during perf sampling will lead to
a kernel panic, because the perf upper-layer framework call a NULL
pointer in this situation.

To solve this issue, "suppress_bind_attrs" should be set to true, so
that bind/unbind can be disabled via sysfs and prevent unbinding PMU
drivers during perf sampling.

Signed-off-by: Qi Liu <[email protected]>
Reviewed-by: John Garry <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2020-07-29 10:18:40 +02:00
..
hisilicon drivers/perf: Prevent forced unbinding of PMU drivers 2020-07-29 10:18:40 +02:00
arm-cci.c drivers/perf: Prevent forced unbinding of PMU drivers 2020-07-29 10:18:40 +02:00
arm-ccn.c drivers/perf: Prevent forced unbinding of PMU drivers 2020-07-29 10:18:40 +02:00
arm_dsu_pmu.c drivers/perf: Prevent forced unbinding of PMU drivers 2020-07-29 10:18:40 +02:00
arm_pmu.c
arm_pmu_acpi.c drivers/perf: arm_pmu_acpi: Fix incorrect checking of gicc pointer 2020-03-25 08:25:47 +01:00
arm_pmu_platform.c
arm_smmuv3_pmu.c drivers/perf: Prevent forced unbinding of PMU drivers 2020-07-29 10:18:40 +02:00
arm_spe_pmu.c drivers/perf: Prevent forced unbinding of PMU drivers 2020-07-29 10:18:40 +02:00
fsl_imx8_ddr_perf.c drivers/perf: Prevent forced unbinding of PMU drivers 2020-07-29 10:18:40 +02:00
Kconfig
Makefile
qcom_l2_pmu.c drivers/perf: Prevent forced unbinding of PMU drivers 2020-07-29 10:18:40 +02:00
qcom_l3_pmu.c drivers/perf: Prevent forced unbinding of PMU drivers 2020-07-29 10:18:40 +02:00
thunderx2_pmu.c drivers/perf: Prevent forced unbinding of PMU drivers 2020-07-29 10:18:40 +02:00
xgene_pmu.c drivers/perf: Prevent forced unbinding of PMU drivers 2020-07-29 10:18:40 +02:00