Thread (2 messages) flat view 2 messages, 2 authors, 2020-07-17

Re: [PATCH] drivers/perf: Prevent forced unbinding of PMU drivers

From: Will Deacon <will@kernel.org>
Date: 2020-07-17 10:43:54
Also in: lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help