From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 101511B412C for ; Thu, 5 Dec 2024 22:35:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733438131; cv=none; b=N7LP/DoYoNiROrv4eBtf+y1QugebD7MavzXFObAGra2o2aiUvnRQFDDS0VUhduMBlVBinefyB7LGCWKfJ+7GV53EQ4hFVb3y20xQp7iy9c4vbAu5TyY5Y5V0LbpdfSKW5tNCHg7+XKHylwSypyBF7KyuvZd7EWVflJe8kYOLraU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733438131; c=relaxed/simple; bh=2NOL9msOvgRoeaBxY0bns+dpAJnTLo16D65qGElnkpQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=pn/4hi5JdHI6duRk0zS+Gt+9uEjxx34Mrbs2leAV/YlmWnW15t++0mJZ8qnWsLxPouy4qKzBHLqSkhHwgRs0QSIB/DBzKAILGgIqYXfe0P9y9jblM2jG9POzRMdCbzz2Bm4jEFrX3IOgTYCw0MjcZnAC3+SwIjseUhtyM/RI01s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=baylibre.com; arc=none smtp.client-ip=209.85.210.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-724ffe64923so1681669b3a.2 for ; Thu, 05 Dec 2024 14:35:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733438129; x=1734042929; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=mtEYOiTLjn6+EkNb1gp+QTu4LUIf3CrgnNhL4DA6X8E=; b=QtfanWnXCaAVLW633RFlCGhr5VUrLt6xWx26j/NpwQI+pqx0saWQ8JrruswpM0UtLq FGd8RbbeHstiTJ7Bfjpx9qYb6MnrNLrkOdjgE8yBCwygsUYlwdvU5JC25eL0iuMbD9pR qvIj70Bxpf2bnvg4WiKEskpwjI2XoPrCTKyg39GIjqdZLBMwRucmKUJLco26bQUPBdDv /pn7akqOPLsR+6x8Dnokf0+Q+t4rHF2ULuvcAqS4hlyWU9tK798XjyMtyY7hLewQOoNM XHx/ge7zu8cwOPWxmUCLplDIm+W3nOkZGA5B3GgGo+13n97F9ujzGTG034Psk0lG5EXn fToQ== X-Forwarded-Encrypted: i=1; AJvYcCWt+x1SbqG4KBLpIRaCjzrlrAZhjPhikABzc4pdvEZH4wTOZbTlJmCw3LU0/qnxl8PqcgTR3URseg==@vger.kernel.org X-Gm-Message-State: AOJu0Yx6SGJ9pFK1yiWAtKq2iDJ9JkXG2bv+/RIrgFcm24NbmV4irpVD 6F8Z9DlMqpBb3iFhh7dCniJv6nb26UcHYq+Bfonb1Ndw6KEe7lV7aj8HszjWCpqp6Kh4Ip+CzWE LK9Q= X-Gm-Gg: ASbGncu1yK8hV5KcY47l6haMblvfy8xeIj04p3RxRt4LXJ3jrIp2cDWzaTAL/DXzS+C r7zGusyVQ2e+Of9Eh9JDXREJmAHWdeDiiHdVcrtCL85epmIIAbvwQTC5rm/YlaVV5wRsmwqDVQm L9TSldAYaAwsyDU2Q7Px7+W7rG6DZGvh10YTkD+EfPRwD1EJwI1GCI7Zq/NmXl0Mei/Sxcy008v dyT+JCF7k5ssFHTwAG+A8qYnhnlX1MSEiPiRd/qfEeIeo9F X-Google-Smtp-Source: AGHT+IGb+Gho/439wgyLRKr7+nVR6NWlx9kr/iI53YBtIOzs5C+yxoRN0cNAmYC6YxSr9ZD94jwklw== X-Received: by 2002:a17:90b:5448:b0:2ef:2d9f:8e58 with SMTP id 98e67ed59e1d1-2ef6ab29c49mr1173721a91.34.1733438129083; Thu, 05 Dec 2024 14:35:29 -0800 (PST) Received: from localhost ([97.126.182.119]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2ef26ff844csm3801590a91.8.2024.12.05.14.35.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Dec 2024 14:35:28 -0800 (PST) From: Kevin Hilman To: Viresh Kumar , Andreas Kemnade Cc: rafael@kernel.org, zhipeng.wang_1@nxp.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH] cpufreq: fix using cpufreq-dt as module In-Reply-To: <20241125051302.6tmaog2ksfpk5m6u@vireshk-i7> References: <20241103210251.762050-1-andreas@kemnade.info> <7httcmonip.fsf@baylibre.com> <20241104201424.2a42efdd@akair> <20241125051302.6tmaog2ksfpk5m6u@vireshk-i7> Date: Thu, 05 Dec 2024 14:35:28 -0800 Message-ID: <7hplm5hi6n.fsf@baylibre.com> Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Viresh Kumar writes: > On 04-11-24, 20:14, Andreas Kemnade wrote: >> no clear idea how. What aliases should I add? The cpufreq-dt-platdev is >> not a real driver, so I could not create mod_devicetable aliases to >> match a given device. It constructs a device under certain conditions >> depending on the board compatible, so no simple list of compatibles, it >> contains allow and blocklists. >> >> cpufreq-dt then binds to that device and that one can be built as a >> module (which then made cpufreq-dt-platdev also a module, causing the >> trouble). I do not see any benefit from having cpufreq-dt-platdev as a >> module. ti-cpufreq has a similar role and is also just builtin. >> It does itself no real work but provides a device cpufreq-dt then binds >> to. >> >> Handling module removal would probably need to be added and tested. I >> feel not comfortable having such as a regression fix and for stable. > > Applied this patch for now (with some changes to commit log), as there is no > clean way to fix this for now. Got reports from other folks too about it. Oops, I thought I had replied to this earlier after detailed explanation from Andreas, but I guess I didn't. Thanks for applying. Kevin