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 73E463218CF; Mon, 18 Aug 2025 12:56:38 +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=1755521798; cv=none; b=NmtSTkcosQxGdPt5O2rb7603vTKyq9s+dCmUu1zojxh7qreJz0HBgByBicU0BhwjJLXPmxLcOXHpqPo1QOWsTeVE5c6FRzWu7+jxdh7/+c16/QndN8PIU6d9OXmDXAkRrIUVMEoIvCJXnG3qtO/M5fmUWugNdrkdBmWIRYdUgBM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755521798; c=relaxed/simple; bh=J0tYxburseI+5yjW2vQsYgase/hn57Fko44Sfyy1Blw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=pLknRAq/ybn8NSrMA+IV77EBIPD7St1IcW6q6+eSLRLezWATNV9g6pKXsUneIrY6VHsU2qS7iPlWqOrckKqQHXtj1aB+Wdz3OVHFmrnfik3xFUXyJdRpLPEfvB3BsJS9Il6KhhEIRxQWou0sWQf3WKeN4UkbPzit1IJZeKesG7Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=zE4mshLA; 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="zE4mshLA" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EE667C4CEEB; Mon, 18 Aug 2025 12:56:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1755521798; bh=J0tYxburseI+5yjW2vQsYgase/hn57Fko44Sfyy1Blw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=zE4mshLAmbmvKfafTCYE3AMKQCOIyAhWD9zUPIZ7p1EtyQPUG+ETXU7o2yusqEYci cv4A/irxa+Gukvo5k0iDs2yUmqqHv7IMNjWAlsEogVwjdeTxKMkz4immXyQ7zDCNps vACra2tcammo3w5aTr5Jqrs8HyYOCSra5us5hyw4= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Thierry Reding , Sasha Levin Subject: [PATCH 6.12 126/444] firmware: tegra: Fix IVC dependency problems Date: Mon, 18 Aug 2025 14:42:32 +0200 Message-ID: <20250818124453.637688070@linuxfoundation.org> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20250818124448.879659024@linuxfoundation.org> References: <20250818124448.879659024@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.12-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