Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1447394/?format=api
{ "id": 1447394, "url": "http://patchwork.ozlabs.org/api/patches/1447394/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20210304144651.310037-18-alistair.francis@wdc.com/", "project": { "id": 14, "url": "http://patchwork.ozlabs.org/api/projects/14/?format=api", "name": "QEMU Development", "link_name": "qemu-devel", "list_id": "qemu-devel.nongnu.org", "list_email": "qemu-devel@nongnu.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20210304144651.310037-18-alistair.francis@wdc.com>", "list_archive_url": null, "date": "2021-03-04T14:46:49", "name": "[PULL,v2,17/19] hw/riscv: virt: Drop the 'link_up' parameter of gpex_pcie_init()", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "c95d4df3e7403ae4f3d2d82ce2017c6ccec37dbc", "submitter": { "id": 74007, "url": "http://patchwork.ozlabs.org/api/people/74007/?format=api", "name": "Alistair Francis", "email": "alistair.francis@wdc.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20210304144651.310037-18-alistair.francis@wdc.com/mbox/", "series": [ { "id": 232161, "url": "http://patchwork.ozlabs.org/api/series/232161/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=232161", "date": "2021-03-04T14:46:33", "name": "[PULL,v2,01/19] target/riscv: Declare csr_ops[] with a known size", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/232161/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1447394/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1447394/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Authentication-Results": [ "ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org\n (client-ip=209.51.188.17; helo=lists.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=<UNKNOWN>)", "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=wdc.com header.i=@wdc.com header.a=rsa-sha256\n header.s=dkim.wdc.com header.b=UbRYG0PE;\n\tdkim-atps=neutral" ], "Received": [ "from lists.gnu.org (lists.gnu.org [209.51.188.17])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 4DrvH45txWz9sSC\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 5 Mar 2021 02:02:24 +1100 (AEDT)", "from localhost ([::1]:59862 helo=lists1p.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1lHpUc-00066h-PC\n\tfor incoming@patchwork.ozlabs.org; Thu, 04 Mar 2021 10:02:22 -0500", "from eggs.gnu.org ([2001:470:142:3::10]:60512)\n by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1)\n (envelope-from <prvs=690dc056c=alistair.francis@wdc.com>)\n id 1lHpHe-0002PJ-VB\n for qemu-devel@nongnu.org; Thu, 04 Mar 2021 09:48:58 -0500", "from esa1.hgst.iphmx.com ([68.232.141.245]:44459)\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1)\n (envelope-from <prvs=690dc056c=alistair.francis@wdc.com>)\n id 1lHpHd-0007sK-8d\n for qemu-devel@nongnu.org; Thu, 04 Mar 2021 09:48:58 -0500", "from uls-op-cesaip02.wdc.com (HELO uls-op-cesaep02.wdc.com)\n ([199.255.45.15])\n by ob1.hgst.iphmx.com with ESMTP; 04 Mar 2021 22:48:26 +0800", "from uls-op-cesaip01.wdc.com ([10.248.3.36])\n by uls-op-cesaep02.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 04 Mar 2021 06:29:39 -0800", "from cnf008142.ad.shared (HELO alistair-risc6-laptop.hgst.com)\n ([10.86.48.109])\n by uls-op-cesaip01.wdc.com with ESMTP; 04 Mar 2021 06:48:26 -0800" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=simple/simple;\n d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com;\n t=1614869337; x=1646405337;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=Ws7/YnKOyQ3gfRMjK/cpAOID7eR8r2Z1YDvYuCmlKfc=;\n b=UbRYG0PEtobrxnUMoJJSOs6cl1/42oR7RSGCI1jMYVYjw+d0jfT9ynx2\n DdwtrkisdUNegtVf7cbiilD8FEPObpYbpo8dHUTN9aBF1bNuN0HLHKvQH\n mopsjTWv12CNvo6PXlfRAtLHpuJ//jDvzkT1eHpOc0bkcl85ulk+6wX5+\n Wyid5wPtgrJUQlWH3Az+8mCHmiMBth3ilqpeMCUZe0/GRhKRGAMptPPlw\n xqvBfUw2YLPIXDOyT2TFKtTX+lEXgSMUAaVippI8nSXK6lboaoBtGmKGZ\n K8lF+b7muMt+A9kXB3gOSBWJSpp+NASWTmDr2jmgZK87HkWFn3UZ7IGVU w==;", "IronPort-SDR": [ "\n FKbjEa7BXKdT2vnKC0uCK6kgnEeMXfGVQWTuwnOKqp15YBLze6asrapl5Y6r1fSigo/0OznGv1\n WUsvHfJfEFS37+/JI6/vLdArIEB65wD/74rlgXbCFvl6b/1SM/XjeaF/bHqyCuBqex38Kx6vDv\n Lgrte638Pla1f+7xItUIDqld0h9E4q+jaKOa83RBEEg59CSJvkVskKOm2HgFvbvas434TqYu2R\n MUXDAcjpXUFYoxz1D3YVjAFqcIi5DftyUG8ciCtxuKBYuOqCj31iMhC4nDtMhNC5ugBPWa7CXD\n KRM=", "\n W25N4xG/fYT2QtHewt7A5TFWAgkPvwFqvogYkipmlZnVd8R63+cRfgbcU38+asfOZWPUxquQ8x\n 6Jb4nLInUTzfYRnEetncSSqhA0aNMNYrN9wi6NoEfiEaC9VTZ6jsD5bnoPJFhj+VdvNm9S1AgF\n AO2m0lfxog47nJyML2RP38haOC8B24PGZbu6ORhnOUnL2YJ/an/G4IbQniO/EEk56rExkzhmS8\n YDLxDviwFgBsqmjGbNN0X30lLKDu4zLaeMY3XStMLObD2KANtq0CQmXIz+b2kJKRUTxZ0k0OTL\n rGDBvMztzkgDsh0Riz9umvG5", "\n ilEIZ4/DD9UdUFqbL1Ibu/vdy6F1rESX/3BEGswAsBAPy8oAsCnFjAjyCpcSIQAQU0IoLanIYk\n QJSC8wNQ/X9s538+a0AwIjfc2GZijsZ2xXQ5ioUyIUT1EiaPPJY+Cp8TMtu6ZcCZCrp5UESvYx\n W+nGZVx5OTLxY6EvZxYNK7pybyoRjlKq35SwxPl2hhBpBdN7Kc4w6Flx9MgqvNG10XlXV/shTi\n 3DXNeiQjH5JgsQZVd4A8dDRnIzGpViZpmKqkcmL1JtkdJYjyB8jP8M4G9xP6niYgZR66EaHKY+\n Gto=" ], "X-IronPort-AV": "E=Sophos;i=\"5.81,222,1610380800\"; d=\"scan'208\";a=\"271984433\"", "WDCIronportException": "Internal", "From": "Alistair Francis <alistair.francis@wdc.com>", "To": "peter.maydell@linaro.org", "Subject": "[PULL v2 17/19] hw/riscv: virt: Drop the 'link_up' parameter of\n gpex_pcie_init()", "Date": "Thu, 4 Mar 2021 09:46:49 -0500", "Message-Id": "<20210304144651.310037-18-alistair.francis@wdc.com>", "X-Mailer": "git-send-email 2.30.1", "In-Reply-To": "<20210304144651.310037-1-alistair.francis@wdc.com>", "References": "<20210304144651.310037-1-alistair.francis@wdc.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Received-SPF": "pass client-ip=68.232.141.245;\n envelope-from=prvs=690dc056c=alistair.francis@wdc.com;\n helo=esa1.hgst.iphmx.com", "X-Spam_score_int": "-27", "X-Spam_score": "-2.8", "X-Spam_bar": "--", "X-Spam_report": "(-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,\n DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,\n RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001,\n SPF_PASS=-0.001 autolearn=ham autolearn_force=no", "X-Spam_action": "no action", "X-BeenThere": "qemu-devel@nongnu.org", "X-Mailman-Version": "2.1.23", "Precedence": "list", "List-Id": "<qemu-devel.nongnu.org>", "List-Unsubscribe": "<https://lists.nongnu.org/mailman/options/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>", "List-Archive": "<https://lists.nongnu.org/archive/html/qemu-devel>", "List-Post": "<mailto:qemu-devel@nongnu.org>", "List-Help": "<mailto:qemu-devel-request@nongnu.org?subject=help>", "List-Subscribe": "<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=subscribe>", "Cc": "alistair23@gmail.com, Bin Meng <bin.meng@windriver.com>,\n Alistair Francis <alistair.francis@wdc.com>, qemu-devel@nongnu.org", "Errors-To": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org", "Sender": "\"Qemu-devel\"\n <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>" }, "content": "From: Bin Meng <bin.meng@windriver.com>\n\n`link_up` is never used in gpex_pcie_init(). Drop it.\n\nSigned-off-by: Bin Meng <bin.meng@windriver.com>\nReviewed-by: Alistair Francis <alistair.francis@wdc.com>\nMessage-id: 20210220144807.819-3-bmeng.cn@gmail.com\nSigned-off-by: Alistair Francis <alistair.francis@wdc.com>\n---\n hw/riscv/virt.c | 14 +++++++-------\n 1 file changed, 7 insertions(+), 7 deletions(-)", "diff": "diff --git a/hw/riscv/virt.c b/hw/riscv/virt.c\nindex cfd52bc59b..1d05bb3ef9 100644\n--- a/hw/riscv/virt.c\n+++ b/hw/riscv/virt.c\n@@ -449,7 +449,7 @@ static inline DeviceState *gpex_pcie_init(MemoryRegion *sys_mem,\n hwaddr ecam_base, hwaddr ecam_size,\n hwaddr mmio_base, hwaddr mmio_size,\n hwaddr pio_base,\n- DeviceState *plic, bool link_up)\n+ DeviceState *plic)\n {\n DeviceState *dev;\n MemoryRegion *ecam_alias, *ecam_reg;\n@@ -669,12 +669,12 @@ static void virt_machine_init(MachineState *machine)\n }\n \n gpex_pcie_init(system_memory,\n- memmap[VIRT_PCIE_ECAM].base,\n- memmap[VIRT_PCIE_ECAM].size,\n- memmap[VIRT_PCIE_MMIO].base,\n- memmap[VIRT_PCIE_MMIO].size,\n- memmap[VIRT_PCIE_PIO].base,\n- DEVICE(pcie_plic), true);\n+ memmap[VIRT_PCIE_ECAM].base,\n+ memmap[VIRT_PCIE_ECAM].size,\n+ memmap[VIRT_PCIE_MMIO].base,\n+ memmap[VIRT_PCIE_MMIO].size,\n+ memmap[VIRT_PCIE_PIO].base,\n+ DEVICE(pcie_plic));\n \n serial_mm_init(system_memory, memmap[VIRT_UART0].base,\n 0, qdev_get_gpio_in(DEVICE(mmio_plic), UART0_IRQ), 399193,\n", "prefixes": [ "PULL", "v2", "17/19" ] }