All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86/cpu: Add Icelake-NNPI to Intel family
@ 2019-05-30 12:38 Rajneesh Bhardwaj
  2019-06-04 16:09 ` Andy Shevchenko
  0 siblings, 1 reply; 4+ messages in thread
From: Rajneesh Bhardwaj @ 2019-05-30 12:38 UTC (permalink / raw)
  To: linux-kernel
  Cc: x86, bp, Rajneesh Bhardwaj, Borislav Petkov, Dave Hansen,
	Andy Shevchenko, H. Peter Anvin, Ingo Molnar, Kan Liang,
	Peter Zijlstra, platform-driver-x86, Qiuxu Zhuo,
	Srinivas Pandruvada, Len Brown, Thomas Gleixner, Linux PM

Add the CPUID model number of Icelake Neural Network Processor for Deep
Learning Inference (ICL-NNPI) to the Intel family list. Icelake NNPI uses
model number 0x9D and this will be documented in a future version of Intel
Software Development Manual.

Cc: Borislav Petkov <bp@alien8.de>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: platform-driver-x86@vger.kernel.org
Cc: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Cc: Len Brown <lenb@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: x86-ml <x86@kernel.org>
Cc: Linux PM <linux-pm@vger.kernel.org>
Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@linux.intel.com>
---
 arch/x86/include/asm/intel-family.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/include/asm/intel-family.h b/arch/x86/include/asm/intel-family.h
index 9f15384c504a..087de5d3b93a 100644
--- a/arch/x86/include/asm/intel-family.h
+++ b/arch/x86/include/asm/intel-family.h
@@ -53,6 +53,7 @@
 #define INTEL_FAM6_CANNONLAKE_MOBILE	0x66
 
 #define INTEL_FAM6_ICELAKE_MOBILE	0x7E
+#define INTEL_FAM6_ICELAKE_NNPI		0x9D
 
 /* "Small Core" Processors (Atom) */
 
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] x86/cpu: Add Icelake-NNPI to Intel family
  2019-05-30 12:38 [PATCH] x86/cpu: Add Icelake-NNPI to Intel family Rajneesh Bhardwaj
@ 2019-06-04 16:09 ` Andy Shevchenko
  2019-06-04 19:24   ` Bhardwaj, Rajneesh
  0 siblings, 1 reply; 4+ messages in thread
From: Andy Shevchenko @ 2019-06-04 16:09 UTC (permalink / raw)
  To: Rajneesh Bhardwaj
  Cc: linux-kernel, x86, bp, Borislav Petkov, Dave Hansen,
	H. Peter Anvin, Ingo Molnar, Kan Liang, Peter Zijlstra,
	platform-driver-x86, Qiuxu Zhuo, Srinivas Pandruvada, Len Brown,
	Thomas Gleixner, Linux PM

On Thu, May 30, 2019 at 06:08:27PM +0530, Rajneesh Bhardwaj wrote:
> Add the CPUID model number of Icelake Neural Network Processor for Deep

I believe we spell "Ice Lake".

> Learning Inference (ICL-NNPI) to the Intel family list. Icelake NNPI uses

Ditto.

> model number 0x9D and this will be documented in a future version of Intel
> Software Development Manual.
> 
> Cc: Borislav Petkov <bp@alien8.de>
> Cc: Dave Hansen <dave.hansen@linux.intel.com>
> Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> Cc: "H. Peter Anvin" <hpa@zytor.com>
> Cc: Ingo Molnar <mingo@redhat.com>
> Cc: Kan Liang <kan.liang@linux.intel.com>
> Cc: Peter Zijlstra <peterz@infradead.org>
> Cc: platform-driver-x86@vger.kernel.org
> Cc: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
> Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
> Cc: Len Brown <lenb@kernel.org>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Cc: x86-ml <x86@kernel.org>
> Cc: Linux PM <linux-pm@vger.kernel.org>
> Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@linux.intel.com>
> ---
>  arch/x86/include/asm/intel-family.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/x86/include/asm/intel-family.h b/arch/x86/include/asm/intel-family.h
> index 9f15384c504a..087de5d3b93a 100644
> --- a/arch/x86/include/asm/intel-family.h
> +++ b/arch/x86/include/asm/intel-family.h
> @@ -53,6 +53,7 @@
>  #define INTEL_FAM6_CANNONLAKE_MOBILE	0x66
>  
>  #define INTEL_FAM6_ICELAKE_MOBILE	0x7E
> +#define INTEL_FAM6_ICELAKE_NNPI		0x9D
>  
>  /* "Small Core" Processors (Atom) */
>  
> -- 
> 2.17.1
> 

-- 
With Best Regards,
Andy Shevchenko



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] x86/cpu: Add Icelake-NNPI to Intel family
  2019-06-04 16:09 ` Andy Shevchenko
