[{"id":1751300,"web_url":"http://patchwork.ozlabs.org/comment/1751300/","msgid":"<E1dijt7-00081J-JG@mail.theobroma-systems.com>","list_archive_url":null,"date":"2017-08-18T16:12:45","subject":"Re: [U-Boot] [U-Boot,\n\t07/18] rockchip: timer: implement timer_get_boot_us","submitter":{"id":53488,"url":"http://patchwork.ozlabs.org/api/people/53488/","name":"Philipp Tomsich","email":"philipp.tomsich@theobroma-systems.com"},"content":"> To make the Rockchip DM timer driver useful for the timing of\n> bootstages, we need a few enhancements:\n>  - This implements timer_get_boot_us.\n>  - This avoids reinitialising the timer, if it has already been\n>    set up (e.g. by our TPL and SPL stages). Now, we have a single\n>    timebase ticking from TPL through the full U-Boot.\n>  - This adds support for reading the timer even before the\n>    device-model is ready: we find the timer via /chosen/tick-timer,\n>    then read its address and clock-frequency, and finally read the\n>    timeval directly).\n> \n> Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>\n> ---\n> \n>  drivers/timer/rockchip_timer.c | 72 +++++++++++++++++++++++++++++++++++++++---\n>  1 file changed, 67 insertions(+), 5 deletions(-)\n> \n\nAcked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>","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>)","Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xYpPG0cSqz9t3s\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 19 Aug 2017 02:26:26 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 1EAE1C22102; Fri, 18 Aug 2017 16:21:35 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 6A6CCC21FFE;\n\tFri, 18 Aug 2017 16:21:33 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 4BD99C220AC; Fri, 18 Aug 2017 16:12:49 +0000 (UTC)","from mail.theobroma-systems.com (vegas.theobroma-systems.com\n\t[144.76.126.164])\n\tby lists.denx.de (Postfix) with ESMTPS id 8291FC22087\n\tfor <u-boot@lists.denx.de>; Fri, 18 Aug 2017 16:12:46 +0000 (UTC)","from 89-104-28-141.customer.bnet.at ([89.104.28.141]:52968\n\thelo=vpn-10-11-0-14.lan) by mail.theobroma-systems.com with esmtpsa\n\t(TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80)\n\t(envelope-from <philipp.tomsich@theobroma-systems.com>)\n\tid 1dijt7-00081J-JG; Fri, 18 Aug 2017 18:12:45 +0200"],"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=none autolearn=unavailable\n\tautolearn_force=no version=3.4.0","MIME-Version":"1.0","From":"Philipp Tomsich <philipp.tomsich@theobroma-systems.com>","To":"Philipp Tomsich <philipp.tomsich@theobroma-systems.com>","In-Reply-To":"<1502904758-7562-8-git-send-email-philipp.tomsich@theobroma-systems.com>","References":"<1502904758-7562-8-git-send-email-philipp.tomsich@theobroma-systems.com>","Message-Id":"<E1dijt7-00081J-JG@mail.theobroma-systems.com>","Date":"Fri, 18 Aug 2017 18:12:45 +0200","Cc":"u-boot@lists.denx.de, Klaus Goger <klaus.goger@theobroma-systems.com>","Subject":"Re: [U-Boot] [U-Boot,\n\t07/18] rockchip: timer: implement timer_get_boot_us","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>","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>"}},{"id":1758015,"web_url":"http://patchwork.ozlabs.org/comment/1758015/","msgid":"<CAPnjgZ386t81FTwPONo1=msGdGeK5VVdCTSbWazFEiaofSrSuw@mail.gmail.com>","list_archive_url":null,"date":"2017-08-26T13:39:47","subject":"Re: [U-Boot] [PATCH 07/18] rockchip: timer: implement\n\ttimer_get_boot_us","submitter":{"id":6170,"url":"http://patchwork.ozlabs.org/api/people/6170/","name":"Simon Glass","email":"sjg@chromium.org"},"content":"On 16 August 2017 at 11:32, Philipp Tomsich\n<philipp.tomsich@theobroma-systems.com> wrote:\n> To make the Rockchip DM timer driver useful for the timing of\n> bootstages, we need a few enhancements:\n>  - This implements timer_get_boot_us.\n>  - This avoids reinitialising the timer, if it has already been\n>    set up (e.g. by our TPL and SPL stages). Now, we have a single\n>    timebase ticking from TPL through the full U-Boot.\n>  - This adds support for reading the timer even before the\n>    device-model is ready: we find the timer via /chosen/tick-timer,\n>    then read its address and clock-frequency, and finally read the\n>    timeval directly).\n>\n> Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>\n> ---\n>\n>  drivers/timer/rockchip_timer.c | 72 +++++++++++++++++++++++++++++++++++++++---\n>  1 file changed, 67 insertions(+), 5 deletions(-)\n\nReviewed-by: Simon Glass <sjg@chromium.org>","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=\"MSym+WJd\"; \n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=chromium.org header.i=@chromium.org\n\theader.b=\"cY2DiGKD\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xffh106DYz9t4c\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 26 Aug 2017 23:56:00 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 98A9DC220C8; Sat, 26 Aug 2017 13:41:53 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 14399C2207D;\n\tSat, 26 Aug 2017 13:41:08 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 97D86C22074; Sat, 26 Aug 2017 13:40:15 +0000 (UTC)","from mail-qt0-f181.google.com (mail-qt0-f181.google.com\n\t[209.85.216.181])\n\tby lists.denx.de (Postfix) with ESMTPS id 43F4AC22099\n\tfor <u-boot@lists.denx.de>; Sat, 26 Aug 2017 13:40:09 +0000 (UTC)","by mail-qt0-f181.google.com with SMTP id u11so9840784qtu.1\n\tfor <u-boot@lists.denx.de>; Sat, 26 Aug 2017 06:40:09 -0700 (PDT)","by 10.200.52.117 with HTTP; Sat, 26 Aug 2017 06:39:47 -0700 (PDT)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,\n\tRCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID autolearn=unavailable\n\tautolearn_force=no version=3.4.0","DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=20161025; \n\th=mime-version:sender:in-reply-to:references:from:date:message-id\n\t:subject:to:cc;\n\tbh=9DQRftPGKp8e6pBvS5hzkddgf4i7bPP/gl+qLL7m93I=;\n\tb=MSym+WJd04DTwqVpj3S8mSyxZDjpPpk3wY9Dlh3Atgw/V2rs1RwuYgSIG9lEXz/oX4\n\tocw641nvjR8cDV8D8hbkVh4KWKgsh60WNY0PzJvlBBUartQxsu7I20UR0ejiQepak/5m\n\t1wqtrC/4hDqwv3FdGoYrcjqLUYOHxvn9sJo18lHNtgm9BTzRiV5AAqO5wG9pj/A+lhcb\n\tRwxDJNyxPmaRpYnM/tJ0wm4aN1yKQ08g+75JJbOVTJO+2D2A9GrnOaHWsH7uRLsTvIQ9\n\tK5eNX8Hmfzezs2/OwrEYxKHAv8rHTHGz+Zydo26gFcRUkz1wlEYbv7+HehNxEGH4M57L\n\tDRPw==","v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org;\n\ts=google; \n\th=mime-version:sender:in-reply-to:references:from:date:message-id\n\t:subject:to:cc;\n\tbh=9DQRftPGKp8e6pBvS5hzkddgf4i7bPP/gl+qLL7m93I=;\n\tb=cY2DiGKDx3y3dtv4CHKkU0CGWPZBGHdpxBTiVjB7sthQKduOzM1GnmuM532MjhJRyV\n\tNuWHlkGUWeqOijBUM/mh8FDR6cKcWgyUZit9yAyDmyefx41LEJI15Z4+ZjNHekY78VrC\n\tqlxwJho+sQeSf++NnREEhsXZfIIELTTDtUZZc="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:sender:in-reply-to:references:from\n\t:date:message-id:subject:to:cc;\n\tbh=9DQRftPGKp8e6pBvS5hzkddgf4i7bPP/gl+qLL7m93I=;\n\tb=LSyVxv+yYhMMyM+FQGTFFMsSFWrnssxKJCgfJC2Aq12s/lnYIGM1G7TQiB4DhfRwg8\n\tFBrCarr/+RuSrwD/L4Ofb20CKkeLCSPi7xgpKRH12CzMOsBZF/luUxMe6NcRpkeOkNI2\n\tMcnOGj8eK4GG6kESj44xRLfcFbz3QhtK8O7eJWhub7QFL1qaqtsejj8s5OpzW213uS6T\n\tiIydk9iliQqlwJvcxf/mclLCYz669FSDb4XeHU6FX6YtH6pZ5Jse7z4TPJqeUGzZC7ww\n\tsqhNxpUd2yUKvYOMTkDEyKba7AEjq2SD/+QuxGpvjJWiZMuTFdIEFUaSGCN/F+/7RIxP\n\tbuNg==","X-Gm-Message-State":"AHYfb5j8GhsADi952L/ymgTbLcnFIrKpMU0m8a6YH050RiRjmAyuDRsG\n\t9VP/Tzc/w57j9hlQY9l19rxs250X4lUvetA=","X-Google-Smtp-Source":"ADKCNb4rgpQz4vDg49FCSsnkgpIs8XTal0We+FtqMV9K3GM7TJnImrOnFN6fqip7rTII/c3ZqkDOD1rtFaEqnTtsWgA=","X-Received":"by 10.200.37.133 with SMTP id e5mr2409769qte.51.1503754808067;\n\tSat, 26 Aug 2017 06:40:08 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<1502904758-7562-8-git-send-email-philipp.tomsich@theobroma-systems.com>","References":"<1502904758-7562-1-git-send-email-philipp.tomsich@theobroma-systems.com>\n\t<1502904758-7562-8-git-send-email-philipp.tomsich@theobroma-systems.com>","From":"Simon Glass <sjg@chromium.org>","Date":"Sat, 26 Aug 2017 07:39:47 -0600","X-Google-Sender-Auth":"dwhTpxJWt2DOBKoAfnLJgf6XB7Q","Message-ID":"<CAPnjgZ386t81FTwPONo1=msGdGeK5VVdCTSbWazFEiaofSrSuw@mail.gmail.com>","To":"Philipp Tomsich <philipp.tomsich@theobroma-systems.com>","Cc":"U-Boot Mailing List <u-boot@lists.denx.de>,\n\tKlaus Goger <klaus.goger@theobroma-systems.com>","Subject":"Re: [U-Boot] [PATCH 07/18] rockchip: timer: implement\n\ttimer_get_boot_us","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>","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>"}}]