From patchwork Thu Nov 29 16:36:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Edgar E. Iglesias" X-Patchwork-Id: 10704877 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D8D6D109C for ; Thu, 29 Nov 2018 16:38:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0F1EE2D62A for ; Thu, 29 Nov 2018 16:38:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0025C2E6F8; Thu, 29 Nov 2018 16:38:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,FSL_HELO_FAKE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 92B392DAD3 for ; Thu, 29 Nov 2018 16:38:36 +0000 (UTC) Received: from localhost ([::1]:55168 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gSPKl-0008GW-MN for patchwork-qemu-devel@patchwork.kernel.org; Thu, 29 Nov 2018 11:38:35 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37050) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gSPJI-0006px-Ps for qemu-devel@nongnu.org; Thu, 29 Nov 2018 11:37:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gSPJF-0007Fk-CQ for qemu-devel@nongnu.org; Thu, 29 Nov 2018 11:37:04 -0500 Received: from mail-lf1-x142.google.com ([2a00:1450:4864:20::142]:33270) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gSPJF-0007FJ-4G; Thu, 29 Nov 2018 11:37:01 -0500 Received: by mail-lf1-x142.google.com with SMTP id i26so1944190lfc.0; Thu, 29 Nov 2018 08:37:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=t6KRhI6CRUiX6rByVIxTuBflTt5STUj4GMogPxTTi8U=; b=nvpa7gjoeegdDgSfjBDqTVlo6HMKS7F+Gyg+cLroYPBw9cbf8swKIskmYd+QNC9CV6 URq9G74BlRlprCZHo+eR/eG7xgOV7dJDJsGajnh+5Iqld8iQvsxKbqWz6SLQy2C22Ni4 ZJiILBx931EjezK5xXgwZeNf5YsmBo9lpHGhryonEJX/sMbfQpHjlSSTYi/kBlZs5vSk HBzu5TUXaquY5gr2p+6/179EI+FopVulqtJypOfpoGTVz/5MhHg7Q9nss74hu27qt+u+ vcrtEvbvX6FcZgOeEqSkmPpHLoeUzefMAgTaF8G5wZynCCORX2RhQ2Rj0GseWMnVT33i p6fA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=t6KRhI6CRUiX6rByVIxTuBflTt5STUj4GMogPxTTi8U=; b=SdMLlT4oGbxZlPdPhT1Vthyq7L1HmZaJe8AsJvNRMVUsLNSr0/wjw2UkARC+js8TcR drHwN+zJFXDyiYuvYSfNWQUUci8bH4QpysUfLDskVwqhu7dPYoG/icUtfWNnYUTfveYQ 8V6FkJHS0FNA+LySI54QyRCsbguRFH52JrzHM3v+HnzYL7oM4kEGiS7XezikLpM0O1eI W1Hcv1q69P0CYqNZfNvTIxK6RMYdoF3KLz+yBkMd2UZSliO/X0wT1KV6ZuIGS1WsOZNy kjBTCJEhVd/avfc/WoknG3VkgLSvB44nZ+OoagzpQRNSng2EpwCl/wuZ4XoXsvEsfaw6 3RXg== X-Gm-Message-State: AA+aEWbcQL8zvbcTMDh1DCbCIn5ylY9AaJcG77BAK7BEOQonqld4Z/4I OpT9I4QHsg/mUX2xpXFcTMbTMJ51 X-Google-Smtp-Source: AFSGD/WhQuZNg+jpsUx4BMLHZQsmSihOArn4/uraPDxlsSXeOqJQcWNWOMtptCwoTdJj7b/DOj33UA== X-Received: by 2002:a19:641d:: with SMTP id y29mr677130lfb.14.1543509419443; Thu, 29 Nov 2018 08:36:59 -0800 (PST) Received: from gmail.com (81-231-232-130-no39.tbcn.telia.com. [81.231.232.130]) by smtp.gmail.com with ESMTPSA id j18-v6sm363987ljc.52.2018.11.29.08.36.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 29 Nov 2018 08:36:58 -0800 (PST) From: "Edgar E. Iglesias" To: qemu-devel@nongnu.org, qemu-arm@nongnu.org Date: Thu, 29 Nov 2018 17:36:52 +0100 Message-Id: <20181129163655.20370-2-edgar.iglesias@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181129163655.20370-1-edgar.iglesias@gmail.com> References: <20181129163655.20370-1-edgar.iglesias@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::142 Subject: [Qemu-devel] [PATCH v1 1/4] hw/arm: versal: Remove bogus virtio-mmio creation X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: figlesia@xilinx.com, peter.maydell@linaro.org, sstabellini@kernel.org, edgar.iglesias@xilinx.com, sai.pavan.boddu@xilinx.com, frasse.iglesias@gmail.com, alistair@alistair23.me, frederic.konrad@adacore.com, muhammad_bilal@mentor.com, philmd@redhat.com, luc.michel@greensocs.com Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: "Edgar E. Iglesias" Remove bogus virtio-mmio creation. This was an accidental left-over an experiment. Signed-off-by: Edgar E. Iglesias Reviewed-by: Alistair Francis Reviewed-by: Luc Michel --- hw/arm/xlnx-versal-virt.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/arm/xlnx-versal-virt.c b/hw/arm/xlnx-versal-virt.c index 1e31a3f442..41b8d801c8 100644 --- a/hw/arm/xlnx-versal-virt.c +++ b/hw/arm/xlnx-versal-virt.c @@ -364,7 +364,6 @@ static void create_virtio_regions(VersalVirt *s) sysbus_connect_irq(SYS_BUS_DEVICE(dev), 0, pic_irq); mr = sysbus_mmio_get_region(SYS_BUS_DEVICE(dev), 0); memory_region_add_subregion(&s->soc.mr_ps, base, mr); - sysbus_create_simple("virtio-mmio", base, pic_irq); } for (i = 0; i < NUM_VIRTIO_TRANSPORT; i++) { From patchwork Thu Nov 29 16:36:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Edgar E. Iglesias" X-Patchwork-Id: 10704875 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 74F2E13A4 for ; Thu, 29 Nov 2018 16:38:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5A5E329172 for ; Thu, 29 Nov 2018 16:38:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 496872E6F5; Thu, 29 Nov 2018 16:38:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,FSL_HELO_FAKE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A47F228C04 for ; Thu, 29 Nov 2018 16:38:35 +0000 (UTC) Received: from localhost ([::1]:55167 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gSPKk-0008Cl-Qd for patchwork-qemu-devel@patchwork.kernel.org; Thu, 29 Nov 2018 11:38:34 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37049) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gSPJI-0006pw-Pl for qemu-devel@nongnu.org; Thu, 29 Nov 2018 11:37:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gSPJG-0007Gd-Tt for qemu-devel@nongnu.org; Thu, 29 Nov 2018 11:37:04 -0500 Received: from mail-lj1-x243.google.com ([2a00:1450:4864:20::243]:39677) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gSPJG-0007G5-M9; Thu, 29 Nov 2018 11:37:02 -0500 Received: by mail-lj1-x243.google.com with SMTP id t9-v6so2316943ljh.6; Thu, 29 Nov 2018 08:37:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=nq9Wk2QkVEYJmKL6xIte34rg5zKDcxVJdqv/jdXiST0=; b=HN8xbu68xchsVmHeNxyaz919s2PesCLPihI2/Mgx8XtKevv7vMhUqI/d+65Lmw1gqT CLVAW+x+cHy8FsKKxW1QLtU+S9Xf8pRTOZLCxt/v1qkRhkRcklTxsciDtEJaykzfH/KR EI3vubp/CRiiMvjf95r6idrxxvRBMJHHjlM+Z6v4naQCo2fbQINmJNKQPIlgalMLYW8J 6JE2HFAJqAmdXy5o+o3hD/VyusQvKYEzWPYiLzjdIHaxAdW9nfWE21MCnzBmRiUZ5Zvq VPC8umAT80xCKk5t/Yc1+xAgPUG4XF+q1j1JXLzGaq5YBl5Gk7QEkNX9U9ebhteeHysV IFew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=nq9Wk2QkVEYJmKL6xIte34rg5zKDcxVJdqv/jdXiST0=; b=Luxl2cmpteP/sWa92hIpgeBC3NzYYWFN+D62+TgwUercfUmsluC8K8QzNNzHTHPaCg 9trImMHQGGdGIyVbthpHOhVYGQiEJXDX8VNnyQmMEyCFP9fvR0XwrOgXy2r4E9Q7H/Cq kBCFrBuAxzJfg6qT0NDxDWhBz9k3vJDrwMI8qnWeaXN+Jq0/WbtcUOo5m95LrTUV5AWj QIZ6LCBOjXKvMUqZX1HukGdIMyHYO379qixF7YuypoYSnTQa23oMQVCuTYOEeNsg2S3W drLxiTmK2HOTCbVrjiUtrOLS5Nmst3ouhzCv3ArfA35DDKq2ETbOitx/oHHPJdMZ3Fke b6Qw== X-Gm-Message-State: AA+aEWaTBZfhjvJkpggtPiLpPxyJgLBzekSRvfUYdwYBCo/44I0akksB 175CQwqmVUAhwMnXilPHbtQXSSWK X-Google-Smtp-Source: AFSGD/UEw0EHsWr9TmlTypxE2Yb1KSUFxOqMof4UfnJlkLXyPZRfInENg+vLvkx1n36tRbf+sigIcA== X-Received: by 2002:a2e:80d3:: with SMTP id r19-v6mr1574714ljg.151.1543509421067; Thu, 29 Nov 2018 08:37:01 -0800 (PST) Received: from gmail.com (81-231-232-130-no39.tbcn.telia.com. [81.231.232.130]) by smtp.gmail.com with ESMTPSA id b17sm384192lfc.21.2018.11.29.08.36.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 29 Nov 2018 08:37:00 -0800 (PST) From: "Edgar E. Iglesias" To: qemu-devel@nongnu.org, qemu-arm@nongnu.org Date: Thu, 29 Nov 2018 17:36:53 +0100 Message-Id: <20181129163655.20370-3-edgar.iglesias@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181129163655.20370-1-edgar.iglesias@gmail.com> References: <20181129163655.20370-1-edgar.iglesias@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::243 Subject: [Qemu-devel] [PATCH v1 2/4] hw/arm: versal: Reduce number of virtio-mmio instances X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: figlesia@xilinx.com, peter.maydell@linaro.org, sstabellini@kernel.org, edgar.iglesias@xilinx.com, sai.pavan.boddu@xilinx.com, frasse.iglesias@gmail.com, alistair@alistair23.me, frederic.konrad@adacore.com, muhammad_bilal@mentor.com, philmd@redhat.com, luc.michel@greensocs.com Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: "Edgar E. Iglesias" Reduce number of virtio-mmio instances. This is in preparation for correcting the interrupt setup for Versal. Signed-off-by: Edgar E. Iglesias Reviewed-by: Alistair Francis --- hw/arm/xlnx-versal-virt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/arm/xlnx-versal-virt.c b/hw/arm/xlnx-versal-virt.c index 41b8d801c8..2ed6ee9934 100644 --- a/hw/arm/xlnx-versal-virt.c +++ b/hw/arm/xlnx-versal-virt.c @@ -342,7 +342,7 @@ static void *versal_virt_get_dtb(const struct arm_boot_info *binfo, return board->fdt; } -#define NUM_VIRTIO_TRANSPORT 32 +#define NUM_VIRTIO_TRANSPORT 8 static void create_virtio_regions(VersalVirt *s) { int virtio_mmio_size = 0x200; From patchwork Thu Nov 29 16:36:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Edgar E. Iglesias" X-Patchwork-Id: 10704883 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DCF3414BD for ; Thu, 29 Nov 2018 16:40:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CE3542F6AB for ; Thu, 29 Nov 2018 16:40:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C18BE2F6B4; Thu, 29 Nov 2018 16:40:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,FSL_HELO_FAKE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4174E2F6AD for ; Thu, 29 Nov 2018 16:40:52 +0000 (UTC) Received: from localhost ([::1]:55184 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gSPMw-0002UA-RY for patchwork-qemu-devel@patchwork.kernel.org; Thu, 29 Nov 2018 11:40:50 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37088) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gSPJK-0006qw-7j for qemu-devel@nongnu.org; Thu, 29 Nov 2018 11:37:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gSPJJ-0007Hy-Bd for qemu-devel@nongnu.org; Thu, 29 Nov 2018 11:37:06 -0500 Received: from mail-lf1-x142.google.com ([2a00:1450:4864:20::142]:46554) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gSPJJ-0007HJ-0n; Thu, 29 Nov 2018 11:37:05 -0500 Received: by mail-lf1-x142.google.com with SMTP id f23so1899392lfc.13; Thu, 29 Nov 2018 08:37:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=yCQBYP+c+rJdGPih61z5OTAPupDDbSWzHLcMswiIhtA=; b=C+IlHcs+fJBlefbpkBp5Eg3mspxomAzlbJjuux46k0xwPoemp8NWTrvGzaD/AHJPFP SaGMEunLuGimuinRnkfz98pLLxOvBSp8h3PmBN2DXF4B+N4q35Y0bUXyC2u/KIK8nl8K GM/vhaSsSf7jQfx7+NyKVXo/6sDyMIZSrDUnQq8ecLYGDi6A8dJRR0CkyzlM5hRHHoqj q6QSrB4n9+kI1Rg5lod12xpMCZxE3D3hLTp+imDQ4An+KLTvijdhA8XVAjRaVlsYCeHw 9j2f9LsOGQraWthZ2yQCaYM+CGbt2+RkKO+4cT8LJZFSaj9g4pAYa6BPTDyp1HugsLsZ qusA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=yCQBYP+c+rJdGPih61z5OTAPupDDbSWzHLcMswiIhtA=; b=UY/1oRNTU9omLrN1l8oysAzoOt5p79j3Mcmf6JL/q1QGYpQoBnsdGOAZO/Ee/zpiJv AdGwS9xgtLgA495i98g49wUHxZPaneopV38hy5Nm8OBFK6Jx2Rto4THGhQCh2LxpIR6d s/3mfGYhUs+JL4NHnu85zb11p4OBpT74n0N4MMJqgdF5YDvmMWPLj5P2KOKqQH1fQp11 3qYQxDstzjenfKP+xll3bXcTGyg9Bd34U8YYGCQQvzZY5mv9t4ESU1IsUTzp3z378+dw ZZI94B5Og844BCnuQaxSRrdgz772JC7CGVG9tRVPqTRc5Ovw5AQG73rw8V8L2qp5Aj7Y OQvg== X-Gm-Message-State: AA+aEWasZdGlS7U8W1QfwutjVGtCjuxGDi6s1LHjLOYGUs3FC9/1YvCQ jqA2GzlJ61NpOIYE9yvlew0Dt44L X-Google-Smtp-Source: AFSGD/Wdlm+97hzKxIMCvNQ9xRY/izMm+p63mJmSOOlVxNPVefwguWdJXbcpj9f+NLfB9NK4yiAvfQ== X-Received: by 2002:a19:6e0b:: with SMTP id j11mr1560468lfc.124.1543509423480; Thu, 29 Nov 2018 08:37:03 -0800 (PST) Received: from gmail.com (81-231-232-130-no39.tbcn.telia.com. [81.231.232.130]) by smtp.gmail.com with ESMTPSA id m4-v6sm358065ljb.58.2018.11.29.08.37.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 29 Nov 2018 08:37:01 -0800 (PST) From: "Edgar E. Iglesias" To: qemu-devel@nongnu.org, qemu-arm@nongnu.org Date: Thu, 29 Nov 2018 17:36:54 +0100 Message-Id: <20181129163655.20370-4-edgar.iglesias@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181129163655.20370-1-edgar.iglesias@gmail.com> References: <20181129163655.20370-1-edgar.iglesias@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::142 Subject: [Qemu-devel] [PATCH v1 3/4] hw/arm: versal: Use IRQs 111 - 118 for virtio-mmio X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: figlesia@xilinx.com, peter.maydell@linaro.org, sstabellini@kernel.org, edgar.iglesias@xilinx.com, sai.pavan.boddu@xilinx.com, frasse.iglesias@gmail.com, alistair@alistair23.me, frederic.konrad@adacore.com, muhammad_bilal@mentor.com, philmd@redhat.com, luc.michel@greensocs.com Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: "Edgar E. Iglesias" Use IRQs 111 - 118 for virtio-mmio. The interrupts we're currently using 160+ are not available in the Versal GIC. Signed-off-by: Edgar E. Iglesias Reviewed-by: Alistair Francis --- hw/arm/xlnx-versal-virt.c | 4 ++-- include/hw/arm/xlnx-versal.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/hw/arm/xlnx-versal-virt.c b/hw/arm/xlnx-versal-virt.c index 2ed6ee9934..c6feeac532 100644 --- a/hw/arm/xlnx-versal-virt.c +++ b/hw/arm/xlnx-versal-virt.c @@ -351,7 +351,7 @@ static void create_virtio_regions(VersalVirt *s) for (i = 0; i < NUM_VIRTIO_TRANSPORT; i++) { char *name = g_strdup_printf("virtio%d", i);; hwaddr base = MM_TOP_RSVD + i * virtio_mmio_size; - int irq = VERSAL_RSVD_HIGH_IRQ_FIRST + i; + int irq = VERSAL_RSVD_IRQ_FIRST + i; MemoryRegion *mr; DeviceState *dev; qemu_irq pic_irq; @@ -368,7 +368,7 @@ static void create_virtio_regions(VersalVirt *s) for (i = 0; i < NUM_VIRTIO_TRANSPORT; i++) { hwaddr base = MM_TOP_RSVD + i * virtio_mmio_size; - int irq = VERSAL_RSVD_HIGH_IRQ_FIRST + i; + int irq = VERSAL_RSVD_IRQ_FIRST + i; char *name = g_strdup_printf("/virtio_mmio@%" PRIx64, base); qemu_fdt_add_subnode(s->fdt, name); diff --git a/include/hw/arm/xlnx-versal.h b/include/hw/arm/xlnx-versal.h index 9da621e4b6..76fb9de391 100644 --- a/include/hw/arm/xlnx-versal.h +++ b/include/hw/arm/xlnx-versal.h @@ -75,9 +75,9 @@ typedef struct Versal { #define VERSAL_GEM1_IRQ_0 58 #define VERSAL_GEM1_WAKE_IRQ_0 59 -/* Architecturally eserved IRQs suitable for virtualization. */ -#define VERSAL_RSVD_HIGH_IRQ_FIRST 160 -#define VERSAL_RSVD_HIGH_IRQ_LAST 255 +/* Architecturally reserved IRQs suitable for virtualization. */ +#define VERSAL_RSVD_IRQ_FIRST 111 +#define VERSAL_RSVD_IRQ_LAST 118 #define MM_TOP_RSVD 0xa0000000U #define MM_TOP_RSVD_SIZE 0x4000000 From patchwork Thu Nov 29 16:36:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Edgar E. Iglesias" X-Patchwork-Id: 10704885 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1874914BD for ; Thu, 29 Nov 2018 16:41:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 08C792F68C for ; Thu, 29 Nov 2018 16:41:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F0D482F6D9; Thu, 29 Nov 2018 16:41:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,FSL_HELO_FAKE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9EC862F6CC for ; Thu, 29 Nov 2018 16:41:15 +0000 (UTC) Received: from localhost ([::1]:55185 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gSPNK-00032U-0v for patchwork-qemu-devel@patchwork.kernel.org; Thu, 29 Nov 2018 11:41:14 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37144) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gSPJM-0006tl-Pz for qemu-devel@nongnu.org; Thu, 29 Nov 2018 11:37:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gSPJM-0007Jk-5D for qemu-devel@nongnu.org; Thu, 29 Nov 2018 11:37:08 -0500 Received: from mail-lj1-x241.google.com ([2a00:1450:4864:20::241]:40494) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gSPJL-0007JE-OY; Thu, 29 Nov 2018 11:37:07 -0500 Received: by mail-lj1-x241.google.com with SMTP id n18-v6so2316963lji.7; Thu, 29 Nov 2018 08:37:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ogI2h8u6kEdOrFVll8offp5G4ixW2/tAMhTAdtZ0rN4=; b=ttAKojWd7OBjteTESEIBiwcRk8aAE1HgwbsGC45hwqjtHnTgR/I9FAPBSwLOQTD8vN SjMIJvtYdszI6elu60GMlAcRI0WSiFvzAJT1FMtt/RxoIIR55p7jpwvqSW8HD40EbJPI cxHO4JIVBxO0CS+sznyrtA+zYIRhqNZntYxfPdUKStPNIygj7vhNEvnDdRzS2iCuC3Wn nzlFyrHOZkoz4qZ3713M+41rd//FBV14SXFcDLl3Se38hTuIKj1Ou+qPi5puC+UqAPyq MyiVtfgMF40U7GWf30Y8Yf6MVPmQtjjTpTrnlAJkECYp4XkRGKORhSp2V1kbxXCmfCH1 Hpdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ogI2h8u6kEdOrFVll8offp5G4ixW2/tAMhTAdtZ0rN4=; b=LpuCwPYaqxqrBgkP9SisIj++ojruaktc2UlShk0ptqvdNpCXIndsRda7u+G4rkJiJK o+juaCSINjR14ZbDD7Jk6k82SOT+C0uj+MrduFWN7I4lbxCOcT2Atf0OoKU2HQhQgFbY s0zpm8fkH3fMKsTwurGfNIm8y1X0R/k4z7hWtHs9Pe3BiZ3lHLaz9FLhcmsqViHLugq5 XZT5Lf8roYbDgQoMFVigSyQNTRUzWb7mSgvNmHJlDMDo2YzescG60P2jyqK+JCwpX2lJ cqpQtHHFUaq0yArSXL9lfbQbSrj3hYOQxyuuhbTEJEUO/a14DozrSW7n+eBVvSzdhlm8 1fPA== X-Gm-Message-State: AA+aEWYtlliU5MuDnk9jVec20J0WJSFH4/LjayPYOQsIjG/0Ir9l3wLq 882onbN+xTgadeRVwYrdBikv1tOg X-Google-Smtp-Source: AFSGD/XllvSUBp82pJb5YqDGirPG6mgNzbMONjp0K80fv7GuhXT4IEWrxIT5r4CUAeMauNHcWRe52Q== X-Received: by 2002:a2e:90ca:: with SMTP id o10-v6mr1588361ljg.134.1543509426313; Thu, 29 Nov 2018 08:37:06 -0800 (PST) Received: from gmail.com (81-231-232-130-no39.tbcn.telia.com. [81.231.232.130]) by smtp.gmail.com with ESMTPSA id c20sm374121lfj.67.2018.11.29.08.37.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 29 Nov 2018 08:37:04 -0800 (PST) From: "Edgar E. Iglesias" To: qemu-devel@nongnu.org, qemu-arm@nongnu.org Date: Thu, 29 Nov 2018 17:36:55 +0100 Message-Id: <20181129163655.20370-5-edgar.iglesias@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181129163655.20370-1-edgar.iglesias@gmail.com> References: <20181129163655.20370-1-edgar.iglesias@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::241 Subject: [Qemu-devel] [PATCH v1 4/4] hw/arm: versal: Correct the nr of IRQs to 192 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: figlesia@xilinx.com, peter.maydell@linaro.org, sstabellini@kernel.org, edgar.iglesias@xilinx.com, sai.pavan.boddu@xilinx.com, frasse.iglesias@gmail.com, alistair@alistair23.me, frederic.konrad@adacore.com, muhammad_bilal@mentor.com, philmd@redhat.com, luc.michel@greensocs.com Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: "Edgar E. Iglesias" Correct the nr of IRQs to 192. Signed-off-by: Edgar E. Iglesias Reviewed-by: Alistair Francis --- include/hw/arm/xlnx-versal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/hw/arm/xlnx-versal.h b/include/hw/arm/xlnx-versal.h index 76fb9de391..ec7c859d08 100644 --- a/include/hw/arm/xlnx-versal.h +++ b/include/hw/arm/xlnx-versal.h @@ -22,7 +22,7 @@ #define XLNX_VERSAL_NR_ACPUS 2 #define XLNX_VERSAL_NR_UARTS 2 #define XLNX_VERSAL_NR_GEMS 2 -#define XLNX_VERSAL_NR_IRQS 256 +#define XLNX_VERSAL_NR_IRQS 192 typedef struct Versal { /*< private >*/