Re: [PATCH 00/15] net: taint when the device driver firmware crashes

From: Steven Rostedt
Date: Mon May 11 2020 - 15:21:47 EST


On Sat, 9 May 2020 18:01:51 -0700
Shannon Nelson <snelson@xxxxxxxxxxx> wrote:

> If the driver is able to detect that the device firmware has come back
> alive, through user intervention or whatever, should there be a way to
> "untaint" the kernel? Or would you expect it to remain tainted?

The only way to untaint a kernel is a reboot. A taint just means "something
happened to this kernel since it was booted". It's used as a hint, and
that's all.

I agree with the other comments in this thread. Use devlink health or
whatever tool to look further into causes. But from what I see here, this
code is "good enough" for a taint.

-- Steve