From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.180.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794931401; b=nMZiZ+VER+CaxTq+Wwn47FSHF+HjKqnBsm7SYfLN7amKpdNg9ArajBgSNJrS6+buWdJ/ fT0ru3mU8EjHyEMSCahz2ykV++95/J17kZGd69MGSUnVcwxzTasfqNNdp9hCfpCw3/DeN dHI+VKtvZ7wlAK1eBUVqs91V5NPWtB77M0p2NSSPXdgql4YSm/LJD/k3/nIm6AU0D82Jy +YvtuoYvJX+MbqHgZffTn/B1TolhZs91UQ3H+Su/d2eiQa1RKDca37AXWX/sFEtKllmD0 K2qFOX8oAHV2JRF4QOXtWOCzulh3uk2zo5mS/sMl6MIZKdLVdDnz1kA8t8qClcPyMng== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794931401; h=DMARC-Filter:Received:DKIM-Signature:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:X-Gm-Gg:X-Received:X-Received:Received:Message-ID: Date:MIME-Version:User-Agent:Subject:To:Cc:References: Content-Language:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:X-Proofpoint-Spam-Info: X-Proofpoint-ORIG-GUID:X-Proofpoint-Spam-Details-Enc: X-Proofpoint-GUID:X-Authority-Analysis:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=K44g9D+a319XGB4PD7ytYAYG94h2IajymOEoYGpnvQY=; b=S5Yg5CNzPJWah5cSOkiykDB5GB3dXZsZtwsizkFtI2FU7G3w6ggS88OPu9brINbQkWyo nrqzOZBEzweI5qbbLM4hOU7T2Qb1r1AaBfDJGjiSrFltEr3HivTmFGzO8FqpUEy57x3ZV Q0w+caAqsvH33VSNGtg6d1AY8GwerUvSWjEqScRYzZFytPYuNNvr2iafM98fBjRxWMv96 gw7IcxlOWN0qEvXc40DFbpvqRsOOOoQwW63eU+l1s6vXAakGcp/jGcEUY4hxaYZ1JsZDb nphVv8Em3ucWnZM34a9kUhEoQWX7572A4p66wDanKD97ORWJv+V01CC98VBrrjOZxZQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=DjH7rE7r; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=ciYjquy3; arc=none smtp.remote-ip=205.220.180.131 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (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 C2A37606A333 for ; Tue, 17 Nov 2026 16:03:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C2A37606A333 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=DjH7rE7r; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=ciYjquy3 Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6AHFQp5Z1663350 for ; Tue, 17 Nov 2026 16:03:19 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= K44g9D+a319XGB4PD7ytYAYG94h2IajymOEoYGpnvQY=; b=DjH7rE7rXPUt1HX/ wnWqhTKgUG6zzAcP2cdBB7rOkK0/+hINtf+imirMNoaJtRDUnJ6GJb7GyFaOpjIO DR+JPWNr/nHrNC8SnvdajhhbziVtD9nfokhUnKeKZ9Pm1LN4OVc+GAm2ejBf0BrK G/KE3JbWvMOWvCtl4BJrotWwIw7RRQCqd8RUY3cQ2ak0kTF/07bgIpx+yTqlXtyC ZLCXpZP/09lMbCe5ZBtHOgfzf1eeYWqfJXAtktIOGUaVa4wj9hlUpi4sPRFsj5Vl tTsiOUuNbGvZnZqnlL0NZtgOauxcjfa8LEYVvD83+GRsYMf0S+N4STCQB6yuRuUQ o+xvvg== Received: from mail-vs1-f70.google.com (mail-vs1-f70.google.com [209.85.217.70]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4j0kcc9u7v-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 17 Nov 2026 16:03:18 +0000 (GMT) Received: by mail-vs1-f70.google.com with SMTP id ada2fe7eead31-7cc06b9ca9eso270998137.0 for ; Tue, 17 Nov 2026 08:03:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1794931393; x=1795536193; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=K44g9D+a319XGB4PD7ytYAYG94h2IajymOEoYGpnvQY=; b=ciYjquy3mKYpLBVYOeTMAYxKZKY6SRXCfL/ZSMmqwB7SPFgttRv3pq9U7tXw+tc5Er IZRye7Ac27Iymk8RRwprZq3ML4zcbdlBHgXDlqKURd3F3APYAGHTqsstP+U+qFHLFtK3 wWPk/Kh3/6tbc/mQNNmdyOedmc7lbjJ45dGtVxiDZTltfw2tAEnEKIBt9TQGfMM+75Uo rYMkgeYAgWCBEWRStnRbB5fCp6WfywXdGHxPdhIr70vVblZ/G0zjL61XA92zb/so+INV yLMELCp4OGyEZx84qoG0VnQcrJs4ag1ZqNmngV6P7o9oVg70AACd3hi77HSY8w0eojp3 ySGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1794931393; x=1795536193; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=K44g9D+a319XGB4PD7ytYAYG94h2IajymOEoYGpnvQY=; b=iUrZdDGztJFCeGQFd92XUmDFfge/a9HiJQOjKayZcp3g8gh8CDEr7tEEPI50XiX3Sp IcOCoJK2sE+zmkpGzbsXi9LpRcJLzWLBKWwm95vR15ygsSXPk3zOdMW5Y2fGpEP9xgkZ 07iZwgQujU6VWx3/rWysqwrOKl7otfwRSADW0jCJD+zqngH/TDeSphPD92hKcQjmP1UR Ley/gczPfv8gy8OnU2I2yeMWaLKt6UzxzQq8UBxz1Hm83X5zh7i/eZKp/JrW6hQxUKUu 2f7z10p+dTdTCHybNRYVS58PgcE4pXfO+eNNbvrP1mDjK1E1iDKNBHDJd2ctuOOJEsa5 /k2A== X-Forwarded-Encrypted: i=1; AL+hErFnYx5wyqY5ELmg8TxlTY/0sqiODIOkiJsjHZwq8al/iXRAdomaeT57joPCU0Yt39zjvb5hSlQVUSupWpM=@vger.kernel.org X-Gm-Message-State: APuU4Z/oPu0ujVawdO+RjmWw9vKOCt9Lnk7sPWDhrIkrGlTcResco961 CeWtjc2kvHRJ1slq3CLhePWEINZFD1DmTO8A+hw0ZzmH4H/ij8waQZCp+Y/NV0WofGdnjcNeUgE 4YQAqPSU562fY9csAbe83x8KFIjsj/p4Ws4wX+bRb1RcYynqXaHCwqrmEJ3KGxzqSi/Y= X-Gm-Gg: AYBFou2Lb0PNIS87WKIv/YSItuVyiCWnQtNJZ5deQXLgIg7B12BtQQFQpnVKzqsFHy5 /fRiu3nCkIJE4hgIpVVk6Q5dSdtVzgTbIazeHm4eFZe6fHRWlDRDqGK/Pr5bTI/XjntPw9O8/3S aacw99FdGR+e5MG/NFrcYxr6RahzYIHQSnUCQzbgJjtrJaZC9fUgFd6tFmR7PQd4P+lrGQYBix2 +5wZ1+NeSyzd8/cIQtpeZHBcp3AFOl6vpWATvsvaayfC+JjDJhmfZBVtKN2PYDvXV0gM4i5rQSP Y9CIxyED6dvfH8bh7Czi4GTf4TXxH8WmOop2Pev+KC9oV/hrm2og1lWsbymM+nb4INX8sD0JtKU sZFuoUWNi28e2uBreHExcL0EtjPj1opNLTeFks/kDx6vtZheN4w3OJgcZ1nZCwnSNhWnZuuib/p pDwnW27rrI75TfVpCoDz3shiBoC2moN6aFagh/iA== X-Received: by 2002:a67:e7cc:0:b0:7cc:33c9:b3d2 with SMTP id ada2fe7eead31-7d64d84039emr4314640137.25.1794931392766; Tue, 17 Nov 2026 08:03:12 -0800 (PST) X-Received: by 2002:a67:e7cc:0:b0:7cc:33c9:b3d2 with SMTP id ada2fe7eead31-7d64d84039emr4314573137.25.1794931392102; Tue, 17 Nov 2026 08:03:12 -0800 (PST) Received: from ?IPV6:2a0d:e487:16f:e583:d991:ba24:64f2:e39e? ([2a0d:e487:16f:e583:d991:ba24:64f2:e39e]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4bb78422d2dsm111459425e9.10.2026.11.17.08.03.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 17 Nov 2026 08:03:10 -0800 (PST) Message-ID: <0de1444a-a0ba-4e16-a480-74a39c865ab6@oss.qualcomm.com> Date: Tue, 17 Nov 2026 17:03:05 +0100 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 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 1/4] platform profile: Extract the core from ACPI To: Geert Uytterhoeven Cc: rafael@kernel.org, Len Brown , Jonathan Corbet , Shuah Khan , Randy Dunlap , Viresh Kumar , Hans de Goede , =?UTF-8?Q?Ilpo_J=C3=A4rvinen?= , Maximilian Luz , Shyam Sundar S K , Mark Pearson , "Derek J. Clark" , Daniel Lezcano , Zhang Rui , Lukasz Luba , Armin Wolf , Jai Luthra , Greg Kroah-Hartman , Jack Wu , "Mario Limonciello (AMD)" , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-pm@vger.kernel.org, platform-driver-x86@vger.kernel.org References: <20261024223501.1420953-1-daniel.lezcano@oss.qualcomm.com> <20261024223501.1420953-2-daniel.lezcano@oss.qualcomm.com> Content-Language: en-US From: Daniel Lezcano In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Info: AW1haW4tMjYxMTE3MDA2MyBTYWx0ZWRfX4uIeDAmDokqn vfVe5IgTtKn/jd0E74PikhM5+r5ACbd5IjlXrUX2AEzZjopcnoA8iKxUg2MqI3CIKKRSBPw4GjO 4/el/YlXstrdfvMtIt8VPTWAW1+ysaQ= X-Proofpoint-ORIG-GUID: _34sRBALJiY4gxLcwUIJkViaU7x-x2pl X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTE3MDA2MyBTYWx0ZWRfXxRPg+dmLuMTV 7TB63+xY47pxqVvQRvr1dcSz6PVeDlyWN7JXPKnSaMHGS+ee0niPpcnwpYjMa+38IBIiWLkKXJA UZ7Fcv+V46MIpdlxYkwH+237TUmnD2WThe91pqDduOWex/hqnVzx0XP7uk5qMiHtHZHG1XaEjVQ gWjXIczhqvKSLA5xVYW+ZlhhMbh6BZa/oX7yuSnhlPkWs+cuES5kEBfVN1PYEZNvkpNeA8I3hop rFZhHIThc+izn/E0yabHp2iPATLWjZ6BySRRy36LkF0bZNBK+9vDgrt2O4Itd3OtURjb1wK38iF zwHoeRUm9LcVDWaLf5jowq554C8E9gPeuiTg0M2SUF4AO0W4B91VvLcGKCn0ReXtKdz8mj3Ljvm Vi9/p1LOZNXL9HeuKZG3SPYC5ljap1GRjbJpuQfhM63V//FGD/jUZPd6VNJ5djR/BAfIWQlpyHJ jKvo7p4/W2kjnT0RjSw== X-Proofpoint-GUID: _34sRBALJiY4gxLcwUIJkViaU7x-x2pl X-Authority-Analysis: v=2.4 cv=ZP1CCn7b c=1 sm=1 tr=0 ts=6afc7ac6 cx=c_pps a=N1BjEkVkxJi3uNfLdpvX3g==:117 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=zJRp6_cAMcgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_glEPmIy2e8OvE2BGh3C:22 a=EUspDBNiAAAA:8 a=XpNdnCcgRucV5c9rQ-UA:9 a=QEXdDO2ut3YA:10 a=crWF4MFLhNY0qMRaF8an:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-11-17_03,2026-11-16_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 lowpriorityscore=0 impostorscore=0 spamscore=0 bulkscore=0 adultscore=0 malwarescore=0 clxscore=1015 phishscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2611170063 Hi Geert, On 11/17/26 12:48, Geert Uytterhoeven wrote: > Hi Daniel, > > On Sun, 25 Oct 2026 at 00:56, Daniel Lezcano > wrote: >> Platform profile providers already use device-based callbacks and do not >> need ACPI types. The core is nevertheless confined to the ACPI build and >> refuses to initialize when ACPI is disabled. >> >> Move the implementation to drivers/platform/profile and introduce the >> firmware-independent PLATFORM_PROFILE symbol. Update all provider >> selectors. Keep provider-specific ACPI dependencies and the >> platform_profile module name. >> >> Isolate access to the legacy ACPI kobject in an optional compatibility >> object linked into the same module. Retain the legacy ABI on active ACPI >> systems, and initialize the class even when ACPI is absent or disabled. >> >> Use subsys_initcall_sync so the class is ready before built-in thermal >> and CPUFreq providers, but after ACPI has initialized its compatibility >> kobject. >> >> Signed-off-by: Daniel Lezcano > > Thanks for your patch, which is now commit 699041135f75b13a > ("platform profile: Extract the core from ACPI") in pm/linux-next/ > >> --- a/drivers/platform/Kconfig >> +++ b/drivers/platform/Kconfig >> @@ -1,4 +1,20 @@ >> # SPDX-License-Identifier: GPL-2.0-only >> +config PLATFORM_PROFILE >> + tristate "Platform profile support" > > I guess this can be invisible (perhaps "... if COMPILE_TEST"?), as > you have updated all provider selectors? > > If not, I guess this needs a "depend on X86 || COMPILE_TEST", so people > configuring kernels for different architectures do not see this option? The goal of this series is to make the platform profile firmware agnostic so it is available for all architectures