Re: [Intel-gfx] [PATCH i-g-t v2] igt/drv_module_reload: Revamp fault-injection

2018-06-06 Thread Imre Deak
On Wed, Jun 06, 2018 at 07:04:47PM +0100, Chris Wilson wrote: > Quoting Imre Deak (2018-06-06 19:00:52) > > On Wed, Jun 06, 2018 at 06:42:14PM +0100, Chris Wilson wrote: > > > The current method of checking for a failed module load is flawed, as we > > > only report the error on probing it is not

Re: [Intel-gfx] [PATCH i-g-t v2] igt/drv_module_reload: Revamp fault-injection

2018-06-06 Thread Chris Wilson
Quoting Imre Deak (2018-06-06 19:00:52) > On Wed, Jun 06, 2018 at 06:42:14PM +0100, Chris Wilson wrote: > > The current method of checking for a failed module load is flawed, as we > > only report the error on probing it is not being reported back by > > modprobe. So we have to dig inside the

Re: [Intel-gfx] [PATCH i-g-t v2] igt/drv_module_reload: Revamp fault-injection

2018-06-06 Thread Imre Deak
On Wed, Jun 06, 2018 at 06:42:14PM +0100, Chris Wilson wrote: > The current method of checking for a failed module load is flawed, as we > only report the error on probing it is not being reported back by > modprobe. So we have to dig inside the module_parameters while the > module is still loaded

[Intel-gfx] [PATCH i-g-t v2] igt/drv_module_reload: Revamp fault-injection

2018-06-06 Thread Chris Wilson
The current method of checking for a failed module load is flawed, as we only report the error on probing it is not being reported back by modprobe. So we have to dig inside the module_parameters while the module is still loaded to discover the error. v2: Expect i915.inject_load_failure to be