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 F011F1C6BE; Tue, 26 Aug 2025 12:53:23 +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=1756212804; cv=none; b=Up/YPR6Zx2s6076tsGgAmk+XXMYD0OVbvXBp4SqEwO0jxSqRxXiLh0Ot9+4rotBHAT5Llqq16qwODBSc4McUReFsQ6KXxsCz0hS9TBccuHyO+kBwTlTSpa9YuVhk7418ASXZIJZgS6juac18z8i102XA3OF6A7EH350v7VJZbAc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756212804; c=relaxed/simple; bh=UrgcIKlhZY5rWxbEp8hwmlAPbP2oUmCTFacnnhGNJyk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=GSPuGU05BX3gF6eAhx+TnGrI3jDJXIubF2JyrEF566dJ96Th0YYmXY6chUAI15i1Jfqs6nFExxArGMgBAzQWp7yA6XfSldyz4vIpjzqdtnfkC+0yjGyulcfp6vQYU6fqH6JXyggCajdsw5MsFAmpYrTicGJj8AEBzvR/82+bvZo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=wcRyV0BN; 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="wcRyV0BN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 82E21C4CEF1; Tue, 26 Aug 2025 12:53:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1756212803; bh=UrgcIKlhZY5rWxbEp8hwmlAPbP2oUmCTFacnnhGNJyk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wcRyV0BNb4/tc/Njbhllk2eooGOf53JfDYtNlPxa/b/n7bW9WIQYIGp/lGSnfcGtQ x8oaGUwpO2lJChOemOnXcXu3jA7YVmZkYk9VH114tXWPg0XoreoqNAShp/nrO2AaNo grrV+a5LsJI8WrhXLrEqVBVbG93nvvoUbS4JF6JM= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Thierry Reding , Sasha Levin Subject: [PATCH 6.6 108/587] firmware: tegra: Fix IVC dependency problems Date: Tue, 26 Aug 2025 13:04:17 +0200 Message-ID: <20250826110955.687450358@linuxfoundation.org> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20250826110952.942403671@linuxfoundation.org> References: <20250826110952.942403671@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.6-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