From patchwork Fri Dec 21 16:02:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Palmer Dabbelt X-Patchwork-Id: 10740659 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 443B014E2 for ; Fri, 21 Dec 2018 16:05:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 33D2926E3E for ; Fri, 21 Dec 2018 16:05:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 279AE2842A; Fri, 21 Dec 2018 16:05:21 +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 D62F22849D for ; Fri, 21 Dec 2018 16:05:20 +0000 (UTC) Received: from localhost ([::1]:46411 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gaNIe-0002jw-1E for patchwork-qemu-devel@patchwork.kernel.org; Fri, 21 Dec 2018 11:05:20 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52800) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gaNH3-0001Jq-AS for qemu-devel@nongnu.org; Fri, 21 Dec 2018 11:03:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gaNGx-0003zM-Qu for qemu-devel@nongnu.org; Fri, 21 Dec 2018 11:03:41 -0500 Received: from mail-qt1-x82f.google.com ([2607:f8b0:4864:20::82f]:35667) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gaNGx-0003z4-Md for qemu-devel@nongnu.org; Fri, 21 Dec 2018 11:03:35 -0500 Received: by mail-qt1-x82f.google.com with SMTP id v11so6210132qtc.2 for ; Fri, 21 Dec 2018 08:03:35 -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=hyI/xfwQXozU2u0A+Aw3RT3HE7veanQJmXPFiHJLS4nyY4nVcNOwIxUCW1jktHz6Y9 aWHKx4RIUUiXJU2ZBAwDNGx3KmjkfiKhxcQRitEOm3X4TXlb5UZQqq0tlfgEOBOtlfHi G2mehWX4kDknZSP//HuQkXLoMOBJxavcFC01C3WaSE9SqGp5/zaa230fNNi5k+nOthUH ceg76sHAdnQ158f/Yy1AmEt0L3BD/3HATdFTevL3BDRG5KZnYbK2+2nA7WSattKiQU++ Me/V70Er4SPLZUi/wJIeG4ucUFXSVwQikMuX+uH8eAFwJkp3MdJL2QZNqIK4Kt0daiVi StvQ== 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=L7MwbtRj8zMJR+Je8FZN2iN1VMP9i5cWOhjuk/sU+wKd95Aq3oYf5nX/8fOuU2M5Wu uWLZMr6XrXY9RK9kqTBHpv5kHR6fFHOgBH7muYW6fVMx2lCNZ5qLLXqGkusWaMIMCjBh 7f5jA+un7Cn4/Oi472Y9nEnPs5a9PTr4/TXIsvv8SckYu0kzfe2S/FXTSDg1xxYhLXQe etC2R4qC0FrSh32SRHdDKEzM00XfwTvifABhEdbmi+YHQ70P7cBXeRRqaOXqW1okH4er oHO5QCbzoomTxlR4i8ym6Ao/FLPS7kpHPABH/sBBIXw6JxS1qM4vrkBm6C4iRXT9ISzW Vafw== X-Gm-Message-State: AA+aEWbwbDKSH33IRUlnwWpNZK3RZmmtA6SJvKHOsGNRK06cxyIwLoKA h3/K+DHFRJ2aeymvMyA0avbXbJb+hy8= X-Google-Smtp-Source: ALg8bN6XCNBy/aDFNVYsuEpawobRKRRAhjd16hEN6C2YwP9bctzpe/hn2Th7vrmTeU5lDmE+WejA0A== X-Received: by 2002:aed:2d86:: with SMTP id i6mr3013576qtd.227.1545408214657; Fri, 21 Dec 2018 08:03:34 -0800 (PST) Received: from localhost ([2601:182:c980:96c:8dd:4488:90b1:59d1]) by smtp.gmail.com with ESMTPSA id x49sm8043873qta.89.2018.12.21.08.03.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Dec 2018 08:03:33 -0800 (PST) Date: Fri, 21 Dec 2018 08:02:54 -0800 Message-Id: <20181221160307.14819-2-palmer@sifive.com> X-Mailer: git-send-email 2.18.1 In-Reply-To: <20181221160307.14819-1-palmer@sifive.com> References: <20181221160307.14819-1-palmer@sifive.com> From: Palmer Dabbelt To: qemu-riscv@nongnu.org X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::82f 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: Palmer Dabbelt , Alistair Francis , 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 {