Received: from eggs.gnu.org ([2001:4830:134:3::10]:45512) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VeWUP-0001Jw-M5 for qemu-devel@nongnu.org; Thu, 07 Nov 2013 15:47:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VeWUJ-0004qe-N6 for qemu-devel@nongnu.org; Thu, 07 Nov 2013 15:47:41 -0500 Received: from mx1.redhat.com ([209.132.183.28]:11275) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VeWUJ-0004qW-EH for qemu-devel@nongnu.org; Thu, 07 Nov 2013 15:47:35 -0500 Message-ID: <1383857081.2527.59.camel@localhost.localdomain> From: Marcel Apfelbaum Date: Thu, 07 Nov 2013 22:44:41 +0200 In-Reply-To: References: <1383511723-11228-1-git-send-email-marcel.a@redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] exec: fix regression by making system-memory region UINT64_MAX size List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jordan Justen Cc: Peter Maydell , "Michael S. Tsirkin" , Jan Kiszka , qemu-devel , Anthony Liguori , Paolo Bonzini , Laszlo Ersek , afaerber , rth@twiddle.net On Thu, 2013-11-07 at 12:27 -0800, Jordan Justen wrote: > On Sun, Nov 3, 2013 at 12:48 PM, Marcel Apfelbaum wrote: > > The commit: > > > > Commit: a53ae8e934cd54686875b5bcfc2f434244ee55d6 > > Author: Marcel Apfelbaum > > Date: Mon Sep 16 11:21:16 2013 +0300 > > > > hw/pci: partially handle pci master abort > > > > introduced a regression on make check: > > Laszlo pointed out that my OVMF flash support series was not working > with QEMU master. It was working with QEMU 1.6.0. I then bisected the > issue to this commit. It seems this commit regresses -pflash support > for both KVM and non-KVM modes. > > Can you reproduce the issue this with command? > x86_64-softmmu/qemu-system-x86_64 -pflash pc-bios/bios.bin > (with or without adding -enable-kvm) Thanks Jordan for pointing this out. This patch revealed a lot of hidden issues inside qemu ... I succeeded to reproduce the issue. I saw that get_page_addr_code associated address 0xfffffff0 (after calling io_tlb_to_region) with the new master abort region. It breaks because memory_region_is_unassigned returns true for the new region. It is interesting what happened before this region was added. I will investigate this issue, Thanks, Marcel > I tried adding this patch ("exec: fix regression by making > system-memory region UINT64_MAX size") and it did not help the -pflash > regression. > > -Jordan