Received: from eggs.gnu.org ([2001:4830:134:3::10]:44345) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zlsqa-0006NL-T3 for qemu-devel@nongnu.org; Tue, 13 Oct 2015 02:14:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZlsqW-0001Bh-RE for qemu-devel@nongnu.org; Tue, 13 Oct 2015 02:14:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54585) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZlsqW-0001Bd-MF for qemu-devel@nongnu.org; Tue, 13 Oct 2015 02:14:00 -0400 Date: Tue, 13 Oct 2015 07:31:03 +0100 From: Alexander Gordeev Message-ID: <20151013063057.GA32581@agordeev.usersys.redhat.com> References: <1444683308-30543-1-git-send-email-agordeev@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH] hw/arm/virt: Allow zero address for PCI IO space List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Andrew Jones , QEMU Developers On Mon, Oct 12, 2015 at 10:03:03PM +0100, Peter Maydell wrote: > On 12 October 2015 at 21:55, Alexander Gordeev wrote: > > Currently PCI IO address 0 is not allowed even though > > the IO space starts from 0. As result, PCI IO is not > > possible to use at all. > > I don't see any reason for us not to allow 0 IO addresses, > but I'm not sure how your your conclusion follows. It > should be entirely possible to map PCI IO to some other > address than zero in the IO window, which is what I would > have expected the guest to do. You are right - my changelog is incorrect. The rest of IO space should be alright. However, as 0 IO address is exposed via "ranges" to the guest, it must be usable - isn't it? So it either should be allowed or the range should be different. Thanks! > thanks > -- PMM -- Regards, Alexander Gordeev agordeev@redhat.com