Re: [PATCH 4/9] x86/intel_rdt: Fix invalid mode warning when

2018-09-15 Thread Thomas Gleixner
On Fri, 14 Sep 2018, Fenghua Yu wrote: > If information for a cache instance with more CLOSIDs than another is > being generated we thus encounter a warning like: > > [ 130.010591] [ cut here ] > [ 130.016680] invalid mode for closid 8 > [ 130.021791] WARNING: CPU: 88 PI

Re: [PATCH 4/9] x86/intel_rdt: Fix invalid mode warning when

2018-09-14 Thread Reinette Chatre
On 9/14/2018 9:36 PM, Reinette Chatre wrote: > On 9/14/2018 1:32 PM, Fenghua Yu wrote: >> From: Reinette Chatre >> >> multiple resources are managed > > The above snippet is redundant. We can remove it in the next version. Apologies, I responded too fast. The subject intended to read: x86/intel_

Re: [PATCH 4/9] x86/intel_rdt: Fix invalid mode warning when

2018-09-14 Thread Reinette Chatre
On 9/14/2018 1:32 PM, Fenghua Yu wrote: > From: Reinette Chatre > > multiple resources are managed The above snippet is redundant. We can remove it in the next version. Reinette

[PATCH 4/9] x86/intel_rdt: Fix invalid mode warning when

2018-09-14 Thread Fenghua Yu
From: Reinette Chatre multiple resources are managed When multiple resources are managed by RDT, the number of CLOSIDs used is the minimum of the CLOSIDs supported by each resource. In the function rdt_bit_usage_show(), the annotated bitmask is created to depict how the CAT supporting caches are