From mboxrd@z Thu Jan 1 00:00:00 1970 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 1C26FEAD0; Fri, 15 Nov 2024 06:50:08 +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=1731653408; cv=none; b=DQ4L2Zvr8snPLLyOvXzo4lN28mOOzSaJgE2/Cc6/Xlwhp7qQFnE7X8eqsbO2wrADq1A5TQoF2CEdQuS5SGoI6lGtF5lJMv5i8YZ381XTUJZcDyKNVxCb3qusI7G/GX20dlFfGZVwBSTollCP0u8ZehyJ9BL2IEUHMkttg4pRZIY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731653408; c=relaxed/simple; bh=LB9gLm6SucPZvE/cOrV3VC4s95C1wGq7nA0rNd4GoM4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=XA7yLJIP/NOC1qBzQQLf1vRnvBvDV817WcjdxQI9Qf16OGkSVD0VT6Q7sz+SZSr0LVJU7wBMaL+NTtETQ35Duuu0zFLQuEDmRqBeL2blfNgguFUiW5sQ0bUv+L0/s/krpH08a4HIo/6vgC05686Kgsernx3q8Dyp53ykLS/05Lo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=kqt7I0LQ; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="kqt7I0LQ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 82ABAC4CED0; Fri, 15 Nov 2024 06:50:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1731653408; bh=LB9gLm6SucPZvE/cOrV3VC4s95C1wGq7nA0rNd4GoM4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kqt7I0LQiVuR9WMS8DlauNmvvrq/5tw2njA+b5X1+CcZVdYo1GtMiH4gca524yxzk RlLrfPwyXrj7cWDOrFyjp3OO5uXRFIMq9P7QzUVuZlh7E5+izjB4r3yWwMZ5kNoWYN JG6eq/N6iqc+/REEcTVIEe0Iwe1MkHwTWusxDV1I= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Yann Sionneau , Julian Vetter , Takashi Iwai , Sasha Levin Subject: [PATCH 6.6 14/48] sound: Make CONFIG_SND depend on INDIRECT_IOMEM instead of UML Date: Fri, 15 Nov 2024 07:38:03 +0100 Message-ID: <20241115063723.479745904@linuxfoundation.org> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241115063722.962047137@linuxfoundation.org> References: <20241115063722.962047137@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Julian Vetter [ Upstream commit ad6639f143a0b42d7fb110ad14f5949f7c218890 ] When building for the UM arch and neither INDIRECT_IOMEM=y, nor HAS_IOMEM=y is selected, it will fall back to the implementations from asm-generic/io.h for IO memcpy. But these fall-back functions just do a memcpy. So, instead of depending on UML, add dependency on 'HAS_IOMEM || INDIRECT_IOMEM'. Reviewed-by: Yann Sionneau Signed-off-by: Julian Vetter Link: https://patch.msgid.link/20241010124601.700528-1-jvetter@kalrayinc.com Signed-off-by: Takashi Iwai Signed-off-by: Sasha Levin --- sound/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/Kconfig b/sound/Kconfig index 4c036a9a420ab..8b40205394fe0 100644 --- a/sound/Kconfig +++ b/sound/Kconfig @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only menuconfig SOUND tristate "Sound card support" - depends on HAS_IOMEM || UML + depends on HAS_IOMEM || INDIRECT_IOMEM help If you have a sound card in your computer, i.e. if it can say more than an occasional beep, say Y. -- 2.43.0