[{"id":1769566,"web_url":"http://patchwork.ozlabs.org/comment/1769566/","msgid":"<CAEUhbmW4ORoc-2fvFHkFhRFjCccfNEHk1pugL9bZyjot_=R8Tw@mail.gmail.com>","list_archive_url":null,"date":"2017-09-16T06:29:14","subject":"Re: [U-Boot] [PATCH v3 2/6] dm: x86: Allow TSC timer to be used\n\tbefore DM is ready","submitter":{"id":64981,"url":"http://patchwork.ozlabs.org/api/people/64981/","name":"Bin Meng","email":"bmeng.cn@gmail.com"},"content":"On Wed, Sep 6, 2017 at 9:49 AM, Simon Glass <sjg@chromium.org> wrote:\n> With bootstage we need access to the timer before driver model is set up.\n> To handle this, put the required state in global_data and provide a new\n> function to set up the device, separate from the driver's probe() method.\n>\n> This will be used by the 'early' timer also.\n>\n> Signed-off-by: Simon Glass <sjg@chromium.org>\n> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>\n> ---\n>\n> Changes in v3: None\n> Changes in v2:\n> - Update to support the early timer\n>\n>  arch/x86/include/asm/global_data.h |  1 +\n>  drivers/timer/tsc_timer.c          | 30 +++++++++++++++++++++++++-----\n>  2 files changed, 26 insertions(+), 5 deletions(-)\n>\n\napplied to u-boot-x86, thanks!","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=gmail.com header.i=@gmail.com\n\theader.b=\"tuoc1ph6\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xvMpQ0YtMz9t2Q\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 16 Sep 2017 16:30:38 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid A57FAC21F92; Sat, 16 Sep 2017 06:29:30 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id AE481C21F2A;\n\tSat, 16 Sep 2017 06:29:28 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 3241CC21FF6; Sat, 16 Sep 2017 06:29:19 +0000 (UTC)","from mail-wr0-f194.google.com (mail-wr0-f194.google.com\n\t[209.85.128.194])\n\tby lists.denx.de (Postfix) with ESMTPS id B03E5C21FCE\n\tfor <u-boot@lists.denx.de>; Sat, 16 Sep 2017 06:29:15 +0000 (UTC)","by mail-wr0-f194.google.com with SMTP id g50so2288277wra.3\n\tfor <u-boot@lists.denx.de>; Fri, 15 Sep 2017 23:29:15 -0700 (PDT)","by 10.223.145.3 with HTTP; Fri, 15 Sep 2017 23:29:14 -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.0 required=5.0 tests=FREEMAIL_FROM,\n\tRCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,\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=gmail.com; s=20161025;\n\th=mime-version:in-reply-to:references:from:date:message-id:subject:to\n\t:cc; bh=Zzl5/FiPwlVGx2enjhYBPUM0Hp/bufF6dn3lqtXsLQQ=;\n\tb=tuoc1ph6uT6YDIIgC0xu2eAKSsMY8LgFE7YMvz55acxK6H1snmH/ar3RfljaFSe1qi\n\tRvbRtEJnAxzc4WEvJ6HVVmyfniCIP1M6tlol4MUCOLD+TAbz2upP6XFepWSNn6zIipjY\n\tFzAf6dC2UQCa7ko6IyVg1ObmFyT3Qk5R1xGYnOjNJviQ57rjNSFR3K0gs9rwxSfdlq2x\n\t9XUeugS7KoF9QXTykW5039HZR/Gl56RlBo6QMuN+7VhPCgeBiaw4Drr1NxTuzQNBhbZC\n\toDqbZ5gDTkp24/zCUjajGfKefPaN/D3RvRmiI1Pj8lv7hfxFAfZUlNrhIvTQtPgYbldt\n\tklEw==","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:in-reply-to:references:from:date\n\t:message-id:subject:to:cc;\n\tbh=Zzl5/FiPwlVGx2enjhYBPUM0Hp/bufF6dn3lqtXsLQQ=;\n\tb=XYr3annGaiX01e/24rgxDpNezRjXTGHwM76P+id0aV4IIxIIqOyMUDE+p6RnYuNHec\n\tSyZEnHdlF4EGhamYRR/qbFslcSaWaO/idDQ0PCDqcVmn6nojm1sYjyP3oA2GGVjMByds\n\toWIPDOGkaN3Cl3gXWA8PfcXknjA88MRv5CXMjeBiIMSH2OCCSIYNdkzDibMf/IYiUZcA\n\tg6rzB0qUkbiUKHXBDDK35uQMgwmpXwZUqY57Fk2Pr1sKCfDFMwB8NPVgtOQ+TxhB0grY\n\tkyCAc5Bkq6Hdc19VZTM9UrT6hxHLFUu0wdBtUYlE/klGXPjPRzFt9QKmA1zl6wvh/paO\n\tAgIw==","X-Gm-Message-State":"AHPjjUio/FJtrC6gNwZM20XjmywRcTaocyU11G+JupuAQSn79lNPLr3p\n\tkYPIjItm3SAyqrxWtt3d2vUzxL25QGPopyNHEzA=","X-Google-Smtp-Source":"ADKCNb5wq/5qa4kd6UZzrHGBVink48FyBC+KrBsSgfEBL+aoxSfJE5hbxwcW853qy5s7ShohBfbIviJNRGHtVGvfMXQ=","X-Received":"by 10.223.156.143 with SMTP id\n\td15mr22036517wre.180.1505543355374; \n\tFri, 15 Sep 2017 23:29:15 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<20170906014950.132960-3-sjg@chromium.org>","References":"<20170906014950.132960-1-sjg@chromium.org>\n\t<20170906014950.132960-3-sjg@chromium.org>","From":"Bin Meng <bmeng.cn@gmail.com>","Date":"Sat, 16 Sep 2017 14:29:14 +0800","Message-ID":"<CAEUhbmW4ORoc-2fvFHkFhRFjCccfNEHk1pugL9bZyjot_=R8Tw@mail.gmail.com>","To":"Simon Glass <sjg@chromium.org>","Cc":"U-Boot Mailing List <u-boot@lists.denx.de>","Subject":"Re: [U-Boot] [PATCH v3 2/6] dm: x86: Allow TSC timer to be used\n\tbefore DM is ready","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>"}}]