Re: [PATCH v10 04/12] x86/resctrl: Detect Sub-NUMA Cluster mode before enumerating resources
From: Chen Yu
Date: Thu Nov 26 2026 - 09:28:59 EST
On Wed, Nov 25, 2026 at 11:01:42AM -0800, Reinette Chatre wrote:
> Hi Chenyu,
>
> On 11/5/26 2:08 AM, Chen Yu wrote:
> > The Sub-NUMA Cluster (SNC) configuration is currently detected only while
> > setting up L3 monitoring, so it is unknown to code that runs earlier during
> > resctrl initialization. Upcoming Enhanced RDT (ERDT) support needs to know
> > whether SNC is enabled while parsing its ACPI table, before the monitoring
> > resources are set up.
> >
> > Detect SNC once at the start of resource enumeration so that its configuration
> > is available to all of resctrl initialization. SNC is now also detected on
> > systems without L3 monitoring, which is harmless because only monitoring
> > depends on the SNC configuration.
> >
> > Suggested-by: Tony Luck <tony.luck@xxxxxxxxx>
> > Suggested-by: Reinette Chatre <reinette.chatre@xxxxxxxxx>
> > Signed-off-by: Chen Yu <yu.c.chen@xxxxxxxxx>
> > Tested-by: Hongyu Ning <hongyu.ning@xxxxxxxxxxxxxxx>
> > ---
>
> Thank you.
>
> Reviewed-by: Reinette Chatre <reinette.chatre@xxxxxxxxx>
>
Thanks!
Chenyu
> Reinette
>