History

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.

Dave Jiang committed 3 years ago

Commit 244da661 parent 16490916 files · +181 −4Browse files

Showing the changes to include/uapi (1 of 6 files). Show all

Unified · Split

include/uapi/linux/idxd.h+1−0
@@ -30,6 +30,7 @@ enum idxd_scmd_stat { · 29 unmodified lines
3030 IDXD_SCMD_WQ_NO_PRIV = 0x800f0000,
3131 IDXD_SCMD_WQ_IRQ_ERR = 0x80100000,
3232 IDXD_SCMD_WQ_USER_NO_IOMMU = 0x80110000,
33+ IDXD_SCMD_DEV_EVL_ERR = 0x80120000,
3334 };
3435
3536 #define IDXD_SCMD_SOFTERR_MASK 0x80000000

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t