summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGui-Dong Han <hanguidong02@gmail.com>2026-06-18 10:15:43 +0800
committerKeith Busch <kbusch@kernel.org>2026-07-06 11:12:35 -0700
commitf61c934aa084b7440fec681be3f4b481eb5a8609 (patch)
tree98c39518090eb7e728f4bf94cc1f509166a9f26f /tools/perf/scripts/python
parent224041412693b0d60acee0573eee18cbcd281d64 (diff)
nvme-apple: Use acquire/release for queue enabled state
apple_nvme_init_queue() initializes queue state and then marks the queue enabled. The interrupt and request paths check enabled before using that queue state. The old wmb() after WRITE_ONCE(enabled, true) does not publish the earlier initialization before enabled becomes visible. Use a release store when enabling the queue and acquire loads when testing it. Although the shutdown-side enabled accesses are not used for publishing queue initialization, use helpers for them as well for consistency. Fixes: 5bd2927aceba ("nvme-apple: Add initial Apple SoC NVMe driver") Signed-off-by: Gui-Dong Han <hanguidong02@gmail.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions