* [PATCH] platform profile: Restrict the core prompt to COMPILE_TEST
@ 2026-11-18 11:02 Daniel Lezcano
2026-11-18 14:33 ` Mario Limonciello
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Daniel Lezcano @ 2026-11-18 11:02 UTC (permalink / raw)
To: rafael
Cc: Geert Uytterhoeven, Rafael J. Wysocki, Mark Pearson,
Mario Limonciello (AMD), open list
All platform profile providers select PLATFORM_PROFILE, so users do not
need to enable the core explicitly.
Only show its prompt when COMPILE_TEST is enabled. This avoids exposing
the option in normal configurations while allowing the architecture-independent
core to be build-tested without a provider.
Suggested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@oss.qualcomm.com>
---
drivers/platform/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/platform/Kconfig b/drivers/platform/Kconfig
index 7270f24a3b6e..1cf87904afc3 100644
--- a/drivers/platform/Kconfig
+++ b/drivers/platform/Kconfig
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-only
config PLATFORM_PROFILE
- tristate "Platform profile support"
+ tristate "Platform profile support" if COMPILE_TEST
help
Provide a common sysfs interface for selecting platform power,
performance and cooling profiles. Platform-specific provider drivers
--
2.43.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] platform profile: Restrict the core prompt to COMPILE_TEST
2026-11-18 11:02 [PATCH] platform profile: Restrict the core prompt to COMPILE_TEST Daniel Lezcano
@ 2026-11-18 14:33 ` Mario Limonciello
2026-11-18 15:43 ` Mark Pearson
2026-11-18 15:58 ` Rafael J. Wysocki (Intel)
2 siblings, 0 replies; 4+ messages in thread
From: Mario Limonciello @ 2026-11-18 14:33 UTC (permalink / raw)
To: Daniel Lezcano, rafael
Cc: Geert Uytterhoeven, Rafael J. Wysocki, Mark Pearson, open list
On 11/18/26 05:02, Daniel Lezcano wrote:
> All platform profile providers select PLATFORM_PROFILE, so users do not
> need to enable the core explicitly.
>
> Only show its prompt when COMPILE_TEST is enabled. This avoids exposing
> the option in normal configurations while allowing the architecture-independent
> core to be build-tested without a provider.
>
> Suggested-by: Geert Uytterhoeven <geert@linux-m68k.org>
> Signed-off-by: Daniel Lezcano <daniel.lezcano@oss.qualcomm.com>
> ---
> drivers/platform/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/platform/Kconfig b/drivers/platform/Kconfig
> index 7270f24a3b6e..1cf87904afc3 100644
> --- a/drivers/platform/Kconfig
> +++ b/drivers/platform/Kconfig
> @@ -1,6 +1,6 @@
> # SPDX-License-Identifier: GPL-2.0-only
> config PLATFORM_PROFILE
> - tristate "Platform profile support"
> + tristate "Platform profile support" if COMPILE_TEST
> help
> Provide a common sysfs interface for selecting platform power,
> performance and cooling profiles. Platform-specific provider drivers
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] platform profile: Restrict the core prompt to COMPILE_TEST
2026-11-18 11:02 [PATCH] platform profile: Restrict the core prompt to COMPILE_TEST Daniel Lezcano
2026-11-18 14:33 ` Mario Limonciello
@ 2026-11-18 15:43 ` Mark Pearson
2026-11-18 15:58 ` Rafael J. Wysocki (Intel)
2 siblings, 0 replies; 4+ messages in thread
From: Mark Pearson @ 2026-11-18 15:43 UTC (permalink / raw)
To: Daniel Lezcano, Rafael J. Wysocki
Cc: Geert Uytterhoeven, Rafael J Wysocki, Mario Limonciello,
open list
On Wed, Nov 18, 2026, at 6:02 AM, Daniel Lezcano wrote:
> All platform profile providers select PLATFORM_PROFILE, so users do not
> need to enable the core explicitly.
>
> Only show its prompt when COMPILE_TEST is enabled. This avoids exposing
> the option in normal configurations while allowing the architecture-independent
> core to be build-tested without a provider.
>
> Suggested-by: Geert Uytterhoeven <geert@linux-m68k.org>
> Signed-off-by: Daniel Lezcano <daniel.lezcano@oss.qualcomm.com>
> ---
> drivers/platform/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/platform/Kconfig b/drivers/platform/Kconfig
> index 7270f24a3b6e..1cf87904afc3 100644
> --- a/drivers/platform/Kconfig
> +++ b/drivers/platform/Kconfig
> @@ -1,6 +1,6 @@
> # SPDX-License-Identifier: GPL-2.0-only
> config PLATFORM_PROFILE
> - tristate "Platform profile support"
> + tristate "Platform profile support" if COMPILE_TEST
> help
> Provide a common sysfs interface for selecting platform power,
> performance and cooling profiles. Platform-specific provider drivers
> --
> 2.43.0
Looks good to me
Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Mark
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] platform profile: Restrict the core prompt to COMPILE_TEST
2026-11-18 11:02 [PATCH] platform profile: Restrict the core prompt to COMPILE_TEST Daniel Lezcano
2026-11-18 14:33 ` Mario Limonciello
2026-11-18 15:43 ` Mark Pearson
@ 2026-11-18 15:58 ` Rafael J. Wysocki (Intel)
2 siblings, 0 replies; 4+ messages in thread
From: Rafael J. Wysocki (Intel) @ 2026-11-18 15:58 UTC (permalink / raw)
To: Daniel Lezcano
Cc: rafael, Geert Uytterhoeven, Rafael J. Wysocki, Mark Pearson,
Mario Limonciello (AMD), open list
On Wed, Nov 18, 2026 at 12:03 PM Daniel Lezcano
<daniel.lezcano@oss.qualcomm.com> wrote:
>
> All platform profile providers select PLATFORM_PROFILE, so users do not
> need to enable the core explicitly.
>
> Only show its prompt when COMPILE_TEST is enabled. This avoids exposing
> the option in normal configurations while allowing the architecture-independent
> core to be build-tested without a provider.
>
> Suggested-by: Geert Uytterhoeven <geert@linux-m68k.org>
> Signed-off-by: Daniel Lezcano <daniel.lezcano@oss.qualcomm.com>
> ---
> drivers/platform/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/platform/Kconfig b/drivers/platform/Kconfig
> index 7270f24a3b6e..1cf87904afc3 100644
> --- a/drivers/platform/Kconfig
> +++ b/drivers/platform/Kconfig
> @@ -1,6 +1,6 @@
> # SPDX-License-Identifier: GPL-2.0-only
> config PLATFORM_PROFILE
> - tristate "Platform profile support"
> + tristate "Platform profile support" if COMPILE_TEST
> help
> Provide a common sysfs interface for selecting platform power,
> performance and cooling profiles. Platform-specific provider drivers
> --
No CC to linux-acpi.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-11-18 15:58 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-18 11:02 [PATCH] platform profile: Restrict the core prompt to COMPILE_TEST Daniel Lezcano
2026-11-18 14:33 ` Mario Limonciello
2026-11-18 15:43 ` Mark Pearson
2026-11-18 15:58 ` Rafael J. Wysocki (Intel)
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.