Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1889060pxk; Tue, 1 Sep 2020 10:05:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxs+y1zJKCWJPYGozUgwignoetH2VDJma+ccwZKTHHFY9EmUpYuXLpk3scRraoX5BoM3AeX X-Received: by 2002:a50:ef15:: with SMTP id m21mr2692686eds.300.1598979943011; Tue, 01 Sep 2020 10:05:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598979943; cv=none; d=google.com; s=arc-20160816; b=eL2k1fTOF6GVcAV0qXoeqY4wokAK+cKRVuwG3I2zFEK4i/7xsgtRdTqwN69+xKUqhS OX1Thrdf7/h8l+/kj1TBOhhMMoNS1DV5RLvCqkrpoTUKf02UMpeQRXIE5/hYTla+PmjQ Zzi1qKSsPsd77mnUASeNuzZHSIqQkghioZ69YgdQpgOVv9byR1IsTW57nm7lNPTAHLH7 QVA08LSVpk2c7Pb0Hf/v52wjY4d5aQC8t84aPW/Pzjgk+6h/anDxMjYEuI6dV43ZMeLF KeyPyUn1prG3gfm384OH0D0tluoeJCfg9VTrF4Lg4Li5ou7jCaGzeSIFbxFpVaasa66A 28+w== 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 :in-reply-to:references:mime-version:dkim-signature; bh=0W2yxpJArpylRLCAMIxUVDHEOE0Rtc8t8qbdRvvfyJY=; b=CSiSSi6qGdlE7vJxFAjnft5p4i9a2TF86MVf734hCAWDljR/GSzeVNKfUop1Flvjl3 +2nrH7yZZf/WPANqNQXrLgm2K7AVk5OvNKbH5RRRKqtAiLr+d8i3XxrCRu+kX5YLFW1b dFkBKjHYB2CbG3Ps0iYlryh7DQEX+tCxTBKp9+bKy4JZOChbBvpaGVBhpIYmRxMkVEgo fqhhtccqP6RwRUB/15ncZKVT9Er6aVPd7QnJe0dJc7248msovall1nbK/mmhRlt9mXtQ 24vU/O7pJGar5widQLI3K3WBVkOfCAMoJ0H49R/WWUXnfZuJC/TsA3gknrPCIBHmab1i P23A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=X24yWagx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ce15si355600edb.291.2020.09.01.10.05.19; Tue, 01 Sep 2020 10:05:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=X24yWagx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729791AbgIARCg (ORCPT + 99 others); Tue, 1 Sep 2020 13:02:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40250 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729984AbgIARCK (ORCPT ); Tue, 1 Sep 2020 13:02:10 -0400 Received: from mail-ej1-x643.google.com (mail-ej1-x643.google.com [IPv6:2a00:1450:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55D5DC061245 for ; Tue, 1 Sep 2020 10:02:10 -0700 (PDT) Received: by mail-ej1-x643.google.com with SMTP id m22so2675796eje.10 for ; Tue, 01 Sep 2020 10:02:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0W2yxpJArpylRLCAMIxUVDHEOE0Rtc8t8qbdRvvfyJY=; b=X24yWagx+1ZBxGqiyugUJ2eJGaAd8LrpJbAszSn32GfXleOf7l+Ypbk3seu9N8m9wr 6rFo3aOLOdswBzxVz6unSED4HxB+bT3WIHtXET+LhFFSm4HHGO1rkE4I/Yu1Vdk3LYWf b7bEDunKc/ozpoOXKv0FSOLA+nXGTcEaKgmJg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0W2yxpJArpylRLCAMIxUVDHEOE0Rtc8t8qbdRvvfyJY=; b=Mc0JjgEKLwQehccTK0NYxmIuDfvX8m9Q+HKuRcDaEDDKgViliT4Z5oWjHwofil4JMH pK1QVDI5UG/aZ3bRBH28KTQ9Azl1DwUNOFOijVUDFCfsIuq7Ez4GoL4skGby4cXv+6a7 cGy4ywOJsT1lbBWNJH7AxslAM7qc9Zr5xbtSePpSpfPS4tN5NpWdvRH8+M1mQca9+vx7 7xtYumrVBr5nGVe7G1lhb1eMexoihcaJLPqpRHqB5M+HwcpseiH0uSP/mwRdtDUFKKYP bpCRFPrRhI2F+ocxNGwrXPE72ySsD5Drcz9DxzbL86aOqAIXdqdsI09povCYfWXHCqoh n+6g== X-Gm-Message-State: AOAM533LT9LLrg56bL22cSpMWZCyOVE+qv8vU/bM84jTIciNFczk6L8g /5/XnHa1hPFwum7knZua31OsjXqxAstUjg== X-Received: by 2002:a17:906:a43:: with SMTP id x3mr2322752ejf.321.1598979728360; Tue, 01 Sep 2020 10:02:08 -0700 (PDT) Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com. [209.85.128.53]) by smtp.gmail.com with ESMTPSA id q13sm1571206edr.27.2020.09.01.10.02.06 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 01 Sep 2020 10:02:07 -0700 (PDT) Received: by mail-wm1-f53.google.com with SMTP id a65so1850829wme.5 for ; Tue, 01 Sep 2020 10:02:06 -0700 (PDT) X-Received: by 2002:a1c:b407:: with SMTP id d7mr2845879wmf.59.1598979726047; Tue, 01 Sep 2020 10:02:06 -0700 (PDT) MIME-Version: 1.0 References: <20200901081920.v2.1.Id02b2f451b3eed71ddd580f4b8b44b3e33e84970@changeid> <159897502625.334488.7103007623601336114@swboyd.mtv.corp.google.com> In-Reply-To: <159897502625.334488.7103007623601336114@swboyd.mtv.corp.google.com> From: Daniel Campello Date: Tue, 1 Sep 2020 11:01:29 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] iio: sx9310: Prefer async probe To: Stephen Boyd Cc: Douglas Anderson , Jonathan Cameron , Alexandru Ardelean , Andy Shevchenko , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , linux-iio , LKML 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 On Tue, Sep 1, 2020 at 9:43 AM Stephen Boyd wrote: > > Quoting Douglas Anderson (2020-09-01 08:19:43) > > On one board I found that: > > probe of 5-0028 returned 1 after 259547 usecs > > > > While some of this time is attributable to the pile of i2c transfers > > that we do at probe time, the lion's share (over 200 ms) is sitting > > waiting in the polling loop in sx9310_init_compensation() waiting for > > the hardware to indicate that it's done. > > > > There's no reason to block probe of all other devices on our probe. > > Turn on async probe. > > > > Signed-off-by: Douglas Anderson > > --- > > Reviewed-by: Stephen Boyd Reviewed-by: Daniel Campello