On Mon, 12 Apr 2021 02:43:30 -0500 Lijun Pan wrote: > Add timeout and fatal reset sysfs entries so that both functions > can be triggered manually the tested. Otherwise, you have to run > the program for enough time and check both randomly generated > resets in the long long log.
This looks more suitable for debugfs. But can't you use ethtool or devlink reset functionality somehow?