Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp827775rdb; Fri, 9 Feb 2024 02:19:43 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUV8YFFddSUaCgpSj9TiRoQ3M3srdxWtBdPW777xz+6PQc2BPMQXX18TxuhvNapdwV9W5e0W5qlhcNensokEPImmU1gqbLPVSu4kmiMWQ== X-Google-Smtp-Source: AGHT+IG6DWNeQiPXwesg1Vv4FHguHF7HZkf9VLDx4YYgxWj+qLmTKrPjjaUfVHDuc1J2BZxw8RgN X-Received: by 2002:a17:903:22c3:b0:1d8:fafa:f923 with SMTP id y3-20020a17090322c300b001d8fafaf923mr1075023plg.10.1707473982782; Fri, 09 Feb 2024 02:19:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707473982; cv=pass; d=google.com; s=arc-20160816; b=PGfdL3zmg2D82L62Jzgc7dAma7Kpq/0R1p4Nedh5KGMtf+yW6oZqpeVBevK7LUYk6u wJZCjy0GPBIvc9ktLt/QItzNW3e40FS5dxjYIfsoYpSHALGfvG97bnyzreFrbeAYBnSp jbVk4Du+He++QLhx9n4UCJFyiQdNCAVi7hLZpMs0QopiwEGJ/1U5tAqs4tCCmO3giK4C zRXAtQY45nCtZPPJNCzk25/VqOUAc5rDSi4gSq8NeepYpA4QGsrErno5UOyybezjaKVZ 9aPCDNxFGAKjXECJ/psZjuFelgU664VG+d3gM1yVvtoxeJjn5bt22Va+uICGxeK3f9Bi iRug== 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=yRNoC0/A8esDUggePK0DVBtZR9HduL2lxp3Yk/zSuBQ=; fh=3VGXFbzPTv3ej5SFuMgNNgSnI3FVph59iW+FFDNHMzo=; b=EPx725hgx4X21LfLmN7XNkm1drt8oZz7ivWcwmQusQkYczkcLq2e39cMS2wTJoYuME f/FUVqtVzIcN+9icWESSxiU74Bs+HS4vq0/kesZ9nJ3GXgX+o9Esqr2erD5Zd8hpzrew UgRx3Jnjx5g7HBn5Xf1FrOIKM8S6BWzlC9oJX3MY8m07RlF5rnpS7ErsyaoC3J+WpAyd tKwKGyCBxqTgjQZvurNVn0eRbKvt+Tx8ZAPoP1JNEEFy9a3+0Pep76CRevoDA5HkNroM 9YU+JvtBQ6M4BOrX+Ncxh8scro9DI9XsPPGSRmM88WzBjEBaXUXfcK+FNKueJmeTqtBm yltg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bpXS4CvE; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-59193-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59193-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCUQW5mf4eiQMqzmuPWsnGDFvUlop2Uxm2Y19HID+5aE/CyXoQQd3as76P7L8LXIZCnFMIblsVAdb3oovhnn1ik/LLRoqKyWXF4b3B2/nA== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id e4-20020a170902b78400b001d9c0a0b3besi1353276pls.405.2024.02.09.02.19.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 02:19:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-59193-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bpXS4CvE; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-59193-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59193-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id C1496B21422 for ; Fri, 9 Feb 2024 10:10:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 26480692E4; Fri, 9 Feb 2024 10:09:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="bpXS4CvE" 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 441A267E84; Fri, 9 Feb 2024 10:09:51 +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=1707473392; cv=none; b=XuZjSo1i1HyOKZgx49aIT/4sSHrJgAN9eG01p3m8wbqFlaYHtx3IaTho9QbpwkdH+aq8o/OKXFEef24c49rp3szPr/ixsMCqCv7oBfhF0Ua6yzsrz/Sv8kZ1c5TUNpK1AIBjkQJJaE1HmCM32y0o1q5hmWZ0XA+5gXkC1cDgIPc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707473392; c=relaxed/simple; bh=yRNoC0/A8esDUggePK0DVBtZR9HduL2lxp3Yk/zSuBQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=efpLjbPZJIRo+/U6/VJ73zBT8G+L3jfme20IJSYaBnY5Se+n4t6CmzfrQ4X6UglnZ3BV2QZYGYYMlS7wGI7JL52m+5p+0uaVF8M5d4emaY4fQtPlDtwqJN61JvJjtQSFgwQoFSnhAUpflm+k+tudRRqssUOy3U5aV3CV6as79HA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=bpXS4CvE; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4ACEBC433C7; Fri, 9 Feb 2024 10:09:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707473391; bh=yRNoC0/A8esDUggePK0DVBtZR9HduL2lxp3Yk/zSuBQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bpXS4CvERq0AdZglblnmTRHUmE7ZFupb2IMYMzqrdsF5G4bmypyFYcQnfURzWLdv8 Ropi/cUuUeV3dkMuhDIrWmjLDinQRR9/T/ii67CIqvjVHjaua1+dzZ2uIe8pUSEXqo aD6SI9UDsudGcR50Jv+jASJex/9aaFKuOLOH0CsscbJjq0a9l2a3KL4f6V+y4O7cnq JOJn9s1Ly2V9HH38aJTCSrgoRDbJRbdq6J6vygrYXBXlCsQj5CoAmaHCLpLeOvd07i GdrG9IItxrQsNPQ/rrXWjwcUpLbw/IEk22bA1W3UeTObplIqqx78SfvoS4auKTApMG DbXSHUwPTkybQ== Date: Fri, 9 Feb 2024 10:09:48 +0000 From: Mark Brown To: Cristian Ciocaltea Cc: Pierre-Louis Bossart , Liam Girdwood , Peter Ujfalusi , Bard Liao , Ranjani Sridharan , Daniel Baluta , Kai Vehmanen , Jaroslav Kysela , Takashi Iwai , Venkata Prasad Potturu , sound-open-firmware@alsa-project.org, linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@collabora.com Subject: Re: [PATCH] ASoC: SOF: amd: Fix locking in ACP IRQ handler Message-ID: References: <20240208234315.2182048-1-cristian.ciocaltea@collabora.com> 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="IuqgEAM0x+m4fEnK" Content-Disposition: inline In-Reply-To: <20240208234315.2182048-1-cristian.ciocaltea@collabora.com> X-Cookie: You might have mail. --IuqgEAM0x+m4fEnK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Feb 09, 2024 at 01:43:14AM +0200, Cristian Ciocaltea wrote: > 1707255557.133976 kernel: BUG: sleeping function called from invalid context at include/linux/sched/mm.h:315 > 1707255557.134068 kernel: in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 502, name: irq/66-AudioDSP > 1707255557.134089 kernel: preempt_count: 1, expected: 0 Please think hard before including complete backtraces in upstream reports, they are very large and contain almost no useful information relative to their size so often obscure the relevant content in your message. If part of the backtrace is usefully illustrative (it often is for search engines if nothing else) then it's usually better to pull out the relevant sections. --IuqgEAM0x+m4fEnK Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmXF+esACgkQJNaLcl1U h9DSxQf/d6GVw2tDhiA3reBn1nr1lpMNoJpqSmW9LI7+ZwfXBtwfK+1xI3DjoqFM 90ukE68PxF5SJ4L1xYBUD5lHeTrpV78UQbKjHIJKQgPi2n2Hxj6dLHJzLQYIt2JW TT+OglBQD5JsaLl5glwxVlSDXit6EIe7TtFJvkXQvMla1fwsHqsTF4ciKKeX9iKP bDfIsFeveHpMaqRFZ7rLvpIA/Q7TnqPAJtnDBFe2+IOQykH8kDrA67mh5iE65NaO 3vputeWoemUczl1iYaxTJZ6R2b057TQ9GdApVXhWuxv6OQoB5zRDmonETjwBx25e giAumOOzNxhN76YmbPT5ltFLb62jRg== =wgNY -----END PGP SIGNATURE----- --IuqgEAM0x+m4fEnK--