Re: [PATCH] coresight: Fix crash when Perf and sysfs modes are used concurrently
From: Suzuki K Poulose
Date: Mon Oct 16 2023 - 19:05:42 EST
On Fri, 6 Oct 2023 14:14:52 +0100, James Clark wrote:
> Partially revert the change in commit 6148652807ba ("coresight: Enable
> and disable helper devices adjacent to the path") which changed the bare
> call from source_ops(csdev)->enable() to coresight_enable_source() for
> Perf sessions. It was missed that coresight_enable_source() is
> specifically for the sysfs interface, rather than being a generic call.
> This interferes with the sysfs reference counting to cause the following
> crash:
>
> [...]
Applied, thanks!
[1/1] coresight: Fix crash when Perf and sysfs modes are used concurrently
https://git.kernel.org/coresight/c/078dbba3f0c9
Best regards,
--
Suzuki K Poulose <suzuki.poulose@xxxxxxx>