Re: i2c-i801: Enable interrupts on ICH5/7/8/9/10

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Daniel,

Please note my new e-mail address.

On Mon, 4 Aug 2014 17:56:32 +0000, dwalker@xxxxxxxxxx wrote:
> I had an issue with the i2c dev-interface. The executable runs i2c_smbus_write_word_data() and it hangs at
> that point. The issues wasn't present in earlier kernels , so I was able to bisect this to ,
> 
> commit 29b608540b030d38a978c972cbe99d40efdb7267
> Author: Jean Delvare <khali@xxxxxxxxxxxx>
> Date:   Tue Jul 24 14:13:59 2012 +0200
>  
>     i2c-i801: Enable interrupts on ICH5/7/8/9/10
> 
> 
> The system I'm testing on is an ICH9 from and Intel BearLake.

I have had a few reports of problems with interrupts so far but could
never find the time to track it down. Maybe now is the time.

Please provide the output of:
# lspci -s 00:1f.3 -vvv
# grep i801_smbus /proc/interrupts

Does the problem only happen when writing words, or does it also happen
for other transfer types? Does it happen with the first transfer or
randomly after some time?

Please enable CONFIG_I2C_DEBUG_BUS and check if the driver complains
about anything suspicious before the hang occurs.

It would also be great if you could figure out where the driver code
hangs. It might be in wait_event(), I suppose it would be safer to use
wait_event_timeout() as other I2C bus drivers do. I'll prepare a patch.

-- 
Jean Delvare
SUSE L3 Support
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux