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

Jani Nikula jani.nikula at linux.intel.com
Fri Aug 11 14:33:10 UTC 2017


On Fri, 11 Aug 2017, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> 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.

Agreed... but i915.alpha_support, i915.inject_load_failure, what else?

BR,
Jani.


-- 
Jani Nikula, Intel Open Source Technology Center


More information about the Intel-gfx mailing list