Re: [PATCH v7 24/31] x86/resctrl: Add energy/perf choices to rdt boot option
From: Reinette Chatre
Date: Fri Jul 25 2025 - 19:46:46 EST
Hi Tony,
On 7/11/25 4:53 PM, Tony Luck wrote:
> #define NUM_RDT_OPTIONS ARRAY_SIZE(rdt_options)
>
> @@ -865,6 +869,32 @@ bool rdt_cpu_has(int flag)
> return ret;
> }
>
> +/*
> + * Hardware features that do not have X86_FEATURE_* bits.
> + * There is no "hardware does not support this at all" case.
> + * Assume that the caller has already determined that
> + * support is present and just needs to check if the option has been
nit: "that support is present" -> "that hardware support is present"
option -> feature?
> + * disabled by a quirk that has not been overridden by a command
> + * line option.
> + */
Reinette