From: mhoffman@lightlink.com (Mark M. Hoffman)
To: lm-sensors@vger.kernel.org
Subject: Data block transactions fail on i2c-i801 controller?
Date: Thu, 19 May 2005 06:25:17 +0000 [thread overview]
Message-ID: <20040922221611.GD4256@jupiter.solarsys.private> (raw)
In-Reply-To: <13938324.1095712833883.JavaMail.root@scooter.psp.pas.earthlink.net>
Hello David:
* David Knierim <david_knierim@earthlink.net> [2004-09-21 07:58:37 -0700]:
> The logs were pretty large, so we placed them on the web:
>
> http://lee.k12.nc.us/~joden/misc/sensors/
Thanks for doing that, and for saving some list B/W too.
> dmesg_noblock - block data disabled
> dmesg_withblock - block data enabled
The i2c-i801 driver has *major* brain damage w.r.t. block xfers. What
I *expected* to see in your logs was a timeout of some sort, indicating
that the bus was not resetting properly after a xfer.
Not even close: the bus driver is actually performing a whole block xfer
once for each byte!!! Seeing this, I wouldn't be suprised to find out
that you are the very first user of that function, ever. I am honestly
amazed that it works at all.
So I understand what needs to be done, but actually fixing it is not
high on my list just now - especially since you have a workaround
(disable_block=1).
One reason this will take some time is that this driver supports several
different chipsets. Apparently some of them have a block xfer buffer
and some don't; I would have to read through ~5 chipset datasheets to
sort it out. This is one reason I was hoping the original authors would
get involved.
Hopefully, I'll have some time to work on this after I finish some other
stuff.
Regards,
--
Mark M. Hoffman
mhoffman@lightlink.com
next prev parent reply other threads:[~2005-05-19 6:25 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-19 6:25 Data block transactions fail on i2c-i801 controller? David Knierim
2005-05-19 6:25 ` Mark M. Hoffman
2005-05-19 6:25 ` David Knierim
2005-05-19 6:25 ` Mark Studebaker
2005-05-19 6:25 ` Mark M. Hoffman [this message]
2005-05-19 6:25 ` Jean Delvare
2005-05-19 6:25 ` Jean Delvare
2005-05-19 6:25 ` Mark Studebaker
2005-05-19 6:25 ` Mark M. Hoffman
2005-05-19 6:25 ` David Knierim
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040922221611.GD4256@jupiter.solarsys.private \
--to=mhoffman@lightlink.com \
--cc=lm-sensors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.