Re: [PATCH] x86/intel_rdt: Classify /proc/cpuinfo flag bits and add missing bits in documentation

From: Fenghua Yu
Date: Sun Dec 10 2017 - 20:25:36 EST


On Sat, Dec 09, 2017 at 10:58:01PM +0100, Brice Goglin wrote:
> Le 09/12/2017 à 01:25, Fenghua Yu a écrit :
> > From: Fenghua Yu <fenghua.yu@xxxxxxxxx>
> >
> > With more flag bits in /proc/cpuinfo for RDT, it's better to classify the
> > bits for readability.
> >
> > Some previously missing bits are added as well.
> >
> > Signed-off-by: Fenghua Yu <fenghua.yu@xxxxxxxxx>
> > ---
> > Documentation/x86/intel_rdt_ui.txt | 7 ++++++-
> > 1 file changed, 6 insertions(+), 1 deletion(-)
> >
> > diff --git a/Documentation/x86/intel_rdt_ui.txt b/Documentation/x86/intel_rdt_ui.txt
> > index 6851854..9b62738 100644
> > --- a/Documentation/x86/intel_rdt_ui.txt
> > +++ b/Documentation/x86/intel_rdt_ui.txt
> > @@ -7,7 +7,12 @@ Tony Luck <tony.luck@xxxxxxxxx>
> > Vikas Shivappa <vikas.shivappa@xxxxxxxxx>
> >
> > This feature is enabled by the CONFIG_INTEL_RDT Kconfig and the
> > -X86 /proc/cpuinfo flag bits "rdt", "cqm", "cat_l3" and "cdp_l3".
> > +X86 /proc/cpuinfo flag bits:
> > +RDT (Resource Director Technology) Allocation - "rdt_a"
> > +CAT (Cache Allocation Technology) - "cat_l3", "cdp_l3", "cat_l2"
>
> Why not "Code and Data Prioritization" for cdp_l3?

CDP is an extension of CAT. So I just put cdp_l3 into the CAT class.

Thanks.

-Fenghua