diff options
author | Alison Schofield <[email protected]> | 2023-04-18 10:39:03 -0700 |
---|---|---|
committer | Dan Williams <[email protected]> | 2023-04-23 11:45:26 -0700 |
commit | d0abf5787adc0341a04667d3b4a23b4d0999af30 (patch) | |
tree | 0f20372836d7d4dc3a5e76daee16712520869ccd /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | dec441d32a9a1e4a891ccda3356cac61cc1ffe79 (diff) |
cxl/mbox: Initialize the poison state
Driver reads of the poison list are synchronized to ensure that a
reader does not get an incomplete list because their request
overlapped (was interrupted or preceded by) another read request
of the same DPA range. (CXL Spec 3.0 Section 8.2.9.8.4.1). The
driver maintains state information to achieve this goal.
To initialize the state, first recognize the poison commands in
the CEL (Command Effects Log). If the device supports Get Poison
List, allocate a single buffer for the poison list and protect it
with a lock.
Signed-off-by: Alison Schofield <[email protected]>
Link: https://lore.kernel.org/r/9078d180769be28a5087288b38cdfc827cae58bf.1681838291.git.alison.schofield@intel.com
Reviewed-by: Jonathan Cameron <[email protected]>
Tested-by: Jonathan Cameron <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions