All of lore.kernel.org
 help / color / mirror / Atom feed
* intel_pmc_core does not initialize intel 8th gen PMC
@ 2018-02-12  9:09 kitestramuort
  2018-02-13 16:21 ` Andy Shevchenko
  0 siblings, 1 reply; 3+ messages in thread
From: kitestramuort @ 2018-02-12  9:09 UTC (permalink / raw)
  To: linux-kernel

Hi,
don't know if this is intended. In 4.15.2 i have:

dmesg:
intel_pmc_core 0000:00:1f.2: enabling device (0000 -> 0002)

lspci:
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev
21)
	Subsystem: Intel Corporation Sunrise Point-LP PMC
	Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
	Region 0: Memory at dff00000 (32-bit, non-prefetchable)
[size=16K]
	Kernel driver in use: intel_pmc_core


in 4.16.0-rc1 this becomes
dmesg:
intel_pmc_core:  initialized

lspci:
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev
21)
	Subsystem: Intel Corporation Sunrise Point-LP PMC
	Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
	Region 0: Memory at dff00000 (32-bit, non-prefetchable)
[disabled] [size=16K]

regards

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

* Re: intel_pmc_core does not initialize intel 8th gen PMC
  2018-02-12  9:09 intel_pmc_core does not initialize intel 8th gen PMC kitestramuort
@ 2018-02-13 16:21 ` Andy Shevchenko
  2018-02-13 18:00   ` Srinivas Pandruvada
  0 siblings, 1 reply; 3+ messages in thread
From: Andy Shevchenko @ 2018-02-13 16:21 UTC (permalink / raw)
  To: kitestramuort, Rajneesh Bhardwaj, Srinivas Pandruvada
  Cc: Linux Kernel Mailing List, Platform Driver

+Cc: Authors and correct ML

On Mon, Feb 12, 2018 at 11:09 AM, kitestramuort
<kitestramuort@autistici.org> wrote:
> don't know if this is intended. In 4.15.2 i have:

AFAIU the driver now binds to the hardcoded value of a PA of the
device. So, you still have driver enabled.

Srinivas, is my understanding correct?

> dmesg:
> intel_pmc_core 0000:00:1f.2: enabling device (0000 -> 0002)
>
> lspci:
> 00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev
> 21)
>         Subsystem: Intel Corporation Sunrise Point-LP PMC
>         Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop-
> ParErr- Stepping- SERR- FastB2B- DisINTx-
>         Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
> <TAbort- <MAbort- >SERR- <PERR- INTx-
>         Region 0: Memory at dff00000 (32-bit, non-prefetchable)
> [size=16K]
>         Kernel driver in use: intel_pmc_core

> in 4.16.0-rc1 this becomes
> dmesg:
> intel_pmc_core:  initialized
>
> lspci:
> 00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev
> 21)
>         Subsystem: Intel Corporation Sunrise Point-LP PMC
>         Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop-
> ParErr- Stepping- SERR- FastB2B- DisINTx-
>         Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
> <TAbort- <MAbort- >SERR- <PERR- INTx-
>         Region 0: Memory at dff00000 (32-bit, non-prefetchable)
> [disabled] [size=16K]



-- 
With Best Regards,
Andy Shevchenko

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

* Re: intel_pmc_core does not initialize intel 8th gen PMC
  2018-02-13 16:21 ` Andy Shevchenko
@ 2018-02-13 18:00   ` Srinivas Pandruvada
  0 siblings, 0 replies; 3+ messages in thread
From: Srinivas Pandruvada @ 2018-02-13 18:00 UTC (permalink / raw)
  To: Andy Shevchenko, kitestramuort, Rajneesh Bhardwaj
  Cc: Linux Kernel Mailing List, Platform Driver

On Tue, 2018-02-13 at 18:21 +0200, Andy Shevchenko wrote:
> +Cc: Authors and correct ML
> 
> On Mon, Feb 12, 2018 at 11:09 AM, kitestramuort
> <kitestramuort@autistici.org> wrote:
> > don't know if this is intended. In 4.15.2 i have:
> 
> AFAIU the driver now binds to the hardcoded value of a PA of the
> device. So, you still have driver enabled.
> 
> Srinivas, is my understanding correct?
Yes. This doesn't bind to PCI device. But the driver is still doing
what it is supposed to do.
You should still see
/sys/kernel/debug/pmc_core/* as before.

Thanks,
Srinivas

> 
> > dmesg:
> > intel_pmc_core 0000:00:1f.2: enabling device (0000 -> 0002)
> > 
> > lspci:
> > 00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC
> > (rev
> > 21)
> >         Subsystem: Intel Corporation Sunrise Point-LP PMC
> >         Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop-
> > ParErr- Stepping- SERR- FastB2B- DisINTx-
> >         Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast
> > >TAbort-
> > <TAbort- <MAbort- >SERR- <PERR- INTx-
> >         Region 0: Memory at dff00000 (32-bit, non-prefetchable)
> > [size=16K]
> >         Kernel driver in use: intel_pmc_core
> > in 4.16.0-rc1 this becomes
> > dmesg:
> > intel_pmc_core:  initialized
> > 
> > lspci:
> > 00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC
> > (rev
> > 21)
> >         Subsystem: Intel Corporation Sunrise Point-LP PMC
> >         Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop-
> > ParErr- Stepping- SERR- FastB2B- DisINTx-
> >         Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast
> > >TAbort-
> > <TAbort- <MAbort- >SERR- <PERR- INTx-
> >         Region 0: Memory at dff00000 (32-bit, non-prefetchable)
> > [disabled] [size=16K]
> 
> 
> 

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

end of thread, other threads:[~2018-02-13 18:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-12  9:09 intel_pmc_core does not initialize intel 8th gen PMC kitestramuort
2018-02-13 16:21 ` Andy Shevchenko
2018-02-13 18:00   ` Srinivas Pandruvada

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.