Am 17.01.22 um 11:34 schrieb Somalapuram, Amaranath:
[SNIP]Any suggestion how we can notify user space during this situation.
Well trace points should work. They use a ring buffer and are specially made to work in such situations.
Alternative would be to audit the udev code and allow giving a GFP mask to the function to make sure that we don't run into the deadlock.
Another alternative is a debugfs file which just blocks for the next reset to happen.
Regards, Christian.
Regards, S.Amarnath