Received: from eggs.gnu.org ([2001:4830:134:3::10]:33233) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRzNJ-0002xv-FN for qemu-devel@nongnu.org; Tue, 26 Jul 2016 06:14:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bRzNF-0001Bq-4P for qemu-devel@nongnu.org; Tue, 26 Jul 2016 06:14:08 -0400 Received: from mailapp01.imgtec.com ([195.59.15.196]:63606) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRzNE-0001BT-UQ for qemu-devel@nongnu.org; Tue, 26 Jul 2016 06:14:05 -0400 Date: Tue, 26 Jul 2016 11:13:44 +0100 From: Leon Alrae Message-ID: <20160726101343.GA20268@hhmipssw201.hh.imgtec.org> References: <20160722095540.5887-1-paul.burton@imgtec.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20160722095540.5887-1-paul.burton@imgtec.com> Subject: Re: [Qemu-devel] [PATCH] hw/mips_malta: Fix YAMON API print routine List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paul Burton Cc: qemu-devel@nongnu.org, Aurelien Jarno On Fri, Jul 22, 2016 at 10:55:40AM +0100, Paul Burton wrote: > The print routine provided as part of the in-built bootloader had a bug > in that it attempted to use a jump instruction as part of a loop, but > the target has its upper bits zeroed leading to control flow > transferring to 0xb0000814 rather than the intended 0xbfc00814. Fix this > by using a branch instruction instead, which seems more fit for purpose. > > A simple way to test this is to build a Linux kernel with EVA enabled & > attempt to boot it in QEMU. It will attempt to print a message > indicating the configuration mismatch but QEMU would previously > incorrectly jump & wind up printing a continuous stream of the letter E. > > Signed-off-by: Paul Burton > Cc: Aurelien Jarno > Cc: Leon Alrae > --- > hw/mips/mips_malta.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied to target-mips queue. Thanks, Leon