From: "Maciej W. Rozycki" <macro@linux-mips.org>
To: Guenter Roeck <guenter.roeck@ericsson.com>
Cc: Matt Turner <mattst88@gmail.com>,
Jean Delvare <khali@linux-fr.org>,
"linux-i2c@vger.kernel.org" <linux-i2c@vger.kernel.org>,
"linux-mips@linux-mips.org" <linux-mips@linux-mips.org>,
Ralf Baechle <ralf@linux-mips.org>
Subject: Re: [PATCH] I2C: SiByte: Convert the driver to make use of interrupts
Date: Mon, 6 Dec 2010 17:56:50 +0000 (GMT) [thread overview]
Message-ID: <alpine.LFD.2.00.1012061739200.17185@eddie.linux-mips.org> (raw)
In-Reply-To: <20101206173040.GA18372@ericsson.com>
On Mon, 6 Dec 2010, Guenter Roeck wrote:
> > From: Maciej W. Rozycki <macro@linux-mips.org>
> >
> > This is a rewrite of large parts of the driver mainly so that it uses
> > SMBus interrupts to offload the CPU from busy-waiting on status inputs.
> > As a part of the overhaul of the init and exit calls, all accesses to the
> > hardware got converted to use accessory functions via an ioremap() cookie.
> >
> > Minimally rebased by Matt Turner.
> >
> > Tested-by: Matt Turner <mattst88@gmail.com>
> > Signed-off-by: Matt Turner <mattst88@gmail.com>
>
> I applied the patch to my 1480 tree. Unfortunately, it doesn't work with
> my system. As far as I can see, the driver does not get any interrupts.
>
> My tree is 2.6.32, though. Do you know if I might be missing some other
> relevant patch ?
As the original author I apologise for the lack of response about these
changes -- I've had a really, really hectic time recently and will
continue to suffer from that for several weeks yet at the very least.
As to the patches -- these I submitted originally back in 2008 as a
series. There may have been more than one series actually, but I can't
recall the details offhand. There were some discussions and concerns
about some of the patches which in the end I did not fully address owing
to various disruptions and the lack of time, which is why they did not go
in. I do remember some bits about interrupt handling as the original
implementation of the I2C host interface used polling only and I saw it as
a gross inefficiency. Obviously with all the bits in place they used to
work at least for me.
Matt, thanks for keeping your eye on these bits and reviving them; I've
meant to do so for a long time now, but never came to it. Please note
however, as I'm the original author, my original Signed-off-by markups
continue to apply and you should be quoting them with the submissions.
You should only add your own Signed-off-by annotation if you made any
changes and it would make sense to state what these changes were.
I'll do my best to provide some aid with these bits, but won't be able to
do anything but plain code review up till January at the very least, and
then maybe not even that. My SWARM board has been stuck with 2.6.27-ish
for a long while now. Sorry.
Maciej
next prev parent reply other threads:[~2010-12-06 17:56 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-06 6:38 [PATCH] I2C: SiByte: Convert the driver to make use of interrupts Matt Turner
[not found] ` <1291617494-18430-1-git-send-email-mattst88-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-12-06 14:59 ` Guenter Roeck
2010-12-06 17:30 ` Guenter Roeck
[not found] ` <20101206173040.GA18372-IzeFyvvaP7pWk0Htik3J/w@public.gmane.org>
2010-12-06 17:40 ` Matt Turner
[not found] ` <AANLkTikGgfBuj086eRvy4VzzyE2suJCL9z=SfmOiFiPx-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-12-06 18:02 ` Guenter Roeck
2010-12-06 18:04 ` Matt Turner
2010-12-06 17:56 ` Maciej W. Rozycki [this message]
[not found] ` <alpine.LFD.2.00.1012061739200.17185-FBDaDh2CBnQu/uO211tRtWD2FQJk+8+b@public.gmane.org>
2010-12-06 18:02 ` Matt Turner
[not found] ` <AANLkTikWRsgHao_eb4W47b=E4vm6z=hi36JE_VBtD6Rg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-12-07 2:26 ` Maciej W. Rozycki
[not found] ` <alpine.LFD.2.00.1012070148050.17185-FBDaDh2CBnQu/uO211tRtWD2FQJk+8+b@public.gmane.org>
2010-12-07 5:14 ` Guenter Roeck
[not found] ` <20101207051438.GA20144-IzeFyvvaP7pWk0Htik3J/w@public.gmane.org>
2010-12-07 14:30 ` Maciej W. Rozycki
[not found] ` <alpine.LFD.2.00.1012070740130.17185-FBDaDh2CBnQu/uO211tRtWD2FQJk+8+b@public.gmane.org>
2010-12-07 14:41 ` Guenter Roeck
2010-12-07 6:23 ` Guenter Roeck
-- strict thread matches above, loose matches on Subject: below --
2011-08-18 23:43 Matt Turner
[not found] ` <1313710991-3596-1-git-send-email-mattst88-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-08-22 20:02 ` Guenter Roeck
2011-08-24 15:36 ` Matt Turner
[not found] ` <CAEdQ38E6qqVAKC1MkAWto5yeU9N2uoyGY1Y5431kNUNL_yc8EA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-09-02 13:21 ` Jean Delvare
2011-09-02 13:35 ` Maciej W. Rozycki
2011-09-03 8:30 ` Jean Delvare
[not found] ` <20110903103036.161616a5-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2011-10-31 9:53 ` Jean Delvare
[not found] ` <20111031105354.4b888e44-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2012-01-10 14:38 ` Jean Delvare
2012-01-10 15:31 ` Maciej W. Rozycki
[not found] ` <20120110153834.531664db-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2012-01-12 21:19 ` Matt Turner
[not found] ` <CAEdQ38FpG11m50pwg2=tu1fJRRg=zixFKLsPmVPOzWNBCjbNBg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-03-31 6:23 ` Jean Delvare
[not found] ` <20120331082346.26cc95cb-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2012-03-31 12:11 ` Matt Turner
[not found] ` <CAEdQ38Ez+8DudAaJY7HZu9jbisk_KMbBO5h=s+P4pjJ0Va-zWw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-04-03 12:26 ` Maciej W. Rozycki
2012-06-30 16:35 ` Matt Turner
[not found] ` <CAEdQ38EDKndUcdBu1tZ_dOuhweVRW6aA=YKb6kUE3gUQJiwWoQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-07-19 21:01 ` Maciej W. Rozycki
[not found] ` <alpine.LFD.2.00.1207160208570.12288-FBDaDh2CBnQu/uO211tRtWD2FQJk+8+b@public.gmane.org>
2012-12-18 12:08 ` Jean Delvare
2008-05-13 3:28 Maciej W. Rozycki
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=alpine.LFD.2.00.1012061739200.17185@eddie.linux-mips.org \
--to=macro@linux-mips.org \
--cc=guenter.roeck@ericsson.com \
--cc=khali@linux-fr.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-mips@linux-mips.org \
--cc=mattst88@gmail.com \
--cc=ralf@linux-mips.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).