[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201012152337.19475.arnd@arndb.de>
Date: Wed, 15 Dec 2010 23:37:19 +0100
From: Arnd Bergmann <arnd@...db.de>
To: David Brown <davidb@...eaurora.org>
Cc: linux-arm-kernel@...ts.infradead.org,
Stepan Moskovchenko <stepanm@...eaurora.org>,
linux-arm-msm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/7] msm: io: I/O register definitions for MSM8960
On Wednesday 15 December 2010, David Brown wrote:
>
> On Wed, Dec 15, 2010 at 05:40:24PM +0100, Arnd Bergmann wrote:
>
> > My point was really that they should not be exclusive, even if they
> > are rather different. If the code is structured in a more modular
> > way, you can turn all MSM/QSD options from the "Qualcomm MSM SoC Type"
> > choice into separate "bool" config options. You probably don't want
> > to do that now for all the existing ones, but I would suggest you
> > try not add more to the pile ;-).
>
> It's kind of hard to do too much of this, though, until ARM kernels
> can be relocated. They mostly all live at different base addresses
> (and 8960 might also move). Throw CPU differences into the mix and it
> gets messier.
>
> I'm not saying it isn't solvable, but there are a lot of things that
> need to be done to get there.
Yes, I understand that it's hard for many reasons, but my impression
is that there is a general agreement on the idea. As I said, I don't
expect you to fix it all at once, but it shouldn't be too hard
to take care when adding new code.
We already have infrastructure that deals with different CPU cores
in one kernel binary, at least from v5 to v7, and some platforms
like omap and realview can already be built for a variety of very
different machines without such problems.
Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists