Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1444213/?format=api
{ "id": 1444213, "url": "http://patchwork.ozlabs.org/api/patches/1444213/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1614244979-48216-20-git-send-email-bmeng.cn@gmail.com/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api", "name": "U-Boot", "link_name": "uboot", "list_id": "u-boot.lists.denx.de", "list_email": "u-boot@lists.denx.de", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<1614244979-48216-20-git-send-email-bmeng.cn@gmail.com>", "list_archive_url": null, "date": "2021-02-25T09:22:40", "name": "[v3,19/38] pci: mpc85xx: Wrap LAW programming with CONFIG_FSL_LAW", "commit_ref": "5a40f5c09dfdc1ddc9413584d5a99f2879e10de8", "pull_url": null, "state": "accepted", "archived": false, "hash": "6da3c1e98fd1c230caf3bef71fe349a40900ce4b", "submitter": { "id": 64981, "url": "http://patchwork.ozlabs.org/api/people/64981/?format=api", "name": "Bin Meng", "email": "bmeng.cn@gmail.com" }, "delegate": { "id": 87636, "url": "http://patchwork.ozlabs.org/api/users/87636/?format=api", "username": "priyankajain", "first_name": "Priyanka", "last_name": "Jain", "email": "priyanka.jain@nxp.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1614244979-48216-20-git-send-email-bmeng.cn@gmail.com/mbox/", "series": [ { "id": 230985, "url": "http://patchwork.ozlabs.org/api/series/230985/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=230985", "date": "2021-02-25T09:22:22", "name": "ppc: qemu: Convert qemu-ppce500 to driver model and enable additional driver support", "version": 3, "mbox": "http://patchwork.ozlabs.org/series/230985/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1444213/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1444213/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<u-boot-bounces@lists.denx.de>", "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=lists.denx.de\n (client-ip=85.214.62.61; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>)", "ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20161025 header.b=QTSwmPyp;\n\tdkim-atps=neutral", "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=gmail.com", "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de", "phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.b=\"QTSwmPyp\";\n\tdkim-atps=neutral", "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=gmail.com", "phobos.denx.de;\n spf=pass smtp.mailfrom=bmeng.cn@gmail.com" ], "Received": [ "from phobos.denx.de (phobos.denx.de [85.214.62.61])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature RSA-PSS (4096 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 4DmS9d0yF8z9s1l\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 25 Feb 2021 20:27:17 +1100 (AEDT)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 7A14B81FC3;\n\tThu, 25 Feb 2021 10:26:48 +0100 (CET)", "by phobos.denx.de (Postfix, from userid 109)\n id 8333581FB4; Thu, 25 Feb 2021 10:24:59 +0100 (CET)", "from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com\n [IPv6:2a00:1450:4864:20::52f])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id B30D281F9E\n for <u-boot@lists.denx.de>; Thu, 25 Feb 2021 10:24:48 +0100 (CET)", "by mail-ed1-x52f.google.com with SMTP id g3so5881548edb.11\n for <u-boot@lists.denx.de>; Thu, 25 Feb 2021 01:24:48 -0800 (PST)", "from pek-vx-bsp2.wrs.com\n (ec2-44-242-66-180.us-west-2.compute.amazonaws.com. [44.242.66.180])\n by smtp.gmail.com with ESMTPSA id k22sm2987368edv.33.2021.02.25.01.24.44\n (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);\n Thu, 25 Feb 2021 01:24:48 -0800 (PST)" ], "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de", "X-Spam-Level": "", "X-Spam-Status": "No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_BLOCKED,\n SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n h=from:to:cc:subject:date:message-id:in-reply-to:references;\n bh=+tfvqyVoAppQVrOb4WhZvXVfPhVpGnYxcwc6M/RoyJk=;\n b=QTSwmPypUYAmgg3nu1xHE3kyFUsg2PWITtS1SQRmz0XNxJGkhsJQGAm9t1o64vMTM3\n viMZq0YKpha30wj6JK5lVLn8qU0hTPlNumTTWwbBaGP1oPdRcK8a0lSrNPx2l1IjkfO1\n WiFrOPBNh8o+ZD/QDXSbguL+8y+voU1Uroav31rzv2gGHUFLcsYyOy5AgLBz6L08jMqX\n oPN2aGuvLHJ3wsdY2uTGzWu6G4Pf86Gfo6ev5OxbAyryj825IzHAjy1cg+ox00JPDzBE\n OiP+IbihsTnukcNhfzVWD7/aDnSj2htzDfVSIs/mBce7hZ1K9/bffT4p3X89iV79Gbyp\n f2cA==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20161025;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n :references;\n bh=+tfvqyVoAppQVrOb4WhZvXVfPhVpGnYxcwc6M/RoyJk=;\n b=QKP8+QYFDw9JO4CxZyIr+qHa7cQU4X0cSfI0U4ziz3j8XeylrUfl1dK+gElLOPsh4l\n rI8Ko1K1yZoye8mBLt7fhYO3Igz7F1Suwt+flS7LdyJnwnApNeoAnVQSifeFtctbubjF\n EFWS2TDbOmDtaWo2O8BLS04WhrUFjCearS30xvlCrHvi6WgVfAA4k21kGRsQoV3ZhbQp\n K9HTqfmN1hEBL2Fm14WKiWyRDtGMhxIwtKyMCCitggyf3dlnogWHnZplP1g3VX82vSZ3\n rM64FgGUHLcY08EBqtrxCVPFIrmCMk557vV4TEXGlVw3FXyBtBlLTliRRH/AIspQQuFm\n KW7Q==", "X-Gm-Message-State": "AOAM533ULJwcZKPEdPqIkg2IRyTeRJyEH85IcGFMiYW+hplG+v3w1hQ4\n 1IyCIl8arfC+DncZywuDURg=", "X-Google-Smtp-Source": "\n ABdhPJzELNAr8C9YQk5G4/5Kbt6Iv0VqQW+VSoWS758GKU6cv0eN1J3/xNWd95POpDXHdwVa/DvRBg==", "X-Received": "by 2002:aa7:c6d5:: with SMTP id b21mr1899105eds.180.1614245088419;\n Thu, 25 Feb 2021 01:24:48 -0800 (PST)", "From": "Bin Meng <bmeng.cn@gmail.com>", "To": "Simon Glass <sjg@chromium.org>, Alexander Graf <agraf@csgraf.de>,\n Priyanka Jain <priyanka.jain@nxp.com>", "Cc": "U-Boot Mailing List <u-boot@lists.denx.de>, Tom Rini <trini@konsulko.com>,\n Heiko Schocher <hs@denx.de>", "Subject": "[PATCH v3 19/38] pci: mpc85xx: Wrap LAW programming with\n CONFIG_FSL_LAW", "Date": "Thu, 25 Feb 2021 17:22:40 +0800", "Message-Id": "<1614244979-48216-20-git-send-email-bmeng.cn@gmail.com>", "X-Mailer": "git-send-email 2.7.4", "In-Reply-To": "<1614244979-48216-1-git-send-email-bmeng.cn@gmail.com>", "References": "<1614244979-48216-1-git-send-email-bmeng.cn@gmail.com>", "X-BeenThere": "u-boot@lists.denx.de", "X-Mailman-Version": "2.1.34", "Precedence": "list", "List-Id": "U-Boot discussion <u-boot.lists.denx.de>", "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>", "List-Archive": "<https://lists.denx.de/pipermail/u-boot/>", "List-Post": "<mailto:u-boot@lists.denx.de>", "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>", "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>", "Errors-To": "u-boot-bounces@lists.denx.de", "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>", "X-Virus-Scanned": "clamav-milter 0.102.4 at phobos.denx.de", "X-Virus-Status": "Clean" }, "content": "For the QEMU ppce500 machine, LAW registers are not implemented\nhence CONFIG_FSL_LAW is not turned on and all LAW APIs are not\navailable. We should wrap all LAW registers programming in the\nmpc85xx PCI driver with CONFIG_FSL_LAW.\n\nSigned-off-by: Bin Meng <bmeng.cn@gmail.com>\nReviewed-by: Heiko Schocher <hs@denx.de>\nReviewed-by: Priyanka Jain <priyanka.jain@nxp.com>\n---\n\n(no changes since v1)\n\n drivers/pci/pci_mpc85xx.c | 4 ++++\n 1 file changed, 4 insertions(+)", "diff": "diff --git a/drivers/pci/pci_mpc85xx.c b/drivers/pci/pci_mpc85xx.c\nindex ab6ff45..7387a1e 100644\n--- a/drivers/pci/pci_mpc85xx.c\n+++ b/drivers/pci/pci_mpc85xx.c\n@@ -46,6 +46,7 @@ static int mpc85xx_pci_dm_write_config(struct udevice *dev, pci_dev_t bdf,\n \treturn 0;\n }\n \n+#ifdef CONFIG_FSL_LAW\n static int\n mpc85xx_pci_dm_setup_laws(struct pci_region *io, struct pci_region *mem,\n \t\t\t struct pci_region *pre)\n@@ -68,6 +69,7 @@ mpc85xx_pci_dm_setup_laws(struct pci_region *io, struct pci_region *mem,\n \n \treturn 0;\n }\n+#endif\n \n static int mpc85xx_pci_dm_probe(struct udevice *dev)\n {\n@@ -85,7 +87,9 @@ static int mpc85xx_pci_dm_probe(struct udevice *dev)\n \t\treturn -EINVAL;\n \t}\n \n+#ifdef CONFIG_FSL_LAW\n \tmpc85xx_pci_dm_setup_laws(io, mem, pre);\n+#endif\n \n \tpcix = priv->cfg_addr;\n \t/* BAR 1: memory */\n", "prefixes": [ "v3", "19/38" ] }