Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp1048048lqs; Wed, 6 Mar 2024 05:04:17 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW8lUuBIuYTutm2A/SL5FHTPT84y7uxbIbC73lNBlE0wyBphWCM3rzIorwpQ4gF2d5E0LQHgyFbvRcbye0pdsCy+ObVUYKDBX5rxN3lZQ== X-Google-Smtp-Source: AGHT+IFrk8seAGSQDK7tqtQuT/XJDMveO2X1wHJ+yFs2dUI0FFAi+bWH7cfpqY+ISVuUbsvPzph3 X-Received: by 2002:a17:902:d385:b0:1db:a55b:617e with SMTP id e5-20020a170902d38500b001dba55b617emr4876101pld.39.1709730256669; Wed, 06 Mar 2024 05:04:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709730256; cv=pass; d=google.com; s=arc-20160816; b=Sk3H7k15a/Mekl45Je3/o8MrXxx6iJ7klh8ohimbWE7wTM8X5hebrMOmHkQ1iWqcJ0 RqjUZe27Nd4nrTcOtX/E2ECwCp0Ssci+yyQ4uobWkbm30BSZgzZjAZZtuwVwoinUk/q3 mbFrhKDKQcUZu4iG/eTr5bkCkevgmASduvtj4VPOo6do4N8ziGpOpLtDGDfKd6qi47ya U3qoRrf4/KkAjNuP6dpoaBWq69zQ1a8lSovCwUYDd7hOE6fC2A6YuNIG1l+Bo/2HIxbW tHYXwE0QMOom0pK21Z9IgAQkbXoS+Z35nwYIIeEvoljScb+NmDusAEkb28HApoWRb6AX OaQQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=eoBNNO9O4WGjSp5cdua38RKvgniu+CI8NXbDgnjXrVw=; fh=UPrzcrmKHsfEcSlRxNPkupLRyktPE60fiyh2T4myV4Y=; b=DolyrrANwK+UuM9tcJrs5BSMdT/WmgyI93Eb0Cqy2piwgLdLBD1UG6L7dhyo/1F9KF a2wDLJscfQPnyeqe9977YaNWT459qbKZJD7ZBGmvSsWtW/m72rPnd+PkiTIB5Q+G6Na3 sy1b9aiu7v++1n9gfO5hPOCR3hRxRN5f8xVavtUN8ZvkogUb/eH9j4n0Wf8uHIHSl81h AXxFxf4m1vxPQl5ZZMbvTAIZQkGeXl323SeIeAU4N6dWcWzBXP8ga9pV3PPK0pmpKd45 pOPZ5b8/8Pl8zckoen2BhvjJHCbHl67wHUAcS1p0Z067ifPq9bR3UAXRCzwqa3KRFHvs q1/w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="GKjXhq/t"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-93941-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93941-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id oo10-20020a17090b1c8a00b0029a84892664si11999017pjb.27.2024.03.06.05.04.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 05:04:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-93941-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="GKjXhq/t"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-93941-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93941-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 4DBDA28161C for ; Wed, 6 Mar 2024 13:04:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 95533130AFC; Wed, 6 Mar 2024 13:04:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="GKjXhq/t" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BDA4712FF9F; Wed, 6 Mar 2024 13:04:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709730241; cv=none; b=hkGXPnu7K8qDuPOSlkmO4GAdY8VFdU9OkHg1VA4cnMZrkGdkj1NIiMZLnqK+F684pOtSMdX3Izi6fpL2A2bo53R15FO/iSFmJoSv54r2dcpfkwFIT9srtqR3C5ay55Khy647c7wLg4NBUltPb/2BGj3SWi9M7C60nWrYH1yO5ZI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709730241; c=relaxed/simple; bh=tPKM3fbs+N1jnkgIdgrhQAzhyAXdLqv6da+7MERgVTE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=uXxx7WVz+VuV8NDx+SqDVoMYc+iMGGy94i0ra9q1PIkUCRdQB1C0jd/mp3SmAcWjm8y2sAZkcdQMtPiejPLrWqa8e7z9PBIWG5kc/bNQv+mnUHVVEfcGYiJ6I7OGVOLl42wYkIq0PpG++6/VkEpk0up6ou8GM8arcTwsi5iKvoc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=GKjXhq/t; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 66E6AC433F1; Wed, 6 Mar 2024 13:03:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709730241; bh=tPKM3fbs+N1jnkgIdgrhQAzhyAXdLqv6da+7MERgVTE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GKjXhq/tE2qihb2Xd55900MGCJsOgaStfVo1TBt6kSoLZyEMtASEzK/j+IRRnIcA/ pd5e0nVj7F6/qFxTKgzw97tJ241G/DJ/GKPJnyc6SCqF2Ee9hKFonrqXjZj45ZIOQR Y/8gTQ+AVn1AV+YYber7m5sKyD8zMfuyg3BNhvexYyLHJN7x+fRvjmIQ/9umBsghM6 CdkkxebIsOk7/b2HdUt2dGBphKHaHGnhQmkHqzTHDriqvcgejzbKC43NBGJ7rAv1AS S6ZBEOxqTJgkEIRCIJnM3usfP8H14XBzv6FFVnDcBIcGmW9U0cAQR53uudWfx9Hyza ihhRsjtCprb3g== Date: Wed, 6 Mar 2024 13:03:56 +0000 From: Mark Brown To: Shalini Manjunatha Cc: Vinod Koul , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Raghu Bankapur , alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, Krishna Jha Subject: Re: [PATCH V0 0/1] ASoC: soc-compress: Fix and add missing DPCM locking Message-ID: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="1AkDkuUU23ZBtHTV" Content-Disposition: inline In-Reply-To: X-Cookie: Have at you! --1AkDkuUU23ZBtHTV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 06, 2024 at 04:23:19PM +0530, Shalini Manjunatha wrote: > We find mising DPCM locking inside soc_compr_set_params_fe() > before calling dpcm_be_dai_hw_params() and dpcm_be_dai_prepare() > which cause lockdep assert for DPCM lock not held in > __soc_pcm_hw_params() and __soc_pcm_prepare() in above flow > when ever we play compress offload audio playback use case. >=20 > To fix this issue added DPCM lock and unlock in both places of > above code flow mentioned. Please don't send cover letters for single patches, if there is anything that needs saying put it in the changelog of the patch or after the --- if it's administrative stuff. This reduces mail volume and ensures that=20 any important information is recorded in the changelog rather than being lost.=20 --1AkDkuUU23ZBtHTV Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmXoabsACgkQJNaLcl1U h9DCbQf+J6u1XRg5N8iHTV4CowIy+CabymZa6H2WDtsc0EK4gge5qVbNtxPiTmkP 5qDrXNXWtYDGDHZlBGGWn/YZJYjZkILCPdqsGGCi5PXsRns8EDarm0P1/fMh/qgt dLe+eSA760Fhewm3n5ugW7aK2Y7/Jk1dVV2x8tJahVvMMslDNYqk7+xQJ6kLmE3e VB9Eigc2AIw2gu46jg+iOKHh0eMylSjuKi61TDgWP5LN5fFY/y5TirX32tZR4w1N NRnWQca7G2bB0zTP9JVLNSIYbELd7oKkui+nQtTFqovCPFUNv8wd5SjF/te9hCEo KsnfC/NSgySY7g9XIKyAfwnB7mdkaA== =6SHa -----END PGP SIGNATURE----- --1AkDkuUU23ZBtHTV--