[RFC PATCH v2 09/11] x86/resctrl: Accept asymmetric RDT allocation features

From: Tony Luck

Date: Tue Nov 03 2026 - 16:29:50 EST


Some systems expose asymmetric allocation features without setting the
X86_FEATURE_RDT_A bit for symmetric allocation.

Allow resctrl to probe allocation resources when either the symmetric or
asymmetric allocation feature is enabled.

Signed-off-by: Tony Luck <tony.luck@xxxxxxxxx>
---
arch/x86/kernel/cpu/resctrl/core.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/x86/kernel/cpu/resctrl/core.c b/arch/x86/kernel/cpu/resctrl/core.c
index 197d50b795bc..aa0bb32d191e 100644
--- a/arch/x86/kernel/cpu/resctrl/core.c
+++ b/arch/x86/kernel/cpu/resctrl/core.c
@@ -1063,7 +1063,8 @@ static __init bool get_rdt_alloc_resources(void)
if (rdt_alloc_capable)
return true;

- if (!cpu_feature_enabled(X86_FEATURE_RDT_A))
+ if (!cpu_feature_enabled(X86_FEATURE_RDT_A) &&
+ !cpu_feature_enabled(X86_FEATURE_RDT_A_ASYM))
return false;

if (rdt_cpu_has(X86_FEATURE_CAT_L3)) {
--
2.56.0