From patchwork Thu Oct 4 20:06:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair Francis X-Patchwork-Id: 10626599 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 5553B174A for ; Thu, 4 Oct 2018 20:07:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3F4CA296B2 for ; Thu, 4 Oct 2018 20:07:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 33910296B9; Thu, 4 Oct 2018 20:07:38 +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 A7B47296B2 for ; Thu, 4 Oct 2018 20:07:37 +0000 (UTC) Received: from localhost ([::1]:58801 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g89uK-0000MZ-QH for patchwork-qemu-devel@patchwork.kernel.org; Thu, 04 Oct 2018 16:07:36 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38749) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g89tE-0008Aa-At for qemu-devel@nongnu.org; Thu, 04 Oct 2018 16:06:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g89t8-0007cJ-HY for qemu-devel@nongnu.org; Thu, 04 Oct 2018 16:06:27 -0400 Received: from esa1.hgst.iphmx.com ([68.232.141.245]:31182) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g89t0-0007Yw-CM for qemu-devel@nongnu.org; Thu, 04 Oct 2018 16:06:15 -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=1538683574; x=1570219574; h=from:to:cc:subject:date:message-id: content-transfer-encoding:mime-version; bh=/YGdS/MrYorzbLsCxP+/vGgLriNwQuYAhSDrfuLsEnE=; b=ISpas2MArwa0LC53To8wjb/quIjncSzNV9wdeoHFu2i2+rTwTias/hT1 l3Ro8lV9fXA8ew2u3f1eIqc9KXGWGVoUYeW7CO2LrpwSe4phq+0VlzWM6 B1PZBzjDo1nC7ddklEUCEshbc8qMIoq3Chc/xU/PU1yGz5zkeoFnu5w2j GTOBM35zYCJp6HbldzYIcclA2uKKgLJzbHgzyHsnZYdELC+BVfmyfw3n1 y//UpIdzuLfOt72NNcu7s4bviVkcCldiGgcxQj9Q1B7tk5BaGmtyMVwAV THDUNdY38nWgI3r/t0kJLRmTTn0xPGruGaX+ZqT4O1ssr/xU7MYKNOqwq w==; X-IronPort-AV: E=Sophos;i="5.54,341,1534780800"; d="scan'208";a="195573095" Received: from mail-bl2nam02lp0081.outbound.protection.outlook.com (HELO NAM02-BL2-obe.outbound.protection.outlook.com) ([207.46.163.81]) by ob1.hgst.iphmx.com with ESMTP; 05 Oct 2018 04:06:09 +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=y55z45MZ8pHOVdR+NsdAsUVGY3P9T1uQmoWGfDWcuGc=; b=M5RbFbCmnccw7uCzz1lZ0DL1h7HdR7daF6eHoJ5NCWZ9hleh5N2uFrn01pUpnZNdNu41ghtZyrPUsP3tghfuhVwn5Q73NpoCYTPH5iQhwGRqc29nsG9K4sHz/hMiSkK50wKrv1lcT89068wa18eveyEihNjXz7/t0g5+zJW2k6c= 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:08 +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:08 +0000 From: Alistair Francis To: "qemu-devel@nongnu.org" , "mjc@sifive.com" Thread-Topic: [PATCH v5 0/5] Connect a PCIe host and graphics support to RISC-V Thread-Index: AQHUXB2wjD2MyXB8V0+jXO5lRicAHg== Date: Thu, 4 Oct 2018 20:06:08 +0000 Message-ID: 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: BYAPR11CA0057.namprd11.prod.outlook.com (2603:10b6:a03:80::34) 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:+ibICa4bzoXUrrwBIRJeQK4zAsv0FFnHyIXNiGzXLrDHmOUnGN46mDTZ58am+yfyoQNroABDmc4wdrmqiBAHSCKvyQN/KL4b4yhreYgt0BU+CxaSI/hqPpr76U4YIpP2Pzc1cMst4VDVE4AaL5SlI6w+xQeF8aemUSJFMjb6iDDA7nv1vcpwIySvwLxsEj8orXc+4KohcEo/SO64xAVCQe+tmpne8bNxDWXyrxhcy+OpbqnKErpNpOShunxpfhPWbwnW2utu+8R3HYzlbSoSCj0lHfTn+/OGRuBYxsrLLXzbvKR1AYGXDV4NqlvtAEzX/lCD3yViLDbOXomiTgJgvyvCcyFYKaswk5+kLMPTSjD4gDRYVZWbO7OEPVo+bhQcHuptVANNyJWWXojZ5H3LePDtRijY4E9ks+X4MVNymXKBc/caMFpGLHtmLY4hcPllSYt+wc93uBrA35H4qzWZMw==; 5:xW/eTXt6su4BzNyf1oWSL7A1YbSztPYzVGpGMfl46NyxfEZzESUXXg9ZUe82vL2qkRHLwCcsIyisVPgPtNGjAjxZVQO/dmXrTpm894RJZK+QcAcRaAOrxVt4HmWYuYJISRIaUpmOQ3P7cY9aqzDE8u0PzPGpFBcOmGezFSLll9U=; 7:E9iIMxl9dKQhAmbEopeOqC0pG8vb19VZxRAg3vPxTIeGAjQKLWwTIt/U+zuuZMPd3vTSLjKvmIjRLTx2ac4+eLQMuhaCwmPLPn6R6BreurnRRNBGwvNAAlGyWs5AGdISGcHu5qRnRNx3Lykj1o3M9inQzaT1k9f63hZM1DqiMTWe3Na9gDVXpD9XcVB9Uyn/6giTsmDrWItIcHhe0/AWxHA+2lA8Vx7XDq65T2tK/0J1MqLhuMkID8y7YEW4QdNW x-ms-office365-filtering-correlation-id: e3badfef-bdad-41ff-ac6e-08d62a34d22b 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:(21532816269658); 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)(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)(71200400001)(26005)(305945005)(2906002)(52116002)(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: wydytwq6pIQGJozn0eZ1wREI4Mo2jmhZfszuxkhLlcSszNIPo+ChD/SqQEIw3FaE8w4wvGy0RotDT9AKZ56gLzunHYPwjMnQ7EkKfOA7hsV/UzAQErb97gxFVraKgYMZFitYpFdcubRk5JBdW2yVJPgeu2e/zcXbPnsD5jbMXrmbJXkDliSi8oGq13b1/O/XvyEH9CV2CcDSIoyyZMzyk3u3zWPuV8SualSr/fy9vfckAkX2Fma4tpOflOLz17BdgnCJIjvWYKmoxqOTh5GRB+CfcHk9oqhe32/n7UuVVDbfuH/4shLzjcmfYSXVGDLHHI7U6TUaPn7JkB830kaTXKMTJLj+jLqtzmehkvmqRQ8= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: e3badfef-bdad-41ff-ac6e-08d62a34d22b X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Oct 2018 20:06:08.1565 (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 0/5] Connect a PCIe host and graphics support to RISC-V 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 V5: - Rebase - Include pci.mak in the default configs V4: - Fix the spike device tree - Don't use stdvga device V3: - Remove Makefile config changes - Connect a network adapter to the virt device V2: - Use the gpex PCIe host for virt - Add support for SiFive U PCIe Alistair Francis (5): hw/riscv/virt: Increase the number of interrupts hw/riscv/virt: Connect the gpex PCIe riscv: Enable VGA and PCIE_VGA hw/riscv/sifive_u: Connect the Xilinx PCIe hw/riscv/virt: Connect a VirtIO net PCIe device default-configs/riscv32-softmmu.mak | 10 +++- default-configs/riscv64-softmmu.mak | 10 +++- hw/riscv/sifive_u.c | 64 +++++++++++++++++++++++++ hw/riscv/virt.c | 72 +++++++++++++++++++++++++++++ include/hw/riscv/sifive_u.h | 4 +- include/hw/riscv/virt.h | 6 ++- 6 files changed, 161 insertions(+), 5 deletions(-)