From patchwork Thu Nov 29 16:36:51 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: 10704879 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 DB83313A4 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 C607A2A3A5 for ; Thu, 29 Nov 2018 16:38:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B78622D57D; Thu, 29 Nov 2018 16:38:37 +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 A521A2DD36 for ; Thu, 29 Nov 2018 16:38:36 +0000 (UTC) Received: from localhost ([::1]:55169 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gSPKl-0008IT-TJ 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]:37046) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gSPJI-0006pv-Oq 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 1gSPJD-0007Ez-N9 for qemu-devel@nongnu.org; Thu, 29 Nov 2018 11:37:04 -0500 Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]:41452) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gSPJD-0007CX-Fd; Thu, 29 Nov 2018 11:36:59 -0500 Received: by mail-lf1-x132.google.com with SMTP id c16so1917565lfj.8; Thu, 29 Nov 2018 08:36:59 -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; bh=YyTAzRmStxGsPV70TlxpA+Dw7+Mlr40jRCad/3fGb3k=; b=DLFH0dkMe6VdsPkgd/FUz8XXLgsfvQV6Qbzse79D4N0iS9ZDk/9IMAotGRAPqGR/jP HEhEID7SA20nucPxeOQarp2r3cybmkTLMnDjG5jefVDb+H9Azus0oCxtI4yF/piNRFMv eA1bQoCgxwSIjSOFuX4H1jb5O6sQmGG45h698sRmjLi3BXdli8Ll6PCd1mqZJZx7Y8NA wul5wpanf31t1hVA3nEMfBe+6InyJygcYGrfdCACqfKuti70UmEp8xT8FnukACmMIwvF PlT+IbC1gyR2siU9L3bWeR/31VUbFHegMwiAv/9ruk4vOOQXEYghMG0iCsDEjJhLk+HG 3HRQ== 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; bh=YyTAzRmStxGsPV70TlxpA+Dw7+Mlr40jRCad/3fGb3k=; b=jvzb4pjaWvxKFzA1gVUODC0L5I9+iA8G8e88UtNXMkH+IskOmhIhDS+iFiU2g1glXh YboL2Arm4gboNpkELINiknk6HRWq+xKK3DON5qlB9rwzWgtFtKaqd9mC+ulkLoNm4KjF 64d5xAmitAIxg3RJY8ATU+y77Vnq0yAmvgCP3Q+/KzG5ag236Fk59VS8i2vyX3/G+zka U3wWhmxtIHl2plh+2uMDHEXuh39r56pEcJ/Qebxy77zvCATzED7LGmCfuUEx6Zsi4a+G M1U2CSilh2WWlbMqo5bn6Af8ghOXIOXcW9jqtlfpsVVDtq0IBLGCha0ZS9E6tegqzFuC sxgw== X-Gm-Message-State: AA+aEWbzU1WjjjwvoVssjykPFggOzmS2a4Su8wRTsJneGVR3qwccKdfi 6BnroU+ISK8kGEmS458A+jhupEAz X-Google-Smtp-Source: AFSGD/WXqX1vyJinhMBrMqlh9v+Ud2y0x+XE7Yn8LPGuGb4NLCTZKPrI8fEJ2QG4tUIIikRGRWVzqg== X-Received: by 2002:a19:2d16:: with SMTP id k22mr1436236lfj.12.1543509417461; Thu, 29 Nov 2018 08:36:57 -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 b128sm382758lfe.91.2018.11.29.08.36.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 29 Nov 2018 08:36:56 -0800 (PST) From: "Edgar E. Iglesias" To: qemu-devel@nongnu.org, qemu-arm@nongnu.org Date: Thu, 29 Nov 2018 17:36:51 +0100 Message-Id: <20181129163655.20370-1-edgar.iglesias@gmail.com> X-Mailer: git-send-email 2.17.1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::132 Subject: [Qemu-devel] [PATCH v1 0/4] hw/arm: versal: Correct number of IRQs in GIC setup 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" The Versal GIC has 192 IRQs not 256 as we previously had setup. This series fixes the setup and moves the virtio-mmio nodes to use other reserved interrupts. Since we don't have 32 reserved lines, we also reduce the number of virtio-mmio regions to 8 (we do have some more lines free but let's leave some for future use). Cheers, Edgar Edgar E. Iglesias (4): hw/arm: versal: Remove bogus virtio-mmio creation hw/arm: versal: Reduce number of virtio-mmio instances hw/arm: versal: Use IRQs 111 - 118 for virtio-mmio hw/arm: versal: Correct the nr of IRQs to 192 hw/arm/xlnx-versal-virt.c | 7 +++---- include/hw/arm/xlnx-versal.h | 8 ++++---- 2 files changed, 7 insertions(+), 8 deletions(-)