From patchwork Thu Oct 11 20:31:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair Francis X-Patchwork-Id: 10637391 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 78CE5157A for ; Thu, 11 Oct 2018 20:33:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6752327CEA for ; Thu, 11 Oct 2018 20:33:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5B30E2C05E; Thu, 11 Oct 2018 20:33:35 +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 EAE0627CEA for ; Thu, 11 Oct 2018 20:33:34 +0000 (UTC) Received: from localhost ([::1]:36987 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gAheI-0007pQ-3P for patchwork-qemu-devel@patchwork.kernel.org; Thu, 11 Oct 2018 16:33:34 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39621) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gAhcd-0006cf-4G for qemu-devel@nongnu.org; Thu, 11 Oct 2018 16:31:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gAhcY-0006U9-4i for qemu-devel@nongnu.org; Thu, 11 Oct 2018 16:31:51 -0400 Received: from esa3.hgst.iphmx.com ([216.71.153.141]:7100) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gAhcX-0006TI-Lf for qemu-devel@nongnu.org; Thu, 11 Oct 2018 16:31:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1539289906; x=1570825906; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=s7fAOvqvJRALxt+HiNB2WYZm6og0X7Mv/wxbTOlVJww=; b=HE5Xgc2m/OH6iJNqyHFiIShOb4bu8xaJNR12fc+to7Zecjzv7rehS98J dLXUU5/YXtL5/r1Vav8JMwIhpIZKtxkfpGOAA6SzUX0TZMTxslNbDYOfw 09d1Urw1vPJd0kYY1x7Hoypodhrz5TGQa0n+gSnDL47dhN3fFNCErdXW/ XKjYpzkXolwKq+tdKqovTeoqhIUD1NyBz1/GN7uDKqKu5T8YOX6CTOAJF kCMDhnnXHDWhvf+6oOrfC1x5+Z0lFcZ4U2yxnJ0K1RMcSpVBcil4YoHwL /RLhPbwV+ve6p6cO/flfG/eHdnUUIdGMR02jWC9A70IGiQa4YMjXfyxLJ A==; X-IronPort-AV: E=Sophos;i="5.54,369,1534780800"; d="scan'208";a="96368067" Received: from mail-by2nam03lp0048.outbound.protection.outlook.com (HELO NAM03-BY2-obe.outbound.protection.outlook.com) ([216.32.180.48]) by ob1.hgst.iphmx.com with ESMTP; 12 Oct 2018 04:31:44 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector1-wdc-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XKIlOOotXlT03n+KVesT385SDPRZOtGAgI1D+6risiE=; b=LoXotKbj0FLmQ6NZVNyR3Y50N12pOPbtxvFMyevd1pxJbhCFzjHF7pq+kkR/k/pkVZzkv4h7T4n4OtvTdiNl1XJuwmE6K/VfG59yTNmRZ44Bs3xDMG3TIwhd+5/Sk1pR5Yi88Nrh0jA5xZ8cYC7TGpy+4V2StDW/8TVrZwgNItI= Received: from CY4PR04MB0392.namprd04.prod.outlook.com (10.173.188.145) by CY4PR04MB0647.namprd04.prod.outlook.com (10.172.136.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1228.24; Thu, 11 Oct 2018 20:31:41 +0000 Received: from CY4PR04MB0392.namprd04.prod.outlook.com ([fe80::ddab:bdc2:6bc7:6d22]) by CY4PR04MB0392.namprd04.prod.outlook.com ([fe80::ddab:bdc2:6bc7:6d22%6]) with mapi id 15.20.1228.020; Thu, 11 Oct 2018 20:31:41 +0000 From: Alistair Francis To: "peter.maydell@linaro.org" Thread-Topic: [PULL 01/10] hw/riscv/virt: Increase the number of interrupts Thread-Index: AQHUYaFqsOLsKk6cIkq6Zam27Oj4Lw== Date: Thu, 11 Oct 2018 20:31:41 +0000 Message-ID: <20181011203115.18666-2-alistair.francis@wdc.com> References: <20181011203115.18666-1-alistair.francis@wdc.com> In-Reply-To: <20181011203115.18666-1-alistair.francis@wdc.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.17.1 x-clientproxiedby: SG2PR01CA0126.apcprd01.prod.exchangelabs.com (2603:1096:4:40::30) To CY4PR04MB0392.namprd04.prod.outlook.com (2603:10b6:903:b1::17) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alistair.Francis@wdc.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [199.255.44.250] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; CY4PR04MB0647; 6:OQiIUbADO8CuznPvfq9vDHAVomIZamhQ5u7kOMJj53JlngNh9QjUIdM6VUzLESGXw0/qHWpmRb/5+kAz+akcGVWuF1t15NB7T0OtlJ5vp9+WKuHHQZRbwf6/m9ni7zL4p/i7cjSpvu4gMkUI3QE7bTlgBsx6Y33O02EXHWjC4X6tTzv5hjkAiYegCtY3PSKyX+Wrkaq1F+fOFIWVnqYmYlpQWrevVkEKrWSjY6jc3CytywLGlSt7QohF6NUe4PWveYQhBJfv0vxa5yswW5E5SdL2vaNk2vcnvjCP+Df4owRTiwMvioHCHUNKaRNlq4vdYJEOoHM8oB6GHt8wygp2CZyUneyUW1puBoq2E1GNEs4fqWrytI2Op/8iU9ojv+O+XorIChyPSb/7rcJ7dEH+lrmLO6IBl6peBkry1CQnvzhRpDxSNEJExBaEcE1IYQ7QBjFVfuWqKXl5JrW7uezTKw==; 5:mARxqQwW9qDMtGt0LyUt0K5trmXb3obUGkhosv/uwar66ZBckvQhxRUhjGttvTgtFVC+42XTD1ZtcTuuDOUp8/kOvYjH9Zc8LqfZKC9VwHaN88tNxuoNm8t0leCZls/xBGAL240P4IihxrLxlP0ii4D6yMStA7O9bbO8VzgFQyo=; 7:tXUe6el8Xqq0lcV5MDr/UJ89dXzlzWXFHDTO4h7VIdNXf41WHrjwi5dkyHLirfgRhRqY1sm3GGJCuw/D2CNsFrkoUC5lyJbKwtRW+hcZl1fBDWCIp2+KBh+2puXoL1YGVo/acCiuZ18Y8/MhkTsLBGSXoeDQBgojrVbPHFaQ4kpPOiMphJT2OHfaD8rOVWZbW+9Am8Zn0j5ZywFsOWukusMCekum+B1VC/bXXkJIg8D0lqC4/8uNij2ECkzJwaeO x-ms-office365-filtering-correlation-id: 171df358-975c-4eea-f463-08d62fb88cf2 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:CY4PR04MB0647; x-ms-traffictypediagnostic: CY4PR04MB0647: wdcipoutbound: EOP-TRUE x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(3231355)(944501410)(52105095)(93006095)(93001095)(3002001)(6055026)(149066)(150057)(6041310)(20161123558120)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(201708071742011)(7699051)(76991062); SRVR:CY4PR04MB0647; BCL:0; PCL:0; RULEID:; SRVR:CY4PR04MB0647; x-forefront-prvs: 08220FA8D6 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39860400002)(346002)(376002)(396003)(366004)(136003)(199004)(189003)(6436002)(2906002)(14444005)(2501003)(2900100001)(25786009)(5660300001)(53936002)(5250100002)(6512007)(5640700003)(6506007)(14454004)(2351001)(105586002)(72206003)(316002)(4326008)(386003)(106356001)(7736002)(305945005)(256004)(1076002)(8936002)(8676002)(81166006)(81156014)(54906003)(6116002)(68736007)(50226002)(44832011)(36756003)(76176011)(52116002)(478600001)(26005)(3846002)(99286004)(102836004)(446003)(11346002)(2616005)(476003)(97736004)(486006)(186003)(86362001)(6916009)(6486002)(66066001)(71200400001)(71190400001); DIR:OUT; SFP:1102; SCL:1; SRVR:CY4PR04MB0647; H:CY4PR04MB0392.namprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; x-microsoft-antispam-message-info: 89sp+zyWhEb83Y8Rm8etkqpmftgZJZHkT37fFFelVbSn6lUfu6iDtrQyNKICcMRbkVm40m8z/KfsiOOlNvQfpxffzxAP35l6edSTLnf/fPhIZthnga6uQewBX8o4LJZAf0zXj6ooQdXgGMvIxmeQGFZlMc6XhO0oRhqAMG1SZykp34/vF8lOTTARTrr/V2Jn92EWNxOKX1yEjjkH1/olw+fmkigcgzBPB1/27Sht2FQKKTM87uy/V6Bc+eVGwKZvgKqnfm56ntcpBmc4B1fCDV1RiXF8TZQkR9IpKt6CeffQMJPrKM/MOox4/bHMzLTInXl1M97iTUGlNXXQ7gsglTF66BqJAx8csy3WRvcG8Lg= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: 171df358-975c-4eea-f463-08d62fb88cf2 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Oct 2018 20:31:41.1059 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR04MB0647 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 216.71.153.141 Subject: [Qemu-devel] [PULL 01/10] 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 , "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 Increase the number of interrupts to match the HiFive Unleashed board. Signed-off-by: Alistair Francis --- 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 91163d6cbf..7cb2742070 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 }; enum {