Received: from eggs.gnu.org ([2001:4830:134:3::10]:60479) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmfG7-0003vY-OU for qemu-devel@nongnu.org; Wed, 21 Sep 2016 07:00:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmfFy-0003m9-Jm for qemu-devel@nongnu.org; Wed, 21 Sep 2016 07:00:08 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 21 Sep 2016 12:59:58 +0200 From: Michael Walle In-Reply-To: <9d9eb0d5d92348c056ae75f9e4bd250e@walle.cc> References: <1469200685-13695-1-git-send-email-michael@walle.cc> <57924250.5020205@suse.de> <10394037c57ae9c3f734cd31e93d58a8@walle.cc> <20160816134130.GA19717@beaming.home> <9d9eb0d5d92348c056ae75f9e4bd250e@walle.cc> Message-ID: <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: Riku Voipio Cc: Alexander Graf , qemu-ppc@nongnu.org, qemu-devel@nongnu.org, David Gibson 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 ;) -michael