linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] platform/x86: intel_pmc_core: Add ICL-NNPI support to PMC Core
@ 2019-06-14  8:09 Rajneesh Bhardwaj
  2019-06-29 13:18 ` Andy Shevchenko
  0 siblings, 1 reply; 4+ messages in thread
From: Rajneesh Bhardwaj @ 2019-06-14  8:09 UTC (permalink / raw)
  To: linux-kernel
  Cc: vishwanath.somayaji, Rajneesh Bhardwaj, Darren Hart,
	Andy Shevchenko, platform-driver-x86

Ice Lake Neural Network Processor for deep learning inference a.k.a.
ICL-NNPI can re-use Ice Lake Mobile regmap to enable Intel PMC Core
driver on it.

Cc: Darren Hart <dvhart@infradead.org>
Cc: Andy Shevchenko <andy@infradead.org>
Cc: platform-driver-x86@vger.kernel.org
Link: https://lkml.org/lkml/2019/6/5/1034
Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@linux.intel.com>
---
 drivers/platform/x86/intel_pmc_core.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/platform/x86/intel_pmc_core.c b/drivers/platform/x86/intel_pmc_core.c
index 1d902230ba61..be6cda89dcf5 100644
--- a/drivers/platform/x86/intel_pmc_core.c
+++ b/drivers/platform/x86/intel_pmc_core.c
@@ -815,6 +815,7 @@ static const struct x86_cpu_id intel_pmc_core_ids[] = {
 	INTEL_CPU_FAM6(KABYLAKE_DESKTOP, spt_reg_map),
 	INTEL_CPU_FAM6(CANNONLAKE_MOBILE, cnp_reg_map),
 	INTEL_CPU_FAM6(ICELAKE_MOBILE, icl_reg_map),
+	INTEL_CPU_FAM6(ICELAKE_NNPI, icl_reg_map),
 	{}
 };
 
-- 
2.17.1


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

* Re: [PATCH] platform/x86: intel_pmc_core: Add ICL-NNPI support to PMC Core
  2019-06-14  8:09 [PATCH] platform/x86: intel_pmc_core: Add ICL-NNPI support to PMC Core Rajneesh Bhardwaj
@ 2019-06-29 13:18 ` Andy Shevchenko
  2019-07-25  8:02   ` Bhardwaj, Rajneesh
  0 siblings, 1 reply; 4+ messages in thread
From: Andy Shevchenko @ 2019-06-29 13:18 UTC (permalink / raw)
  To: Rajneesh Bhardwaj
  Cc: Linux Kernel Mailing List, Vishwanath Somayaji, Darren Hart,
	Andy Shevchenko, Platform Driver

On Fri, Jun 14, 2019 at 11:14 AM Rajneesh Bhardwaj
<rajneesh.bhardwaj@linux.intel.com> wrote:
>
> Ice Lake Neural Network Processor for deep learning inference a.k.a.
> ICL-NNPI can re-use Ice Lake Mobile regmap to enable Intel PMC Core
> driver on it.
>

This will be postponed till next cycle since the CPU model will not
appear before merge window.
So, please, resend than (I guess somewhat in a month).

> Cc: Darren Hart <dvhart@infradead.org>
> Cc: Andy Shevchenko <andy@infradead.org>
> Cc: platform-driver-x86@vger.kernel.org
> Link: https://lkml.org/lkml/2019/6/5/1034
> Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@linux.intel.com>
> ---
>  drivers/platform/x86/intel_pmc_core.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/platform/x86/intel_pmc_core.c b/drivers/platform/x86/intel_pmc_core.c
> index 1d902230ba61..be6cda89dcf5 100644
> --- a/drivers/platform/x86/intel_pmc_core.c
> +++ b/drivers/platform/x86/intel_pmc_core.c
> @@ -815,6 +815,7 @@ static const struct x86_cpu_id intel_pmc_core_ids[] = {
>         INTEL_CPU_FAM6(KABYLAKE_DESKTOP, spt_reg_map),
>         INTEL_CPU_FAM6(CANNONLAKE_MOBILE, cnp_reg_map),
>         INTEL_CPU_FAM6(ICELAKE_MOBILE, icl_reg_map),
> +       INTEL_CPU_FAM6(ICELAKE_NNPI, icl_reg_map),
>         {}
>  };
>
> --
> 2.17.1
>


-- 
With Best Regards,
Andy Shevchenko

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

* Re: [PATCH] platform/x86: intel_pmc_core: Add ICL-NNPI support to PMC Core
  2019-06-29 13:18 ` Andy Shevchenko
