diff options
author | Dave Jiang <dave.jiang@intel.com> | 2023-04-07 22:31:30 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2023-04-12 19:48:45 +0200 |
commit | 244da66cda359227d80ccb41dbcb99da40eae186 (patch) | |
tree | d98c8cdb8db5e93ed29b32e6c3b1e6ac36610662 /drivers/dma/idxd/irq.c | |
parent | dmaengine: idxd: add event log size sysfs attribute (diff) | |
download | linux-244da66cda359227d80ccb41dbcb99da40eae186.tar.xz linux-244da66cda359227d80ccb41dbcb99da40eae186.zip |
dmaengine: idxd: setup event log configuration
Add setup of event log feature for supported device. Event log addresses
error reporting that was lacking in gen 1 DSA devices where a second error
event does not get reported when a first event is pending software
handling. The event log allows a circular buffer that the device can push
error events to. It is up to the user to create a large enough event log
ring in order to capture the expected events. The evl size can be set in
the device sysfs attribute. By default 64 entries are supported as minimal
when event log is enabled.
Tested-by: Tony Zhu <tony.zhu@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Co-developed-by: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Link: https://lore.kernel.org/r/20230407203143.2189681-4-fenghua.yu@intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/idxd/irq.c')
0 files changed, 0 insertions, 0 deletions