From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36988) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2276-0003QY-Q4 for qemu-devel@nongnu.org; Sun, 15 May 2016 15:54:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b2272-0008T9-I9 for qemu-devel@nongnu.org; Sun, 15 May 2016 15:54:07 -0400 Received: from mail-lf0-x22a.google.com ([2a00:1450:4010:c07::22a]:36273) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2271-0008T2-95 for qemu-devel@nongnu.org; Sun, 15 May 2016 15:54:04 -0400 Received: by mail-lf0-x22a.google.com with SMTP id u64so110115508lff.3 for ; Sun, 15 May 2016 12:54:03 -0700 (PDT) Date: Sun, 15 May 2016 22:53:56 +0300 From: Max Filippov Message-ID: <20160515195356.GB24189@octofox.metropolis> References: <20160515185824.GA24189@octofox.metropolis> <5738D046.6000509@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5738D046.6000509@gmail.com> Subject: Re: [Qemu-devel] "tcg: Clean up direct block chaining safety checks" breaks target-xtensa mmu test List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Sergey Fedorov Cc: Richard Henderson , Alex =?iso-8859-1?Q?Benn=E9e?= , qemu-devel On Sun, May 15, 2016 at 10:38:46PM +0300, Sergey Fedorov wrote: > On 15/05/16 21:58, Max Filippov wrote: > > I've noticed that the commit 5b053a4a28278 (tcg: Clean up direct block > > chaining safety checks) has broken tearget-xtensa test cross_page_tb > > from the tests/tcg/xtensa/test_mmu.S. The test runs a TB that spans two > > adjacent pages, then unmaps the second page and runs it again. It > > expects an instruction fetch exception on the second run, but with the > > said commit doesn't get it. Reverting that commit fixes the test. > > Any suggestions? > > That's too strange. How do I run the test? I've minimized the test case, the source and the binary are available here: http://jcmvbkbc.spb.ru/~jcmvbkbc/tmp/201605152245/ You can run it as qemu-system-xtensa -M sim -cpu dc232b -nographic -semihosting -kernel ./test_mmu.tst -- Thanks. -- Max