@ 2019-07-25  8:02   ` Bhardwaj, Rajneesh
  2019-07-25 17:23     ` Andy Shevchenko
  0 siblings, 1 reply; 4+ messages in thread
From: Bhardwaj, Rajneesh @ 2019-07-25  8:02 UTC (permalink / raw)
  To: Andy Shevchenko
  Cc: Linux Kernel Mailing List, Vishwanath Somayaji, Darren Hart,
	Andy Shevchenko, Platform Driver

Hi Andy

On 29-Jun-19 6:48 PM, Andy Shevchenko wrote:
> On Fri, Jun 14, 2019 at 11:14 AM Rajneesh Bhardwaj
> <rajneesh.bhardwaj@linux.intel.com> wrote:
>> Ice Lake Neural Network Processor for deep learning inference a.k.a.
>> ICL-NNPI can re-use Ice Lake Mobile regmap to enable Intel PMC Core
>> driver on it.
>>
> This will be postponed till next cycle since the CPU model will not
> appear before merge window.
> So, please, resend than (I guess somewhat in a month).


The dependent CPUID Patch is now upstream, 
https://github.com/torvalds/linux/blob/bed38c3e2dca01b358a62b5e73b46e875742fd75/arch/x86/include/asm/intel-family.h#L59 
so can you please apply this one?


Thank you

Rajneesh


>
>> Cc: Darren Hart <dvhart@infradead.org>
>> Cc: Andy Shevchenko <andy@infradead.org>
>> Cc: platform-driver-x86@vger.kernel.org
>> Link: https://lkml.org/lkml/2019/6/5/1034
>> Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@linux.intel.com>
>> ---
>>   drivers/platform/x86/intel_pmc_core.c | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/drivers/platform/x86/intel_pmc_core.c b/drivers/platform/x86/intel_pmc_core.c
>> index 1d902230ba61..be6cda89dcf5 100644
>> --- a/drivers/platform/x86/intel_pmc_core.c
>> +++ b/drivers/platform/x86/intel_pmc_core.c
>> @@ -815,6 +815,7 @@ static const struct x86_cpu_id intel_pmc_core_ids[] = {
>>          INTEL_CPU_FAM6(KABYLAKE_DESKTOP, spt_reg_map),
>>          INTEL_CPU_FAM6(CANNONLAKE_MOBILE, cnp_reg_map),
>>          INTEL_CPU_FAM6(ICELAKE_MOBILE, icl_reg_map),
>> +       INTEL_CPU_FAM6(ICELAKE_NNPI, icl_reg_map),
>>          {}
>>   };
>>
>> --
>> 2.17.1
>>
>

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

* Re: [PATCH] platform/x86: intel_pmc_core: Add ICL-NNPI support to PMC Core
  2019-07-25  8:02   ` Bhardwaj, Rajneesh
@ 2019-07-25 17:23     ` Andy Shevchenko
  0 siblings, 0 replies; 4+ messages in thread
From: Andy Shevchenko @ 2019-07-25 17:23 UTC (permalink / raw)
  To: Bhardwaj, Rajneesh
  Cc: Linux Kernel Mailing List, Vishwanath Somayaji, Darren Hart,
	Andy Shevchenko, Platform Driver

On Thu, Jul 25, 2019 at 11:02 AM Bhardwaj, Rajneesh
<rajneesh.bhardwaj@linux.intel.com> wrote:
>
> Hi Andy
>
> On 29-Jun-19 6:48 PM, Andy Shevchenko wrote:
> > On Fri, Jun 14, 2019 at 11:14 AM Rajneesh Bhardwaj
> > <rajneesh.bhardwaj@linux.intel.com> wrote:
> >> Ice Lake Neural Network Processor for deep learning inference a.k.a.
> >> ICL-NNPI can re-use Ice Lake Mobile regmap to enable Intel PMC Core
> >> driver on it.
> >>
> > This will be postponed till next cycle since the CPU model will not
> > appear before merge window.
> > So, please, resend than (I guess somewhat in a month).
>
>
> The dependent CPUID Patch is now upstream,
> https://github.com/torvalds/linux/blob/bed38c3e2dca01b358a62b5e73b46e875742fd75/arch/x86/include/asm/intel-family.h#L59
> so can you please apply this one?

Yes, it's in plan for rc2.

-- 
With Best Regards,
Andy Shevchenko

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

end of thread, other threads:[~2019-07-25 17:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-14  8:09 [PATCH] platform/x86: intel_pmc_core: Add ICL-NNPI support to PMC Core Rajneesh Bhardwaj
2019-06-29 13:18 ` Andy Shevchenko
2019-07-25  8:02   ` Bhardwaj, Rajneesh
2019-07-25 17:23     ` Andy Shevchenko

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).