Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/806256/?format=api
{ "id": 806256, "url": "http://patchwork.ozlabs.org/api/patches/806256/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20170827152351.20609-2-sjg@chromium.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": "<20170827152351.20609-2-sjg@chromium.org>", "list_archive_url": null, "date": "2017-08-27T15:23:46", "name": "[U-Boot,v2,1/6] board_f: Drop the timer after relocation", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "c014b36ccd0a92c02a74a94bf3ee1efc5d3f4e1e", "submitter": { "id": 6170, "url": "http://patchwork.ozlabs.org/api/people/6170/?format=api", "name": "Simon Glass", "email": "sjg@chromium.org" }, "delegate": { "id": 56520, "url": "http://patchwork.ozlabs.org/api/users/56520/?format=api", "username": "bmeng", "first_name": "Bin", "last_name": "Meng", "email": "bmeng.cn@gmail.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20170827152351.20609-2-sjg@chromium.org/mbox/", "series": [ { "id": 26, "url": "http://patchwork.ozlabs.org/api/series/26/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=26", "date": "2017-08-27T15:23:45", "name": "x86: bootstage: Fix bootstage operation on link", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/26/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/806256/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/806256/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\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)", "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=google.com header.i=@google.com\n\theader.b=\"g0WUUalh\"; dkim-atps=neutral" ], "Received": [ "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xgJbv2CS7z9s8V\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 28 Aug 2017 01:24:43 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid 09407C2224A; Sun, 27 Aug 2017 15:24:20 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 3FF54C2222E;\n\tSun, 27 Aug 2017 15:24:04 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid 30F71C2221A; Sun, 27 Aug 2017 15:24:01 +0000 (UTC)", "from mail-oi0-f47.google.com (mail-oi0-f47.google.com\n\t[209.85.218.47])\n\tby lists.denx.de (Postfix) with ESMTPS id 99B25C22228\n\tfor <u-boot@lists.denx.de>; Sun, 27 Aug 2017 15:24:00 +0000 (UTC)", "by mail-oi0-f47.google.com with SMTP id r203so25850678oih.0\n\tfor <u-boot@lists.denx.de>; Sun, 27 Aug 2017 08:24:00 -0700 (PDT)", "from kaki.bld.corp.google.com\n\t([2620:0:10f2:12:f00e:676f:b9cf:8415])\n\tby smtp.gmail.com with ESMTPSA id\n\tu14sm11631912oie.0.2017.08.27.08.23.57\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tSun, 27 Aug 2017 08:23:58 -0700 (PDT)", "by kaki.bld.corp.google.com (Postfix, from userid 121222)\n\tid 3547140197; Sun, 27 Aug 2017 09:23:57 -0600 (MDT)" ], "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de", "X-Spam-Level": "", "X-Spam-Status": "No, score=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,\n\tRCVD_IN_MSPIKE_H2,\n\tT_DKIM_INVALID autolearn=unavailable autolearn_force=no\n\tversion=3.4.0", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=20161025; \n\th=sender:from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=aVx2usEGgg5ReGnNbkmpPMFVJ4acDTDIcUn3fpCqShA=;\n\tb=g0WUUalhJNy7Q54918APf/8+iZFzrjrYrGV5A87SvC/xC2nXFOS8TIaD2RNkRQ8ftD\n\t1uXHH6SkNFsmSt3evv6uZDUthZinx4NF7NczIGN68z3X72ngYLtRF4/hFZ0c/vY9BAIh\n\taRf8b1MZomIbhdPIPcqQbuKQJY8VsIvwS+zOQcr1WLBbdsHcWlvNLjJtjYuBKrBaDYqv\n\trSNc/c4rJbestYFvCI6gInLl3rqeWFXNYt8SW7x9+Yyf+BksbZJKYuPxD5uFY+zhIEon\n\thmbBNRRJXwL079u/2U2Qx1OThfSwocHD+2eOZ/IC/BdXZKmBicCVpaxPKqwfx3jZfkBU\n\tT42g==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:from:to:cc:subject:date:message-id\n\t:in-reply-to:references;\n\tbh=aVx2usEGgg5ReGnNbkmpPMFVJ4acDTDIcUn3fpCqShA=;\n\tb=jIVMF1UNIiqYtGSk0pc/HP4dZUbQiSW+DwIENDBzXAU6Ai4+Hx2DFC/tnQ3mJ04ZSa\n\tTKD7mYGtqMWJZe/Wq1wWluiWcVRETeogQq9Ew1Y4jDUENGBWGYCuoRgd2hRa+txME6KV\n\t49wn/g2V+U2aODmeWNmNKYwm63SYOzdYRkb9QtwP5JcVriP5+3dAF8/3ETpx8UpDXj9r\n\tWWQlicoHC+GMmP/chTb3BX2QpthJm6h0uMYkZwLlxfOLtKpovYIW8wMNMUlJRZ3ZVm67\n\tNgF9GBsZ+FVPbqywflHp2GYnSRcqxckis6Yp5f8wLc/a/m7uFRBRhspIFN3c+oeaBMj0\n\tMkUQ==", "X-Gm-Message-State": "AHYfb5hkGPhVTfxLqrcE3Fgf5Scf+TIGxKSunpQqKRLDb1z4qxUB0u9x\n\tbsozyHZYGAM6XOT4", "X-Google-Smtp-Source": "ADKCNb4iX8Vk/EyVBEjse3uLUtvpjjN2VhbWqO6abQEc41Sb0aB+KSUpCr8mQDgAqL3RyzjaITJ0aw==", "X-Received": "by 10.202.184.8 with SMTP id i8mr5789221oif.266.1503847439290;\n\tSun, 27 Aug 2017 08:23:59 -0700 (PDT)", "From": "Simon Glass <sjg@chromium.org>", "To": "U-Boot Mailing List <u-boot@lists.denx.de>", "Date": "Sun, 27 Aug 2017 09:23:46 -0600", "Message-Id": "<20170827152351.20609-2-sjg@chromium.org>", "X-Mailer": "git-send-email 2.14.1.342.g6490525c54-goog", "In-Reply-To": "<20170827152351.20609-1-sjg@chromium.org>", "References": "<20170827152351.20609-1-sjg@chromium.org>", "Cc": "Thomas Petazzoni <thomas.petazzoni@free-electrons.com>,\n\tStefan Roese <sr@denx.de>", "Subject": "[U-Boot] [PATCH v2 1/6] board_f: Drop the timer after relocation", "X-BeenThere": "u-boot@lists.denx.de", "X-Mailman-Version": "2.1.18", "Precedence": "list", "List-Id": "U-Boot discussion <u-boot.lists.denx.de>", "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>", "List-Archive": "<http://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\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "base64", "Errors-To": "u-boot-bounces@lists.denx.de", "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>" }, "content": "Once U-Boot relocates itself the existing driver-model timer (if any) is\nno-longer valid until the device is reinitialised. Any use of the device\nmay cause a crash. To handle this, set the timer to NULL after relocation.\n\nSigned-off-by: Simon Glass <sjg@chromium.org>\n---\n\nChanges in v2: None\n\n common/board_f.c | 1 +\n 1 file changed, 1 insertion(+)", "diff": "diff --git a/common/board_f.c b/common/board_f.c\nindex 104d144f41a..2e597ddf99f 100644\n--- a/common/board_f.c\n+++ b/common/board_f.c\n@@ -952,6 +952,7 @@ void board_init_f_r(void)\n \t * UART if available.\n \t */\n \tgd->flags &= ~GD_FLG_SERIAL_READY;\n+\tgd->timer = NULL;\n \n \t/*\n \t * U-Boot has been copied into SDRAM, the BSS has been cleared etc.\n", "prefixes": [ "U-Boot", "v2", "1/6" ] }