Re: [PATCH v7 02/13] arch/x86: Rename the RDT functions and definitions

2018-11-12 Thread Moger, Babu
On 11/12/18 1:46 PM, Borislav Petkov wrote: > On Mon, Nov 12, 2018 at 07:25:02PM +, Moger, Babu wrote: @@ -637,10 +637,11 @@ int rdt_get_mon_l3_config(struct rdt_resource *r) * * For a 35MB LLC and 56 RMIDs, this is ~1.8% of the LLC. */ - intel_cqm_thresh

Re: [PATCH v7 02/13] arch/x86: Rename the RDT functions and definitions

2018-11-12 Thread Borislav Petkov
On Mon, Nov 12, 2018 at 07:25:02PM +, Moger, Babu wrote: > >> @@ -637,10 +637,11 @@ int rdt_get_mon_l3_config(struct rdt_resource *r) > >> * > >> * For a 35MB LLC and 56 RMIDs, this is ~1.8% of the LLC. > >> */ > >> - intel_cqm_threshold = boot_cpu_data.x86_cache_size * 1024 / r->n

Re: [PATCH v7 02/13] arch/x86: Rename the RDT functions and definitions

2018-11-12 Thread Moger, Babu
Boris, On 11/12/18 11:56 AM, Borislav Petkov wrote: > On Fri, Nov 09, 2018 at 08:52:27PM +, Moger, Babu wrote: >> As AMD is starting to support RDT(or QOS) features, rename >> the RDT functions and definitions to more generic names. >> >> Replace intel_rdt to resctrl where applicable. >> >> Si

Re: [PATCH v7 02/13] arch/x86: Rename the RDT functions and definitions

2018-11-12 Thread Borislav Petkov
On Fri, Nov 09, 2018 at 08:52:27PM +, Moger, Babu wrote: > As AMD is starting to support RDT(or QOS) features, rename > the RDT functions and definitions to more generic names. > > Replace intel_rdt to resctrl where applicable. > > Signed-off-by: Babu Moger > --- > arch/x86/include/asm/resc

[PATCH v7 02/13] arch/x86: Rename the RDT functions and definitions

2018-11-09 Thread Moger, Babu
As AMD is starting to support RDT(or QOS) features, rename the RDT functions and definitions to more generic names. Replace intel_rdt to resctrl where applicable. Signed-off-by: Babu Moger --- arch/x86/include/asm/resctrl_sched.h | 24 arch/x86/kernel/cpu/resctrl.c