Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2985429rwb; Thu, 29 Sep 2022 18:51:03 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4xUohvo9kXjrRBLk3h+CJwBbriNQ3DN4MaojL+wTT7YsmIlGQ5kbrpY2FuUnNmXazoPi6/ X-Received: by 2002:a17:907:3f85:b0:733:3f0e:2f28 with SMTP id hr5-20020a1709073f8500b007333f0e2f28mr4693034ejc.376.1664502662982; Thu, 29 Sep 2022 18:51:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664502662; cv=none; d=google.com; s=arc-20160816; b=KKGVcevwpWyI9DX0v3MMX+gT60aVo3C8IIvTjYjyLGvATJE3u0sKlc8YkjAbwB0PbX yXrGN/oS8/8TmWEReTAS7Q7X8UlNLlag/fm2vIE/NMEB07uLFVhdOWBu+ZdlMv9UU8yg aBlUMGR4wXDrjT+Nd/5tTSKwq1CrmgG3BVO1uR7mzW9LlOQfSjo1SDbtoYnZYtjr72Yi Isgxrxz51ZrRjELz7TBsXjlKK6XzGwdEy7B/r6xoMg/+LiJX6Tc45uHtdpnaZeoN236Z lCbnO3hrUfkLM3Ru7mQp+dFipyzCll854uqqC0AVnlnWGxMd3bi3xD1Rs2k3WhBqIQWC mhkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=3JwpCfIQvT2tqaVO0wJuesldG/KBsM95V3+1f0AAMS0=; b=mootdZdMOvtTH5lTtvQ3aNWn/y5mTvkcnzb5+H/VVXCM8+whKRfgXvxVIpK6jjevzy NJe1WvJ+IzdvDplkoe0IEyoh9Fkb/8icWpCQ2jhqnLQahCMaH0KNsr1IzzVvNgncO8M+ k39I0qmmfH1SnHj7UPp4gjBnTN885TJ96zl08txb5bADff1ZWap9854L1ii06m39PykS HHwIMfl6Hq4i3mnEI0HRVijv1tMC5jOykKpaIFq5YRuaSHi/0c/5fET/UaKGAWS/u3H6 M0qP6uTxWn9MHNsLbIgwYTjUCn1iLjyUHIY1xli6cSJXe6QirgDq8WYj2sWBEoBhgz8Q cvEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nVd9bxe2; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n12-20020a50934c000000b00448d387c327si907008eda.181.2022.09.29.18.50.32; Thu, 29 Sep 2022 18:51:02 -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=@kernel.org header.s=k20201202 header.b=nVd9bxe2; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229954AbiI3Auo (ORCPT + 99 others); Thu, 29 Sep 2022 20:50:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229902AbiI3Au1 (ORCPT ); Thu, 29 Sep 2022 20:50:27 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6BB75AA01 for ; Thu, 29 Sep 2022 17:50:23 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id CCD37621FF for ; Fri, 30 Sep 2022 00:50:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7C6E6C43143; Fri, 30 Sep 2022 00:50:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664499022; bh=7LJ64O6A/mqm94cjoD/YSd5blsm2WGPuYoFyyVXjGI8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nVd9bxe2KYaIQ8Su0PrvjvxcblGhVZdVtrW6uRhZSzMGHSm/ONj8iu/v7v1bLyhvO KD9t+QeGSr+ifVzrljYqbED8rKyGL4YjOaybbQXXCPrqrc6iCYfJGRqfSTT4+NhNu7 9ovFsqFddrwE3HXCtQxRzBfPgM9pIScdyOgTeSTJCXivk+PJkFZ/ioKV/tpfaoAph4 N8ljv0S4oMu1X+0xbFesuZUi/+W//W7MaRzr1kazQQoiAL2zu76a7LTiwYia0HCkyE J3o+oI5uO9D8TzFWXI0Feb2DVrsCILXxJC4QOz3KzWgDeF9YTQRy6IFzZAev24b4lb p2TrFMVl4AcHw== From: Stephen Boyd To: Greg Kroah-Hartman Cc: David Collins , linux-kernel@vger.kernel.org, patches@lists.linux.dev, Fenglin Wu Subject: [PATCH 9/9] spmi: pmic-arb: increase SPMI transaction timeout delay Date: Thu, 29 Sep 2022 17:50:18 -0700 Message-Id: <20220930005019.2663064-10-sboyd@kernel.org> X-Mailer: git-send-email 2.38.0.rc1.362.ged0d419d3c-goog In-Reply-To: <20220930005019.2663064-1-sboyd@kernel.org> References: <20220930005019.2663064-1-sboyd@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Link: https://lore.kernel.org/r/1655004286-11493-11-git-send-email-quic_fenglinw@quicinc.com Signed-off-by: Stephen Boyd --- 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 39f25bc26233..2cf3203b2397 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 -- https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git/ https://git.kernel.org/pub/scm/linux/kernel/git/sboyd/spmi.git