]> git.ipfire.org Git - thirdparty/kernel/linux.git/blobdiff - arch/x86/kernel/cpu/resctrl/rdtgroup.c
Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[thirdparty/kernel/linux.git] / arch / x86 / kernel / cpu / resctrl / rdtgroup.c
index 2f48f208f7e29eb7152e73f4351eaa449dbc39f5..2131b8bbaad7d5bc38975d792ff2b96abda6312e 100644 (file)
@@ -2534,7 +2534,12 @@ static int __init_one_rdt_domain(struct rdt_domain *d, struct rdt_resource *r,
                if (closid_allocated(i) && i != closid) {
                        mode = rdtgroup_mode_by_closid(i);
                        if (mode == RDT_MODE_PSEUDO_LOCKSETUP)
-                               break;
+                               /*
+                                * ctrl values for locksetup aren't relevant
+                                * until the schemata is written, and the mode
+                                * becomes RDT_MODE_PSEUDO_LOCKED.
+                                */
+                               continue;
                        /*
                         * If CDP is active include peer domain's
                         * usage to ensure there is no overlap