x86/cpu: Add Ice Lake NNPI to Intel family
Subsystems (3)
PATCH v2 1/1 x86/cpu: Add Ice Lake NNPI to Intel family
Add the CPUID model number of Ice Lake Neural Network Processor for Deep Learning Inference (ICL-NNPI) to the Intel family list. Ice Lake NNPI uses model number 0x9D and this will be documented in a future version of Intel Software Development Manual.
---
Changes in v2:
* Renamed Icelake to Ice Lake in the commit msg
arch/x86/include/asm/intel-family.h | 1 + 1 file changed, 1 insertion(+)
arch/x86/include/asm/intel-family.h +1 -0
@@ -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) */
Signature · 1 line
2.17.1
Quoted 7 lines · Rajneesh Bhardwaj
Add the CPUID model number of Ice Lake Neural Network Processor for Deep Learning Inference (ICL-NNPI) to the Intel family list. Ice Lake NNPI uses model number
0x9Dand this will be documented in a future version of Intel Software Development Manual.#define
INTEL_FAM6_ICELAKE_MOBILE0x7E
+#defineINTEL_FAM6_ICELAKE_NNPI0x9D
What "I" stands for?
For me sounds like it's redundant here or something like NNP_DLI would be better (because somewhere we have _NP as for Network Processor).
Signature · 2 lines
With Best Regards, Andy Shevchenko
Quoted 6 lines · Andy Shevchenko
Quoted 2 lines
#define
INTEL_FAM6_ICELAKE_MOBILE0x7E
+#defineINTEL_FAM6_ICELAKE_NNPI0x9DWhat "I" stands for?
For me sounds like it's redundant here or something like
NNP_DLIwould be better (because somewhere we have_NPas for Network Processor).
Let's not bikeshed this too much. These things aren't used that widely and mostly they're just used for figuring out the processor generation.
It's exceedingly rare to have something like:
if (model == INTEL_FAM6_ICELAKE_MOBILE) foo(); else if (model == INTEL_FAM6_ICELAKE_NNPI) bar();
where what you suggest would matter.
Preserving the ability to google "ice lake nnpi" is pretty important, so preserving the Intel name makes a lot of sense here when possible.
Do we *HAVE* an Ice Lake network processor?
Quoted 18 lines · Dave Hansen
Quoted 6 lines · Andy Shevchenko
Quoted 2 lines
#define
INTEL_FAM6_ICELAKE_MOBILE0x7E
+#defineINTEL_FAM6_ICELAKE_NNPI0x9DWhat "I" stands for?
For me sounds like it's redundant here or something like
NNP_DLIwould be better (because somewhere we have_NPas for Network Processor).Let's not bikeshed this too much. These things aren't used that widely and mostly they're just used for figuring out the processor generation.
It's exceedingly rare to have something like:if (model == INTEL_FAM6_ICELAKE_MOBILE) foo(); else if (model == INTEL_FAM6_ICELAKE_NNPI) bar();
Quoted 4 lines
where what you suggest would matter.
Preserving the ability to google "ice lake nnpi" is pretty important, so preserving the Intel name makes a lot of sense here when possible.
What I'm talking is a consistency among suffixes. If there is a real abbreviation (NNPI) which anybody can google, I'm totally for it to be used.
Quoted 1 line
Do we *HAVE* an Ice Lake network processor?
Not Ice Lake, something else.
Signature · 2 lines
With Best Regards, Andy Shevchenko
Quoted 2 lines · Andy Shevchenko
What I'm talking is a consistency among suffixes. If there is a real abbreviation (NNPI) which anybody can google,
There is and you can. :)
Quoted 5 lines · Dave Hansen
Quoted 2 lines · Andy Shevchenko
What I'm talking is a consistency among suffixes. If there is a real abbreviation (NNPI) which anybody can google,
There is and you can. :)
Good, I have no objections.
Signature · 2 lines
With Best Regards, Andy Shevchenko
Quoted 6 lines · Andy Shevchenko
Quoted 4 lines · Dave Hansen
Quoted 2 lines · Andy Shevchenko
What I'm talking is a consistency among suffixes. If there is a real abbreviation (NNPI) which anybody can google,
There is and you can. :)
Good, I have no objections.
Great, thanks Andy and Dave for your valuable comments. I see that Thomas has accepted this one, thanks a lot, Thomas!
Quoted 1 line
tip-bot for Rajneesh Bhardwaj
merge botx86/cpu: Add Ice Lake NNPI to Intel family
Commit-ID: 61caa8621b9979a78b04e353ab2ee44a47ef7a62 Gitweb: https://git.kernel.org/tip/61caa8621b9979a78b04e353ab2ee44a47ef7a62 Author: Rajneesh Bhardwaj <[email protected]> AuthorDate: Thu, 6 Jun 2019 06:54:19 +0530 Committer: Thomas Gleixner <[email protected]> CommitDate: Wed, 12 Jun 2019 11:43:42 +0200
x86/cpu: Add Ice Lake NNPI to Intel family
Add the CPUID model number of Ice Lake Neural Network Processor for Deep Learning Inference (ICL-NNPI) to the Intel family list. Ice Lake NNPI uses model number 0x9D and this will be documented in a future version of Intel Software Development Manual.
--- arch/x86/include/asm/intel-family.h | 1 + 1 file changed, 1 insertion(+)
arch/x86/include/asm/intel-family.h +1 -0
@@ -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) */
tip-bot for Rajneesh Bhardwaj
merge botx86/cpu: Add Ice Lake NNPI to Intel family
Commit-ID: e32d045cd4ba06b59878323e434bad010e78e658 Gitweb: https://git.kernel.org/tip/e32d045cd4ba06b59878323e434bad010e78e658 Author: Rajneesh Bhardwaj <[email protected]> AuthorDate: Thu, 6 Jun 2019 06:54:19 +0530 Committer: Thomas Gleixner <[email protected]> CommitDate: Thu, 13 Jun 2019 19:37:42 +0200
x86/cpu: Add Ice Lake NNPI to Intel family
Add the CPUID model number of Ice Lake Neural Network Processor for Deep Learning Inference (ICL-NNPI) to the Intel family list. Ice Lake NNPI uses model number 0x9D and this will be documented in a future version of Intel Software Development Manual.
--- arch/x86/include/asm/intel-family.h | 1 + 1 file changed, 1 insertion(+)
arch/x86/include/asm/intel-family.h +1 -0
@@ -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) */