8xx i2c refers to unspecified chip errata

Joakim Tjernlund joakim.tjernlund at lumentis.se
Fri Oct 11 23:10:35 EST 2002


> Hi,
>
> > Look in cpm_iic_read() for:
> > /* flush will invalidate too. */
> > flush_dcache_range((unsigned long)buf, (unsigned long)(buf+count));
> >
> > You can't just do invalidate_dcache_range() since it will invalidate more than your buffer
> >
> In my case it did invalidate the stack :(

Me too, it was a major PITA to hunt it down.

    Jocke


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list