Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1612675/?format=api
{ "id": 1612675, "url": "http://patchwork.ozlabs.org/api/patches/1612675/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20220402220510.17879-3-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": "<20220402220510.17879-3-pali@kernel.org>", "list_archive_url": null, "date": "2022-04-02T22:05:09", "name": "[2/3] powerpc: mpc85xx: Rename _start_e500 symbol to _start", "commit_ref": "de14a5a95c14b0a5349c430ea35b8b07975f7ce5", "pull_url": null, "state": "accepted", "archived": false, "hash": "3fceb9f27830c25a4dbd6c14facf57dc7ec9b50c", "submitter": { "id": 78810, "url": "http://patchwork.ozlabs.org/api/people/78810/?format=api", "name": "Pali Rohár", "email": "pali@kernel.org" }, "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/20220402220510.17879-3-pali@kernel.org/mbox/", "series": [ { "id": 293275, "url": "http://patchwork.ozlabs.org/api/series/293275/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=293275", "date": "2022-04-02T22:05:08", "name": "powerpc: mpc85xx: Cleanup code", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/293275/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1612675/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1612675/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=kdLUCEUM;\n\tdkim-atps=neutral", "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>)", "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=\"kdLUCEUM\";\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 [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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4KWB2K6Th7z9sFv\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 3 Apr 2022 08:06:17 +1000 (AEST)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 78E268399C;\n\tSun, 3 Apr 2022 00:05:46 +0200 (CEST)", "by phobos.denx.de (Postfix, from userid 109)\n id 0B10B83966; Sun, 3 Apr 2022 00:05:31 +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 6D98383986\n for <u-boot@lists.denx.de>; Sun, 3 Apr 2022 00:05:20 +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 1594AB80AB6;\n Sat, 2 Apr 2022 22:05:20 +0000 (UTC)", "by smtp.kernel.org (Postfix) with ESMTPSA id 95516C3410F;\n Sat, 2 Apr 2022 22:05:18 +0000 (UTC)", "by pali.im (Postfix)\n id 0A1151640; Sun, 3 Apr 2022 00:05:16 +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.1 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,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no\n version=3.4.2", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;\n s=k20201202; t=1648937118;\n bh=omm8hwXbdt73Nji8IjBbj69YuWTR3m6uXy+HUZRqVuk=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=kdLUCEUM+8gLeBtyh/B/bPt8J4ZOh2MCn0ohn28y2h56Fto/aZBWHeJQ34RLZxZkX\n Icq79YPvKI5tGR5RF0B86LrVDBgjjLSRkz5fkGUa6ZnIGI5+FNSGjzo/dPe1zHephY\n fr/R2a71uAeDCyaW2BARkBiwMTgzOc80M7vL7aDDseNE6lvXWuEPsr6yQl9A49jKu1\n 5anRkTO1sjmi7AtbtrfKWT9dznvnxWfnuxDDoOps5ZUaioNaYiWXPqoHwckh7+7eGf\n db9gJcpU0zY33n8rhahNLh4EfoeyrRkh/4rjFVng/esJDJ8dmBI7f8QrdBGuEuEJJa\n NfCJ2CSZ5mzNA==", "From": "=?utf-8?q?Pali_Roh=C3=A1r?= <pali@kernel.org>", "To": "Priyanka Jain <priyanka.jain@nxp.com>,\n\tWolfgang Denk <wd@denx.de>", "Cc": "u-boot@lists.denx.de", "Subject": "[PATCH 2/3] powerpc: mpc85xx: Rename _start_e500 symbol to _start", "Date": "Sun, 3 Apr 2022 00:05:09 +0200", "Message-Id": "<20220402220510.17879-3-pali@kernel.org>", "X-Mailer": "git-send-email 2.20.1", "In-Reply-To": "<20220402220510.17879-1-pali@kernel.org>", "References": "<20220402220510.17879-1-pali@kernel.org>", "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": "The real entry point is _start_e500. There is no _start symbol at all. So\nrename _start_e500 to _start for convension that _start symbol is used as\nentry point.\n\nSigned-off-by: Pali Rohár <pali@kernel.org>\n---\n arch/powerpc/cpu/mpc85xx/resetvec.S | 2 +-\n arch/powerpc/cpu/mpc85xx/start.S | 4 ++--\n arch/powerpc/cpu/mpc85xx/u-boot.lds | 2 +-\n doc/README.mpc85xx | 4 ++--\n 4 files changed, 6 insertions(+), 6 deletions(-)", "diff": "diff --git a/arch/powerpc/cpu/mpc85xx/resetvec.S b/arch/powerpc/cpu/mpc85xx/resetvec.S\nindex 29555d4a0092..9a552f6624ed 100644\n--- a/arch/powerpc/cpu/mpc85xx/resetvec.S\n+++ b/arch/powerpc/cpu/mpc85xx/resetvec.S\n@@ -1,2 +1,2 @@\n \t.section .resetvec,\"ax\"\n-\tb _start_e500\n+\tb _start\ndiff --git a/arch/powerpc/cpu/mpc85xx/start.S b/arch/powerpc/cpu/mpc85xx/start.S\nindex 71b04b9f7286..f62dd79805ca 100644\n--- a/arch/powerpc/cpu/mpc85xx/start.S\n+++ b/arch/powerpc/cpu/mpc85xx/start.S\n@@ -70,9 +70,9 @@\n */\n \n \t.section .bootpg,\"ax\"\n-\t.globl _start_e500\n+\t.globl _start\n \n-_start_e500:\n+_start:\n /* Enable debug exception */\n \tli\tr1,MSR_DE\n \tmtmsr\tr1\ndiff --git a/arch/powerpc/cpu/mpc85xx/u-boot.lds b/arch/powerpc/cpu/mpc85xx/u-boot.lds\nindex 22bbac51aa33..17a0e631ca3e 100644\n--- a/arch/powerpc/cpu/mpc85xx/u-boot.lds\n+++ b/arch/powerpc/cpu/mpc85xx/u-boot.lds\n@@ -16,7 +16,7 @@\n #endif\n \n OUTPUT_ARCH(powerpc)\n-ENTRY(_start_e500)\n+ENTRY(_start)\n \n PHDRS\n {\ndiff --git a/doc/README.mpc85xx b/doc/README.mpc85xx\nindex 8464e7f4d8a6..3c6ebbdb0e6e 100644\n--- a/doc/README.mpc85xx\n+++ b/doc/README.mpc85xx\n@@ -45,7 +45,7 @@ Note: Sequence number is in order of execution\n A) defined(CONFIG_SYS_RAMBOOT) i.e. SD, SPI, NAND RAMBOOT & NAND_SPL boot\n \n 1) TLB entry to overcome e500 v1/v2 debug restriction\n- Location\t : Label \"_start_e500\"\n+ Location\t : Label \"_start\"\n TLB Entry : CONFIG_SYS_PPC_E500_DEBUG_TLB\n EPN -->RPN : CONFIG_SYS_MONITOR_BASE --> CONFIG_SYS_MONITOR_BASE\n Properties : 256K, AS0, I, IPROT\n@@ -91,7 +91,7 @@ A) defined(CONFIG_SYS_RAMBOOT) i.e. SD, SPI, NAND RAMBOOT & NAND_SPL boot\n B) !defined(CONFIG_SYS_RAMBOOT) i.e. NOR boot\n \n 1) TLB entry to overcome e500 v1/v2 debug restriction\n- Location\t : Label \"_start_e500\"\n+ Location\t : Label \"_start\"\n TLB Entry : CONFIG_SYS_PPC_E500_DEBUG_TLB\n #if defined(CONFIG_NXP_ESBC)\n EPN -->RPN : CONFIG_SYS_MONITOR_BASE --> CONFIG_SYS_PBI_FLASH_WINDOW\n", "prefixes": [ "2/3" ] }