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 6A172335BBF; Mon, 18 Aug 2025 13:51:57 +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=1755525117; cv=none; b=qhlb/xC5IxwrOoHiw6oL4+2+DoVn7HyHiNui/13AgiOZOnuhFbzTJ7CkZmojJ9XexaHmAqc8x9NMUP7S03slmxpXt+2n+rf7qi5L2+TckcyI0fVfr5AmS+FfPHW/lYuBQrLNlTLLSJNCfcF89EicyL29RO+y/2cNwhWCcNTFDFE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755525117; c=relaxed/simple; bh=/C/m5yF9Q9WWA/xeLn+PT6O7+aIYTOxQ/9orc5RUu7I=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=uLr4IuIWl2zU7MR63zzgHMMa1zTXdLqvpyKQ/bzgz6aUpHUGERLTFlokkeSQSn7O0nVK59nwdG9MdP2fIz/CItW4IucZCbtepIn7VcUjcYIjRGYDZcbYj0CtwDKwJWWmLSW2Pxtx4DN4vkI4HIdy3120v/DiO7pIO1ynCW8mlzs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=rLnoazMc; 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="rLnoazMc" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E2428C4CEF1; Mon, 18 Aug 2025 13:51:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1755525117; bh=/C/m5yF9Q9WWA/xeLn+PT6O7+aIYTOxQ/9orc5RUu7I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rLnoazMcz0RJ17ztqsv5416qFvSBQLE/1B7LSJ0RvIv2zHx8DLPUJP5MEKc3WnUam 9nIORKqPLZBULoLFnBTmNApVH+n/ViUcf+w9AMGpymkAKX/IS2pt1bfzysSeBLnE9H HtKhEZ6uotJOqpKapFPf/az/T4Dz5Pg/n6M5ZC9k= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Thierry Reding , Sasha Levin Subject: [PATCH 6.16 162/570] firmware: tegra: Fix IVC dependency problems Date: Mon, 18 Aug 2025 14:42:29 +0200 Message-ID: <20250818124512.048598129@linuxfoundation.org> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20250818124505.781598737@linuxfoundation.org> References: <20250818124505.781598737@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.16-stable review patch. If anyone has any objections, please let me know. ------------------ From: Thierry Reding [ Upstream commit 78eb18020a88a4eed15f5af7700ed570642ff8f1 ] The IVC code is library code that other drivers need to select if they need that library. However, if the symbol is user-selectable this can lead to conflicts. Fix this by making the symbol only selectable for COMPILE_TEST and add a select TEGRA_IVC to TEGRA_BPMP, which is currently the only user. Link: https://lore.kernel.org/r/20250506133118.1011777-10-thierry.reding@gmail.com Signed-off-by: Thierry Reding Signed-off-by: Sasha Levin --- drivers/firmware/tegra/Kconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/firmware/tegra/Kconfig b/drivers/firmware/tegra/Kconfig index cde1ab8bd9d1..91f2320c0d0f 100644 --- a/drivers/firmware/tegra/Kconfig +++ b/drivers/firmware/tegra/Kconfig @@ -2,7 +2,7 @@ menu "Tegra firmware driver" config TEGRA_IVC - bool "Tegra IVC protocol" + bool "Tegra IVC protocol" if COMPILE_TEST depends on ARCH_TEGRA help IVC (Inter-VM Communication) protocol is part of the IPC @@ -13,8 +13,9 @@ config TEGRA_IVC config TEGRA_BPMP bool "Tegra BPMP driver" - depends on ARCH_TEGRA && TEGRA_HSP_MBOX && TEGRA_IVC + depends on ARCH_TEGRA && TEGRA_HSP_MBOX depends on !CPU_BIG_ENDIAN + select TEGRA_IVC help BPMP (Boot and Power Management Processor) is designed to off-loading the PM functions which include clock/DVFS/thermal/power from the CPU. -- 2.39.5