Hi Babu, On 8/22/2022 6:43 AM, Babu Moger wrote: > Adds a new resource type RDT_RESOURCE_SMBA to handle the QoS > enforcement policies on the external slow memory. > > Signed-off-by: Babu Moger <babu.moger@xxxxxxx> > Reviewed-by: Ingo Molnar <mingo@xxxxxxxxxx> > --- > arch/x86/kernel/cpu/resctrl/core.c | 12 ++++++++++++ > arch/x86/kernel/cpu/resctrl/internal.h | 1 + > 2 files changed, 13 insertions(+) > > diff --git a/arch/x86/kernel/cpu/resctrl/core.c b/arch/x86/kernel/cpu/resctrl/core.c > index a5c51a14fbce..6c38427b71a2 100644 > --- a/arch/x86/kernel/cpu/resctrl/core.c > +++ b/arch/x86/kernel/cpu/resctrl/core.c > @@ -100,6 +100,18 @@ struct rdt_hw_resource rdt_resources_all[] = { > .fflags = RFTYPE_RES_MB, > }, > }, > + [RDT_RESOURCE_SMBA] = > + { > + .r_resctrl = { > + .rid = RDT_RESOURCE_SMBA, > + .name = "SB", This name seems very cryptic to me. I do not know how you picked this name but thought it worth mentioning that names need not be limited to two characters. There is already support to ensure fields are lined up (see "max_name_width") in support of the longer "L2CODE", "L2DATA", "L3CODE", and "L3DATA" resource names. Reinette