From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43862) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUWo7-0006M8-9T for qemu-devel@nongnu.org; Wed, 26 Aug 2015 05:15:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZUWo3-0007YK-5R for qemu-devel@nongnu.org; Wed, 26 Aug 2015 05:15:47 -0400 References: <55CDD5E2.60405@sysgo.com> <55D71A96.70703@sysgo.com> From: Alexander Graf Message-ID: <55DD83BD.2000308@suse.de> Date: Wed, 26 Aug 2015 11:15:41 +0200 MIME-Version: 1.0 In-Reply-To: <55D71A96.70703@sysgo.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] e500 ATMU register reads broken List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Rudolf Marek Cc: qemu-ppc , qemu-devel@nongnu.org On 21.08.15 14:33, Rudolf Marek wrote: > Hi all, > > Ping? > > Thanks > Rudolf > > Dne 14.8.2015 v 13:49 Rudolf Marek napsal(a): >> Hi all, >> >> I noticed that ATMU register reads on E500 are broken. Due to the >> wrong mask, >> some registers cannot be read and instead some other registers are >> read. Please >> see attached patch which fixes the problem. Sorry for the long delay. Please CC qemu-ppc@nongnu.org on the next submission, so that more PPC people have the chance to review the patch ;). Thanks, applied to ppc-next. >> >> I also noticed that if there was an intention to have 1:1 PCI/CPU >> space mapping >> for 0xC000_0000 for MPC8544DS without programming ATMUs - it does not >> work, >> unless ATMUs are programmed. I've received a report about this on IRC as well. It works fine with U-Boot because that writes the ATMUs, but not with direct -kernel boot. Would you mind to follow up with a patch to the mpc8544ds machine file that programs the ATMUs on init? Thanks a lot! Alex