[PATCH] ARM: provide XIP_VIRT_ADDR for no-MMU builds

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Sat Dec 10 16:58:44 EST 2011


Hi Russell,

On Sat, Dec 10, 2011 at 10:11:22AM +0000, Russell King - ARM Linux wrote:
> On Sat, Dec 10, 2011 at 10:52:53AM +0100, Uwe Kleine-König wrote:
> > On Sat, Dec 10, 2011 at 01:02:21AM +0000, Russell King - ARM Linux wrote:
> > > On Fri, Dec 09, 2011 at 10:50:51PM +0100, Uwe Kleine-König wrote:
> > > > Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
> > > 
> > > Lack of changelog.  Say why this change is required.
> > Something like:
> > 
> > 	XIP_VIRT_ADDR is needed for XIP builds and currently only
> > 	defined for builds with CONFIG_MMU.
> > 
> > 	Also provide it for no-MMU builds to make it possible to build
> > 	an XIP kernel for MMU-less machines. As these lack an MMU it has
> > 	to be an identity mapping.
> 
> You seem to be saying from the above that this is required also for
> non-XIP kernel builds as well as XIP kernel builds.  That sounds wrong -
> XIP_VIRT_ADDR is only required for XIP kernel builds.  Use outside of
> that would be a bug.
> 
> Please clarify.
After rereading my changelog a few times I don't see where I suggest
that XIP_VIRT_ADDR is needed for non-XIP builds. Can you please be a bit
more concrete?

Thanks
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |



More information about the linux-arm-kernel mailing list