From patchwork Wed Dec 26 17:19:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Palmer Dabbelt X-Patchwork-Id: 10743247 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 7BBCE13A4 for ; Wed, 26 Dec 2018 17:27:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5FFCD287AC for ; Wed, 26 Dec 2018 17:27:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 54710287B1; Wed, 26 Dec 2018 17:27:44 +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=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,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 0634B287AC for ; Wed, 26 Dec 2018 17:27:44 +0000 (UTC) Received: from localhost ([127.0.0.1]:47454 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gcCy7-0004uH-6b for patchwork-qemu-devel@patchwork.kernel.org; Wed, 26 Dec 2018 12:27:43 -0500 Received: from eggs.gnu.org ([208.118.235.92]:47965) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gcCrL-0004Bo-EL for qemu-devel@nongnu.org; Wed, 26 Dec 2018 12:20:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gcCrE-0007qw-0n for qemu-devel@nongnu.org; Wed, 26 Dec 2018 12:20:39 -0500 Received: from mail-qt1-x82d.google.com ([2607:f8b0:4864:20::82d]:42597) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gcCrD-0007dk-Ld for qemu-devel@nongnu.org; Wed, 26 Dec 2018 12:20:35 -0500 Received: by mail-qt1-x82d.google.com with SMTP id d19so17815522qtq.9 for ; Wed, 26 Dec 2018 09:20:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=subject:date:message-id:in-reply-to:references:cc:from:to; bh=4TYxjnhCTB+5Qwi+14/0f8x5REAO9A6o+3y6lon1DYk=; b=So9WPYCc2zTljU0PrR95/cW9Gy0sh1cerObXIv486wxr5OpSVNbMpY1xn4ADKx7wvi M3swfI0JxVLMahZiQ7KTXR1jp0RWYLFeev/PcWcy901kFfDhkC/Z86xN+TzLx0Wvrb0K KW5ClNleJI584/mrDORWnRWiinap1tQ+JYQC/0FajpLko7BbE+3aWm6TRF1feRD62vDJ x8iocbGhN+yyYfgYHDsA0NTfz+/Ne+Ovim+WgEsuN+wIQ1Y0XFVEM9scAX1felXekwoJ OEgUtvIUz3dVZ5Fb1Ui2dqHYoJ9NfK+cgNW+7roa7787RTZVklkuGsbx2wvwJdJKV6EC DYFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:date:message-id:in-reply-to:references :cc:from:to; bh=4TYxjnhCTB+5Qwi+14/0f8x5REAO9A6o+3y6lon1DYk=; b=C+KDE5ngYITitOWqXLNncmwcNGI/EAyAy2o1QPFaKd3hntNhQL6IRqoIgu5czKHRua OV7W1+vUnEx0vsZBu6QdGSntahCGLTzhDkySBeA1gNpYHRC9rWtgt4iiVnXqo3mpBE0D T5uQXKk5MpvmVv1Ng2MBX+gzzfPYaaPUTmg14XsaXH+j1yjeTnuL6B0gYox38Tkp90x/ WEE8OyFPFWX8H4SP8uW9zkMjVQD4lRn3sG8t9gPyU0O2mbaGCLH048xgOH+4v7iq+12b 3dLVMWQqJsC4sjXVERjcQ1b9iXrMlpoW0DpN55YgtsWk5wrPS3cpjzppPwyr1s1T30Ld fcLA== X-Gm-Message-State: AA+aEWZmO3kUCD1lQ7kZyb41O0rLefpzGTXcVm2u5IxEmftkEAnxytno eSDSvlUautDURmxNr5TtIn7bkg== X-Google-Smtp-Source: AFSGD/VKarqaREPrTmMixwxEn3EWqghsDScWazu0Y+kG8tonJHBgofFpw4u3byAIomEZGg15MN61kQ== X-Received: by 2002:ac8:5053:: with SMTP id h19mr18824810qtm.280.1545844815547; Wed, 26 Dec 2018 09:20:15 -0800 (PST) Received: from localhost ([2601:182:c980:96c:8dd:4488:90b1:59d1]) by smtp.gmail.com with ESMTPSA id t33sm12895585qtj.76.2018.12.26.09.20.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Dec 2018 09:20:14 -0800 (PST) Date: Wed, 26 Dec 2018 09:19:52 -0800 Message-Id: <20181226172005.26990-2-palmer@sifive.com> X-Mailer: git-send-email 2.18.1 In-Reply-To: <20181226172005.26990-1-palmer@sifive.com> References: <20181226172005.26990-1-palmer@sifive.com> From: Palmer Dabbelt To: Peter Maydell X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::82d Subject: [Qemu-devel] [PULL 01/14] hw/riscv/virt: Increase the number of interrupts 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: Alistair Francis , Palmer Dabbelt , qemu-riscv@nongnu.org, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Alistair Francis Increase the number of interrupts to match the HiFive Unleashed board. Signed-off-by: Alistair Francis Tested-by: Guenter Roeck Tested-by: Andrea Bolognani Signed-off-by: Palmer Dabbelt --- include/hw/riscv/virt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/hw/riscv/virt.h b/include/hw/riscv/virt.h index 91163d6cbfe8..2b2e6dd4ea6b 100644 --- a/include/hw/riscv/virt.h +++ b/include/hw/riscv/virt.h @@ -45,7 +45,7 @@ enum { UART0_IRQ = 10, VIRTIO_IRQ = 1, /* 1 to 8 */ VIRTIO_COUNT = 8, - VIRTIO_NDEV = 10 + VIRTIO_NDEV = 0x35 /* Arbitrary maximum number of interrupts */ }; enum {