|
@@ -2349,6 +2349,12 @@ static int rdtgroup_init_alloc(struct rdtgroup *rdtgrp)
|
|
|
u32 *ctrl;
|
|
|
|
|
|
for_each_alloc_enabled_rdt_resource(r) {
|
|
|
+ /*
|
|
|
+ * Only initialize default allocations for CBM cache
|
|
|
+ * resources
|
|
|
+ */
|
|
|
+ if (r->rid == RDT_RESOURCE_MBA)
|
|
|
+ continue;
|
|
|
list_for_each_entry(d, &r->domains, list) {
|
|
|
d->have_new_ctrl = false;
|
|
|
d->new_ctrl = r->cache.shareable_bits;
|
|
@@ -2386,6 +2392,12 @@ static int rdtgroup_init_alloc(struct rdtgroup *rdtgrp)
|
|
|
}
|
|
|
|
|
|
for_each_alloc_enabled_rdt_resource(r) {
|
|
|
+ /*
|
|
|
+ * Only initialize default allocations for CBM cache
|
|
|
+ * resources
|
|
|
+ */
|
|
|
+ if (r->rid == RDT_RESOURCE_MBA)
|
|
|
+ continue;
|
|
|
ret = update_domains(r, rdtgrp->closid);
|
|
|
if (ret < 0) {
|
|
|
rdt_last_cmd_puts("failed to initialize allocations\n");
|