linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paul Mundt <lethal@linux-sh.org>
To: Chris Ball <cjb@laptop.org>
Cc: Magnus Damm <magnus.damm@gmail.com>,
	Guennadi Liakhovetski <g.liakhovetski@gmx.de>,
	linux-mmc@vger.kernel.org,
	Andrew Morton <akpm@linux-foundation.org>,
	Ian Molton <ian@mnementh.co.uk>, Magnus Damm <damm@opensource.se>,
	linux-sh@vger.kernel.org
Subject: Re: outstanding TMIO MMC patches
Date: Wed, 05 Jan 2011 23:31:37 +0000	[thread overview]
Message-ID: <20110105233137.GI23889@linux-sh.org> (raw)
In-Reply-To: <20110105185717.GA9016@void.printf.net>

On Wed, Jan 05, 2011 at 06:57:17PM +0000, Chris Ball wrote:
> On Thu, Jan 06, 2011 at 02:30:30AM +0900, Paul Mundt wrote:
> > This is basically where the problem lies. Ian has some version of the
> > hardware that we don't, and he likewise doesn't have access to the
> > version that we do (of course there would be no problem in making the
> > hardware available to whoever decides to step up and look after TMIO in a
> > more constructive fashion, though). There are likewise issues with
> > regards to who has access to what specifications, and there are cases
> > where neither Ian nor any of the people from our side have any specs at
> > all. With this sort of a scenario it can be quite difficult to avoid
> > stepping on other peoples toes and making sure that things aren't being
> > inadvertently broken, and this is something I don't see any specific
> > resolution to, other than if you're not around to test and object in a
> > timely fashion, you lose. I don't know if other MMC drivers have the same
> > problem or not, but I can't imagine that this situation is terribly
> > unique when you have both corporations and hobbyists working on the same
> > driver from vastly different angles.
> 
> I see.  So, if most patches are coming from your side, it seems that the
> largest problem for the moment is that no-one except Ian can test your
> patches against his hardware.  Do we think there's any chance of someone
> (I guess ideally you but possibly me) getting hold of hardware with Ian's
> MMC block in, for at least occasional testing before releases?
> 
> If not, is there any kind of split in the driver that we could use to try
> to isolate changes more?
> 
The biggest difference is that the stuff Ian is working with is a
full-blown MFD, while from our side we're simply dealing with an insular
MFD cell. At the moment we have a shim single-function MFD driver
(sh_mobile_shdi) that simply packages up the insular cell and binds it to
tmio-mmc so that we could keep using the same interface on the MMC side
without having to hack up the driver irreperably.

The behaviour however is not always the same, which you can already see
in things like 311f3ac76826bfd8ed6213ded91ec947df164def when DMA support
was added. For the most part it's been posible to keep things fairly
compartmentalized by layering on top of MFD, but there are plenty of
cases where we just have to make assumptions about how the other versions
of the block work. Given that we don't have an MFD in any of the blocks
we're using, it's not always readily apparent what the best way to split
things out is while keeping within the spirit of the MFD layering. How
best to handle runtime PM for example remains an outstanding issue.

As far as I can tell, all of the other MFD drivers using tmio-mmc are
already years old and mostly seem to have come out of the handhelds.org
work. Some of them bear recent copyrights but were ported from 2.4 code,
and so date from that era of hardware. I expect that for the most part
these have all been end of lifed from Toshiba's side already, so it's not
entirely obvious how easy they will be to procure. I'll take a look and
see what I can dig up though, and of course we're happy to send hardware
with our version of the block in it to whoever wishes to do independent
testing.

  parent reply	other threads:[~2011-01-05 23:31 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-28 23:32 outstanding TMIO MMC patches Guennadi Liakhovetski
2010-12-29 13:35 ` Arnd Hannemann
2011-01-05 22:24   ` Chris Ball
2011-01-05 22:49     ` Chris Ball
2011-01-05  2:10 ` Magnus Damm
2011-01-05  4:53   ` Paul Mundt
2011-01-05 16:57     ` Chris Ball
2011-01-05 17:30       ` Paul Mundt
2011-01-05 18:57         ` Chris Ball
2011-01-05 21:16           ` Arnd Hannemann
2011-01-05 23:08             ` Paul Mundt
2011-01-05 23:31           ` Paul Mundt [this message]
2011-01-06  1:57           ` Magnus Damm
2011-01-05 22:57 ` Chris Ball

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=20110105233137.GI23889@linux-sh.org \
    --to=lethal@linux-sh.org \
    --cc=akpm@linux-foundation.org \
    --cc=cjb@laptop.org \
    --cc=damm@opensource.se \
    --cc=g.liakhovetski@gmx.de \
    --cc=ian@mnementh.co.uk \
    --cc=linux-mmc@vger.kernel.org \
    --cc=linux-sh@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    /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).