Device loses its IRQ number on driver unload?
Thomas Hellstrom
thellstrom at vmware.com
Mon Mar 9 09:02:11 PDT 2015
On 03/09/2015 04:22 PM, Daniel Vetter wrote:
> On Mon, Mar 09, 2015 at 11:04:01AM +0100, Thomas Hellstrom wrote:
>> Hi,
>>
>> I'm not sure this started with 4.0 but when I rmmod the device driver
>> like so
>> rmmod vmwgfx
>>
>> The device loses its IRQ line as shown in lscpi:
>> Flags: bus master, medium devsel, latency 64 <irq missing here>
>>
>> and a subsequent modprobe will fail since pdev->irq is 0.
>>
>> Is anyone else seeing this with other drivers?
> I seen occasionally (over the past couple of kernels) random zeros in pdev
> but dismissed it as broken machines or bugs in i915 (we have them ...).
> Usually the box died chasing a NULL pointer from pdev. Otherwise no.
> -Daniel
OK. Thanks for the info. Since in my case this is 100% reproducible I
guess I have an excellent opportunity to bisect the problem :-/
/Thomas
More information about the dri-devel
mailing list