[SRU,D/OEM-OSP1-B] x86/cpu: Add Comet Lake to the Intel CPU models header
diff mbox series

Message ID 20191022210741.24076-1-tjaalton@ubuntu.com
State New
Headers show
Series
  • [SRU,D/OEM-OSP1-B] x86/cpu: Add Comet Lake to the Intel CPU models header
Related show

Commit Message

Timo Aaltonen Oct. 22, 2019, 9:07 p.m. UTC
From: Kan Liang <kan.liang@linux.intel.com>

BugLink: http://bugs.launchpad.net/bugs/1843794

Comet Lake is the new 10th Gen Intel processor. Add two new CPU model
numbers to the Intel family list.

The CPU model numbers are not published in the SDM yet but they come
from an authoritative internal source.

 [ bp: Touch up commit message. ]

Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Tony Luck <tony.luck@intel.com>
Cc: ak@linux.intel.com
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: x86-ml <x86@kernel.org>
Link: https://lkml.kernel.org/r/1570549810-25049-2-git-send-email-kan.liang@linux.intel.com
(backported from commit 8d7c6ac3b2371eb1cbc9925a88f4d10efff374de)
Signed-off-by: Timo Aaltonen <timo.aaltonen@canonical.com>
---
 arch/x86/include/asm/intel-family.h | 3 +++
 1 file changed, 3 insertions(+)

Comments

Timo Aaltonen Oct. 23, 2019, 7:02 a.m. UTC | #1
On 23.10.2019 0.07, Timo Aaltonen wrote:
> From: Kan Liang <kan.liang@linux.intel.com>
> 
> BugLink: http://bugs.launchpad.net/bugs/1843794
> 
> Comet Lake is the new 10th Gen Intel processor. Add two new CPU model
> numbers to the Intel family list.
> 
> The CPU model numbers are not published in the SDM yet but they come
> from an authoritative internal source.
> 
>  [ bp: Touch up commit message. ]
> 
> Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
> Signed-off-by: Borislav Petkov <bp@suse.de>
> Reviewed-by: Tony Luck <tony.luck@intel.com>
> Cc: ak@linux.intel.com
> Cc: "H. Peter Anvin" <hpa@zytor.com>
> Cc: Ingo Molnar <mingo@kernel.org>
> Cc: Peter Zijlstra <peterz@infradead.org>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Cc: x86-ml <x86@kernel.org>
> Link: https://lkml.kernel.org/r/1570549810-25049-2-git-send-email-kan.liang@linux.intel.com
> (backported from commit 8d7c6ac3b2371eb1cbc9925a88f4d10efff374de)
> Signed-off-by: Timo Aaltonen <timo.aaltonen@canonical.com>

applied to osp1 oem-next
Po-Hsu Lin Oct. 23, 2019, 8:57 a.m. UTC | #2
Backport looking good, change limited to specific processor.
Disco Test build OK.
Acked-by: Po-Hsu Lin <po-hsu.lin@canonical.com>
Connor Kuehl Oct. 31, 2019, 9:37 p.m. UTC | #3
On 10/22/19 2:07 PM, Timo Aaltonen wrote:
> From: Kan Liang <kan.liang@linux.intel.com>
> 
> BugLink: http://bugs.launchpad.net/bugs/1843794
> 
> Comet Lake is the new 10th Gen Intel processor. Add two new CPU model
> numbers to the Intel family list.
> 
> The CPU model numbers are not published in the SDM yet but they come
> from an authoritative internal source.
> 
>   [ bp: Touch up commit message. ]
> 
> Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
> Signed-off-by: Borislav Petkov <bp@suse.de>
> Reviewed-by: Tony Luck <tony.luck@intel.com>
> Cc: ak@linux.intel.com
> Cc: "H. Peter Anvin" <hpa@zytor.com>
> Cc: Ingo Molnar <mingo@kernel.org>
> Cc: Peter Zijlstra <peterz@infradead.org>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Cc: x86-ml <x86@kernel.org>
> Link: https://lkml.kernel.org/r/1570549810-25049-2-git-send-email-kan.liang@linux.intel.com
> (backported from commit 8d7c6ac3b2371eb1cbc9925a88f4d10efff374de)
> Signed-off-by: Timo Aaltonen <timo.aaltonen@canonical.com>

