{"id":814729,"url":"http://patchwork.ozlabs.org/api/patches/814729/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20170917225927.117917-13-sjg@chromium.org/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/projects/18/?format=json","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":"<20170917225927.117917-13-sjg@chromium.org>","list_archive_url":null,"date":"2017-09-17T22:59:23","name":"[U-Boot,12/16] Add a comment for board_quiesce_devices()","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"a5d2af3773b376249d417e19e801def870d3d8d8","submitter":{"id":6170,"url":"http://patchwork.ozlabs.org/api/people/6170/?format=json","name":"Simon Glass","email":"sjg@chromium.org"},"delegate":{"id":3400,"url":"http://patchwork.ozlabs.org/api/users/3400/?format=json","username":"agraf","first_name":"Alexander","last_name":"Graf","email":"agraf@suse.de"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/20170917225927.117917-13-sjg@chromium.org/mbox/","series":[{"id":3549,"url":"http://patchwork.ozlabs.org/api/series/3549/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=3549","date":"2017-09-17T22:59:11","name":"efi: Enable basic sandbox support for EFI loader","version":1,"mbox":"http://patchwork.ozlabs.org/series/3549/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/814729/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/814729/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=\"MjvG47xi\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xwRdD0x08z9sBZ\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 18 Sep 2017 10:26:22 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 7C3E7C21EBC; Mon, 18 Sep 2017 00:26:20 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id E2148C21EFB;\n\tSun, 17 Sep 2017 23:02:08 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid B630CC21EB1; Sun, 17 Sep 2017 23:02:05 +0000 (UTC)","from mail-io0-f170.google.com (mail-io0-f170.google.com\n\t[209.85.223.170])\n\tby lists.denx.de (Postfix) with ESMTPS id 59D00C21EAB\n\tfor <u-boot@lists.denx.de>; Sun, 17 Sep 2017 22:59:43 +0000 (UTC)","by mail-io0-f170.google.com with SMTP id g32so14832882ioj.2\n\tfor <u-boot@lists.denx.de>; Sun, 17 Sep 2017 15:59:43 -0700 (PDT)","from kiwi.bld.corp.google.com ([100.101.164.89])\n\tby smtp.gmail.com with ESMTPSA id\n\tc68sm12523243oih.34.2017.09.17.15.59.39\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tSun, 17 Sep 2017 15:59:39 -0700 (PDT)","by kiwi.bld.corp.google.com (Postfix, from userid 121222)\n\tid EE4F4141802; Sun, 17 Sep 2017 16:59:38 -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=IYqQyorlmH2QrzJp1bqKEJvqC+37mCu3zhuZN5SbT5k=;\n\tb=MjvG47xi9jGUyoqy3svcrv1kGbvTxCN/slyxRdKRK2+Ez4dBx/BXIFKUFiJup3icsa\n\tY9aZI/cTH3Hep+j7BY151BwlT4SxW6vct6ScXQUH9gCSyrlQwfyr9+rpQ97T9XLLbGJI\n\tme0yYGUP3+qKjGl+sNrMyXt/AUP1U7ua5OOB26NXCsRZeWw9gVS0wMa6i+Kdip9iyLGn\n\tlU0e/jSJ8Y1I4MqioE0eXtQAZKOi3n/dH6atoekAPp212x4vgVKEBIBxnrYk0gVjp3CI\n\ts0y7pDiK/wOGcJVhdkIzw7lwxrnjgD+rRAEdUfqCBW6lIZiOBXtZXT/0wmg3rcOsGBEb\n\tGwMA==","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=IYqQyorlmH2QrzJp1bqKEJvqC+37mCu3zhuZN5SbT5k=;\n\tb=TRVeN86tMHgocpc5mqg+qGkFzTmLO7kcSf+fCr9OAuAo4WUXyroy//1w6p8vlCEbaP\n\tSFUADJgbIN4L/GH7KYR9sNEebbH5U0rdEkRKRcTU0XJQw0GyEeg0SEA2Ayq8xD2pox/1\n\tqzPSJ7jjD3Cj9p/+zYdIBZUTaABlNR8/b2wD6RPsc8YBkFfWO91CBun74LAZfeoMWT2X\n\tv9y9dbO+LNrkhOdrGB8W4Uom2L/71NTHTjQsVvLNskoTAoJA0td5G63G/HrDbGhzWMNO\n\tWs0dOIWDvq3SjxwD7ZVpAhfO6o/5AXi4ZBGqxraOrkwllfnAyxgSSheQkPuMA7do2UjM\n\tHOQw==","X-Gm-Message-State":"AHPjjUjHHevKoxVGeKhmKSeeWXbVhZ+yD7vLbU154jsh3qsWxYB+NWG/\n\tCNZfjK+Oz1xtjt89","X-Google-Smtp-Source":"AOwi7QBREJYjOEioZDl4JKfm5DyJa1CH4MJqxzzDQwFq9adWfDZULLkQcXvUbfzdPxonbGuWbHUK3w==","X-Received":"by 10.202.243.194 with SMTP id\n\tr185mr9144390oih.218.1505689182019; \n\tSun, 17 Sep 2017 15:59:42 -0700 (PDT)","From":"Simon Glass <sjg@chromium.org>","To":"U-Boot Mailing List <u-boot@lists.denx.de>","Date":"Sun, 17 Sep 2017 16:59:23 -0600","Message-Id":"<20170917225927.117917-13-sjg@chromium.org>","X-Mailer":"git-send-email 2.14.1.690.gbb1197296e-goog","In-Reply-To":"<20170917225927.117917-1-sjg@chromium.org>","References":"<20170917225927.117917-1-sjg@chromium.org>","Cc":"Andy Shevchenko <andriy.shevchenko@linux.intel.com>,\n\tHeinrich Schuchardt <xypron.glpk@gmx.de>","Subject":"[U-Boot] [PATCH 12/16] Add a comment for board_quiesce_devices()","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":"This exported function should have a comment describing what it does. Also\nit should really be removed in favour of device_remove(), which handles\nthis sort of thing now. Add a comment with a TODO.\n\nSigned-off-by: Simon Glass <sjg@chromium.org>\n---\n\n include/bootm.h | 6 ++++++\n 1 file changed, 6 insertions(+)","diff":"diff --git a/include/bootm.h b/include/bootm.h\nindex 76b6ab42e6..caf331f54b 100644\n--- a/include/bootm.h\n+++ b/include/bootm.h\n@@ -73,6 +73,12 @@ int bootm_decomp_image(int comp, ulong load, ulong image_start, int type,\n \t\t       void *load_buf, void *image_buf, ulong image_len,\n \t\t       uint unc_len, ulong *load_end);\n \n+/*\n+ * boards should define this to disable devices when EFI exits from boot\n+ * services.\n+ *\n+ * TODO(sjg@chromium.org>): Update this to use driver model's device_remove().\n+ */\n void board_quiesce_devices(void);\n \n #endif\n","prefixes":["U-Boot","12/16"]}