get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/1623058/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 1623058,
    "url": "http://patchwork.ozlabs.org/api/patches/1623058/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20220427141317.18962-1-pali@kernel.org/",
    "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": "<20220427141317.18962-1-pali@kernel.org>",
    "list_archive_url": null,
    "date": "2022-04-27T14:13:17",
    "name": "board: freescale: p1_p2_rdb_pc: Remove mapping for TDM-PMC card",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "34e9628043d6af6d6f361ee2e45ff5099cce1ac4",
    "submitter": {
        "id": 78810,
        "url": "http://patchwork.ozlabs.org/api/people/78810/?format=api",
        "name": "Pali Rohár",
        "email": "pali@kernel.org"
    },
    "delegate": {
        "id": 55230,
        "url": "http://patchwork.ozlabs.org/api/users/55230/?format=api",
        "username": "freenix",
        "first_name": "Peng",
        "last_name": "Fan",
        "email": "van.freenix@gmail.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20220427141317.18962-1-pali@kernel.org/mbox/",
    "series": [
        {
            "id": 297188,
            "url": "http://patchwork.ozlabs.org/api/series/297188/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=297188",
            "date": "2022-04-27T14:13:17",
            "name": "board: freescale: p1_p2_rdb_pc: Remove mapping for TDM-PMC card",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/297188/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1623058/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1623058/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": [
            "bilbo.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=iGBplsRg;\n\tdkim-atps=neutral",
            "ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>)",
            "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=kernel.org",
            "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=kernel.org header.i=@kernel.org header.b=\"iGBplsRg\";\n\tdkim-atps=neutral",
            "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=kernel.org",
            "phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org"
        ],
        "Received": [
            "from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4KpLMN58D8z9sBy\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 28 Apr 2022 00:13:36 +1000 (AEST)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id ADBA883E4F;\n\tWed, 27 Apr 2022 16:13:31 +0200 (CEST)",
            "by phobos.denx.de (Postfix, from userid 109)\n id 964AB83E9E; Wed, 27 Apr 2022 16:13:29 +0200 (CEST)",
            "from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75])\n (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 85AF883E49\n for <u-boot@lists.denx.de>; Wed, 27 Apr 2022 16:13:26 +0200 (CEST)",
            "from smtp.kernel.org (relay.kernel.org [52.25.139.140])\n (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n (No client certificate requested)\n by ams.source.kernel.org (Postfix) with ESMTPS id 1815AB8268A;\n Wed, 27 Apr 2022 14:13:26 +0000 (UTC)",
            "by smtp.kernel.org (Postfix) with ESMTPSA id 834D3C385A7;\n Wed, 27 Apr 2022 14:13:24 +0000 (UTC)",
            "by pali.im (Postfix)\n id 94BF7A43; Wed, 27 Apr 2022 16:13:21 +0200 (CEST)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-2.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,\n DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,\n SPF_PASS autolearn=ham autolearn_force=no version=3.4.2",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;\n s=k20201202; t=1651068804;\n bh=F0GRGOYge0O5usBuTwSpc8zN2K6YSJM35yoPKEfwnVg=;\n h=From:To:Cc:Subject:Date:From;\n b=iGBplsRgTQQwoHEZhROd9rWwK9EKIRKy3Xe+rqRT9myzhuFrdyttSHH0wSFPN0nyY\n w8/TYnw0mEvrY4kRSwZiGNA1Ia0Kg1SSHn4IN8snqEcbdD7qX9oNWq2mvyzmxFh52k\n QTEe8LLUMs6XbS9jmQSWZ8P8X/pEPIrX/wD0IZBlPTdmlYEEr9cpbX+j0J8U5+1FNK\n c7i0As9FXbdlcG52lbPDBS3ASZVFRfgtpfUlqfMc4/xQBTkePzF+QzC6opzKrgBshn\n ZYa4LODIPVB4bId4SeDH2G0uoNlWVdVuyaenrIy+WdiYSSeeycEN7rCWpzLaX1fxvb\n uBlfZj6dN57qw==",
        "From": "=?utf-8?q?Pali_Roh=C3=A1r?= <pali@kernel.org>",
        "To": "Priyanka Jain <priyanka.jain@nxp.com>,\n\tSinan Akman <sinan@writeme.com>",
        "Cc": "u-boot@lists.denx.de",
        "Subject": "[PATCH] board: freescale: p1_p2_rdb_pc: Remove mapping for TDM-PMC\n card",
        "Date": "Wed, 27 Apr 2022 16:13:17 +0200",
        "Message-Id": "<20220427141317.18962-1-pali@kernel.org>",
        "X-Mailer": "git-send-email 2.20.1",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.39",
        "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.103.5 at phobos.denx.de",
        "X-Virus-Status": "Clean"
    },
    "content": "From whole P1/P2 family of RDB boards is TDM-PMC card (PCI Mezzanine Card,\nFreescale PQ-MDS-T1) available only on P1021RDB and P1025RDB boards.\n\nSo address mapping for TDM-PMC card on LBC should not be enabled on any\nother P1/P2 RDB board as there is no device at that TDM-PMC address.\n\nSupport for P1021RDB and P1025RDB boards was already removed from mainline\nU-Boot in commits 6d1dd76afe85 (\"board/freescale: Remove P1021RDB board\nsupport\") and d521cece5adb (\"board/freescale: Remove P1025RDB board\nsupport\").\n\nSo do not enable TDM-PMC address mapping on remaining P1/P2 RDB boards and\nremove all macros related to TDM-PMC address mappings.\n\nSigned-off-by: Pali Rohár <pali@kernel.org>\n---\n board/freescale/p1_p2_rdb_pc/law.c | 1 -\n board/freescale/p1_p2_rdb_pc/tlb.c | 3 ---\n include/configs/p1_p2_rdb_pc.h     | 9 ---------\n scripts/config_whitelist.txt       | 4 ----\n 4 files changed, 17 deletions(-)",
    "diff": "diff --git a/board/freescale/p1_p2_rdb_pc/law.c b/board/freescale/p1_p2_rdb_pc/law.c\nindex 5f4d713ca569..6bdfb356eede 100644\n--- a/board/freescale/p1_p2_rdb_pc/law.c\n+++ b/board/freescale/p1_p2_rdb_pc/law.c\n@@ -9,7 +9,6 @@\n \n struct law_entry law_table[] = {\n \tSET_LAW(CONFIG_SYS_CPLD_BASE_PHYS, LAW_SIZE_1M, LAW_TRGT_IF_LBC),\n-\tSET_LAW(CONFIG_SYS_PMC_BASE_PHYS, LAW_SIZE_64K, LAW_TRGT_IF_LBC),\n #ifdef CONFIG_VSC7385_ENET\n \tSET_LAW(CONFIG_SYS_VSC7385_BASE_PHYS, LAW_SIZE_1M, LAW_TRGT_IF_LBC),\n #endif\ndiff --git a/board/freescale/p1_p2_rdb_pc/tlb.c b/board/freescale/p1_p2_rdb_pc/tlb.c\nindex 5931ec650bd8..13f3a1edf68d 100644\n--- a/board/freescale/p1_p2_rdb_pc/tlb.c\n+++ b/board/freescale/p1_p2_rdb_pc/tlb.c\n@@ -65,9 +65,6 @@ struct fsl_e_tlb_entry tlb_table[] = {\n \tSET_TLB_ENTRY(1, CONFIG_SYS_CPLD_BASE, CONFIG_SYS_CPLD_BASE_PHYS,\n \t\t\tMAS3_SX|MAS3_SW|MAS3_SR, MAS2_I|MAS2_G,\n \t\t\t0, 6, BOOKE_PAGESZ_1M, 1),\n-\tSET_TLB_ENTRY(1, CONFIG_SYS_PMC_BASE, CONFIG_SYS_PMC_BASE_PHYS,\n-\t\t\tMAS3_SX|MAS3_SW|MAS3_SR, MAS2_I|MAS2_G,\n-\t\t\t0, 10, BOOKE_PAGESZ_64K, 1),\n #endif /* not SPL */\n \n #ifdef CONFIG_SYS_NAND_BASE\ndiff --git a/include/configs/p1_p2_rdb_pc.h b/include/configs/p1_p2_rdb_pc.h\nindex 50ce2d9aaed4..9102dd819731 100644\n--- a/include/configs/p1_p2_rdb_pc.h\n+++ b/include/configs/p1_p2_rdb_pc.h\n@@ -247,7 +247,6 @@\n  * 0xf8f8_0000 0xf8ff_ffff\tL2 SRAM\t\tUp to 512K cacheable\n  *   (early boot only)\n  * 0xff80_0000 0xff80_7fff\tNAND flash\t32K non-cacheable\tCS1/0\n- * 0xff98_0000 0xff98_ffff\tPMC\t\t64K non-cacheable\tCS2\n  * 0xffa0_0000 0xffaf_ffff\tCPLD\t\t1M non-cacheable\tCS3\n  * 0xffb0_0000 0xffbf_ffff\tVSC7385 switch  1M non-cacheable\tCS2\n  * 0xffc0_0000 0xffc3_ffff\tPCI IO range\t256k non-cacheable\n@@ -359,14 +358,6 @@\n \t\t\t\t\tBR_PS_8 | BR_V)\n #define CONFIG_CPLD_OR_PRELIM\t(0xfff009f7)\n \n-#define CONFIG_SYS_PMC_BASE\t0xff980000\n-#define CONFIG_SYS_PMC_BASE_PHYS\tCONFIG_SYS_PMC_BASE\n-#define CONFIG_PMC_BR_PRELIM\t(BR_PHYS_ADDR(CONFIG_SYS_PMC_BASE_PHYS) | \\\n-\t\t\t\t\tBR_PS_8 | BR_V)\n-#define CONFIG_PMC_OR_PRELIM\t(OR_AM_64KB | OR_GPCM_CSNT | OR_GPCM_XACS | \\\n-\t\t\t\t OR_GPCM_SCY | OR_GPCM_TRLX | OR_GPCM_EHTR | \\\n-\t\t\t\t OR_GPCM_EAD)\n-\n /* Vsc7385 switch */\n #ifdef CONFIG_VSC7385_ENET\n #define __VSCFW_ADDR\t\t\t\"vscfw_addr=ef000000\\0\"\ndiff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt\nindex a6bc234f51ed..33f6d73d3c58 100644\n--- a/scripts/config_whitelist.txt\n+++ b/scripts/config_whitelist.txt\n@@ -637,8 +637,6 @@ CONFIG_PHY_RESET_DELAY\n CONFIG_PL011_CLOCK\n CONFIG_PL01x_PORTS\n CONFIG_PM\n-CONFIG_PMC_BR_PRELIM\n-CONFIG_PMC_OR_PRELIM\n CONFIG_PME_PLAT_CLK_DIV\n CONFIG_PMU\n CONFIG_PMW_BASE\n@@ -1796,8 +1794,6 @@ CONFIG_SYS_PLL_FDR\n CONFIG_SYS_PLL_ODR\n CONFIG_SYS_PLL_SETTLING_TIME\n CONFIG_SYS_PMAN\n-CONFIG_SYS_PMC_BASE\n-CONFIG_SYS_PMC_BASE_PHYS\n CONFIG_SYS_PME_CLK\n CONFIG_SYS_POST_MEMORY\n CONFIG_SYS_POST_MEM_REGIONS\n",
    "prefixes": []
}