Re: [PATCH 0/3] x86: Add initial support to discover Intel hybrid CPUs

2020-10-05 Thread Ricardo Neri
On Sat, Oct 03, 2020 at 11:04:29AM +0200, Borislav Petkov wrote: > On Fri, Oct 02, 2020 at 07:17:30PM -0700, Luck, Tony wrote: > > On Sat, Oct 03, 2020 at 03:39:29AM +0200, Thomas Gleixner wrote: > > > On Fri, Oct 02 2020 at 13:19, Ricardo Neri wrote: > > > > Add support to discover and enumerate C

Re: [PATCH 0/3] x86: Add initial support to discover Intel hybrid CPUs

2020-10-05 Thread Ricardo Neri
On Sat, Oct 03, 2020 at 12:46:29PM +0200, Thomas Gleixner wrote: > On Fri, Oct 02 2020 at 19:17, Tony Luck wrote: > > > On Sat, Oct 03, 2020 at 03:39:29AM +0200, Thomas Gleixner wrote: > >> On Fri, Oct 02 2020 at 13:19, Ricardo Neri wrote: > >> > Add support to discover and enumerate CPUs in Intel

Re: [PATCH 0/3] x86: Add initial support to discover Intel hybrid CPUs

2020-10-03 Thread Peter Zijlstra
On Sat, Oct 03, 2020 at 12:46:29PM +0200, Thomas Gleixner wrote: > > There might be some model specific performance counter events that only > > apply to some cores. Or a machine check error code that is logged in the > > model specific MSCOD field of IA32_MCi_STATUS. But any and all code can run >

Re: [PATCH 0/3] x86: Add initial support to discover Intel hybrid CPUs

2020-10-03 Thread Thomas Gleixner
On Fri, Oct 02 2020 at 19:17, Tony Luck wrote: > On Sat, Oct 03, 2020 at 03:39:29AM +0200, Thomas Gleixner wrote: >> On Fri, Oct 02 2020 at 13:19, Ricardo Neri wrote: >> > Add support to discover and enumerate CPUs in Intel hybrid parts. A hybrid >> > part has CPUs with more than one type of micro

Re: [PATCH 0/3] x86: Add initial support to discover Intel hybrid CPUs

2020-10-03 Thread Borislav Petkov
On Fri, Oct 02, 2020 at 07:17:30PM -0700, Luck, Tony wrote: > On Sat, Oct 03, 2020 at 03:39:29AM +0200, Thomas Gleixner wrote: > > On Fri, Oct 02 2020 at 13:19, Ricardo Neri wrote: > > > Add support to discover and enumerate CPUs in Intel hybrid parts. A hybrid > > > part has CPUs with more than on

Re: [PATCH 0/3] x86: Add initial support to discover Intel hybrid CPUs

2020-10-02 Thread Luck, Tony
On Sat, Oct 03, 2020 at 03:39:29AM +0200, Thomas Gleixner wrote: > On Fri, Oct 02 2020 at 13:19, Ricardo Neri wrote: > > Add support to discover and enumerate CPUs in Intel hybrid parts. A hybrid > > part has CPUs with more than one type of micro-architecture. Thus, certain > > features may only be

Re: [PATCH 0/3] x86: Add initial support to discover Intel hybrid CPUs

2020-10-02 Thread Thomas Gleixner
On Fri, Oct 02 2020 at 13:19, Ricardo Neri wrote: > Add support to discover and enumerate CPUs in Intel hybrid parts. A hybrid > part has CPUs with more than one type of micro-architecture. Thus, certain > features may only be present in a specific CPU type. > > It is useful to know the type of CPU

[PATCH 0/3] x86: Add initial support to discover Intel hybrid CPUs

2020-10-02 Thread Ricardo Neri
Add support to discover and enumerate CPUs in Intel hybrid parts. A hybrid part has CPUs with more than one type of micro-architecture. Thus, certain features may only be present in a specific CPU type. It is useful to know the type of CPUs present in a system. For instance, perf may need to handl