From nobody Sat Feb 7 06:49:02 2026 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7F8532E11D2 for ; Tue, 27 Jan 2026 18:14:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769537672; cv=none; b=ujMwUG5pXRnEE7OklB5gHSQi6Gj5l6CKfC6ZxZWV5bkEOTtqCLKPxPW0bTqfNgztP2cj7YcyjG7i4YAuJp3HCDVY4IDUHIJ4kjWYkex+TXkL9Q/4nkTkKAyCOxq0VjZLr5/4OX4VOtQg4DQ6YFKScG09XUSmFsBFJpFum0WGiR4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769537672; c=relaxed/simple; bh=xrqHMLh+h7bTnHzxFrucYIU6jvgcxjDytBv9grxjLtw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=Zc3Nuwik4e+Ha+fuyLXkzR4cKhVpWKRhSOKUXg5JHDlD12KdrHK8c9yNj1O6wwTEi6JQbd1Xrtz6QtNxMCsttTSNjBbBijOEd78NgpBbBk0DOq4kJ1hO7DmFtqjR786VhYER3vJ7mFtPrlbMGYzHhEumjNig/WZPyNfrKlT0+sw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 4DF1D1515; Tue, 27 Jan 2026 10:14:22 -0800 (PST) Received: from e132581.arm.com (e132581.arm.com [10.1.196.87]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 393233F5CA; Tue, 27 Jan 2026 10:14:27 -0800 (PST) From: Leo Yan Date: Tue, 27 Jan 2026 18:14:13 +0000 Subject: [PATCH v2] stm class: Fix Kconfig symbols Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260127-fix_stm_kconfig-v2-1-3c067e00f82e@arm.com> X-B4-Tracking: v=1; b=H4sIAHQAeWkC/2WNywrCMBREf6XctZHeNA905X9IKTEm7UWSSFKKU vrvxoIrl2eYObNCcZlcgXOzQnYLFUqxAj80YCcTR8foXhl4yyVyVMzTayhzGB42RU8jM5p70Vq tkFuoq2d2tbIbr33licqc8ns/WPCb/lz6z7UgQyY79LdOaSHF6WJyONoUoN+27QNMEZ3OrAAAA A== X-Change-ID: 20251216-fix_stm_kconfig-a72f40c7612c To: Alexander Shishkin , Maxime Coquelin , Alexandre Torgue , Greg Kroah-Hartman , James Clark Cc: linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, coresight@lists.linaro.org, linux-kernel@vger.kernel.org, Leo Yan X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1769537667; l=2151; i=leo.yan@arm.com; s=20250604; h=from:subject:message-id; bh=xrqHMLh+h7bTnHzxFrucYIU6jvgcxjDytBv9grxjLtw=; b=F4S1iXCK8hpgfWjS2PzpQd37/ljfUsDbMcr8LWKuuBFjmjd4luLA4GeklShfzjqFmkoMKgL1i SEZV/U6rAksB4UkFHCl9mmXP7RTPVwvzI5GvrWFZ7KcwaY8Ah63n3Fj X-Developer-Key: i=leo.yan@arm.com; a=ed25519; pk=k4BaDbvkCXzBFA7Nw184KHGP5thju8lKqJYIrOWxDhI= Kconfig symbols must not include the CONFIG_ prefix. Remove the CONFIG_ prefix for default values to work. The STM_PROTO_SYS_T config is selected by default when STM is enabled. However, its description currently says "If you don't know what this is, say N," which contradicts the default behavior. Update the description to say "Y" to align with the default setting. Fixes: a02509f301c6 ("stm class: Factor out default framing protocol") Fixes: d69d5e83110f ("stm class: Add MIPI SyS-T protocol support") Signed-off-by: Leo Yan --- Changes in v2: - Updated STM_PROTO_BASIC description to align with default selection (James). - Link to v1: https://lore.kernel.org/r/20251217-fix_stm_kconfig-v1-1-531fb= 3674549@arm.com --- drivers/hwtracing/stm/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/hwtracing/stm/Kconfig b/drivers/hwtracing/stm/Kconfig index eda6b11d40a1f9ab49a1ec1e6faae8ee178c5ed3..8ab079785189052945521e9b0a9= 3a0d458de37e0 100644 --- a/drivers/hwtracing/stm/Kconfig +++ b/drivers/hwtracing/stm/Kconfig @@ -13,7 +13,7 @@ if STM =20 config STM_PROTO_BASIC tristate "Basic STM framing protocol driver" - default CONFIG_STM + default STM help This is a simple framing protocol for sending data over STM devices. This was the protocol that the STM framework used @@ -28,7 +28,7 @@ config STM_PROTO_BASIC =20 config STM_PROTO_SYS_T tristate "MIPI SyS-T STM framing protocol driver" - default CONFIG_STM + default STM help This is an implementation of MIPI SyS-T protocol to be used over the STP transport. In addition to the data payload, it @@ -38,7 +38,7 @@ config STM_PROTO_SYS_T The receiving side must be able to decode this protocol in addition to the MIPI STP, in order to extract the data. =20 - If you don't know what this is, say N. + If you don't know what this is, say Y. =20 config STM_DUMMY tristate "Dummy STM driver" --- base-commit: fcb70a56f4d81450114034b2c61f48ce7444a0e2 change-id: 20251216-fix_stm_kconfig-a72f40c7612c Best regards, --=20 Leo Yan