@ 2019-06-04 19:24   ` Bhardwaj, Rajneesh
  2019-06-05 10:32     ` Andy Shevchenko
  0 siblings, 1 reply; 4+ messages in thread
From: Bhardwaj, Rajneesh @ 2019-06-04 19:24 UTC (permalink / raw)
  To: Andy Shevchenko
  Cc: linux-kernel, x86, bp, Borislav Petkov, Dave Hansen,
	H. Peter Anvin, Ingo Molnar, Kan Liang, Peter Zijlstra,
	platform-driver-x86, Qiuxu Zhuo, Srinivas Pandruvada, Len Brown,
	Thomas Gleixner, Linux PM

Hi Andy

On 04-Jun-19 9:39 PM, Andy Shevchenko wrote:
> On Thu, May 30, 2019 at 06:08:27PM +0530, Rajneesh Bhardwaj wrote:
>> Add the CPUID model number of Icelake Neural Network Processor for Deep
> I believe we spell "Ice Lake".

I referred to https://patchwork.kernel.org/patch/10812551/ , 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6e394376ee89233508fa21d006546357f8efee31 
and many others where it mentioned Icelake. I am fine to change it the 
way you are suggesting, please confirm if its still needed and i will 
send a v2.

Thank you.

>
>> Learning Inference (ICL-NNPI) to the Intel family list. Icelake NNPI uses
> Ditto.
>
>> model number 0x9D and this will be documented in a future version of Intel
>> Software Development Manual.
>>
>> Cc: Borislav Petkov <bp@alien8.de>
>> Cc: Dave Hansen <dave.hansen@linux.intel.com>
>> Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
>> Cc: "H. Peter Anvin" <hpa@zytor.com>
>> Cc: Ingo Molnar <mingo@redhat.com>
>> Cc: Kan Liang <kan.liang@linux.intel.com>
>> Cc: Peter Zijlstra <peterz@infradead.org>
>> Cc: platform-driver-x86@vger.kernel.org
>> Cc: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
>> Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
>> Cc: Len Brown <lenb@kernel.org>
>> Cc: Thomas Gleixner <tglx@linutronix.de>
>> Cc: x86-ml <x86@kernel.org>
>> Cc: Linux PM <linux-pm@vger.kernel.org>
>> Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@linux.intel.com>
>> ---
>>   arch/x86/include/asm/intel-family.h | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/arch/x86/include/asm/intel-family.h b/arch/x86/include/asm/intel-family.h
>> index 9f15384c504a..087de5d3b93a 100644
>> --- a/arch/x86/include/asm/intel-family.h
>> +++ b/arch/x86/include/asm/intel-family.h
>> @@ -53,6 +53,7 @@
>>   #define INTEL_FAM6_CANNONLAKE_MOBILE	0x66
>>   
>>   #define INTEL_FAM6_ICELAKE_MOBILE	0x7E
>> +#define INTEL_FAM6_ICELAKE_NNPI		0x9D
>>   
>>   /* "Small Core" Processors (Atom) */
>>   
>> -- 
>> 2.17.1
>>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] x86/cpu: Add Icelake-NNPI to Intel family
  2019-06-04 19:24   ` Bhardwaj, Rajneesh
@ 2019-06-05 10:32     ` Andy Shevchenko
  0 siblings, 0 replies; 4+ messages in thread
From: Andy Shevchenko @ 2019-06-05 10:32 UTC (permalink / raw)
  To: Bhardwaj, Rajneesh
  Cc: linux-kernel, x86, bp, Borislav Petkov, Dave Hansen,
	H. Peter Anvin, Ingo Molnar, Kan Liang, Peter Zijlstra,
	platform-driver-x86, Qiuxu Zhuo, Srinivas Pandruvada, Len Brown,
	Thomas Gleixner, Linux PM

On Wed, Jun 05, 2019 at 12:54:12AM +0530, Bhardwaj, Rajneesh wrote:
> Hi Andy
> 
> On 04-Jun-19 9:39 PM, Andy Shevchenko wrote:
> > On Thu, May 30, 2019 at 06:08:27PM +0530, Rajneesh Bhardwaj wrote:
> > > Add the CPUID model number of Icelake Neural Network Processor for Deep
> > I believe we spell "Ice Lake".
> 
> I referred to https://patchwork.kernel.org/patch/10812551/ , https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6e394376ee89233508fa21d006546357f8efee31
> and many others where it mentioned Icelake. I am fine to change it the way
> you are suggesting, please confirm if its still needed and i will send a v2.

I think the references have a mistake as well.

-- 
With Best Regards,
Andy Shevchenko



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-06-05 10:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-30 12:38 [PATCH] x86/cpu: Add Icelake-NNPI to Intel family Rajneesh Bhardwaj
2019-06-04 16:09 ` Andy Shevchenko
2019-06-04 19:24   ` Bhardwaj, Rajneesh
2019-06-05 10:32     ` Andy Shevchenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.