From: Julian Calaby <julian.calaby@gmail.com>
To: avorontsov@ru.mvista.com
Cc: Dmitry Baryshkov <dbaryshkov@gmail.com>,
Matteo Fortini <m.fortini@selcomgroup.com>,
linux-kernel@vger.kernel.org,
Krzysztof Helt <krzysztof.h1@poczta.fm>,
linuxppc-dev@ozlabs.org,
Andrew Morton <akpm@linux-foundation.org>,
Anatolij Gustschin <agust@denx.de>
Subject: Re: [PATCH] mb862xx: Restrict compliation of platform driver to PPC
Date: Tue, 20 Jan 2009 13:00:19 +1100 [thread overview]
Message-ID: <646765f40901191800y27530acaw74edc01abdd13e68@mail.gmail.com> (raw)
In-Reply-To: <20090120011945.GA23380@oksana.dev.rtsoft.ru>
On Tue, Jan 20, 2009 at 12:19, Anton Vorontsov <avorontsov@ru.mvista.com> wrote:
> Should be Anatolij. ;-)
Who is the first person on the list, I guess he's missed this or isn't
reading his email.
> But I'm interested in this driver as well.
>
> FWIW, the patch looks OK, except for the long lines in the commit log.
I don't expect this to be applied as is. There is a better fix out
there, but I don't know the hardware so I'm not sure what it is.
> Also you'd better mention exact build error in the commit log.
Essentially it's a huge list of missing definitions for functions
which aren't defined for SPARC. I'll reply with it if you really want
it, however they look to be PPC specific. If they were generic I would
have simply included the correct files so that it compiled, rather
than this nasty hack.
It also appears that these functions are not defined in the headers
that this driver includes.
> (Btw, we'd better fix the build for sparc instead of adding another
> "depends on". Could anybody point to some recent, working sparc cross
> toolchain? Last time I googled for it I found only some prehistoric
> versions that I didn't bother to try...)
Before we commit to fixing this properly, is it really worth it? Is
this hardware ever likely to be used with SPARC?
Given that there are PCI and OF versions of the driver, it seems to me
that this is available as a PCI expansion card, and as a graphics chip
built into some PPC motherboards. The initial commit says: "Lime GDC
support is known to work on PPC440EPx based lwmon5 and MPC8544E based
socrates embedded boards, both equipped with Lime GDC." so I'm
guessing that this graphics chip is designed for embedded boards. I
can find references to it's use in embedded automotive applications on
Google but I can't find any reference to the Fujitsu LIME (MB86276)
and SPARC on Google.
Note that the PCI version of this driver compiles fine with both
allyesconfig and allmodconfig.
If you're sure you want to do this, I'd check out crosstool for a
SPARC cross-complier.
Two other things:
1. SPARC32 and SPARC64 can be compiled with the same compiler.
2. These two platforms have slightly different OpenFirmware interfaces
- so fixing it for both of these will be a pain.
Thanks,
--
Julian Calaby
Email: julian.calaby@gmail.com
.Plan: https://sites.google.com/site/juliancalaby/
next prev parent reply other threads:[~2009-01-20 2:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-12 0:06 [PATCH] mb862xx: Restrict compliation of platform driver to PPC Julian Calaby
2009-01-20 0:50 ` Julian Calaby
2009-01-20 1:19 ` Anton Vorontsov
2009-01-20 2:00 ` Julian Calaby [this message]
2009-01-23 10:31 ` Anatolij Gustschin
2009-01-20 13:57 ` Anatolij Gustschin
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=646765f40901191800y27530acaw74edc01abdd13e68@mail.gmail.com \
--to=julian.calaby@gmail.com \
--cc=agust@denx.de \
--cc=akpm@linux-foundation.org \
--cc=avorontsov@ru.mvista.com \
--cc=dbaryshkov@gmail.com \
--cc=krzysztof.h1@poczta.fm \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=m.fortini@selcomgroup.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).