diff options
| author | Dragan Cvetic <[email protected]> | 2019-07-27 09:33:56 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-08-15 17:54:38 +0200 |
| commit | 6bd6a690c2e7e710aa7ccefa4edc83f14099907e (patch) | |
| tree | 7202767770c2df25b029c0fb7863308a999ca5c5 /tools/perf/scripts/python/bin | |
| parent | cc538f609dee49b73545569c49e3abd891fdd8b3 (diff) | |
misc: xilinx_sdfec: Add stats & status ioctls
SD-FEC statistic data are:
- count of data interface errors (isr_err_count)
- count of Correctable ECC errors (cecc_count)
- count of Uncorrectable ECC errors (uecc_count)
Add support:
1. clear stats ioctl callback which clears collected
statistic data,
2. get stats ioctl callback which reads a collected
statistic data,
3. set default configuration ioctl callback,
4. start ioctl callback enables SD-FEC HW,
5. stop ioctl callback disables SD-FEC HW.
In a failed state driver enables the following ioctls:
- get status
- get statistics
- clear stats
- set default SD-FEC device configuration
Tested-by: Santhosh Dyavanapally <[email protected]>
Tested by: Punnaiah Choudary Kalluri <[email protected]>
Tested-by: Derek Kiernan <[email protected]>
Tested-by: Dragan Cvetic <[email protected]>
Signed-off-by: Derek Kiernan <[email protected]>
Signed-off-by: Dragan Cvetic <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions