Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2199184rdb; Sun, 11 Feb 2024 16:57:43 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXM22MZhTIUVHeBnBAYkpiI1NIt6qtV6NEOz3WLDVDeEUSM4qgTxOvpKHLhCgNwQODBnPHT12P5wz3g8VyenbZ0is+jTkwKI5DCeh1ytw== X-Google-Smtp-Source: AGHT+IHaCan6YkAQhkZigmnOG1sS7pvBn+OxN2NYgBy5p2qHEJXr5bZ90HlRvvyUti+dVZJTJjya X-Received: by 2002:a05:6402:7d6:b0:561:c627:cade with SMTP id u22-20020a05640207d600b00561c627cademr117169edy.39.1707699463321; Sun, 11 Feb 2024 16:57:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707699463; cv=pass; d=google.com; s=arc-20160816; b=v0/lgsXn3BfxfoToWDAta57dUWbwK+atqwxLP/EG3m7urLlKXF9XSy/j63MiWHT1jr OE0cMawVRu3HKQVFeoRa8onwr3D/Dkr9CTi0yurDofb+KLP8zRJfZTCNxxUElsq2d/UV knYunTN1LXIHm5ZJYZM9qo06UfevqqsIUpO1N/vOwTY20ycC2Nom6HBuM/p08j80u1gZ gnYWAby2LgAPq+mEhbg10NAFGrebXyBrn9SbuP0L3jUFfEns4ZiEHBbh3nxHiQ6RoG77 21ReYXcp0PrAruTsRonR93tmBOcy4JntnAKVAiuxBO0in43DvumhNlkGJwnRwOkBIC4/ s3sg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from:dkim-signature; bh=N8J/T7434+ZQx5K16CVoOeAUOXtq/fGWCi3KCuqUyvQ=; fh=kkymDkHstn9qdC2tXjOQ75N/EVFg60ifmSIfNxNGfJc=; b=ubePDwDLgEWfVfxTV33qh4ZUe5af0kjeQgzkIK4lMwfA0Kiw7p0JGpQKvqHh1k2rqU RE6omIi841moucHsSg2OoT2g3iEZMp2PZ/EJcgW0Blgw4EzV5e2sN0BmxW6y8MCm6+QF 0UQy7gSeJ0dzaLeGju6DekLAXhyZt6Cbj/BOnflJvbRaIW3hWKvHS2R3LNjZHwsOmiB7 FQiA13L8OIxk6clHcCVBAtZbVu/05I1Yy8RfbfD3nC9Rm8pQfi9OfG072MDNHmfQtmm6 4oXk0+1CIucjn9KSUIUKFJqZhZ+MAGgpK2M9IGZvfwQfXLF3DMygIBfOyic1tLTS69e3 dimw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BP31ZqYu; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-61035-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61035-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; AJvYcCXCM1i6SjVbr7qpq5hDi3AV/+RFZ4lKSpOjOZkjpFvRp178x2+12TOGz87SvGz6r4WzkEnZvnZXes2MNG1BqZ/RSxiOxUJSd0JmX1pNQw== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id m9-20020a056402050900b00561bbb18eacsi301693edv.463.2024.02.11.16.57.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Feb 2024 16:57:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-61035-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BP31ZqYu; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-61035-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61035-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 127701F222F6 for ; Mon, 12 Feb 2024 00:57:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A2B3F10FA; Mon, 12 Feb 2024 00:57:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="BP31ZqYu" 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 A0A2C10E3; Mon, 12 Feb 2024 00:57:34 +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=1707699454; cv=none; b=k9181TCJayc2iMRGHV2ykFp0IsnoIuAsS7FoAo3ZSKuEJ8xZTMk0m8BCOLADwaWV4uS6ty+ctnFUyK+I3fXgtx7Nh5YqHkOW5YldyZez1EP2zTxrpWv4uLXkPlUjgjUu28B6gXKBdWgUzGFtbVsCAskjxFEB7Ulg7mYlABMSj+g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707699454; c=relaxed/simple; bh=UjSBFa2JSiRKfOnN+/YDukdaZ2mWb6/Pp9XHdBkmxZ0=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=OJFEu0oPS5SuON9HIZB6gn3u0kAHV4Mwb/Vz03WY7zDpJ+4eNhWgcPLR/HG+5XtbCUlz/ZKmip7vh4+lDnsC1zqQeNJIhJwe2Iz1xz7ZwDrd1HSH9vwx+WiZJJNWITB2rgc33FwmJweITQoaEMPLPYsa3HxGovHMlJUCiGd5AiU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=BP31ZqYu; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 55600C433C7; Mon, 12 Feb 2024 00:57:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707699454; bh=UjSBFa2JSiRKfOnN+/YDukdaZ2mWb6/Pp9XHdBkmxZ0=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=BP31ZqYulSD7X8sIRfQQ0+WLVCQcArYu2SiYdJqRdFNICs64L4QMUSa3xDwA6O36e 9lOlYWE7cdUwL774XkXcIMNJybyeKIMSJXWWBf1mtmHNjJZccVo8bb4aB1lqpiL5cO 3wujtMXB8KzXh+iSgdPraXeART5urvBJjvmNkd6FfWdRQ6JAVVsoVrnX5bmmZpCG8m J1yOKq70peskan+BzlLIJ7S8iPFS9Vb5wiJNhAyVCFT1hifkQbZtgy+fGnP/f6Ge7D 11QtcxWWBr2i9pcb3QTgazuigJTjM8CVQEUfSqbZNhyapnAKjJw8b2KatSEIDlv1FW lna+eRC1/EUfQ== From: Mark Brown To: Pierre-Louis Bossart , Liam Girdwood , Peter Ujfalusi , Bard Liao , Ranjani Sridharan , Daniel Baluta , Kai Vehmanen , Jaroslav Kysela , Takashi Iwai , Venkata Prasad Potturu , Cristian Ciocaltea Cc: sound-open-firmware@alsa-project.org, linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@collabora.com In-Reply-To: <20240208234315.2182048-1-cristian.ciocaltea@collabora.com> References: <20240208234315.2182048-1-cristian.ciocaltea@collabora.com> Subject: Re: [PATCH] ASoC: SOF: amd: Fix locking in ACP IRQ handler Message-Id: <170769944944.2475236.12312495340853191634.b4-ty@kernel.org> Date: Mon, 12 Feb 2024 00:57:29 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13-dev-0438c On Fri, 09 Feb 2024 01:43:14 +0200, Cristian Ciocaltea wrote: > A recent change in acp_irq_thread() was meant to address a potential race > condition while trying to acquire the hardware semaphore responsible for > the synchronization between firmware and host IPC interrupts. > > This resulted in an improper use of the IPC spinlock, causing normal > kernel memory allocations (which may sleep) inside atomic contexts: > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: SOF: amd: Fix locking in ACP IRQ handler commit: c4b603c6e2df3a17831731d8bbec5c16fa7bbdf8 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark