Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp58546iob; Wed, 27 Apr 2022 19:01:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyt3rfAs0dJvFsco77D2HpRx3o8GfGjWLEePbbNGORzWufYtxNgdhfOAn39Vl4uFEOvgG3L X-Received: by 2002:a05:6a00:9a2:b0:505:974f:9fd6 with SMTP id u34-20020a056a0009a200b00505974f9fd6mr32850204pfg.12.1651111285835; Wed, 27 Apr 2022 19:01:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651111285; cv=none; d=google.com; s=arc-20160816; b=D9R0Z6dC+mY4ifdqVdcXNOwIKBYchsDxobuVbRfw2L+SVot0yvr3v3c+gZg8q+hp/b zj08uUEiyfQvJZkOPkywD51hK3euxqtoCO74nGsfVBJzmTzS+A71jzUH7LruL5c/16fb WC5qNYHUb5mFMqYU1KS+eObSAxNlfRXFhkWI/kTJTsiwgMavZt3iFQuqzqL0ouULsby3 uf9x2X6hgQdqxGbP/0vtIiNRKPxjzCGdrKc552mif10Z5Y/b92owRccWlRR6ptFqUeVF lgNPcPsHkz1JHQcmjSPdWmiTglagfH4winKRy5aI+ELfuHGDAIx4xN7+OPYdAY5gQ7oo cafQ== 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=amXRd2gDfyUGVyptV0zo7fNQthh/+YLQR7VVX4nyL8jOOIyVHnV0tKtWO8OM8+qNsD UUc4fBfooyqFKytgoGA/EtWnv/GIBtRunS9Z1kKwb8yoQ6GUk/V5/hQBPXfq9v8MdnV+ wgZtAcQWGI+BhYa4Hm9zNXTO+Q+F5ZMiMD3fMUfG/0vIq7o8WxA9M3ZWP4WksBadh9MQ NdsLwSnKKF87TvOGZ76JvnEy8BRBa1/AUD2fSklZa5M6AJxEGQREJawXYs3fDtBEN3kh MlMeRZWtRwjP3gkku4SZN12My/XFOa72rOtRdPyjQ0AfZOxCH0F26bcRz67tlmwMXtGg oA3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=Xw7jCIlw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 21-20020a630015000000b003c15242c486si2690081pga.787.2022.04.27.19.01.08; Wed, 27 Apr 2022 19:01:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=Xw7jCIlw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S240505AbiD1BRL (ORCPT + 99 others); Wed, 27 Apr 2022 21:17:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240431AbiD1BQq (ORCPT ); Wed, 27 Apr 2022 21:16:46 -0400 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE4FF7E5BA; Wed, 27 Apr 2022 18:13:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1651108412; x=1682644412; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=Ht5tFAx/b0oY9oX+FB+kzZOocBM2sta/Sgzs8nZLw/o=; b=Xw7jCIlw1Fis1Hl9ad6goxgkFLQMyG9RJuS8lKADE/8Rq0ck8KDmB3Tw joD276nGEL+PvDh5OMEq1JmaHTIKmxpDsxSag07t1ePOvnK9bj1eLIjXu PNsAKakYUQItJAM9kaKA9LzMZCbaHGPCerw4mdzMwfZCYXUoGP01jNd3U w=; Received: from ironmsg-lv-alpha.qualcomm.com ([10.47.202.13]) by alexa-out.qualcomm.com with ESMTP; 27 Apr 2022 18:13:31 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg-lv-alpha.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Apr 2022 18:13:30 -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.986.22; Wed, 27 Apr 2022 18:13:30 -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_GCM_SHA384) id 15.2.986.22; Wed, 27 Apr 2022 18:13:27 -0700 From: Fenglin Wu To: , , CC: , , , , , "David Collins" Subject: [RESEND PATCH V6 10/10] spmi: pmic-arb: increase SPMI transaction timeout delay Date: Thu, 28 Apr 2022 09:12:49 +0800 Message-ID: <1651108369-11059-11-git-send-email-quic_fenglinw@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1651108369-11059-1-git-send-email-quic_fenglinw@quicinc.com> References: <1651108369-11059-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) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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