From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37995) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmmTH-0005m0-1l for qemu-devel@nongnu.org; Wed, 21 Sep 2016 14:42:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmmTD-0000w6-2H for qemu-devel@nongnu.org; Wed, 21 Sep 2016 14:42:15 -0400 Date: Wed, 21 Sep 2016 18:41:59 +0000 From: Riku Voipio Message-ID: <20160921184159.GA24113@kos.to> References: <1469200685-13695-1-git-send-email-michael@walle.cc> <57924250.5020205@suse.de> <10394037c57ae9c3f734cd31e93d58a8@walle.cc> <20160816134130.GA19717@beaming.home> <9d9eb0d5d92348c056ae75f9e4bd250e@walle.cc> <5968dfbaf0fa0542722159ae3b7dd6a1@walle.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5968dfbaf0fa0542722159ae3b7dd6a1@walle.cc> Subject: Re: [Qemu-devel] [PATCH] linux-user: ppc64: set MSR_CM bit for BookE 2.06 MMU List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Walle Cc: Alexander Graf , qemu-ppc@nongnu.org, qemu-devel@nongnu.org, David Gibson On Wed, Sep 21, 2016 at 12:59:58PM +0200, Michael Walle wrote: > Am 2016-08-16 15:56, schrieb Michael Walle: > >Am 2016-08-16 15:41, schrieb Riku Voipio: > >>On Tue, Aug 16, 2016 at 03:32:56PM +0200, Michael Walle wrote: > >>>Am 2016-07-22 17:57, schrieb Alexander Graf: > >>>>On 07/22/2016 05:18 PM, Michael Walle wrote: > >>>>>64 bit user mode doesn't work for the e5500 core because the MSR_CM bit > >>>>>is > >>>>>not set which enables the 64 bit mode for this MMU model. Memory > >>>>>addresses > >>>>>are truncated to 32 bit, which results in "Invalid data memory access" > >>>>>error messages. Fix it by setting the MSR_CM bit for this MMU model. > >>>>> > >>>>>Signed-off-by: Michael Walle > >>>> > >>>>Yup, I guess that's about as smart as we have to be :). > >>>> > >>>> > >>>>Reviewed-by: Alexander Graf > >>> > >>>ping? > >> > >>sorry. slipped through - looks good, but do we want this to qemu 2.7, > >>or is next goot enough? > > > >Hi Riku, > > > >mhh, personally I would prefer to see it in 2.7, too, given that it is > >just a bugfix. But it only makes sense with the patch that I've just > >posted to the mailinglist ("linux-user: ppc64: fix ARCH_206 bit in > >AT_HWCAP"). Therefore, if it is too late for the latter, the first > >might also be just scheduled for next. > > ping. this is still missing. Since David pulled the "linux-user: ppc64: fix > ARCH_206 bit in AT_HWCAP" patch. This is the last missing piece to make > yocto/ppc64 user-mode emulation work ;) Applied. thanks! Riku