Re: [PATCH V2 1/25] x86/cpufeatures: Enumerate Intel Hybrid Technology feature bit

2021-03-10 Thread Srinivas Pandruvada
On Wed, 2021-03-10 at 14:25 -0800, Ricardo Neri wrote: > On Wed, Mar 10, 2021 at 09:01:47PM +0100, Borislav Petkov wrote: > > On Wed, Mar 10, 2021 at 11:46:44AM -0800, Ricardo Neri wrote: > > > But this series provides the use case, right? Kan's patches > > > handle PMU counters > > > that may

Re: [PATCH V2 1/25] x86/cpufeatures: Enumerate Intel Hybrid Technology feature bit

2021-03-10 Thread Liang, Kan
On 3/10/2021 5:25 PM, Ricardo Neri wrote: On Wed, Mar 10, 2021 at 09:01:47PM +0100, Borislav Petkov wrote: On Wed, Mar 10, 2021 at 11:46:44AM -0800, Ricardo Neri wrote: But this series provides the use case, right? Kan's patches handle PMU counters that may differ cross types of CPUs. In

Re: [PATCH V2 1/25] x86/cpufeatures: Enumerate Intel Hybrid Technology feature bit

2021-03-10 Thread Ricardo Neri
On Wed, Mar 10, 2021 at 09:01:47PM +0100, Borislav Petkov wrote: > On Wed, Mar 10, 2021 at 11:46:44AM -0800, Ricardo Neri wrote: > > But this series provides the use case, right? Kan's patches handle PMU > > counters > > that may differ cross types of CPUs. In patch 2, get_hybrid_params() > >

Re: [PATCH V2 1/25] x86/cpufeatures: Enumerate Intel Hybrid Technology feature bit

2021-03-10 Thread Borislav Petkov
On Wed, Mar 10, 2021 at 11:46:44AM -0800, Ricardo Neri wrote: > But this series provides the use case, right? Kan's patches handle PMU > counters > that may differ cross types of CPUs. In patch 2, get_hybrid_params() > needs to check first if X86_FEATURE_HYBRID_CPU is enabled before > querying

Re: [PATCH V2 1/25] x86/cpufeatures: Enumerate Intel Hybrid Technology feature bit

2021-03-10 Thread Ricardo Neri
On Wed, Mar 10, 2021 at 05:53:58PM +0100, Borislav Petkov wrote: > On Wed, Mar 10, 2021 at 08:37:37AM -0800, kan.li...@linux.intel.com wrote: > > From: Ricardo Neri > > > > Add feature enumeration to identify a processor with Intel Hybrid > > Technology: one in which CPUs of more than one type

Re: [PATCH V2 1/25] x86/cpufeatures: Enumerate Intel Hybrid Technology feature bit

2021-03-10 Thread Srinivas Pandruvada
On Wed, 2021-03-10 at 17:53 +0100, Borislav Petkov wrote: > On Wed, Mar 10, 2021 at 08:37:37AM -0800, kan.li...@linux.intel.com > wrote: > > From: Ricardo Neri > > > > Add feature enumeration to identify a processor with Intel Hybrid > > Technology: one in which CPUs of more than one type are

Re: [PATCH V2 1/25] x86/cpufeatures: Enumerate Intel Hybrid Technology feature bit

2021-03-10 Thread Borislav Petkov
On Wed, Mar 10, 2021 at 08:37:37AM -0800, kan.li...@linux.intel.com wrote: > From: Ricardo Neri > > Add feature enumeration to identify a processor with Intel Hybrid > Technology: one in which CPUs of more than one type are the same package. > On a hybrid processor, all CPUs support the same

[PATCH V2 1/25] x86/cpufeatures: Enumerate Intel Hybrid Technology feature bit

2021-03-10 Thread kan . liang
From: Ricardo Neri Add feature enumeration to identify a processor with Intel Hybrid Technology: one in which CPUs of more than one type are the same package. On a hybrid processor, all CPUs support the same homogeneous (i.e., symmetric) instruction set. All CPUs enumerate the same features in