From mboxrd@z Thu Jan 1 00:00:00 1970 From: Angelo Dureghello Subject: Re: [PATCH] m68k: allow ColdFire m5441x parts to run with MMU enabled Date: Sat, 15 Jul 2017 01:47:52 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from sysam.it ([5.39.81.93]:58437 "EHLO sysam.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751004AbdGNXry (ORCPT ); Fri, 14 Jul 2017 19:47:54 -0400 In-Reply-To: Content-Language: en-US Sender: linux-m68k-owner@vger.kernel.org List-Id: linux-m68k@vger.kernel.org To: Linux/m68k Hi Greg, On 15/07/2017 01:21, Angelo Dureghello wrote: > Hi Greg, > > The Freescale ColdFire M5441x system-on-chip parts have full paged MMU > hardware support. So far though we have only allowed them to be > configured for use in non-MMU mode. > > All required kernel changes to support operation of the M5441x parts > with MMU enabled have been pushed into the kernel, so now we can allow > it to be configured and used with the MMU enabled. > > I don't actually have any M5441x based hardware so I can't do any real > testing on this. The changes up to now were based on Yannick Gicquel > initial patches to support this. Is anybody out there able to test > this properly? I won't push this any further until we have some > confirmation that it all works as expected. > > Signed-off-by: Greg Ungerer > --- > arch/m68k/Kconfig.cpu | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/m68k/Kconfig.cpu b/arch/m68k/Kconfig.cpu > index d2219f30..4dc51c0 100644 > --- a/arch/m68k/Kconfig.cpu > +++ b/arch/m68k/Kconfig.cpu > @@ -283,7 +283,7 @@ config M548x > > config M5441x > bool "MCF5441x" > - depends on !MMU > + select MMU_COLDFIRE if MMU > select GENERIC_CLOCKEVENTS > select HAVE_CACHE_CB > help forgot some useful info on my test: - i built a 4.12 kernel from mainline (just pulled git master) and tested to boot properly as no-mmu - i have those entries in my defconfig: .... CONFIG_BINFMT_FLAT=y CONFIG_BINFMT_ZFLAT=y CONFIG_BINFMT_SHARED_FLAT=y CONFIG_BINFMT_MISC=y .... I can help on debug when back from holidays, in 3 weeks. Regards, Angelo Dureghello