From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 2CCD6606A320 for ; Mon, 30 Nov 2026 13:27:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=hZfUduxP; dkim=pass (1024-bit key) header.d=163.com header.i=@163.com header.a=rsa-sha256 header.s=s110527 header.b=NKbQzaGn DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Unsubscribe-Post:List-Owner; bh=VZBJ22aRkzNrzQN6Z0LogRA/f88wP6LwLIR5KXtVJ4I=; b=hZfUduxPTw8g2bOiC/Zxx/N881 SZHar+z7OJip6GcnDzSXBvSptEb8tjFloq48m6fI1wezSXIgI+p6f5q+Jz9ujGzX1F+C462pzD/+o Cgqb+lGBnwJdQba18s829reoQDekI9qmGXX1YmGXDRdRMwH4v1YYHBpb+bqNGQe9xzutTPMVe9B7Q 0edge/1vk8olan1adWQ2TO60ljePr/4I8vdX8cLhVIu9qst/MeZwNZ5ZoTfyZPXu6vncXNcgNXhx4 ytDJTM42jkcu+YmXQRe4iJr4upKDYUhhwjIfxt1Xd7r98Ksvuby9M+D+H5aib896J7lpH2ELQu3U1 03lalPYw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xY1PL-00000004ho0-258K; Mon, 30 Nov 2026 13:27:03 +0000 Received: from m16.mail.163.com ([220.197.31.4]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xY1PJ-00000004hnP-0PVg for linux-arm-kernel@lists.infradead.org; Mon, 30 Nov 2026 13:27:02 +0000 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=VZ BJ22aRkzNrzQN6Z0LogRA/f88wP6LwLIR5KXtVJ4I=; b=NKbQzaGn1bwiFvVBA0 G8vZ7T+8ChWP6i1nPwNYQwJNfaGmMx+1LRtslawFx9Jb1GB0t1GOwBEObKobhyV9 tf/KDLqLEF+6p1jjf05cLzgxUBKlTcaQJGhHFYyu+RFkhh1wNmCH7Vx0Y3XnavOB w4EKx8acLB6xNAnLfHMtQlIcU= Received: from localhost.localdomain (unknown []) by gzga-smtp-mtada-g1-4 (Coremail) with SMTP id _____wD3X9SQeQ1rm5RpLA--.61143S2; Mon, 30 Nov 2026 21:26:41 +0800 (CST) From: Pengpeng Hou To: sboyd@kernel.org Cc: bmasney+clk@redhat.com, jbrunet+clk@baylibre.com, wens@kernel.org, jernej.skrabec@gmail.com, samuel@sholland.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, hppiscas@163.com Subject: [PATCH] clk: sunxi-ng: r40: select REGMAP_MMIO Date: Mon, 30 Nov 2026 21:26:38 +0800 Message-ID: <20261130132638.83998-1-hppiscas@163.com> X-Mailer: git-send-email 2.50.1 X-Archived-By: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: _____wD3X9SQeQ1rm5RpLA--.61143S2 X-Coremail-Antispam: 1Uf129KBjvJXoWrKryxWr15GF4UJFyfKFyxAFb_yoW8Jr4kpr ZrG3W8AFn7WFWYy3W2yFyfCFWrW3ZIqFWUCr9Iqws093Z8ZFyS9wsYga9Fg3s8Ars7Jr45 t34q9ayfJF4DAa7anT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x0JU5HUhUUUUU= X-CM-SenderInfo: 5kssx2xfdvqiywtou0bp/xtbC7RGgaWsNeZFG6QAA3U X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261130_052701_593432_98D089E3 X-CRM114-Status: UNSURE ( 8.14 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.1 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, UNPARSEABLE_RELAY,USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 ccu-sun8i-r40.c initializes an MMIO regmap using devm_regmap_init_mmio(), but SUN8I_R40_CCU does not select REGMAP_MMIO. The driver can therefore be enabled without the required register-transport implementation and fail to build. Select REGMAP_MMIO so the backend is enabled at the linkage level required by this consumer, rather than relying on another driver to pull it in. The issue was found by our static-analysis tool and manually reviewed. Fixes: 17de4c857b1f ("clk: sunxi-ng: r40: export a regmap to access the GMAC register") Signed-off-by: Pengpeng Hou --- AI assistance: gpt 5 (patch preparation and review). drivers/clk/sunxi-ng/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/sunxi-ng/Kconfig b/drivers/clk/sunxi-ng/Kconfig index 6af2d02..82e7322 100644 --- a/drivers/clk/sunxi-ng/Kconfig +++ b/drivers/clk/sunxi-ng/Kconfig @@ -122,6 +122,7 @@ config SUN8I_R40_CCU tristate "Support for the Allwinner R40 CCU" default ARCH_SUNXI depends on MACH_SUN8I || COMPILE_TEST + select REGMAP_MMIO config SUN9I_A80_CCU tristate "Support for the Allwinner A80 CCU" base-commit: fe6ff8d5d675c01793b9f051d16055dd4aa75244