Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1068209lqm; Thu, 2 May 2024 04:32:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWPz9To1MFMa5AZhqIJgYRmkHIbyAp1MSaADFC5teLuPX74qs3DR0jAPwiOhuBqRgjIUyalV/w6tFk4jgG4CMj2hCMSlvvg+fg1uCp8GA== X-Google-Smtp-Source: AGHT+IFMIQy6Q0/V46nCqhNPxFeY4KD+gZWpKbwCmNpbZpRwAT8fbu84bPQGmDTQ4IRWgnI75vYs X-Received: by 2002:a05:6359:a381:b0:186:3c3:b415 with SMTP id ky1-20020a056359a38100b0018603c3b415mr6326552rwc.20.1714649559557; Thu, 02 May 2024 04:32:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714649559; cv=pass; d=google.com; s=arc-20160816; b=Vl9xmdeXu0t1XJ32IVV+sGOKU0txbPWS304bhrGOwsVNZD8Nhj9TuABa5RdXMOvsug Nd6w2Eke1dJ7fcF8k3Bam8WHv/z8W5+mjWHGYQO8TqhIS3fGd8j6dI62Sg43/X7SbOMp OCOqDtM9/7FmThHdH3XXzCk1YDkYiuTRc6D8+1bvxLM/p4gitowbyJgdYpnih3VuvlvP H7l3zxN3uy3IjfpfBM8i8if/bQvnTte6QOmvGIDQjAeE3KGlwqYYllKkvYyNvmTi1/53 J9h+9S0d0sc3ibMEvcw1qC6W7FofAUGudimdeyJ9TlMP21/15Pp0h05YvszVssY0V0EF xYAg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:subject:from:cc:to:content-language :user-agent:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:date:message-id:dkim-signature; bh=12nSVpVTm24HoKxg2WwBgVDSsEiN6QR/ZYeATsN2aPc=; fh=nfelSKRfWzV60EIBOn/Ml+2JdFBX1cLdBz46d62RbwA=; b=k4DvV5dszWBKTFDR6x0alUd/SG/wUlpMxkXis+kAFQzqr9TRQObQ8WCnukpDMtraUG 1WCQdTgdndUlWWIGvpAK5hiu6m0OKLg1mDj8sQ7pP7pE4HAiE7XAYFOSXiFc2DHX3auG vJ3aWN+AzYgDYuqEkdpqzbMVCim+suBn7+3XJTd+6ZoTh+LG5YRBFr+elYRn1iHwpRt4 wjoOuPB8ewyPiKMJ24GgjHa7jnJomm3nfBGOqjGCHuuC4gFM7jLNIEPZyx0AnytRlxsr WMpjYNaM9VcHHrwpps7eHDhSleQWm0rVvkHqpJoIDcuMoryTTl+s50r9mv9vwelF+fUU HalA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@wizzup.org header.s=mail header.b=m1Cu799q; arc=pass (i=1 spf=pass spfdomain=wizzup.org dkim=pass dkdomain=wizzup.org dmarc=pass fromdomain=wizzup.org); spf=pass (google.com: domain of linux-kernel+bounces-166400-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166400-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=wizzup.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id k1-20020a6568c1000000b005d8505c96e1si816208pgt.423.2024.05.02.04.32.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 04:32:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-166400-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=fail header.i=@wizzup.org header.s=mail header.b=m1Cu799q; arc=pass (i=1 spf=pass spfdomain=wizzup.org dkim=pass dkdomain=wizzup.org dmarc=pass fromdomain=wizzup.org); spf=pass (google.com: domain of linux-kernel+bounces-166400-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166400-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=wizzup.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 7EA65B22472 for ; Thu, 2 May 2024 11:31:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D828E664DB; Thu, 2 May 2024 11:31:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=wizzup.org header.i=@wizzup.org header.b="m1Cu799q" Received: from mail.wizzup.org (mail.wizzup.org [45.80.170.138]) (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 6892C224DD; Thu, 2 May 2024 11:31:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.80.170.138 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714649501; cv=none; b=KIw0l0JGpVlzJYG1deVWXP9lVgy0eB3RXB28B9XDjZFGKqZkIMdmklGblafuThpWd/OlTGuDlsCwpBtHEgOG1nGtYsQcSbivQDwRn95NjdGCxzWFJYAOSgKV9alnltq9IbjCJ1kZ243ZAv4932X2yapDdbTi2cIHrJhnOwZgV6s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714649501; c=relaxed/simple; bh=hdlRoJM+2+2KyXCFmBsNc5FwpvzfatObu0siqf41d4k=; h=Message-ID:Date:MIME-Version:To:Cc:From:Subject:Content-Type; b=RFhag1lveQgunCOxAgUXWQNmnNOklEAYBcqpU8F4NJK/T2rQSVcPK7RVsz2KiuXw6HaxdzzrCVzz9MrnEg7s/WMVoFuRNrPpeKn9zhz4gqNUA+KSV63VBVUhcJU/ADQF7o3ycI262AIDapYHQZTtZlsznywifzgMZhSSv5Nr5vo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=wizzup.org; spf=pass smtp.mailfrom=wizzup.org; dkim=pass (2048-bit key) header.d=wizzup.org header.i=@wizzup.org header.b=m1Cu799q; arc=none smtp.client-ip=45.80.170.138 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=wizzup.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wizzup.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=wizzup.org; s=mail; h=Content-Transfer-Encoding:Content-Type:Subject:From:Cc:To: MIME-Version:Date:Message-ID:Sender:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=12nSVpVTm24HoKxg2WwBgVDSsEiN6QR/ZYeATsN2aPc=; b=m1Cu799qtbCNqb3mG5e6opplOR 1UkXwfTZTohaT03VE5Brs/WULZnTUkjWDTb5h3HO96dzEiunu4tzoo6E6ZxnQWGFkP/bBR0JvZ5Gx VeYngiiTsXqRBASwZaNW8i3t8e3C9GmUeRK9n/Zyc57KN07WuFeaq+dVxAxIuizJobkarxTe+iTU1 gTZfOvbTAZ4erb+w887nS8wpcbnkuCaKTUYqAhe9Do8VLgHVXtoGiqvAWtzRWHJiX1bChQwI6GvZL TJOFV8b0vQsRAxbFpmGoVL9pT36ufOzrmdii+BdgbQrLRP+QkuWGq0bBwCVhHRyzdShH5CyeZLu6Y /Wuq7eRw==; Received: from [192.168.178.24] (helo=[0.0.0.0]) by mail.wizzup.org with esmtpsa (TLS1.3) tls TLS_AES_128_GCM_SHA256 (Exim 4.96.2) (envelope-from ) id 1s2UlU-0000Bm-0D; Thu, 02 May 2024 11:38:16 +0000 Message-ID: <657f402f-3c22-48bb-8102-ab35a74444c1@wizzup.org> Date: Thu, 2 May 2024 13:04:56 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: nl, en-US To: linux-omap Cc: rafael@kernel.org, viresh.kumar@linaro.org, zhipeng.wang_1@nxp.com, Tony Lindgren , Ivaylo Dimitrov , Carl Philipp Klemm , "Sicelo A . Mhlongo" , "linux-kernel@vger.kernel.org" , linux-pm@vger.kernel.org From: Merlijn Wajer Subject: No cpufreq entries with omap2plus_defconfig since "cpufreq: dt-platdev: Support building as module" (commit 3b062a08) Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi, I was looking at switching my Motorola Droid 4 phone from Linux 6.1 to Linux 6.6, and it no longer gets any cpufreq entries on boot, and I found cpufreq_dt was no longer loaded. I tried to force the issue by modprobe it, but to no avail. The same issue occurs on the latest 6.9. After a bit of digging it looks like the problem is that cpufreq-dt-platdev can be built as a module and when this the case (apparently the default), cpufreq_dt doesn't work. With the omap2plus_defconfig, CONFIG_CPUFREQ_DT_PLATDEV is indeed set to module. When I manually probe cpufreq-dt-platdev and cpufreq_dt, I get the cpufreq_entries back. Searching around I found this debian bug report [1] which just flips the CONFIG_CPUFREQ_DT_PLATDEV back to '=y', but I think there might be a deeper issue here. Is there a way to define this relationship/dependency for cpufreq-dt, so that it will automatically load this module? Regards, Merlijn [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1050587