[Intel-gfx] [PATCH igt] igt: Add a test to precheck status of kernel taints

Chris Wilson chris at chris-wilson.co.uk
Fri Aug 11 13:17:17 UTC 2017


Quoting Jani Nikula (2017-08-11 14:15:50)
> On Fri, 11 Aug 2017, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> > Many times an error may occur before the start of igt, leaving the
> > system in a less-than-optimal debugging state (e.g. an oops turning off
> > lockdep). Flag such occasions by checking /proc/sys/kernel/tainted.
> 
> Hmm, which flag is set for unsafe module params?

That is

	CHECK(6, "Tainted by user request", WARN);

I left it as WARN because imo we shouldn't be using those to drive
tests.
-Chris


More information about the Intel-gfx mailing list