Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5381794rwd; Mon, 5 Jun 2023 02:50:35 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7yRo9oZiB+9b+FNOpRgGW4afXXM4zXts3IckdNFA9HjJJxB8/6bxhqL+htyUZuyvuZoaal X-Received: by 2002:a05:6358:3a1b:b0:127:c478:6410 with SMTP id g27-20020a0563583a1b00b00127c4786410mr16972923rwe.30.1685958635280; Mon, 05 Jun 2023 02:50:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685958635; cv=none; d=google.com; s=arc-20160816; b=GFsN3RhRLYJc/rFgE2XPGNdRPIHQSKYBIpKFpb1Ca3WZmZSQpFqL19TkkextHUfop/ yhQCLvc5OdF+IcjQ8ZveYW+2rbTkr+qzja3ZC19wmW5H0gEzqwPBUmkOBgK01ac+aOQm 2AN8o8UprZp57Bg5PLdQp6pRNkHUQf5ACqqQxC3ssrKnQocR6KUkpXYALne30Tgqqlmc gSZKM3DH/ofxSEhLWvVpH/Y3a9s757LpsAffenWusLL4mESROIuo8WkjQBIzmOmblusO r6+4Hvey6NsdHGcC7x0jVcO05DDjd5JSr19cpkzSv9L6zI7pk+chPOKn6OwhcTrSyG6n FKyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=lPtP03TTnEezbbC7lPrMSFo/xumE7UcN2FN3kOHfqRY=; b=WIcANGfxRulEf1+FMiaMXyCWx4Gr61FSdoB/oTM8ciGD3dlwI1QvFXNeJ7mojc9bO2 lqpOGldPQ/eLEWHvcfuESTvC6ckjV1OiLDkTaopGOQbKadjKnzuA77Q8kn/oV+x+aBQ8 gSKFeJHPei7ZSO2FpH+40pZnRIcfNl6jLHzv0z18AW6KmNtAtcn02XJobZgsXps8/FLc yRisguZTH74DhuMdQHZ7Rgv/OaCzpNfw/Hc+OjETpESrPH2uvcDmL3BC49hXWJBG9h/7 OIN+J2bO1MvDSWwP+wyaIeMLm9lL3p3JbUvBWQClTN2KpR5RsB6nDyLfCuPIFPCZTmDg ZKJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mYZI5s+5; 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 s9-20020a637709000000b0053fb39cfd84si5508149pgc.780.2023.06.05.02.50.23; Mon, 05 Jun 2023 02:50:35 -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=mYZI5s+5; 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 S230059AbjFEJHz (ORCPT + 99 others); Mon, 5 Jun 2023 05:07:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229473AbjFEJHx (ORCPT ); Mon, 5 Jun 2023 05:07:53 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10B33BD; Mon, 5 Jun 2023 02:07:53 -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 A063C611F5; Mon, 5 Jun 2023 09:07:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EBE45C433EF; Mon, 5 Jun 2023 09:07:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685956072; bh=CuI2tVljCJg/uTnwW/xgr7RXJ/JrsJTuWbycO8jOShI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mYZI5s+5qSa/ow2tsEjjY+EvhvbFWNyH9uXWC/Y4YNuD0G7fFI6rh/nPGTFW4WE/y 4K5acr+UcQr6LZqaWJOiusVBnruRQtDyxw8nRwCHrpobfyXlY8JelNHZy84oJPPVA9 u8haE7I8ii50L7ruCtWAqyyEEcQ0YAZhOWrKElkjB261/EZufh6c7LuwBuI7AEx0am h5wfnmYmE+pndTQR3W9RwZrCxeONqh7sGhTckcWKINqEKZZgJ4pXrfPtpSplnQOAwz wxSl/+C2TKMDsv95uplyvePxcsb29ErZtXJJaP2mw/KrDrM/Q0yAlFBynYIJ1cIouj uOmK6+Hxzy/rQ== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1q66C9-0001TD-5M; Mon, 05 Jun 2023 11:08:09 +0200 Date: Mon, 5 Jun 2023 11:08:09 +0200 From: Johan Hovold To: Srinivas Kandagatla Cc: vkoul@kernel.org, andersson@kernel.org, yung-chuan.liao@linux.intel.com, pierre-louis.bossart@linux.intel.com, sanyog.r.kale@intel.com, linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 0/4] soundwire: qcom: stablity fixes Message-ID: References: <20230525133812.30841-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230525133812.30841-1-srinivas.kandagatla@linaro.org> X-Spam-Status: No, score=-7.1 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,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 On Thu, May 25, 2023 at 02:38:08PM +0100, Srinivas Kandagatla wrote: > During x13s audio testing we hit few corner cases due to issues > in codec drivers and some obvious code bugs. > > Here are the fixes for those issues, mostly the issues are around > devices loosing the sync in between runtime pm suspend resume path. > > With codec fixes along with these fixes, audio on x13s is pretty stable. > > Thanks, > Srini > > Changes since v1: > - dropped runtime pm changes patch as unable to reproduced it anymore > - fixed clk stop flag as suggested by Pierre > - rebased on top of linux-next I tried to update to this series on my 6.4-rc5 branch for the X13s and the above changes appear to lead to breakages again. Specifically, with the updated clk stop flag (simple_clk_stop_capable) I see: [ 14.789533] wcd9380-codec sdw:0:0217:010d:00:3: Slave 1 state check1: UNATTACHED, status was 1 [ 14.789717] qcom-soundwire 3330000.soundwire-controller: qcom_swrm_irq_handler: SWR bus clsh detected [ 14.796164] wcd9380-codec sdw:0:0217:010d:00:3: Slave 1 state check1: UNATTACHED, status was 1 and without the runtime pm patch that you dropped in v2 I get intermittent (e.g. twice in five boots): [ 11.527301] snd-sc8280xp sound: ASoC: adding FE link failed [ 11.527409] snd-sc8280xp sound: ASoC: topology: could not load header: -517 [ 11.527557] qcom-apm gprsvc:service:2:1: tplg component load failed-517 [ 11.527640] qcom-apm gprsvc:service:2:1: ASoC: error at snd_soc_component_probe on gprsvc:service:2:1: -22 [ 11.528079] snd-sc8280xp sound: ASoC: failed to instantiate card -22 [ 11.533388] snd-sc8280xp: probe of sound failed with error -22 Again, this was with 6.4-rc5, but these problems are likely still there also with linux-next. Johan