Acked-by: Connor Kuehl <connor.kuehl@canonical.com>

> ---
>   arch/x86/include/asm/intel-family.h | 3 +++
>   1 file changed, 3 insertions(+)
> 
> diff --git a/arch/x86/include/asm/intel-family.h b/arch/x86/include/asm/intel-family.h
> index f60ddd655c78..f1a788fa630a 100644
> --- a/arch/x86/include/asm/intel-family.h
> +++ b/arch/x86/include/asm/intel-family.h
> @@ -58,6 +58,9 @@
>   #define INTEL_FAM6_ICELAKE_MOBILE	0x7E
>   #define INTEL_FAM6_ICELAKE_NNPI		0x9D
>   
> +#define INTEL_FAM6_COMETLAKE		0xA5
> +#define INTEL_FAM6_COMETLAKE_L		0xA6
> +
>   /* "Small Core" Processors (Atom) */
>   
>   #define INTEL_FAM6_ATOM_BONNELL		0x1C /* Diamondville, Pineview */
>
Khaled Elmously Nov. 9, 2019, 7:08 a.m. UTC | #4
On 2019-10-23 00:07:41 , Timo Aaltonen wrote:
> From: Kan Liang <kan.liang@linux.intel.com>
> 
> BugLink: http://bugs.launchpad.net/bugs/1843794
> 
> Comet Lake is the new 10th Gen Intel processor. Add two new CPU model
> numbers to the Intel family list.
> 
> The CPU model numbers are not published in the SDM yet but they come
> from an authoritative internal source.
> 
>  [ bp: Touch up commit message. ]
> 
> Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
> Signed-off-by: Borislav Petkov <bp@suse.de>
> Reviewed-by: Tony Luck <tony.luck@intel.com>
> Cc: ak@linux.intel.com
> Cc: "H. Peter Anvin" <hpa@zytor.com>
> Cc: Ingo Molnar <mingo@kernel.org>
> Cc: Peter Zijlstra <peterz@infradead.org>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Cc: x86-ml <x86@kernel.org>
> Link: https://lkml.kernel.org/r/1570549810-25049-2-git-send-email-kan.liang@linux.intel.com
> (backported from commit 8d7c6ac3b2371eb1cbc9925a88f4d10efff374de)
> Signed-off-by: Timo Aaltonen <timo.aaltonen@canonical.com>
> ---
>  arch/x86/include/asm/intel-family.h | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/arch/x86/include/asm/intel-family.h b/arch/x86/include/asm/intel-family.h
> index f60ddd655c78..f1a788fa630a 100644
> --- a/arch/x86/include/asm/intel-family.h
> +++ b/arch/x86/include/asm/intel-family.h
> @@ -58,6 +58,9 @@
>  #define INTEL_FAM6_ICELAKE_MOBILE	0x7E
>  #define INTEL_FAM6_ICELAKE_NNPI		0x9D
>  
> +#define INTEL_FAM6_COMETLAKE		0xA5
> +#define INTEL_FAM6_COMETLAKE_L		0xA6
> +
>  /* "Small Core" Processors (Atom) */
>  
>  #define INTEL_FAM6_ATOM_BONNELL		0x1C /* Diamondville, Pineview */
> -- 
> 2.20.1
> 
> 
> -- 
> kernel-team mailing list
> kernel-team@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team

Patch
diff mbox series

diff --git a/arch/x86/include/asm/intel-family.h b/arch/x86/include/asm/intel-family.h
index f60ddd655c78..f1a788fa630a 100644
--- a/arch/x86/include/asm/intel-family.h
+++ b/arch/x86/include/asm/intel-family.h
@@ -58,6 +58,9 @@ 
 #define INTEL_FAM6_ICELAKE_MOBILE	0x7E
 #define INTEL_FAM6_ICELAKE_NNPI		0x9D
 
+#define INTEL_FAM6_COMETLAKE		0xA5
+#define INTEL_FAM6_COMETLAKE_L		0xA6
+
 /* "Small Core" Processors (Atom) */
 
 #define INTEL_FAM6_ATOM_BONNELL		0x1C /* Diamondville, Pineview */