From patchwork Thu Oct 4 20:06:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair Francis X-Patchwork-Id: 10626601 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 D0A5114BD for ; Thu, 4 Oct 2018 20:07:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C2276296B2 for ; Thu, 4 Oct 2018 20:07:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B2BF8296B9; Thu, 4 Oct 2018 20:07:54 +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 47DF5296B2 for ; Thu, 4 Oct 2018 20:07:54 +0000 (UTC) Received: from localhost ([::1]:58803 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g89ub-0000Zl-7h for patchwork-qemu-devel@patchwork.kernel.org; Thu, 04 Oct 2018 16:07:53 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38830) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g89tM-0008E8-8x for qemu-devel@nongnu.org; Thu, 04 Oct 2018 16:06:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g89tI-0007gG-6R for qemu-devel@nongnu.org; Thu, 04 Oct 2018 16:06:36 -0400 Received: from esa1.hgst.iphmx.com ([68.232.141.245]:31189) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g89tE-0007bx-AM for qemu-devel@nongnu.org; Thu, 04 Oct 2018 16:06:30 -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=1538683588; x=1570219588; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=s7fAOvqvJRALxt+HiNB2WYZm6og0X7Mv/wxbTOlVJww=; b=RoR04/oJptTs35WRmgG3pdEJK57WFyMkrx+44zzYzAy8B2W71gejgZ55 IbhyMoehldRSx0bJmOgTiaj269YlhNJpUaMqAr8Pvl+TUH044SmuCPq83 scqnpGSEEU/yo5LRzsnc3ctrrjKB87aU6R7jDrrEyZt/cLjKzBXngt3GG 4MSNdYn7DihPqcpRUVs7MI1SMs5Bg0KDM+6xZnJX6asizRiPoavAhK+cp nmZrrOlmhPc83cyY5uknhY35bG+yK0IcsWXk5W8GNBe+7hrBVn+wPjlga fHqJcKzlNaJ3E1V1LzQks2siHIdAgHBYaadcS2OKqBrYtGbmRwcDXQJcB w==; X-IronPort-AV: E=Sophos;i="5.54,341,1534780800"; d="scan'208";a="195573105" Received: from mail-bl2nam02lp0082.outbound.protection.outlook.com (HELO NAM02-BL2-obe.outbound.protection.outlook.com) ([207.46.163.82]) by ob1.hgst.iphmx.com with ESMTP; 05 Oct 2018 04:06:20 +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=SqM/pk1s3rcT/rqu2s8B0zbsj4uzKFxAUjjFz2utBMScYNk71qolUQLRlAAP0v3msP2K7hXoMkRml84ALeU20O1EH4Bv4dbsXGOBy9JU3N9RtpXua9LgyC72r4Y1JtJbfSfuXfCta4yp4e33Qgp4ZcZ1RGud6H39KqP559c+vMQ= Received: from MWHPR04MB0401.namprd04.prod.outlook.com (10.173.48.18) by MWHPR04MB0623.namprd04.prod.outlook.com (10.172.166.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1185.25; Thu, 4 Oct 2018 20:06:19 +0000 Received: from MWHPR04MB0401.namprd04.prod.outlook.com ([fe80::f94c:102e:8dce:7c02]) by MWHPR04MB0401.namprd04.prod.outlook.com ([fe80::f94c:102e:8dce:7c02%6]) with mapi id 15.20.1185.026; Thu, 4 Oct 2018 20:06:19 +0000 From: Alistair Francis To: "qemu-devel@nongnu.org" , "mjc@sifive.com" Thread-Topic: [PATCH v5 1/5] hw/riscv/virt: Increase the number of interrupts Thread-Index: AQHUXB22wIxZKfxmNkKiP8xMVXjCWQ== Date: Thu, 4 Oct 2018 20:06:18 +0000 Message-ID: References: In-Reply-To: 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: BYAPR11CA0042.namprd11.prod.outlook.com (2603:10b6:a03:80::19) To MWHPR04MB0401.namprd04.prod.outlook.com (2603:10b6:300:70::18) 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; MWHPR04MB0623; 6:fqhwU6tkycDADL3Bemv2EiK5JH5M0OOvS49tS8n6NZgLeoVhdSoYFnTZWqGoU80R0iu9lFkNibhJNTBK9foTqPttVuQwQXLBkp0wHPLPxX+wTpwYVQWplBtrEWdJjzvSCVog6nBTS4ejEcVkga1eUF0GdrWqlrBsYwwqxi1EmhGYLtLYmcf0ls7n3iH9Z0TsbzEQUSex2Lc6Q+9iw6GJhwAnDyBqQ0UEkmF7ADFVsETX8IAXWb/Y4pnjq9NItL9+ngsVzPhD2ElMZBspPzcQ/tNOrxPQBQFEDFphxUOPGZgqHkJOdoFb94jZAG1zJuKxcgQgpO6IHWHBrhLVM1XVXT1ukn4UGFkb5JK9iLNb8AbUFr15U6FFj7PXrhn4ADe9phK3bXUwn93WdCpX3CPW8fFntwX1gSc7J8um9FBe0Dv6ChI9GUCDvHuUs7vpEkv4eZH5D6rlpgS+hF0tPmG3LA==; 5:M8HAvSXsD+3jr49RrRFSdyK/1w+M/jaypWty6QtK7sxkod+MgMbwKExX6neAYiNziMqPjfCtLtisuPjVh6UeDHnlT+ABJco/CqyN2F/OLrnYOVcQYSdk/9vXbhPX4R34Zyt8BDGnLn/7SsYhbjKnfByfAmVIjYcqyCd5j5WuV3E=; 7:hifKcKoXtFkLPlcv9jMY+O6L//CI+4uzNqCnjNp8/FaFu7Y3/Yoj3AbR5g8H0GmdBvIZujAv/kfFu7mPrG2moUBIOmj3ddRRlHzVrYqk0O9poxwYc8ZhdyFMg1cXZMBCjC5cfw+ns3r4NruncddJwe61XIslfzkR9ilLhsrNThDdfK4FR/i+zZVGEAznl8IOldYnhyInFrkZyYpUTEY2Qrln0InnBDko+AcI3uRwA1zzOZfjk+1k27UwEryep9Bp x-ms-office365-filtering-correlation-id: a416cc95-883f-443c-4721-08d62a34d879 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:MWHPR04MB0623; x-ms-traffictypediagnostic: MWHPR04MB0623: 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)(93006095)(93001095)(10201501046)(3002001)(3231355)(944501410)(52105095)(6055026)(149066)(150057)(6041310)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123564045)(20161123560045)(201708071742011)(7699051); SRVR:MWHPR04MB0623; BCL:0; PCL:0; RULEID:; SRVR:MWHPR04MB0623; x-forefront-prvs: 0815F8251E x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(366004)(136003)(39860400002)(396003)(376002)(346002)(199004)(189003)(50226002)(81156014)(14454004)(14444005)(6436002)(86362001)(105586002)(8936002)(6512007)(99286004)(106356001)(81166006)(6116002)(110136005)(8676002)(36756003)(54906003)(3846002)(102836004)(44832011)(2501003)(256004)(6486002)(5250100002)(53936002)(66066001)(39060400002)(7736002)(6506007)(2900100001)(118296001)(71200400001)(76176011)(26005)(305945005)(11346002)(2906002)(52116002)(446003)(2616005)(486006)(71190400001)(386003)(186003)(5660300001)(4326008)(25786009)(478600001)(97736004)(316002)(68736007)(72206003)(476003); DIR:OUT; SFP:1102; SCL:1; SRVR:MWHPR04MB0623; H:MWHPR04MB0401.namprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; x-microsoft-antispam-message-info: 8qdqG/mGWU0kOhjxeU7vtSjQmsRqCmtoSoscaG3TQbdcIuBXIwOBH0QH0C+RJwBJHHt8ckENpCz2BhlR+SlzJigN9BQposHJv1DI8tcMKmUk04f/0EFhd/XjURQfT3dudoGh9Uu+Pmg+Mn1B/6wIqVWoTo4Tv87GHiEjhf7PbdBXopFqFZuaUkh1emzFUyKSzTkG9WL1ajUB1vXHWHOZnXIapO7SJHuX+Omrlg/ricifdbOJpmGVCqvb7h0CZzQMb6/Fa/+ZAMdD195lDtgwAyP5v19aqjHtWTOZuCEGYle6f4T8vRxQLFtfs/RHabMhEWYLNYha7QBtRtmdWwrQwwzr+nQELJBFShiW1+ASlnc= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: a416cc95-883f-443c-4721-08d62a34d879 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Oct 2018 20:06:19.0527 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR04MB0623 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 68.232.141.245 Subject: [Qemu-devel] [PATCH v5 1/5] 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: "alistair23@gmail.com" , "palmer@sifive.com" , Alistair Francis , "stephen@eideticom.com" 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 {