From patchwork Fri Oct 16 13:58:04 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 55107 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by patches.linaro.org (Postfix) with ESMTPS id 6C2CC23097 for ; Fri, 16 Oct 2015 13:59:26 +0000 (UTC) Received: by wiyb4 with SMTP id b4sf2943577wiy.2 for ; Fri, 16 Oct 2015 06:59:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:date :message-id:in-reply-to:references:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=FMmy4wH2106ZmpZRevo69hz71TwJtJysp2FQh3ihn54=; b=EiYm4VUkuN/JRe3D0CQMU4hf3eoN/u+OSVq+//f/7mZr0rtT+sV04Fp2shtQ6lzsFh pxU7/eCnOFr09DTgkheUSEzdNCd/AwImzYHKG9Rx7tY0x/wXN+uOlGscfBUchLPWUDSZ Wj/zqrxIGd3e8u1bUct9M4gTcncg7Rc+NSFdNv3mq3r+k/SxNZbGKcmb2V5AveygdzsT qMU2x1a7yKzQgo5dAeK+XVz3KTf6g9Zt/8dpGNHAhSPC8pxNmIxp4U7SQ70kjyiwOk6Z V/JVrNHHw5GM5QaaFVVnyhIwDFE9igGGl5Nvtah2uTA9Eso7Eds6JMelrdsynOGnQC5u 1Paw== X-Gm-Message-State: ALoCoQnL2MHfxXZzVVyF2C4w4Am5Rjxj2r40J3E3EAuIGY0Dp27g2PCktdVg0fWR10WvPmYAak4M X-Received: by 10.112.181.10 with SMTP id ds10mr3618985lbc.3.1445003965725; Fri, 16 Oct 2015 06:59:25 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.157.135 with SMTP id g129ls304862lfe.84.gmail; Fri, 16 Oct 2015 06:59:25 -0700 (PDT) X-Received: by 10.112.204.67 with SMTP id kw3mr8265835lbc.60.1445003965591; Fri, 16 Oct 2015 06:59:25 -0700 (PDT) Received: from mail-lb0-f175.google.com (mail-lb0-f175.google.com. [209.85.217.175]) by mx.google.com with ESMTPS id h10si13027059lfh.15.2015.10.16.06.59.25 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Oct 2015 06:59:25 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.175 as permitted sender) client-ip=209.85.217.175; Received: by lbbes7 with SMTP id es7so11435128lbb.2 for ; Fri, 16 Oct 2015 06:59:25 -0700 (PDT) X-Received: by 10.112.146.104 with SMTP id tb8mr8450242lbb.35.1445003965464; Fri, 16 Oct 2015 06:59:25 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp1307792lbq; Fri, 16 Oct 2015 06:59:24 -0700 (PDT) X-Received: by 10.141.28.21 with SMTP id f21mr20260177qhe.13.1445003963492; Fri, 16 Oct 2015 06:59:23 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id o70si18028575qki.36.2015.10.16.06.59.23 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 16 Oct 2015 06:59:23 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Received: from localhost ([::1]:53827 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zn5XX-000394-3f for patch@linaro.org; Fri, 16 Oct 2015 09:59:23 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54995) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zn5WN-00020V-5V for qemu-devel@nongnu.org; Fri, 16 Oct 2015 09:58:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zn5WM-0000kX-5D for qemu-devel@nongnu.org; Fri, 16 Oct 2015 09:58:11 -0400 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:35158) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zn5WL-0000ht-VT for qemu-devel@nongnu.org; Fri, 16 Oct 2015 09:58:10 -0400 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1Zn5WK-0003mj-0q for qemu-devel@nongnu.org; Fri, 16 Oct 2015 14:58:08 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Date: Fri, 16 Oct 2015 14:58:04 +0100 Message-Id: <1445003887-14475-11-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1445003887-14475-1-git-send-email-peter.maydell@linaro.org> References: <1445003887-14475-1-git-send-email-peter.maydell@linaro.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:8b0:1d0::1 Subject: [Qemu-devel] [PULL 10/13] hw/arm/virt: Allow zero address for PCI IO space X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.maydell@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.175 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 From: Alexander Gordeev Currently PCI IO address 0 is not allowed even though the IO space starts from 0. This update makes PCI IO address 0 usable. CC: Peter Maydell CC: Andrew Jones Signed-off-by: Alexander Gordeev Reviewed-by: Peter Maydell Signed-off-by: Peter Maydell --- hw/arm/virt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/arm/virt.c b/hw/arm/virt.c index 5ac5178..4e7160c 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -1162,6 +1162,7 @@ static void virt_class_init(ObjectClass *oc, void *data) mc->has_dynamic_sysbus = true; mc->block_default_type = IF_VIRTIO; mc->no_cdrom = 1; + mc->pci_allow_0_address = true; } static const TypeInfo machvirt_info = {