Files
linux-stable-mirror/include/linux
Leo Yan fef8b751d8 coresight: Change device mode to atomic type
[ Upstream commit 693d1eaca9 ]

The device mode is defined as local type. This type cannot promise
SMP-safe access.

Change to atomic type and impose relax ordering, which ensures the
SMP-safe synchronisation and the ordering between the mode setting and
relevant operations.

Fixes: 22fd532eaa ("coresight: etm3x: adding operation mode for etm_enable()")
Reviewed-by: Mike Leach <mike.leach@linaro.org>
Tested-by: James Clark <james.clark@linaro.org>
Signed-off-by: Leo Yan <leo.yan@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20251111-arm_coresight_power_management_fix-v6-1-f55553b6c8b3@arm.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-12-18 13:54:57 +01:00
..
2025-11-02 22:15:22 +09:00
2025-10-15 12:00:03 +02:00
2025-09-11 17:21:46 +02:00
2025-07-10 16:05:08 +02:00
2025-05-29 11:03:25 +02:00
2025-11-24 10:35:55 +01:00
2025-09-09 18:58:04 +02:00
2025-05-29 11:03:25 +02:00
2025-05-29 11:02:23 +02:00
2025-06-19 15:32:18 +02:00
2025-04-20 10:15:25 +02:00
2025-05-29 11:02:20 +02:00
2025-08-15 12:13:35 +02:00
2025-08-01 09:48:43 +01:00
2025-07-10 16:05:11 +02:00