aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/tests/fpga-mgr-test.c
diff options
context:
space:
mode:
authorBen Cheatham <[email protected]>2024-03-11 14:25:07 +0000
committerDan Williams <[email protected]>2024-03-13 06:08:30 +0000
commit8039804cfa7314ad50085a779923aa5469889f88 (patch)
treec622f326542eaeb42b7a28b0435dc9eddaf16554 /drivers/fpga/tests/fpga-mgr-test.c
parentEINJ: Add CXL error type support (diff)
downloadkernel-8039804cfa7314ad50085a779923aa5469889f88.tar.gz
kernel-8039804cfa7314ad50085a779923aa5469889f88.zip
cxl/core: Add CXL EINJ debugfs files
Export CXL helper functions in einj-cxl.c for getting/injecting available CXL protocol error types to sysfs under kernel/debug/cxl. The kernel/debug/cxl/einj_types file will print the available CXL protocol errors in the same format as the available_error_types file provided by the einj module. The kernel/debug/cxl/$dport_dev/einj_inject file is functionally the same as the error_type and error_inject files provided by the EINJ module, i.e.: writing an error type into $dport_dev/einj_inject will inject said error type into the CXL dport represented by $dport_dev. Reviewed-by: Jonathan Cameron <[email protected]> Signed-off-by: Ben Cheatham <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions