diff options
| author | Dan Williams <[email protected]> | 2025-07-11 23:49:29 +0000 |
|---|---|---|
| committer | Dave Jiang <[email protected]> | 2025-07-16 18:34:36 +0000 |
| commit | a235d7d963e82ac026eca968b71da376534dc9b9 (patch) | |
| tree | b121e33f6bfae52caed8f9bd18d3064b06dc8ed4 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h | |
| parent | cxl/decoder: Drop pointless locking (diff) | |
| download | kernel-a235d7d963e82ac026eca968b71da376534dc9b9.tar.gz kernel-a235d7d963e82ac026eca968b71da376534dc9b9.zip | |
cxl/region: Split commit_store() into __commit() and queue_reset() helpers
The complexity of dropping the lock is removed in favor of splitting commit
operations to a helper, and leaving all the complexities of "decommit" for
commit_store() to coordinate the different locking contexts.
The CPU cache-invalidation in the decommit path is solely handled now by
cxl_region_decode_reset(). Previously the CPU caches were being needlessly
flushed twice in the decommit path where the first flush had no guarantee
that the memory would not be immediately re-dirtied.
Cc: Davidlohr Bueso <[email protected]>
Cc: Jonathan Cameron <[email protected]>
Cc: Dave Jiang <[email protected]>
Cc: Alison Schofield <[email protected]>
Cc: Vishal Verma <[email protected]>
Cc: Ira Weiny <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Dave Jiang <[email protected]>
Reviewed-by: Jonathan Cameron <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Reviewed-by: Fabio M. De Francesco <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Dave Jiang <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h')
0 files changed, 0 insertions, 0 deletions
