Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp9753555rwl; Wed, 11 Jan 2023 09:29:40 -0800 (PST) X-Google-Smtp-Source: AMrXdXsW0jVQ2EfCBigJZ+a5S8vzUojBJWL9d5l+dPE0YFk1LYbTPsOUMXYz7gAVFGOO0I+IfZJK X-Received: by 2002:a17:902:eb09:b0:194:3dd0:e332 with SMTP id l9-20020a170902eb0900b001943dd0e332mr7031060plb.69.1673458179906; Wed, 11 Jan 2023 09:29:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673458179; cv=none; d=google.com; s=arc-20160816; b=XHE84WYPG8U20lRg82p7ssX0AOP17yNbVsE/pgyYSB9PZ7V52UPRz7VvFiI4nKyc44 Qw3P8EJj9g3lAOLJpy2H//NPi/NVeLAEbEYlYK0T+q9v0xDZbzfvy2njiq06DoyT5ReY SFOV2gwqzaxPTOmRlsNl5krk6prHhjxU+nPnNbEKq6Bz811wGvLbuhZFv8GShlukXLBt 0+oVkPymnfXApUTvM3zRJ8ETN4U9mqfIfTcQn1gJQlXG96/Ixsn44b5tZksiYAIX0tjb TzxzXEJUsGl7iaCeRkM2KV95EpnI71pO+wFtlyHfQ2O1jHGE3zzQPwW3VrAR8lK1c+q6 MaqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=25TQdeL+s+3Dndm2VthFvA7z8+3SwsYTe4yizxTqwg4=; b=EWqJCpdXfJUlSwvSVwFMCmIS2RoAdn8gNWRtcGXWyFtkZyoroxeT8uX5PNXpReDNtU aruSQp3HCdQ1hQiwFNNrGCiuCxGeaMaVzyMTK0fnokxI+0g0/N+Br5UHKAvGp68fwWTq na5Rr9iZGfNf8U55rNtUz/KHUg3ipRnwt5y/qR+7sl4HaBvkPMtLXMJrFyJLsJi+ilfI EvajOjvCG1NZhn0NO9G2l4U4VgkQ4LmtPOVl2yhssuZ0BapssV44iEF3UY2gjDOZ6KZp +gvTDAUwf+sZrzZlNRZEdsS0LL1jHWGg6xVeIo6468mP3qjocClLZkQgQ5zvwN0aFdOL AlHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=GbqtcVpx; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q23-20020a170902b11700b001932c1921c4si9252102plr.410.2023.01.11.09.29.33; Wed, 11 Jan 2023 09:29:39 -0800 (PST) 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=@intel.com header.s=Intel header.b=GbqtcVpx; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239465AbjAKQhY (ORCPT + 51 others); Wed, 11 Jan 2023 11:37:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239340AbjAKQgX (ORCPT ); Wed, 11 Jan 2023 11:36:23 -0500 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC39BFD0C for ; Wed, 11 Jan 2023 08:36:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1673454982; x=1704990982; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=/lWO9em8bpuZCH9dItRfGVyYoxvw1jBBMDLOYUCca7U=; b=GbqtcVpx8c6dpw3LkSC/BpdXPFBhW0J41D6eTpFI/07DQoEWCCxsuH7U AQKcPAFloJoRikCE5CmRoUwT2ZZtUq64zB3RquHQ7U+SSnjXDrXw5PC5f azRHO6ZqLLuZk5MH87zARr3j4tbXRzXWWEsCPzAyN15HMCc2dkZ0gMRMb t77p7DpOsLrQqxKlHTmXIXpG8zTQhv695U5IwO4CyH2uwjSda5Lrhv4Pt y0iSrv/KuzXTp/+5nTD0kkQdwzn+s+jBJeqXNvD1gstGk4rNiLuOWL2R7 jY9j06u0n1CBjPe3Qf3YDHvOHe4YBqm0c4iBgl8++pxHVp0zwZrnDwOzS Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10586"; a="324704310" X-IronPort-AV: E=Sophos;i="5.96,317,1665471600"; d="scan'208";a="324704310" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jan 2023 08:32:52 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10586"; a="607408856" X-IronPort-AV: E=Sophos;i="5.96,317,1665471600"; d="scan'208";a="607408856" Received: from flobatol-mobl1.amr.corp.intel.com (HELO [10.212.110.208]) ([10.212.110.208]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jan 2023 08:32:49 -0800 Message-ID: Date: Wed, 11 Jan 2023 10:02:52 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0 Thunderbird/102.4.2 Subject: Re: [PATCH 19/19] ASoC: amd: ps: increase runtime suspend delay Content-Language: en-US To: Vijendar Mukunda , broonie@kernel.org, vkoul@kernel.org, alsa-devel@alsa-project.org Cc: Mastan.Katragadda@amd.com, Sunil-kumar.Dommati@amd.com, open list , Basavaraj.Hiregoudar@amd.com, Takashi Iwai , Liam Girdwood , Mario.Limonciello@amd.com, arungopal.kondaveeti@amd.com, Syed Saba Kareem References: <20230111090222.2016499-1-Vijendar.Mukunda@amd.com> <20230111090222.2016499-20-Vijendar.Mukunda@amd.com> From: Pierre-Louis Bossart In-Reply-To: <20230111090222.2016499-20-Vijendar.Mukunda@amd.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE 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 On 1/11/23 03:02, Vijendar Mukunda wrote: > To avoid ACP entering into D3 state during slave enumeration and > initialization on two soundwire controller instances for multiple codecs, > increase the runtime suspend delay to 3 seconds. You have a parent PCI device and a set of child devices for each manager. The parent PCI device cannot suspend before all its children are also suspended, so shouldn't the delay be modified at the manager level? Not getting what this delay is and how this would deal with a lengthy enumeration/initialization process. > > Signed-off-by: Vijendar Mukunda > --- > sound/soc/amd/ps/acp63.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/sound/soc/amd/ps/acp63.h b/sound/soc/amd/ps/acp63.h > index 833d0b5aa73d..6c8849f2bcec 100644 > --- a/sound/soc/amd/ps/acp63.h > +++ b/sound/soc/amd/ps/acp63.h > @@ -51,7 +51,7 @@ > #define MIN_BUFFER MAX_BUFFER > > /* time in ms for runtime suspend delay */ > -#define ACP_SUSPEND_DELAY_MS 2000 > +#define ACP_SUSPEND_DELAY_MS 3000 > > #define ACP63_DMIC_ADDR 2 > #define ACP63_PDM_MODE_DEVS 3