On Fri, 17 Jul 2020 16:49:23 +0800, Qi Liu wrote:
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.
Applied to arm64 (for-next/fixes), thanks!
[1/1] drivers/perf: Prevent forced unbinding of PMU drivers
https://git.kernel.org/arm64/c/f32ed8eb0e3f
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel