From nobody Mon Jun 8 04:27:30 2026 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 ACA773CF04F; Tue, 2 Jun 2026 14:24:06 +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=1780410246; cv=none; b=RZYEzRyJIOhToCpObdU1U4xP9vAsj+azENRG3pfQtEf7+0DZVFhmd9Ns4oW2TCUnsj7EKPYbqbMV3PoR9fKlgJK/MTRpkyLWTZhX2mWzaFAoCeCqDRJmYN8dfxLiwXTC+Dcma7kofvEB+6qzsAx89kn/ouqpS6eod+nql5OyKvY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780410246; c=relaxed/simple; bh=vaUgDr1RsviakGOYzlCjQ60oKkDSx69btm1l/dxlknk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=OYDpUBXQoBTfI98eZl4L2ZOESJ+neaOhq5gp35l0NzY9EFNYoCGur4i8PMo6QE4TZImCJBK62NQ3sjOWWZLhto4eLk4Hxer9DwzX9nX2Nsc4EWZmVuBnEykPVtVu+QZnI7RlUDUK0mDiLiE7l6SmSH5LGJP2jczCAoL/XCbXt/4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=eNxuXUsr; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="eNxuXUsr" Received: by smtp.kernel.org (Postfix) with ESMTPS id 3EF18C2BCB4; Tue, 2 Jun 2026 14:24:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1780410246; bh=vaUgDr1RsviakGOYzlCjQ60oKkDSx69btm1l/dxlknk=; h=From:Date:Subject:To:Cc:Reply-To:From; b=eNxuXUsri6tijJ8q/ycYLYL0UUGj/L2NEO0UwBzXWuSHMKHc/Gw1p6EneoCK7c8Nw a4pBeVrAJ4Tk0fGE+KI+iO/KKuvbY5SbdVskol9Fzdj8vMfFLAiPmi2W3d/dYqcubE nsyKrHNx8zOoeksWqVVMy6q0AWRS13P+25XOHzjqygArEFYI8X9vHsmye48rPRUHSW oJFYEs6LCXuLOJaSQk4uB4HlQNHmkZXLkvf3iSklEzxzGHy0WjZo7GC1q6xNCyyokw N9ItNto9XKvptJX/auWVhVOCY8d706erm85jK4VQX5PUV2PUNL0+1M8kWDJCBoK1nU fYyvOQikNZPxA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1FBC1CD6E60; Tue, 2 Jun 2026 14:24:06 +0000 (UTC) From: Ronald Claveau via B4 Relay Date: Tue, 02 Jun 2026 16:19:20 +0200 Subject: [PATCH v3] thermal: amlogic: add missing dependency on MESON_SM 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: <20260602-fix-missing-meson_sm-symbol-v3-1-6f7f69cd7d6c@aliel.fr> X-B4-Tracking: v=1; b=H4sIAAAAAAAC/33NQQ6DIBCF4asY1qUBbEG66j2aplEBnUSwYRpSY 7x70XThyuX/MvlmJmgjWCS3YibRJkAYQ47yVJC2r0NnKZjcRDAh2VVo6uBLPSBC6Ki3OIYXeoq Tb8aBKqWkYUYbJRnJwjvafL7pj2fuHvAzxml7lvi6/t2SHbqJU05L10glGl1pc7nXA9jh7CJZ2 ST2FD+mRKa4sa5qy5ZL7XbUsiw/nGGjcxABAAA= X-Change-ID: 20260529-fix-missing-meson_sm-symbol-7776d0d9d760 To: Neil Armstrong , Daniel Lezcano , Zhang Rui , "Rafael J. Wysocki" , Lukasz Luba Cc: Guillaume La Roque , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Mark Brown , kernel test robot , Ronald Claveau X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=1769; i=linux-kernel-dev@aliel.fr; h=from:subject:message-id; bh=Ugj/bC+OamV3jyF8WcVc9eTJZxuCATwhl48WC6wVttE=; b=owGbwMvMwCWm1SvKXP3cUInxtFoSQ5bc88YZf93YKuZbvUs0urjHhjFyltZXW8tXjJrH173aH 8wqovmqo5SFQYyLQVZMkaV/ruWJd5ePnvm6Rz0FZg4rE8gQBi5OAZhIhRHDP7upL/kyYjSthN9t V4/k/yC493zz9qe5b7r2HD1fMOP35k0Mf7gjVVZsajNQ618UsM587vaA6X9u7Qxb6mX9+nMz04t 9v/gA X-Developer-Key: i=linux-kernel-dev@aliel.fr; a=openpgp; fpr=DFD863F61375BF917F0012173953305EF1D0EC3E X-Endpoint-Received: by B4 Relay for linux-kernel-dev@aliel.fr/default with auth_id=744 X-Original-From: Ronald Claveau Reply-To: linux-kernel-dev@aliel.fr From: Ronald Claveau The amlogic thermal driver calls meson_sm_get() and meson_sm_get_thermal_calib() which are exported by the meson_sm driver. Without CONFIG_MESON_SM enabled, the build fails with undefined references to these symbols. Add a proper Kconfig dependency on MESON_SM instead of relying on stub functions, which makes the dependency explicit and prevents invalid configurations. Closes: https://lore.kernel.org/oe-kbuild-all/202605291530.en7aGn7w-lkp@int= el.com/ Reported-by: Mark Brown Reported-by: kernel test robot Signed-off-by: Ronald Claveau --- Changes in v3: - Add a dependency on MESON_SM instead of stub functions. - Link to v2: https://lore.kernel.org/r/20260531-fix-missing-meson_sm-symbo= l-v2-1-1def8c3c169f@aliel.fr Changes in v2: - Replace #ifdef CONFIG_MESON_SM by #if IS_ENABLED(CONFIG_MESON_SM) to cover builtin and module in config. - Add missing trailers for kernel test robot. - Link to v1: https://lore.kernel.org/r/20260530-fix-missing-meson_sm-symbo= l-v1-1-3fb672b989d4@aliel.fr --- drivers/thermal/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index 1c4a5cd5a23ee..810eeccedfbab 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig @@ -436,6 +436,7 @@ config AMLOGIC_THERMAL tristate "Amlogic Thermal Support" default ARCH_MESON depends on OF && ARCH_MESON + depends on MESON_SM help If you say yes here you get support for Amlogic Thermal for G12 SoC Family. --- base-commit: 3929405c64376a8a54c794e8a4485023b108a97e change-id: 20260529-fix-missing-meson_sm-symbol-7776d0d9d760 Best regards, --=20 Ronald Claveau