Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp5444280pxb; Wed, 26 Jan 2022 12:07:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJwaDQqY3Al8lk/xYnlvaWMgFQrQRgAZn0EhXcl3IbQhPDcRnjlkzRrNEyyNzMwAKwlUphJM X-Received: by 2002:a62:e317:: with SMTP id g23mr58462pfh.49.1643227630068; Wed, 26 Jan 2022 12:07:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643227630; cv=none; d=google.com; s=arc-20160816; b=DTwhMITfZPJ/n2OyVH23lCexURk+iKbMVSPgZkxwh0BdyM7nDm3FOwcwGBEQPr42T1 9nouRHePbbNRm+lyz9M32mg2okcvOsvEBcCtKL+AcLRC3P74RSiyqyqCOjhoJ/q5WXrp /rqYQx/PXgC5jYxUv96TRH6gW7pLcSyrC/BtXCNqCqCCNZs/kupUd3t80cbMRZLQjQ3v Dw+WIObEUyC3di2Kh4t57FgnstoxWz5TsXiOLwP84gaGHHwo3yCIvlG6kY3pE1vuaZVp DVDkXJf0JW+vYsIkWLCccmrL1INqXXg0wBc6sNw4L/i02mVXTku/u29wMOTikJwS9t3g lIYA== 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=Ht5tFAx/b0oY9oX+FB+kzZOocBM2sta/Sgzs8nZLw/o=; b=alFiYCy7t/FWkUqS9AXsiy6JtMfIXY6oubzGSEAmjOzN/enYxtKTOtDr4VFwwaQhac JIOtYjyYgeKSf0BBbxsM+J/OzoeYPfkieSpuwmG5AImiLrM2TRYT//jGLRrF7+Xtsap+ Cdw/96j0w+Qpig8KsQxAQVK+/yucOjcxpEejgq2kJMD2/vkNghZ0+pI0IcWbzJrOmUzR /haPaWEioXt4avoArQb5vC3GCnI6B+qx89uwO1VvlE+XXuxcs1cBpbQMYGpFlEou93aX nGJ/ziO2HjJosIxQ4se/8QxYbWkobqV6MIG3x2bC1acUEdIkXxBJd2aRGEoZPuocC+9I CCzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=eSQbXq9G; 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=quicinc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g63si201386pfb.179.2022.01.26.12.06.57; Wed, 26 Jan 2022 12:07:10 -0800 (PST) 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=@quicinc.com header.s=qcdkim header.b=eSQbXq9G; 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=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236742AbiAZGdQ (ORCPT + 99 others); Wed, 26 Jan 2022 01:33:16 -0500 Received: from alexa-out-sd-02.qualcomm.com ([199.106.114.39]:48572 "EHLO alexa-out-sd-02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236369AbiAZGdJ (ORCPT ); Wed, 26 Jan 2022 01:33:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1643178789; x=1674714789; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=Ht5tFAx/b0oY9oX+FB+kzZOocBM2sta/Sgzs8nZLw/o=; b=eSQbXq9GVwiekz/tpTfv91eM0eU7IDevrrI/XMvl7qwZk4u9AkiXeVh5 7XUHo7N0blDPRQcpgRbC+FMB1jbfp11zwrpv8a8p4Zymzdc5dBFHFjZyo GvT5y0VdybZ+tu/Sfo7czwsUNvn118+AynkB0lbyqWPVT8YnXE1JWhHuh A=; Received: from unknown (HELO ironmsg03-sd.qualcomm.com) ([10.53.140.143]) by alexa-out-sd-02.qualcomm.com with ESMTP; 25 Jan 2022 22:33:07 -0800 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg03-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jan 2022 22:33:05 -0800 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.922.19; Tue, 25 Jan 2022 22:33:04 -0800 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_GCM_SHA384) id 15.2.922.19; Tue, 25 Jan 2022 22:33:02 -0800 From: Fenglin Wu To: , , CC: , , , , Subject: [PATCH v5 10/10] spmi: pmic-arb: increase SPMI transaction timeout delay Date: Wed, 26 Jan 2022 14:31:52 +0800 Message-ID: <1643178713-17178-11-git-send-email-quic_fenglinw@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1643178713-17178-1-git-send-email-quic_fenglinw@quicinc.com> References: <1643178713-17178-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: nasanex01a.na.qualcomm.com (10.52.223.231) 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 0496e5d..45f9344 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 -- 2.7.4