From nobody Thu Dec 18 22:25:22 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1598606716; cv=none; d=zohomail.com; s=zohoarc; b=YaRtT1Zh8zf4lE+MDXQdhDFGuZPzk0SSM8bV1pjUXUSkrTp30jCSiGcXTA7DJcXdxLZYJGgIURetZm2gJRihGVRhl2yPxdTyO1fEBWRoHubSTFu3Ioe3K2jVgypACqfUotBFWZ5h3V68jkTDlD8g4AXdR9ly2yqDG3SYSugfWUI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1598606716; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=qGRrg8fqVk3kjMpo0tOF1M25f8LDIDHdvCUbdkd6EyQ=; b=Q3PAtPY0e4IbvmF0LuGLUxXhr4fW+D+GJo4KIlRnf9f60qDO9kM/+K83yLoyZ8Jkj/Gn9EWneZe4IR3EEB6VJS+iCTlkxjYyAHqZDY+qUbrmYLIfVrMb6m+0Xjk88muwdhTEP8AcRerosz6t/jfQo30pN9dZfdJmkSUU9JPbUME= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1598606716208247.71736808143726; Fri, 28 Aug 2020 02:25:16 -0700 (PDT) Received: from localhost ([::1]:55042 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kBadG-0005Xw-Q5 for importer@patchew.org; Fri, 28 Aug 2020 05:25:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45738) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kBacQ-0003lO-2d for qemu-devel@nongnu.org; Fri, 28 Aug 2020 05:24:22 -0400 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]:36253) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kBacL-0004CE-MX for qemu-devel@nongnu.org; Fri, 28 Aug 2020 05:24:21 -0400 Received: by mail-wm1-x342.google.com with SMTP id z9so286765wmk.1 for ; Fri, 28 Aug 2020 02:24:17 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [81.2.115.148]) by smtp.gmail.com with ESMTPSA id t13sm912304wru.65.2020.08.28.02.24.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2020 02:24:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=qGRrg8fqVk3kjMpo0tOF1M25f8LDIDHdvCUbdkd6EyQ=; b=rLYYnfV3W118pSJj3ZYnFao4Xq3D+F5AeNiYdh63Lvcvkd6bj6CMBBRnaJnbwry3hH GvGZfR5w8IFX5Zkomzn1bc/eMIGQgZdV1m0fpwIFkVSmSP5yk0ssj1e27F4tuytkLiab ogwVirvMZ3uT/YQwTKa5t6GRo0oiSD0JZLDdHcuL+KdCU4v5FGk3VNOUFPljEwA78V7h TXij080lauEEaGVvWFgFa6nZmYqNMFHm2tyv5vtBctx7f3r7JD7aaC63PatYCiBYXYsl lvo0o9CvNt4thhCxbfPaqSFfzj7M1b3vHRr/D1QuZ3enTjqbeTMVSy4lMdMMhEjmLIkA EX8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=qGRrg8fqVk3kjMpo0tOF1M25f8LDIDHdvCUbdkd6EyQ=; b=izDgfBuWtVDVYRt5ylo8uQgoN/vg1xRF4fhePZ5KvhIKJqQZttpYX3K6Mv8adFF13Y OuWaz9qjvBQ3SVcxPxBZejPzsTC8wTG3j0BdC0KEl+fp2WibCv8r5JnQeajTGTXtjfVf xKS1YkhhI3KRYbp08t7VojtP8EgTuzcPwnUshZdsZdbhU0H45VIcd9kqgPlF+iX+IbGg hpAczVbQmc594AF5VLGMuCU40BPpGTjQQkUJ5hqc4m+uDUx5M/6Pj20YzqXZ35lLPbKg CReloppjfoH6FRK+Thw6Wu/Pn7JaIecSelMxzuQCJQpiJbmJuIR22K3ek6E//qJMU48S zBaA== X-Gm-Message-State: AOAM5337S/SLZHhPKRmnNOg8ij7VE7t9cIZax3tMnhyS04bH/7Fc7a8i QTDzPqgZQHt/j7B5PXLJdjUkC5ehIyC0h8TN X-Google-Smtp-Source: ABdhPJyWnkth0SYsT1f9Yo/prloAG4fSNUgJIQuUnichGBUOHBj8CAiG1ct3P6IxA602dyffp7YAPg== X-Received: by 2002:a1c:81cb:: with SMTP id c194mr716607wmd.45.1598606655957; Fri, 28 Aug 2020 02:24:15 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 01/35] hw/arm/sbsa-ref: fix typo breaking PCIe IRQs Date: Fri, 28 Aug 2020 10:23:39 +0100 Message-Id: <20200828092413.22206-2-peter.maydell@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200828092413.22206-1-peter.maydell@linaro.org> References: <20200828092413.22206-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::342; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x342.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @linaro.org) From: Graeme Gregory Fixing a typo in a previous patch that translated an "i" to a 1 and therefore breaking the allocation of PCIe interrupts. This was discovered when virtio-net-pci devices ceased to function correctly. Cc: qemu-stable@nongnu.org Fixes: 48ba18e6d3f3 ("hw/arm/sbsa-ref: Simplify by moving the gic in the ma= chine state") Signed-off-by: Graeme Gregory Reviewed-by: Philippe Mathieu-Daud=C3=A9 Message-id: 20200821083853.356490-1-graeme@nuviainc.com Signed-off-by: Peter Maydell --- hw/arm/sbsa-ref.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/arm/sbsa-ref.c b/hw/arm/sbsa-ref.c index f030a416fdf..2a7d9a61fc7 100644 --- a/hw/arm/sbsa-ref.c +++ b/hw/arm/sbsa-ref.c @@ -554,7 +554,7 @@ static void create_pcie(SBSAMachineState *sms) =20 for (i =3D 0; i < GPEX_NUM_IRQS; i++) { sysbus_connect_irq(SYS_BUS_DEVICE(dev), i, - qdev_get_gpio_in(sms->gic, irq + 1)); + qdev_get_gpio_in(sms->gic, irq + i)); gpex_set_irq_num(GPEX_HOST(dev), i, irq + i); } =20 --=20 2.20.1