Re: [PATCH v5 04/10] x86/resctrl: Attach ACPI ERDT information to L3 mon domain on CPU online

From: Chen, Yu C

Date: Tue Jul 14 2026 - 12:25:14 EST


Hi Reinette,

On 7/15/2026 12:13 AM, Reinette Chatre wrote:
Hi Chenyu,

[ ... ]

+     * erdt_domain_info reports that CPU{0,2} are in domain0,
+     * CPU{1,3} are in domain1. So when it comes to CPU1,
+     * a mismatch is detected, we should remove CPU1 from
+     * resctrl.

CPU1 and CPU2?


I think it should be CPU1 and CPU3 that will be removed from resctrl -
because the first CPU of the hw_dom->cpumask will not find a mismatch per
your description previously.

I expected that only the CPUs CPUID and ACPI disagree on will be removed?
In the example CPUID and ACPI agree on which domain CPU0 and CPU3 belongs to
while they disagree on which domain CPU1 and CPU2 belongs to.


Got it. After switching to "check-before-add-to-cpumask", CPU1 and CPU2 will be
filtered out. I'll adjust the code.

thanks,
Chenyu