Chris Freehill
efc9b7658c
Make verbosity level 0 completely quiet
...
Also, support --iterations flag for certain functions that will
likely be repeated frequently.
Change-Id: I7ed76835001b5cbca30042d6bf26484258c7b9a6
2020-06-17 21:26:12 -05:00
Chris Freehill
d9ab846bee
Make rsmitst tests fail quickly if rsmi_init fails
...
Change-Id: I7b5d94b77305b30e08f33e1ddb6e2f089db0431f
2020-03-11 12:13:28 -05:00
Chris Freehill
68d25e82fd
Support checking for specific device-getter api support
...
For device-getter functions, allow users to specify a nullptr
for the provided buffer. In those cases, the function will return
RSMI_STATUS_NOT_SUPPORTED if the hardware or system software does
not support the function. If the function is supported, then
RSMI_STATUS_INVALID_ARGS will be returned, unless a different
error is encountered.
Additionally, tests and documentation were updated to reflect
this change.
Change-Id: Ie7db3a4c8c66af97ebd7ee1e3b95cd331ace9d9c
2019-10-05 15:55:18 -05:00
Chris Freehill
aaecfd6fff
Adjust how we read ECC block counter status
...
This change corresponds to kernel changes.
Change-Id: Ibd977e8b3338349036cb16e55fb0b2c9c187726d
2019-08-09 16:06:43 -05:00
Chris Freehill
34c977bd06
Added rsmi_dev_pci_replay_counter_get()
...
Also, added code to destroy/recreate mutex if we can't get a lock
within 3 seconds, when shared memory mutex is initialized.
2019-05-06 11:26:40 -05:00
Chris Freehill
84e3c541d1
Add "Disabled" state to ECC states
2019-04-04 15:27:15 -05:00
Chris Freehill
4e679b9324
Added ECC enabled, status and get functions
2019-04-03 11:17:43 -05:00
Chris Freehill
89fb40fbe5
Re-organize function documentation into sections
2019-03-03 23:11:50 -06:00
Chris Freehill
bc0d801478
Use "_t" suffix consistently for RSMI types
2019-03-02 16:30:30 -06:00
Chris Freehill
fb5f41fc10
Added rsmi_dev_error_count_get()
2019-03-01 16:33:11 -06:00