Re: intel_pmc_core does not initialize intel 8th gen PMC

2018-02-13 Thread Srinivas Pandruvada
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
>  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 :00:1f.2: enabling device ( -> 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-
> > SERR-  > Region 0: Memory at dff0 (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-
> > SERR-  > Region 0: Memory at dff0 (32-bit, non-prefetchable)
> > [disabled] [size=16K]
> 
> 
> 


Re: intel_pmc_core does not initialize intel 8th gen PMC

2018-02-13 Thread Srinivas Pandruvada
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
>  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 :00:1f.2: enabling device ( -> 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-
> > SERR-  > Region 0: Memory at dff0 (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-
> > SERR-  > Region 0: Memory at dff0 (32-bit, non-prefetchable)
> > [disabled] [size=16K]
> 
> 
> 


Re: intel_pmc_core does not initialize intel 8th gen PMC

2018-02-13 Thread Andy Shevchenko
+Cc: Authors and correct ML

On Mon, Feb 12, 2018 at 11:09 AM, kitestramuort
 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 :00:1f.2: enabling device ( -> 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-
> SERR-  Region 0: Memory at dff0 (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-
> SERR-  Region 0: Memory at dff0 (32-bit, non-prefetchable)
> [disabled] [size=16K]



-- 
With Best Regards,
Andy Shevchenko


Re: intel_pmc_core does not initialize intel 8th gen PMC

2018-02-13 Thread Andy Shevchenko
+Cc: Authors and correct ML

On Mon, Feb 12, 2018 at 11:09 AM, kitestramuort
 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 :00:1f.2: enabling device ( -> 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-
> SERR-  Region 0: Memory at dff0 (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-
> SERR-  Region 0: Memory at dff0 (32-bit, non-prefetchable)
> [disabled] [size=16K]



-- 
With Best Regards,
Andy Shevchenko


intel_pmc_core does not initialize intel 8th gen PMC

2018-02-12 Thread kitestramuort
Hi,
don't know if this is intended. In 4.15.2 i have:

dmesg:
intel_pmc_core :00:1f.2: enabling device ( -> 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-
SERR- TAbort-
SERR- 

intel_pmc_core does not initialize intel 8th gen PMC

2018-02-12 Thread kitestramuort
Hi,
don't know if this is intended. In 4.15.2 i have:

dmesg:
intel_pmc_core :00:1f.2: enabling device ( -> 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-
SERR- TAbort-
SERR-