From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=185.246.85.4 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796213662; b=Lg6ZwUAz3O0D9FOHqw+EYSTlRE14J1OwsR6KHl3tO3O9XUuz4faiMK+eKSGgLlmvl56z k7WcYROj2fmsiyodKGAcZIpziI4bwwpEOQGW0esQ6y9AM4JE+EPIPvBf79z66PUg9gkIE 6bslpj+6mLjRXV9NsdoUiGGqJDjY3DdlCo/25p9cYCsTbNQDhjl69sA0ua74xLh0wXpZN sdOv70LHA/KcSID7QYkbwDc55HLnbcMQoAe6hZafprj6U20ca+KcRAM6YdmWvc8J0ySVv /DKrd9abHMgznxvZkOV547YOm1idvR7APzSekG3/O+ysPzfUGuUbSWfYha0xPdi7cUA== 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=Ivdwiu75sRZDFFJA6kGkPPVkDk/OdAPoOYj87zUHbfTthuJutCd4aGIcmm4AveVh/Wb5 HmosknU/FPNDdc7N6Y4txGI/HiSaZYpDTBNEmBRvRMFdTeuvlsGzVwTKk1jlJNwGD/PbB XlaMiTyhkrDvV7Qvn3PlIYowBxW5Ef+mckZhUkTFTCJv2vYVREkRL6gYg+L4lDTH/Nreh Wxs7fIpUVyjNe0cUgJ0jTM7fWCHDHf9wWddSDZyoLu+0zciBomcO38ipMDtEpWO9InZ92 oj8KB1pjpS6CWtENE0536FkHOOY9CrGy25sX0N+ItmvoyprFt4VWCeSZU6yIGIRfp0g== 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.85.4 Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) (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 89A16606A31A for ; Wed, 2 Dec 2026 12:14:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 89A16606A31A 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-03.galae.net (Postfix) with ESMTPS id B13E84E41841; 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-pm@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