Re: Sluggish AT91 I2C driver causes SMBus timeouts

From: Alan Cox
Date: Fri Oct 13 2017 - 09:29:47 EST


On Thu, 12 Oct 2017 13:35:17 +0200
Peter Rosin <peda@xxxxxxxxxx> wrote:

> Hi!
>
> I have encountered an "interesting" bug. It silently corrupts data
> and is generally nasty...
>
> On an I2C bus, driven by the at91 driver and DMA (an Atmel
> sama5d31 chip), I have an 256 byte eeprom (NXP SE97BTP). I'm using
> Linux v4.13.

If your force the transfer to PIO does it behave ? Does the controller in
fact need to siwtch to PIO for SMBUS ?

Alan