Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1146486pxb; Thu, 19 Aug 2021 22:01:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJytERjfqqcGORmqaSpjSUEc3tHtuKzLzCZRWlTU75dAEqpI0npKRzOs8onZeWNfVMRMis0z X-Received: by 2002:a02:7318:: with SMTP id y24mr1831895jab.43.1629435709793; Thu, 19 Aug 2021 22:01:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629435709; cv=none; d=google.com; s=arc-20160816; b=Z8h8GESX2ygkP2tSULlU0M1u9kg0tulRM40bZ7RHkrS7jER13Bv9D11Fn1nDlxPbUK dPVCqsow7ZxBzxGa94boVZbr+Fr7/7j1uqJF6gn7oI9249gOx55aUWf7FyVhAssW3TPV LCbojIkUl2pOjttCmIzYjgTUl8GFn0+Es8602lEaCi/AuAXq4xAf+lXbSkuCgsaTevQq Pgn7JeBfJreOkA4uB27tbYkuQmb5t+xnYaCdxDyH0EVDzuCwiZcY1CkGLJTLQSQbt2j9 ssJ8M6dgWrymzhMLeJTjKptflyiazvs5YoF+hIP68KQVV7qBgU8Y4OqbpzxoaNI8T3sT nWxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=yJVlqQ4lTcQdt8aVplyrvQC8hWd4V+x7YamMYCxgX+E=; b=iL2zlTyzJ4A4XFl139ixV6IX2rEi4I08yh7bwnG8jqXJat4uyXkHiB9vvjaz/8EIUt 684b+/fvsGYE0Z3ijSFKGTEYY2s+Zu3XmOzCs06ss8+CTF+wCsUyOM8damn9y2f8mTl3 VZsz9FQbGC4MixEtdbC9UzJI8Zbrg5Or8D6FPLTP9wML/425G5EzLigwyPobajn0mF3b HZfUPamfRB3/83ahEsE7FJXnVSrOcLawfAtr6V7gfiUizg09YXnXSteameDupM7QBwAB Uo5KEQbVhvve0KbIlwF/EaTBf6YtW2DMzpxt9JqIj4UF3RQdxldDYB8alJxT8WIJjPK0 O0lQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@quicinc.com header.s=qcdkim header.b=tlkt80ta; 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=fail (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i7si5099088ilk.127.2021.08.19.22.01.38; Thu, 19 Aug 2021 22:01:49 -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=fail header.i=@quicinc.com header.s=qcdkim header.b=tlkt80ta; 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=fail (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238463AbhHTFAD (ORCPT + 99 others); Fri, 20 Aug 2021 01:00:03 -0400 Received: from alexa-out-sd-01.qualcomm.com ([199.106.114.38]:43499 "EHLO alexa-out-sd-01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238484AbhHTE7o (ORCPT ); Fri, 20 Aug 2021 00:59:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1629435547; x=1660971547; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=vWwEvArIAhoutDVPC+RAhs2Lierm8rahTWWjKXhsZnw=; b=tlkt80tabn3k7ncLVKAb3BRijTJfHMtmD+O2CEvV9C+NT1nGK0+QepGT chNFm/zmmut3N3QS+F+OZzrzHDp5WgwCcOmZzWHJ1qWK6hWN2O7xJWZDj dMP17FhD2MmgRKeLm7WzFnqXo+OMMBY0qpWgOKuI9DlK/FEVomNj+z4rI c=; Received: from unknown (HELO ironmsg05-sd.qualcomm.com) ([10.53.140.145]) by alexa-out-sd-01.qualcomm.com with ESMTP; 19 Aug 2021 21:58:56 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg05-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Aug 2021 21:58:55 -0700 Received: from nalasex01c.na.qualcomm.com (10.47.97.35) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.858.15; Thu, 19 Aug 2021 21:58:55 -0700 Received: from fenglinw-gv.qualcomm.com (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.858.15; Thu, 19 Aug 2021 21:58:53 -0700 From: Fenglin Wu To: , , CC: , , Subject: [PATCH V1 9/9] spmi: pmic-arb: increase SPMI transaction timeout delay Date: Fri, 20 Aug 2021 12:58:04 +0800 Message-ID: <1629435488-10228-10-git-send-email-quic_fenglinw@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1629435488-10228-1-git-send-email-quic_fenglinw@quicinc.com> References: <1629435488-10228-1-git-send-email-quic_fenglinw@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanexm03h.na.qualcomm.com (10.85.0.50) To nalasex01c.na.qualcomm.com (10.47.97.35) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: David Collins Increase the SPMI transaction timeout delay from 100 us to 1000 us in order to account for the slower execution time found on some simulator targets. Signed-off-by: David Collins Signed-off-by: Fenglin Wu --- drivers/spmi/spmi-pmic-arb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spmi/spmi-pmic-arb.c b/drivers/spmi/spmi-pmic-arb.c index 55fa981..08c2566 100644 --- a/drivers/spmi/spmi-pmic-arb.c +++ b/drivers/spmi/spmi-pmic-arb.c @@ -91,7 +91,7 @@ enum pmic_arb_channel { /* Maximum number of support PMIC peripherals */ #define PMIC_ARB_MAX_PERIPHS 512 -#define PMIC_ARB_TIMEOUT_US 100 +#define PMIC_ARB_TIMEOUT_US 1000 #define PMIC_ARB_MAX_TRANS_BYTES (8) #define PMIC_ARB_APID_MASK 0xFF -- Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.