Received: from eggs.gnu.org ([2001:4830:134:3::10]:33939) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZeqq-00055g-VC for qemu-devel@nongnu.org; Tue, 16 Aug 2016 09:56:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bZeqn-0007Ty-Qj for qemu-devel@nongnu.org; Tue, 16 Aug 2016 09:56:20 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 16 Aug 2016 15:56:13 +0200 From: Michael Walle In-Reply-To: <20160816134130.GA19717@beaming.home> References: <1469200685-13695-1-git-send-email-michael@walle.cc> <57924250.5020205@suse.de> <10394037c57ae9c3f734cd31e93d58a8@walle.cc> <20160816134130.GA19717@beaming.home> Message-ID: <9d9eb0d5d92348c056ae75f9e4bd250e@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 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. -michael