From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=185.246.84.56 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796213662; b=WRZBiJHFVJQfkfIOY3122UhgO0lqn45vhQ7EBPen/RSeKgWvakC81/LFFuG3bQJDxASu V/A6S53FMaDakFGukdrhjtY76rvq9iLqfHDeziCr+I6ojBDThbIyxBwmHVW7JOvqQV9ah tGD5dqi8/DL9hvhp5SzpqQ+7lZMFm76xQf0gAZuRW841cmc3PrgFM/jXBkxtY1gZ2OWfQ flqdtfNZ2cyVGMkvfYxKuAJDG6PXgXoVZCHEwkf6odDAnwysXSiu1KYywgddnsT+LZifh Vsmx5Qd+M1ZEF3vW+k51guCTb9rkWgrNnLJDnNCUrvkhJ619AMNe86JHf7ZQ5o6QRfg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796213662; h=DMARC-Filter:Received:Received:Received:DKIM-Signature:From:To:Cc: Subject:In-Reply-To:References:User-Agent:Date:Message-ID: MIME-Version:Content-Type:X-Last-TLS-Session-Version; bh=VLyZyP3RohDm27/0OkI1+UsWA/FFQS9W4dzYP97OvBo=; b=O9ajrV4Jy/98E5avXfsZYItObIcNWLkPbuaqJ5sBeH1gcB77Dza3/WxbCUxgTz5F8oFT BSV52om72Evx24n23hrXeLQ5h3dbAAwqT8HCg98aGW4ALtmSRuvYjw4JqYc7IzTspXq2E YfI/PXG/dSJdlaucof1HgxLU1z9o/8nQ7s3KC5PiocyRQpg2AeZ5dseqjkcbw7K6xbNB7 JTp6DCd/yPkdF7FRtJelo/xX9aPRGLcv/5JZXcJWFw4BxJgkgZVvM2tTR/7stm/hK3atE d7+yiBd+cco07t/jsNuz6RQxGydsavbZpFLtuVBmRj9kIO0tM7bP9QfzPHYvloKwl/Q== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=dkim header.b=Hgpt5YU0; arc=none smtp.remote-ip=185.246.84.56 Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) (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 8D9B3606A322 for ; Wed, 2 Dec 2026 12:14:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 8D9B3606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=dkim header.b=Hgpt5YU0 Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id A6F2B1A18DA; Wed, 2 Dec 2026 12:14:19 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 640656075F; Wed, 2 Dec 2026 12:14:19 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id DF04411EA1821; Wed, 02 Dec 2026 13:14:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1796213654; h=from:subject:date:message-id:to:cc:mime-version:content-type: in-reply-to:references; bh=VLyZyP3RohDm27/0OkI1+UsWA/FFQS9W4dzYP97OvBo=; b=Hgpt5YU0b1ov4wbgHVHIK2VjDKzPW9eujp7h6Q1zdU5EuBHpMCdnCJR+61FbOlNjFFpv3i GXbnPL25v1b86F0rE3LPkRCvr7q0X4bjpj/ySQnjRr3NwWmtULlGxky9nSSgXZHrAqONx0 c7ziv/98giiyPrtwxPZ7VQE1cvrEasOy+lGgW13n9AMyqeBYlY4v2ol+QCGz4rO8EjRYQf X/RVK6zsJ8baToEtvTGyGNnNdrruSV4Glx4sn26ZoimLnAxl9hRy8gR6+7FRqFy3wpID1k 24Hby+SYZbGAvhTJwac2SBOxH6DByoP7lTvfZweVMW7pCbJJogpPwGL0LjkecQ== From: Miquel Raynal To: Pengpeng Hou Cc: rafael@kernel.org, daniel.lezcano@kernel.org, rui.zhang@intel.com, lukasz.luba@arm.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] thermal: armada: select REGMAP_MMIO In-Reply-To: <20261130130142.78229-1-hppiscas@163.com> (Pengpeng Hou's message of "Mon, 30 Nov 2026 21:01:42 +0800") References: <20261130130142.78229-1-hppiscas@163.com> User-Agent: mu4e 1.12.12; emacs 30.2 Date: Wed, 02 Dec 2026 13:14:09 +0100 Message-ID: <87ecbznalq.fsf@bootlin.com> 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-Type: text/plain X-Last-TLS-Session-Version: TLSv1.3 On 30/11/2026 at 21:01:42 +08, Pengpeng Hou wrote: > armada_thermal.c initializes an MMIO regmap using > devm_regmap_init_mmio(), but ARMADA_THERMAL 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: 3d4e51844a4e ("thermal: armada: convert driver to syscon register accesses") > Signed-off-by: Pengpeng Hou Reviewed-by: Miquel Raynal