Received: by 10.223.164.202 with SMTP id h10csp1087744wrb; Fri, 17 Nov 2017 13:44:22 -0800 (PST) X-Google-Smtp-Source: AGs4zMZFuwqUrSWpkKuj5QYDgurEi9VtumdwOHLLeDVz/m7qTy43vFluk7VAm0QVNFmnLnoIRM6e X-Received: by 10.159.202.139 with SMTP id p11mr4221278plo.182.1510955062239; Fri, 17 Nov 2017 13:44:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510955062; cv=none; d=google.com; s=arc-20160816; b=SlKHc4o701Xb+jzLe2Qio0Llz447gWM3JCh5iHx2PoQHb6oJctU96dB75q4zy9CZgV OFbLRULD7RkjwPXK4Y02Ucc/tli7/BKZhjWFhgAsOrPmTe4wbTDSf+rZXbmaS0gchz5N ByE+dZUy80n+qs9KGD1PtUXW1M/0tdgrnADiDuhY9Pzp7cnxJrAbkx4+0gJbTNk03BYT 9h+fOdoVaICQHzOvPAEnt8o/lp8cYoOtpIH0j86S0gWhMdPJbjcq8+2r3vvKRYJwHcOU hmxAqKJX+vb0FHCn43hGozzf57inzi+3tmrqtMYQuXWldjzVM+IMthZzCYS7EIsDCjfj ESyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=GXb3mwsRsuBkQtq6Bmm0LbiGB7/lfGAUBAJES/fGdkU=; b=RwGQwHPW8yIoh/STnlC2cxniY5/9UZBtwbp+HiTOOiPmiQdPnNLeuRRNnfn2+wEjWL BYk8xsyeFlwVjCMnM8vII6N73rg+vXOLo+yu5P3o4SoQcN6ypRkgsfR8JMAlOpCdJu8u NbV7tR6TNXz4qJtlXJ7snFILbLfCVtAh4AkabJ7a4wH2uVlLmJP/Dkffi9DM/6xStF8O cxVoVUc1YphvVYFN6uQLYfQtyWakZxGH8+11YMvLfm9H95LUscaQ4/+Xbxnd0jrq2N74 8cqA5kOK8eKECPUHcEhVhYQptkuCXr3XbiIcQiXtV7oUnYpyNN6gyUlfBq3zvg1Es/tH E5aA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PeblHlpZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n15si3797713pfj.278.2017.11.17.13.44.09; Fri, 17 Nov 2017 13:44:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PeblHlpZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932415AbdKQMkX (ORCPT + 93 others); Fri, 17 Nov 2017 07:40:23 -0500 Received: from mail-ua0-f172.google.com ([209.85.217.172]:42616 "EHLO mail-ua0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932077AbdKQMkP (ORCPT ); Fri, 17 Nov 2017 07:40:15 -0500 Received: by mail-ua0-f172.google.com with SMTP id p33so1316278uag.9; Fri, 17 Nov 2017 04:40:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=GXb3mwsRsuBkQtq6Bmm0LbiGB7/lfGAUBAJES/fGdkU=; b=PeblHlpZsIpzW7s7V/JtPfjhN/jH0nFjJ7NohNtKt0MF2dV/vBCjQay9RjO0CjYhxA DArIdYN+WBa5D4AtfnONIWlYy4RO4ZW1k+upWmmzzUsdMnbkPXq/jcL8uMFFqGk+h6e0 CMjM4cocVuY+qj7O/lY0BWHJBLalDjLIXl+ui2Fq7H3/pXGY3geUxJhgy9dY6ErwPOZq uxZoxlzpIGpCkW8R2oLl3S8E+RMvfXyBZQhML3gsnVgCmEq3/BlP2vEBgoblV6saHOVV v2I6McaETgVKW0ccoqzjxMNGb/MDbEEuB33V7RonHtrwsuBhKcZ4SLYniwq+3iZgYFay gNqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=GXb3mwsRsuBkQtq6Bmm0LbiGB7/lfGAUBAJES/fGdkU=; b=G9EdkmjeGC0nIlcNky1ikiR0qshJu3W2+5U48gTVeoC21GXVjsOo/t/QrpsL09e/45 RMykhVbsM58HC6J3aUAF9H9JOYduRmIaovYGITwiz1Q2KMy3Xz0NR803FPhQSdGo8Jb7 4SoNOhcrQyVA0J50N/+DzHrwNNV2lJSv3eWYo91TeuNIoBxHtIP0H2tqtSAYdIQHxSm8 YY2s/wwnvLPoUA/lfZW3c44XEwn0GkBWxK+FNQno14cpVh3LUzC+T4tRoCK9Xu/gNZm/ MJS7SJ2dKy2bjPdxLhH57hLDQFMYt1cWh243B7oqInSIGzPGu1CyxjKaSG9m3PX9uzpV qMTg== X-Gm-Message-State: AJaThX667afjeNki60aEk/91Dmf1n3gR7kIqyLuIswvrfeZnFvhFRpXg sIN9+H8RtviTWwZG4TQOyRlk+8e1KOv3ryvtG0c= X-Received: by 10.176.89.129 with SMTP id g1mr4332658uad.184.1510922414296; Fri, 17 Nov 2017 04:40:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.159.62.8 with HTTP; Fri, 17 Nov 2017 04:39:33 -0800 (PST) In-Reply-To: References: <7278eca76456b412e02d9baa5dc164e83199cbab.1510118606.git.green.hu@gmail.com> From: Greentime Hu Date: Fri, 17 Nov 2017 20:39:33 +0800 Message-ID: Subject: Re: [PATCH 26/31] nds32: Build infrastructure To: Arnd Bergmann Cc: Greentime , Linux Kernel Mailing List , linux-arch , Thomas Gleixner , Jason Cooper , Marc Zyngier , Rob Herring , Networking , Vincent Chen Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2017-11-10 16:26 GMT+08:00 Greentime Hu : > 2017-11-09 18:33 GMT+08:00 Arnd Bergmann : >> On Thu, Nov 9, 2017 at 10:02 AM, Greentime Hu wrote: >>> 2017-11-08 18:16 GMT+08:00 Arnd Bergmann : >>>> On Wed, Nov 8, 2017 at 6:55 AM, Greentime Hu wrote: >> >>>>> +config GENERIC_CALIBRATE_DELAY >>>>> + def_bool y >>>> >>>> It's better to avoid the delay loop completely and skip the calibration, >>>> if your hardware allows. >>> >>> Thanks. >>> Do you mean that this config should be def_bool n? >>> why? Almost all arch enable it. >> >> It depends on what your hardware can do. If you have a way to see how much >> time has passed that is guaranteed to be reliable on all machines, then >> use that instead. >> >> On a lot of architectures, it's not possible, so they have to fall back to using >> the delay loop. > > I get it. I will discuss it with our HW colleagues. > We may get these informations in some registers. Hi, Arnd: I think I can't set it to default n because it will be called in start_kernel. start_kernel() -> calibrate_delay() If I don't enable this config, it will link error because it didn't build init/calibrate.c From 1584341045984523442@xxx Fri Nov 17 19:02:43 +0000 2017 X-GM-THRID: 1583483358934427114 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread