Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp985195pxp; Wed, 16 Mar 2022 23:30:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx6XC/8u20M1ou9ibtvCDw63tuloNv0XugxXsaDkTUYQfC8DWbgONiCKB0haOSG2iWi3Q2a X-Received: by 2002:a05:6402:11ce:b0:418:633b:ed95 with SMTP id j14-20020a05640211ce00b00418633bed95mr2906154edw.0.1647498657496; Wed, 16 Mar 2022 23:30:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647498657; cv=none; d=google.com; s=arc-20160816; b=cS5wpdACVWm9QpVMcOCvDTZHN8IQRp1yTJtzqgeO8CWXWY1fZCj22Ft7bFBBBKdGfo Wda40J1KlWl8wOQ/Q3PhAVnfQ3fHiXY5nAW7Nzqb/kSQ9QMFF45LfI35uIigq+Z5BQzV zNQ/8UEJ8I5v2RwaPY2YrSj7rMlc/fJJfhAopmnSDEl7sQgvMcXkQ+oiNRKD8o6Hps5r 0o5qAvSPlXDJa6enAMri8k9atREvyfjk3VzsLe4JddVygy2Fj+OQomWDTExD13Iv3u0e l2f7joEDIKI3MkNoKTL9ILHfKGeKk73S7xPb0lHqu+a7nH/3Pn62OF7gL0B3SxMlsuan tkyw== 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=Y3aaXOsnYp/MnCOPEJQR++QJ1otra1kyJSJwlrHZwdvcjiH+dbw7ehrjzpXBmoncxn HWqB0M9rol9yrHKIlopS6U4kT7GJFDM25nmf7+px70/d6yYQiYnb0/Mbch6DyV6mczPB +dGcmTX7jUZy9gpb4OwfmscQzAnyWCHEdymLEG1iVde6iqdkz6PhAg/OPj1rYmeOUXuG g7Xo/df6/QUR0zuQZ1l4LGWgCuKI0Wk7svrG867A2Qa1gHRSvdSppF2J636Wov+WWNVl dpB384uyHV7BjEgFyMYKZZHjEOxfYQD4EM2PJNfGOWtkjLljCZvRnXmPdYalnw+60b3n mOKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=Cnr8lFPS; 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 b17-20020a50b411000000b00418c2b5bf7bsi866757edh.605.2022.03.16.23.30.32; Wed, 16 Mar 2022 23:30:57 -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=Cnr8lFPS; 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 S229716AbiCQGXM (ORCPT + 99 others); Thu, 17 Mar 2022 02:23:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230233AbiCQGW7 (ORCPT ); Thu, 17 Mar 2022 02:22:59 -0400 Received: from alexa-out-sd-02.qualcomm.com (alexa-out-sd-02.qualcomm.com [199.106.114.39]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FCA910C53E; Wed, 16 Mar 2022 23:13:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1647497589; x=1679033589; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=Ht5tFAx/b0oY9oX+FB+kzZOocBM2sta/Sgzs8nZLw/o=; b=Cnr8lFPSq1BUf0+e7W3cBHskgEU2BYHYrketixJZWhcOZrvopVhY8UIg cJN8wQdMa4ALdOSfRo/FDytRKtlf0trdsSc6R6sisliwziukXfdVeqLuD B0olus5/jl8AXqrmo1Dp7jxs6wQuUgDlNN0YH0oRZPvYOk/5cg90C//C9 s=; Received: from unknown (HELO ironmsg02-sd.qualcomm.com) ([10.53.140.142]) by alexa-out-sd-02.qualcomm.com with ESMTP; 16 Mar 2022 23:13:09 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg02-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Mar 2022 23:13:08 -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, 16 Mar 2022 23:13:08 -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, 16 Mar 2022 23:13:06 -0700 From: Fenglin Wu To: , , CC: , , , , Subject: [PATCH v6 10/10] spmi: pmic-arb: increase SPMI transaction timeout delay Date: Thu, 17 Mar 2022 14:12:15 +0800 Message-ID: <1647497535-32151-11-git-send-email-quic_fenglinw@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1647497535-32151-1-git-send-email-quic_fenglinw@quicinc.com> References: <1647497535-32151-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: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01c.na.qualcomm.com (10.47.97.35) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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