[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <159497953657.530785.13608435502860855695.b4-ty@kernel.org>
Date: Fri, 17 Jul 2020 11:43:42 +0100
From: Will Deacon <will@...nel.org>
To: mark.rutland@....com, Qi Liu <liuqi115@...wei.com>,
zhangshaokun@...ilicon.com, john.garry@...wei.com
Cc: catalin.marinas@....com, kernel-team@...roid.com,
Will Deacon <will@...nel.org>, linux-kernel@...r.kernel.org,
linuxarm@...wei.com, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] drivers/perf: Prevent forced unbinding of PMU drivers
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
Powered by blists - more mailing lists