[PATCH] coresight: Drop atomics in connection refcounts
Suzuki K Poulose
suzuki.poulose at arm.com
Wed Dec 11 02:20:02 PST 2024
On Thu, 28 Nov 2024 12:14:14 +0000, James Clark wrote:
> These belong to the device being enabled or disabled and are only ever
> used inside the device's spinlock. Remove the atomics to not imply that
> there are any other concurrent accesses.
>
> If atomics were necessary I don't think they would have been enough
> anyway. There would be nothing to prevent an enable or disable running
> concurrently if not for the spinlock.
>
> [...]
Applied, thanks!
[1/1] coresight: Drop atomics in connection refcounts
https://git.kernel.org/coresight/c/5aec7c065fba0c56d6c1ea5d629395210f174be8
Best regards,
--
Suzuki K Poulose <suzuki.poulose at arm.com>
More information about the linux-arm-kernel
mailing list