From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=117.135.210.2 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796349671; b=pqrJ+KbsTxDKDBfqWG7dsUlkCR3yMZEn8Yh1R7oDYdWIfgmhiIyyaW1zMd/Np5pObuOk NHGinTpg0WtlynUBgFYq9ILD1FCDpEcGTD6pXCSrr4lJcPnSXfUrvXEWlNwpHs6DpaBrP nAtudooNyZ3n7VhvZJRLCmjt2SS7SZDVXVER/awit1zlJTh1bHGKKEX8Aj9jUHmtGq6zk lrRWvUmpPmECzAHyDkL/HDyQfxFEWDgerjecuCSYhJAlyDmBLuYMYO2Wet0hEKmShU49s d6HGYyOR5q5FfeM/Wrgd4KX6fOydY0goPmlHKA+IQewi6qgRYBkyO6bYJoMv6cjxsrw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796349671; h=DMARC-Filter:DKIM-Signature:Received:From:To:Cc:Subject:Date: Message-ID:X-Mailer:MIME-Version:Content-Transfer-Encoding: X-CM-TRANSID:X-Coremail-Antispam:X-CM-SenderInfo; bh=LVjYtTpgn7OHbq77D/wrCs7TGejmv0oF0M33FPVVvSg=; b=MZ0RMqJpNG2fOGJ2vIXtZ6tCFq5QpfYtkSuRLXSfTsplclZ/kyGACRshcEztsP0jsVcx ZtI6MUXrUT5GumT9Gt0/XujsXbPC3tgT0MC60CEqedr0npo+kvF1MYAfxmhmXpQgAEhik Ztdi5pvWK/AkthFjlCWpZgQ9+SUd6ayCUVDdio/mz/mbTR3DU6COA/URcuJK4p3Mw0p0H usCcZ4XiOPzq1df67PmCxRwbcBe5KdlDnQAaWABjLZZ+wmo3F0cMCKwg8JLRltYMMniTs tl9MZP7V6rUKRdd8VrdDIexuKKHZmjVzGaDPHqOk9/JDtxtRZBytDDG04LGnapSLHQg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=163.com; spf=pass smtp.mailfrom=163.com; dkim=pass header.d=163.com header.i=@163.com header.a=rsa-sha256 header.s=s110527 header.b="IS4Nh/gN"; arc=none smtp.remote-ip=117.135.210.2 Received: from m16.mail.163.com (m16.mail.163.com [117.135.210.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9F5C1606A322; Fri, 4 Dec 2026 02:01:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 9F5C1606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=163.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=163.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=163.com header.i=@163.com header.a=rsa-sha256 header.s=s110527 header.b=IS4Nh/gN DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:To:Subject:Date:Message-ID:MIME-Version; bh=LV jYtTpgn7OHbq77D/wrCs7TGejmv0oF0M33FPVVvSg=; b=IS4Nh/gNaavpiiABpb GZjzftPnJ6nwnLh5rp62WEuPJLI5eA9021tK1YiaNA1gcAXElWsryOQC/z7a3VsH NDyYDegY8nWW8wtUY+LDxVg420JsGGvGIpxLyBkl+Q95M3ibneUCpVMiBJa1zJ09 3ZHCUH2Z3+XB9a2766V0Xsa2w= Received: from localhost.localdomain (unknown []) by gzga-smtp-mtada-g1-0 (Coremail) with SMTP id _____wDX3ZbXHhJrv0fZLQ--.42791S2; Fri, 04 Dec 2026 10:00:57 +0800 (CST) From: Pengpeng Hou To: Thierry Reding , Jonathan Hunter Cc: linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, Pengpeng Hou Subject: [PATCH] soc/tegra: make SOC_TEGRA_CBB bool Date: Fri, 4 Dec 2026 10:00:54 +0800 Message-ID: <179634965406.74470.7747406421500772061@163.com> X-Mailer: git-send-email 2.50.1 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID:_____wDX3ZbXHhJrv0fZLQ--.42791S2 X-Coremail-Antispam: 1Uf129KBjvJXoW7ZFy7Kw1DZr43tw4rJF1xuFg_yoW8Wr4rpa ykGFWrCr4kJF4FyF4DGFWxuFyfG3s3XF9Fgan5W347uFWkZryjy34ak34UAFWUArnayw17 Zry7W340ya1UZrUanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x0pRyGQ3UUUUU= X-CM-SenderInfo: 5kssx2xfdvqiywtou0bp/xtbC7Rkd5WsSHtnAoAAA3S The Tegra CBB option offers a module setting, but its core object is placed in obj-y and the selected implementations register through built-in initialization. Make the option boolean to describe the build that actually exists. This changes configuration choices, not the hardware error-reporting protocol. The issue was found by our static-analysis tool and manually reviewed. Fixes: b71344221466 ("soc/tegra: cbb: Add CBB 1.0 driver for Tegra194") Signed-off-by: Pengpeng Hou --- The original patch was prepared with Gemini. Codex assisted with this review and revision (Assisted-by: gpt 5). With the ARM64 Tegra194 configuration, a request for SOC_TEGRA_CBB=m previously resolved to m. With the boolean option its enabled default resolved to y and an explicit n remained n. This was a Kconfig test using the kernel dummy cross tools; no target binary was built. drivers/soc/tegra/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/tegra/Kconfig b/drivers/soc/tegra/Kconfig index 318e7b60434249a9bb57512a847e3ad0aa7c51ac..74f4ae83e47e87bb7a9e951a1a26a8f340bd4693 100644 --- a/drivers/soc/tegra/Kconfig +++ b/drivers/soc/tegra/Kconfig @@ -184,7 +184,7 @@ config SOC_TEGRA30_VOLTAGE_COUPLER depends on REGULATOR config SOC_TEGRA_CBB - tristate "Tegra driver to handle error from CBB" + bool "Tegra driver to handle error from CBB" depends on ARCH_TEGRA_194_SOC || ARCH_TEGRA_234_SOC default y help base-commit: d06ce6f1eb5eeffd4ebcfde345dc34a98131d106