linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] x86/cpu: Add Jasper Lake to Intel family
@ 2019-12-16  8:33 Zhang Rui
  2019-12-16  8:33 ` [PATCH 2/2] powercap/intel_rapl: add support for JasperLake Zhang Rui
  2019-12-20  9:15 ` [PATCH 1/2] x86/cpu: Add Jasper Lake to Intel family Rafael J. Wysocki
  0 siblings, 2 replies; 3+ messages in thread
From: Zhang Rui @ 2019-12-16  8:33 UTC (permalink / raw)
  To: x86; +Cc: linux-pm, linux-kernel, rjw, tony.luck, Zhang Rui

Japser Lake is an Atom family processor.
It uses Tremont cores and is targeted at mobile platforms.

Reviewed-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Zhang Rui <rui.zhang@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 c606c0b70738..4981c293f926 100644
--- a/arch/x86/include/asm/intel-family.h
+++ b/arch/x86/include/asm/intel-family.h
@@ -111,6 +111,7 @@
 
 #define INTEL_FAM6_ATOM_TREMONT_D	0x86 /* Jacobsville */
 #define INTEL_FAM6_ATOM_TREMONT		0x96 /* Elkhart Lake */
+#define INTEL_FAM6_ATOM_TREMONT_L	0x9C /* Jasper Lake */
 
 /* Xeon Phi */
 
-- 
2.17.1


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

* [PATCH 2/2] powercap/intel_rapl: add support for JasperLake
  2019-12-16  8:33 [PATCH 1/2] x86/cpu: Add Jasper Lake to Intel family Zhang Rui
@ 2019-12-16  8:33 ` Zhang Rui
  2019-12-20  9:15 ` [PATCH 1/2] x86/cpu: Add Jasper Lake to Intel family Rafael J. Wysocki
  1 sibling, 0 replies; 3+ messages in thread
From: Zhang Rui @ 2019-12-16  8:33 UTC (permalink / raw)
  To: x86; +Cc: linux-pm, linux-kernel, rjw, tony.luck, Zhang Rui

Add intel_rapl support for Jasper Lake.

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
---
 drivers/powercap/intel_rapl_common.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/powercap/intel_rapl_common.c b/drivers/powercap/intel_rapl_common.c
index a67701ed93e8..070d5744abd0 100644
--- a/drivers/powercap/intel_rapl_common.c
+++ b/drivers/powercap/intel_rapl_common.c
@@ -989,6 +989,7 @@ static const struct x86_cpu_id rapl_ids[] __initconst = {
 	INTEL_CPU_FAM6(ATOM_GOLDMONT_PLUS, rapl_defaults_core),
 	INTEL_CPU_FAM6(ATOM_GOLDMONT_D, rapl_defaults_core),
 	INTEL_CPU_FAM6(ATOM_TREMONT_D, rapl_defaults_core),
+	INTEL_CPU_FAM6(ATOM_TREMONT_L, rapl_defaults_core),
 
 	INTEL_CPU_FAM6(XEON_PHI_KNL, rapl_defaults_hsw_server),
 	INTEL_CPU_FAM6(XEON_PHI_KNM, rapl_defaults_hsw_server),
-- 
2.17.1


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

* Re: [PATCH 1/2] x86/cpu: Add Jasper Lake to Intel family
  2019-12-16  8:33 [PATCH 1/2] x86/cpu: Add Jasper Lake to Intel family Zhang Rui
  2019-12-16  8:33 ` [PATCH 2/2] powercap/intel_rapl: add support for JasperLake Zhang Rui
@ 2019-12-20  9:15 ` Rafael J. Wysocki
  1 sibling, 0 replies; 3+ messages in thread
From: Rafael J. Wysocki @ 2019-12-20  9:15 UTC (permalink / raw)
  To: Zhang Rui; +Cc: x86, linux-pm, linux-kernel, tony.luck

On Monday, December 16, 2019 9:33:44 AM CET Zhang Rui wrote:
> Japser Lake is an Atom family processor.
> It uses Tremont cores and is targeted at mobile platforms.
> 
> Reviewed-by: Tony Luck <tony.luck@intel.com>
> Signed-off-by: Zhang Rui <rui.zhang@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 c606c0b70738..4981c293f926 100644
> --- a/arch/x86/include/asm/intel-family.h
> +++ b/arch/x86/include/asm/intel-family.h
> @@ -111,6 +111,7 @@
>  
>  #define INTEL_FAM6_ATOM_TREMONT_D	0x86 /* Jacobsville */
>  #define INTEL_FAM6_ATOM_TREMONT		0x96 /* Elkhart Lake */
> +#define INTEL_FAM6_ATOM_TREMONT_L	0x9C /* Jasper Lake */
>  
>  /* Xeon Phi */
>  
> 

Applying this one along with the [2/2] as 5.6 material, thanks!




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

end of thread, other threads:[~2019-12-20  9:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-16  8:33 [PATCH 1/2] x86/cpu: Add Jasper Lake to Intel family Zhang Rui
2019-12-16  8:33 ` [PATCH 2/2] powercap/intel_rapl: add support for JasperLake Zhang Rui
2019-12-20  9:15 ` [PATCH 1/2] x86/cpu: Add Jasper Lake to Intel family Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).