linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* issues with suspend on Dell XPS 13 2-in-1
@ 2018-04-14  2:02 Dennis Gilmore
  2018-04-16 16:07 ` Mario.Limonciello
  0 siblings, 1 reply; 18+ messages in thread
From: Dennis Gilmore @ 2018-04-14  2:02 UTC (permalink / raw)
  To: linux-kernel, linux-acpi; +Cc: Mario Limonciello

Hi All,

I have a Dell XPS 13 2-in-1 (9365) that when I supend gets warm and has
much shorter than expected battery life, it is about the same as if the
laptop just runs. I am currently running Fedora 28 with 4.16.2 kernel.

My laptop has NVMe for storage and is configured for AHCI mode in the
bios.

powertop by default shows
>> Bad           VM writeback timeout            
   Bad           NMI watchdog should be turned off
   Bad           Autosuspend for unknown USB device 1-7 (138a:0091)
   Bad           Runtime PM for I2C Adapter i2c-0 (i915 gmbus dpc)
   Bad           Runtime PM for I2C Adapter i2c-1 (i915 gmbus dpb)
   Bad           Runtime PM for I2C Adapter i2c-2 (i915 gmbus dpd)
   Bad           Runtime PM for PCI Device Intel Corporation Wireless
8265 / 8275
   Bad           Runtime PM for PCI Device Intel Corporation Device
590c
   Bad           Runtime PM for PCI Device Realtek Semiconductor Co.,
Ltd. RTS525A PCI Express Card Reader
   Bad           Runtime PM for PCI Device Intel Corporation Device
9d3d
   Bad           Runtime PM for PCI Device Sandisk Corp WD Black NVMe
SSD
   Bad           Runtime PM for PCI Device Intel Corporation Sunrise
Point-LP PCI Express Root Port #9
   Bad           Runtime PM for PCI Device Intel Corporation Sunrise
Point-LP Thermal subsystem
   Bad           Runtime PM for PCI Device Intel Corporation Sunrise
Point-LP USB 3.0 xHCI Controller
   Bad           Runtime PM for PCI Device Intel Corporation Sunrise
Point-LP PMC
   Bad           Runtime PM for PCI Device Intel Corporation Sunrise
Point-LP HD Audio
   Bad           Runtime PM for PCI Device Intel Corporation Sunrise
Point-LP PCI Express Root Port #1
   Bad           Runtime PM for PCI Device Intel Corporation Device
9d4b
   Bad           Runtime PM for PCI Device Intel Corporation Xeon E3-
1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem
   Bad           Runtime PM for PCI Device Intel Corporation Sunrise
Point-LP Integrated Sensor Hub
   Bad           Runtime PM for PCI Device Intel Corporation Device
591e
   Good          Bluetooth device interface status
   Good          Enable Audio codec power management
   Good          Runtime PM for I2C Adapter i2c-8 (Synopsys DesignWare
I2C adapter)
   Good          Autosuspend for USB device Integrated_Webcam_HD
[CNFGE16N092020028362]
   Good          Autosuspend for USB device xHCI Host Controller [usb1]
   Good          Autosuspend for USB device xHCI Host Controller [usb2]
   Good          Runtime PM for I2C Adapter i2c-7 (SMBus I801 adapter
at efa0)
   Good          Autosuspend for unknown USB device 1-2 (8087:0a2b)
   Good          Runtime PM for I2C Adapter i2c-6 (Synopsys DesignWare
I2C adapter)
   Good          I2C Device i2c-DLL077A:01 has no runtime power
management
   Good          I2C Device i2c-WCOM482F:00 has no runtime power
management
   Good          Runtime PM for PCI Device Intel Corporation Sunrise
Point-LP PCI Express Root Port #10
   Good          Runtime PM for PCI Device Intel Corporation Sunrise
Point-LP CSME HECI #1
   Good          Runtime PM for PCI Device Intel Corporation Sunrise
Point-LP Serial IO I2C Controller #1
   Good          Runtime PM for PCI Device Intel Corporation Sunrise
Point-LP SMBus
   Good          Runtime PM for PCI Device Intel Corporation Sunrise
Point-LP PCI Express Root Port #5
   Good          Runtime PM for PCI Device Intel Corporation Sunrise
Point-LP Serial IO I2C Controller #0
   Good          Wake-on-lan status for device virbr0-nic
   Good          Wake-on-lan status for device virbr0
   Good          Wake-on-lan status for device wlp60s0

Regards

Dennis

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

* RE: issues with suspend on Dell XPS 13 2-in-1
  2018-04-14  2:02 issues with suspend on Dell XPS 13 2-in-1 Dennis Gilmore
@ 2018-04-16 16:07 ` Mario.Limonciello
  2018-04-17 22:59   ` Pandruvada, Srinivas
  0 siblings, 1 reply; 18+ messages in thread
From: Mario.Limonciello @ 2018-04-16 16:07 UTC (permalink / raw)
  To: dgilmore, linux-kernel, linux-acpi; +Cc: srinivas.pandruvada

Hi Dennis,

> -----Original Message-----
> From: Dennis Gilmore [mailto:dgilmore@redhat.com]
> Sent: Friday, April 13, 2018 9:03 PM
> To: linux-kernel@vger.kernel.org; linux-acpi@vger.kernel.org
> Cc: Limonciello, Mario
> Subject: issues with suspend on Dell XPS 13 2-in-1
> 
> Hi All,
> 
> I have a Dell XPS 13 2-in-1 (9365) that when I supend gets warm and has
> much shorter than expected battery life, it is about the same as if the
> laptop just runs. I am currently running Fedora 28 with 4.16.2 kernel.
> 

Since battery consumption is quite relative I think It would be good if
you can make a comparable benchmark as this is further discussed.
Eg fully charge your notebook, pull the plug, suspend it at 100% and
check the power left after some repeatable amount of time.

> My laptop has NVMe for storage and is configured for AHCI mode in the
> bios.
> 
> powertop by default shows
> >> Bad           VM writeback timeout
>    Bad           NMI watchdog should be turned off
>    Bad           Autosuspend for unknown USB device 1-7 (138a:0091)
>    Bad           Runtime PM for I2C Adapter i2c-0 (i915 gmbus dpc)
>    Bad           Runtime PM for I2C Adapter i2c-1 (i915 gmbus dpb)
>    Bad           Runtime PM for I2C Adapter i2c-2 (i915 gmbus dpd)
>    Bad           Runtime PM for PCI Device Intel Corporation Wireless
> 8265 / 8275
>    Bad           Runtime PM for PCI Device Intel Corporation Device
> 590c
>    Bad           Runtime PM for PCI Device Realtek Semiconductor Co.,
> Ltd. RTS525A PCI Express Card Reader
>    Bad           Runtime PM for PCI Device Intel Corporation Device
> 9d3d
>    Bad           Runtime PM for PCI Device Sandisk Corp WD Black NVMe
> SSD
>    Bad           Runtime PM for PCI Device Intel Corporation Sunrise
> Point-LP PCI Express Root Port #9
>    Bad           Runtime PM for PCI Device Intel Corporation Sunrise
> Point-LP Thermal subsystem
>    Bad           Runtime PM for PCI Device Intel Corporation Sunrise
> Point-LP USB 3.0 xHCI Controller
>    Bad           Runtime PM for PCI Device Intel Corporation Sunrise
> Point-LP PMC
>    Bad           Runtime PM for PCI Device Intel Corporation Sunrise
> Point-LP HD Audio
>    Bad           Runtime PM for PCI Device Intel Corporation Sunrise
> Point-LP PCI Express Root Port #1
>    Bad           Runtime PM for PCI Device Intel Corporation Device
> 9d4b
>    Bad           Runtime PM for PCI Device Intel Corporation Xeon E3-
> 1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem
>    Bad           Runtime PM for PCI Device Intel Corporation Sunrise
> Point-LP Integrated Sensor Hub
>    Bad           Runtime PM for PCI Device Intel Corporation Device
> 591e

After you've adjusted all of these in powertop, have you compared
your performance of the battery over sleep (and actually over runtime
usage really too)?

They should help to allow the CPU to get into deeper states.

After you've made that change you should also see on the "Idle Stats"
page that your CPU is spending more time in the lower C states (hopefully
more in C9/10).

Srinivas,

Do you know why Runtime PM is defaulting to disabled for all of these
devices?  Is that a default kernel policy problem or a distro policy problem?


>    Good          Bluetooth device interface status
>    Good          Enable Audio codec power management
>    Good          Runtime PM for I2C Adapter i2c-8 (Synopsys DesignWare
> I2C adapter)
>    Good          Autosuspend for USB device Integrated_Webcam_HD
> [CNFGE16N092020028362]
>    Good          Autosuspend for USB device xHCI Host Controller [usb1]
>    Good          Autosuspend for USB device xHCI Host Controller [usb2]
>    Good          Runtime PM for I2C Adapter i2c-7 (SMBus I801 adapter
> at efa0)
>    Good          Autosuspend for unknown USB device 1-2 (8087:0a2b)
>    Good          Runtime PM for I2C Adapter i2c-6 (Synopsys DesignWare
> I2C adapter)
>    Good          I2C Device i2c-DLL077A:01 has no runtime power
> management
>    Good          I2C Device i2c-WCOM482F:00 has no runtime power
> management
>    Good          Runtime PM for PCI Device Intel Corporation Sunrise
> Point-LP PCI Express Root Port #10
>    Good          Runtime PM for PCI Device Intel Corporation Sunrise
> Point-LP CSME HECI #1
>    Good          Runtime PM for PCI Device Intel Corporation Sunrise
> Point-LP Serial IO I2C Controller #1
>    Good          Runtime PM for PCI Device Intel Corporation Sunrise
> Point-LP SMBus
>    Good          Runtime PM for PCI Device Intel Corporation Sunrise
> Point-LP PCI Express Root Port #5
>    Good          Runtime PM for PCI Device Intel Corporation Sunrise
> Point-LP Serial IO I2C Controller #0
>    Good          Wake-on-lan status for device virbr0-nic
>    Good          Wake-on-lan status for device virbr0
>    Good          Wake-on-lan status for device wlp60s0
> 
> Regards
> 
> Dennis

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

* Re: issues with suspend on Dell XPS 13 2-in-1
  2018-04-16 16:07 ` Mario.Limonciello
@ 2018-04-17 22:59   ` Pandruvada, Srinivas
  2018-04-18 21:01     ` Mario.Limonciello
       [not found]     ` <CAJesf3MUUGo_MVpr9+8zy-Nm5OAuYu1uwo2z50T2KcN-G5B5ew@mail.gmail.com>
  0 siblings, 2 replies; 18+ messages in thread
From: Pandruvada, Srinivas @ 2018-04-17 22:59 UTC (permalink / raw)
  To: linux-acpi, linux-kernel, dgilmore, Mario.Limonciello

[-- Attachment #1: Type: text/plain, Size: 6054 bytes --]

On Mon, 2018-04-16 at 16:07 +0000, Mario.Limonciello@dell.com wrote:
> Hi Dennis,
> 
> > -----Original Message-----
> > From: Dennis Gilmore [mailto:dgilmore@redhat.com]
> > Sent: Friday, April 13, 2018 9:03 PM
> > To: linux-kernel@vger.kernel.org; linux-acpi@vger.kernel.org
> > Cc: Limonciello, Mario
> > Subject: issues with suspend on Dell XPS 13 2-in-1
> > 
> > Hi All,
> > 
> > I have a Dell XPS 13 2-in-1 (9365) that when I supend gets warm and
> > has
> > much shorter than expected battery life, it is about the same as if
> > the
> > laptop just runs. I am currently running Fedora 28 with 4.16.2
> > kernel.
> > 
> 
> Since battery consumption is quite relative I think It would be good
> if
> you can make a comparable benchmark as this is further discussed.
> Eg fully charge your notebook, pull the plug, suspend it at 100% and
> check the power left after some repeatable amount of time.
> 
> > My laptop has NVMe for storage and is configured for AHCI mode in
> > the
> > bios.
> > 
> > powertop by default shows
> > > > Bad           VM writeback timeout
> > 
> >    Bad           NMI watchdog should be turned off
> >    Bad           Autosuspend for unknown USB device 1-7 (138a:0091)
> >    Bad           Runtime PM for I2C Adapter i2c-0 (i915 gmbus dpc)
> >    Bad           Runtime PM for I2C Adapter i2c-1 (i915 gmbus dpb)
> >    Bad           Runtime PM for I2C Adapter i2c-2 (i915 gmbus dpd)
> >    Bad           Runtime PM for PCI Device Intel Corporation
> > Wireless
> > 8265 / 8275
> >    Bad           Runtime PM for PCI Device Intel Corporation Device
> > 590c
> >    Bad           Runtime PM for PCI Device Realtek Semiconductor
> > Co.,
> > Ltd. RTS525A PCI Express Card Reader
> >    Bad           Runtime PM for PCI Device Intel Corporation Device
> > 9d3d
> >    Bad           Runtime PM for PCI Device Sandisk Corp WD Black
> > NVMe
> > SSD
> >    Bad           Runtime PM for PCI Device Intel Corporation
> > Sunrise
> > Point-LP PCI Express Root Port #9
> >    Bad           Runtime PM for PCI Device Intel Corporation
> > Sunrise
> > Point-LP Thermal subsystem
> >    Bad           Runtime PM for PCI Device Intel Corporation
> > Sunrise
> > Point-LP USB 3.0 xHCI Controller
> >    Bad           Runtime PM for PCI Device Intel Corporation
> > Sunrise
> > Point-LP PMC
> >    Bad           Runtime PM for PCI Device Intel Corporation
> > Sunrise
> > Point-LP HD Audio
> >    Bad           Runtime PM for PCI Device Intel Corporation
> > Sunrise
> > Point-LP PCI Express Root Port #1
> >    Bad           Runtime PM for PCI Device Intel Corporation Device
> > 9d4b
> >    Bad           Runtime PM for PCI Device Intel Corporation Xeon
> > E3-
> > 1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem
> >    Bad           Runtime PM for PCI Device Intel Corporation
> > Sunrise
> > Point-LP Integrated Sensor Hub
> >    Bad           Runtime PM for PCI Device Intel Corporation Device
> > 591e
> 
> After you've adjusted all of these in powertop, have you compared
> your performance of the battery over sleep (and actually over runtime
> usage really too)?
> 
> They should help to allow the CPU to get into deeper states.
> 
> After you've made that change you should also see on the "Idle Stats"
> page that your CPU is spending more time in the lower C states
> (hopefully
> more in C9/10).
> 
> Srinivas,
> 
> Do you know why Runtime PM is defaulting to disabled for all of these
> devices?  Is that a default kernel policy problem or a distro policy
> problem?
This is default kernel policy.
I suggest run
#turbostat
then suspend and wake
when wake up let the turbostat collect data for next sampling interval.
We have to see what are PkgC% residencies are?

Thanks,
Srinivas

> 
> 
> >    Good          Bluetooth device interface status
> >    Good          Enable Audio codec power management
> >    Good          Runtime PM for I2C Adapter i2c-8 (Synopsys
> > DesignWare
> > I2C adapter)
> >    Good          Autosuspend for USB device Integrated_Webcam_HD
> > [CNFGE16N092020028362]
> >    Good          Autosuspend for USB device xHCI Host Controller
> > [usb1]
> >    Good          Autosuspend for USB device xHCI Host Controller
> > [usb2]
> >    Good          Runtime PM for I2C Adapter i2c-7 (SMBus I801
> > adapter
> > at efa0)
> >    Good          Autosuspend for unknown USB device 1-2 (8087:0a2b)
> >    Good          Runtime PM for I2C Adapter i2c-6 (Synopsys
> > DesignWare
> > I2C adapter)
> >    Good          I2C Device i2c-DLL077A:01 has no runtime power
> > management
> >    Good          I2C Device i2c-WCOM482F:00 has no runtime power
> > management
> >    Good          Runtime PM for PCI Device Intel Corporation
> > Sunrise
> > Point-LP PCI Express Root Port #10
> >    Good          Runtime PM for PCI Device Intel Corporation
> > Sunrise
> > Point-LP CSME HECI #1
> >    Good          Runtime PM for PCI Device Intel Corporation
> > Sunrise
> > Point-LP Serial IO I2C Controller #1
> >    Good          Runtime PM for PCI Device Intel Corporation
> > Sunrise
> > Point-LP SMBus
> >    Good          Runtime PM for PCI Device Intel Corporation
> > Sunrise
> > Point-LP PCI Express Root Port #5
> >    Good          Runtime PM for PCI Device Intel Corporation
> > Sunrise
> > Point-LP Serial IO I2C Controller #0
> >    Good          Wake-on-lan status for device virbr0-nic
> >    Good          Wake-on-lan status for device virbr0
> >    Good          Wake-on-lan status for device wlp60s0
> > 
> > Regards
> > 
> > Dennis

[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 3290 bytes --]

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

* RE: issues with suspend on Dell XPS 13 2-in-1
  2018-04-17 22:59   ` Pandruvada, Srinivas
@ 2018-04-18 21:01     ` Mario.Limonciello
  2018-04-19  4:36       ` Pandruvada, Srinivas
       [not found]     ` <CAJesf3MUUGo_MVpr9+8zy-Nm5OAuYu1uwo2z50T2KcN-G5B5ew@mail.gmail.com>
  1 sibling, 1 reply; 18+ messages in thread
From: Mario.Limonciello @ 2018-04-18 21:01 UTC (permalink / raw)
  To: srinivas.pandruvada, linux-acpi, linux-kernel, dgilmore



> -----Original Message-----
> From: Pandruvada, Srinivas [mailto:srinivas.pandruvada@intel.com]
> Sent: Tuesday, April 17, 2018 6:00 PM
> To: linux-acpi@vger.kernel.org; linux-kernel@vger.kernel.org;
> dgilmore@redhat.com; Limonciello, Mario
> Subject: Re: issues with suspend on Dell XPS 13 2-in-1
> 
> On Mon, 2018-04-16 at 16:07 +0000, Mario.Limonciello@dell.com wrote:
> > Hi Dennis,
> >
> > > -----Original Message-----
> > > From: Dennis Gilmore [mailto:dgilmore@redhat.com]
> > > Sent: Friday, April 13, 2018 9:03 PM
> > > To: linux-kernel@vger.kernel.org; linux-acpi@vger.kernel.org
> > > Cc: Limonciello, Mario
> > > Subject: issues with suspend on Dell XPS 13 2-in-1
> > >
> > > Hi All,
> > >
> > > I have a Dell XPS 13 2-in-1 (9365) that when I supend gets warm and
> > > has
> > > much shorter than expected battery life, it is about the same as if
> > > the
> > > laptop just runs. I am currently running Fedora 28 with 4.16.2
> > > kernel.
> > >
> >
> > Since battery consumption is quite relative I think It would be good
> > if
> > you can make a comparable benchmark as this is further discussed.
> > Eg fully charge your notebook, pull the plug, suspend it at 100% and
> > check the power left after some repeatable amount of time.
> >
> > > My laptop has NVMe for storage and is configured for AHCI mode in
> > > the
> > > bios.
> > >
> > > powertop by default shows
> > > > > Bad           VM writeback timeout
> > >
> > >    Bad           NMI watchdog should be turned off
> > >    Bad           Autosuspend for unknown USB device 1-7 (138a:0091)
> > >    Bad           Runtime PM for I2C Adapter i2c-0 (i915 gmbus dpc)
> > >    Bad           Runtime PM for I2C Adapter i2c-1 (i915 gmbus dpb)
> > >    Bad           Runtime PM for I2C Adapter i2c-2 (i915 gmbus dpd)
> > >    Bad           Runtime PM for PCI Device Intel Corporation
> > > Wireless
> > > 8265 / 8275
> > >    Bad           Runtime PM for PCI Device Intel Corporation Device
> > > 590c
> > >    Bad           Runtime PM for PCI Device Realtek Semiconductor
> > > Co.,
> > > Ltd. RTS525A PCI Express Card Reader
> > >    Bad           Runtime PM for PCI Device Intel Corporation Device
> > > 9d3d
> > >    Bad           Runtime PM for PCI Device Sandisk Corp WD Black
> > > NVMe
> > > SSD
> > >    Bad           Runtime PM for PCI Device Intel Corporation
> > > Sunrise
> > > Point-LP PCI Express Root Port #9
> > >    Bad           Runtime PM for PCI Device Intel Corporation
> > > Sunrise
> > > Point-LP Thermal subsystem
> > >    Bad           Runtime PM for PCI Device Intel Corporation
> > > Sunrise
> > > Point-LP USB 3.0 xHCI Controller
> > >    Bad           Runtime PM for PCI Device Intel Corporation
> > > Sunrise
> > > Point-LP PMC
> > >    Bad           Runtime PM for PCI Device Intel Corporation
> > > Sunrise
> > > Point-LP HD Audio
> > >    Bad           Runtime PM for PCI Device Intel Corporation
> > > Sunrise
> > > Point-LP PCI Express Root Port #1
> > >    Bad           Runtime PM for PCI Device Intel Corporation Device
> > > 9d4b
> > >    Bad           Runtime PM for PCI Device Intel Corporation Xeon
> > > E3-
> > > 1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem
> > >    Bad           Runtime PM for PCI Device Intel Corporation
> > > Sunrise
> > > Point-LP Integrated Sensor Hub
> > >    Bad           Runtime PM for PCI Device Intel Corporation Device
> > > 591e
> >
> > After you've adjusted all of these in powertop, have you compared
> > your performance of the battery over sleep (and actually over runtime
> > usage really too)?
> >
> > They should help to allow the CPU to get into deeper states.
> >
> > After you've made that change you should also see on the "Idle Stats"
> > page that your CPU is spending more time in the lower C states
> > (hopefully
> > more in C9/10).
> >
> > Srinivas,
> >
> > Do you know why Runtime PM is defaulting to disabled for all of these
> > devices?  Is that a default kernel policy problem or a distro policy
> > problem?
> This is default kernel policy.

Why is policy set this way by default in kernel?  Could we discuss to change
Default kernel policy so that users can get better power consumption by default?

I think it will be especially important as more machines continue to adopt
suspend-to-idle.

> I suggest run
> #turbostat
> then suspend and wake
> when wake up let the turbostat collect data for next sampling interval.
> We have to see what are PkgC% residencies are?
Assuming you mean for Dan to run this after he adjusts all the PM settings
for those options power top called out, right?

> 
> Thanks,
> Srinivas
> 
> >
> >
> > >    Good          Bluetooth device interface status
> > >    Good          Enable Audio codec power management
> > >    Good          Runtime PM for I2C Adapter i2c-8 (Synopsys
> > > DesignWare
> > > I2C adapter)
> > >    Good          Autosuspend for USB device Integrated_Webcam_HD
> > > [CNFGE16N092020028362]
> > >    Good          Autosuspend for USB device xHCI Host Controller
> > > [usb1]
> > >    Good          Autosuspend for USB device xHCI Host Controller
> > > [usb2]
> > >    Good          Runtime PM for I2C Adapter i2c-7 (SMBus I801
> > > adapter
> > > at efa0)
> > >    Good          Autosuspend for unknown USB device 1-2 (8087:0a2b)
> > >    Good          Runtime PM for I2C Adapter i2c-6 (Synopsys
> > > DesignWare
> > > I2C adapter)
> > >    Good          I2C Device i2c-DLL077A:01 has no runtime power
> > > management
> > >    Good          I2C Device i2c-WCOM482F:00 has no runtime power
> > > management
> > >    Good          Runtime PM for PCI Device Intel Corporation
> > > Sunrise
> > > Point-LP PCI Express Root Port #10
> > >    Good          Runtime PM for PCI Device Intel Corporation
> > > Sunrise
> > > Point-LP CSME HECI #1
> > >    Good          Runtime PM for PCI Device Intel Corporation
> > > Sunrise
> > > Point-LP Serial IO I2C Controller #1
> > >    Good          Runtime PM for PCI Device Intel Corporation
> > > Sunrise
> > > Point-LP SMBus
> > >    Good          Runtime PM for PCI Device Intel Corporation
> > > Sunrise
> > > Point-LP PCI Express Root Port #5
> > >    Good          Runtime PM for PCI Device Intel Corporation
> > > Sunrise
> > > Point-LP Serial IO I2C Controller #0
> > >    Good          Wake-on-lan status for device virbr0-nic
> > >    Good          Wake-on-lan status for device virbr0
> > >    Good          Wake-on-lan status for device wlp60s0
> > >
> > > Regards
> > >
> > > Dennis

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

* Re: issues with suspend on Dell XPS 13 2-in-1
  2018-04-18 21:01     ` Mario.Limonciello
@ 2018-04-19  4:36       ` Pandruvada, Srinivas
  2018-04-19 17:30         ` Mario.Limonciello
  0 siblings, 1 reply; 18+ messages in thread
From: Pandruvada, Srinivas @ 2018-04-19  4:36 UTC (permalink / raw)
  To: dgilmore, linux-kernel, linux-acpi, Mario.Limonciello

[-- Attachment #1: Type: text/plain, Size: 3963 bytes --]

On Wed, 2018-04-18 at 21:01 +0000, Mario.Limonciello@dell.com wrote:

> > 
> > > [...]

> > > Srinivas,
> > > 
> > > Do you know why Runtime PM is defaulting to disabled for all of
> > > these
> > > devices?  Is that a default kernel policy problem or a distro
> > > policy
> > > problem?
> > 
> > This is default kernel policy.
> 
> Why is policy set this way by default in kernel?  Could we discuss to
> change
> Default kernel policy so that users can get better power consumption
> by default
Good question. This was discussed before, the problem is that it can
cause some issues with legacy devices. It should be better done in user
 space by some policy in gnome power manager, which user can
enable/disable.

> 
> I think it will be especially important as more machines continue to
> adopt
> suspend-to-idle.
Those should impact opportunistic idle since for S2I regular suspend
callbacks are called. In my 9365, I can get PC10 during S2I path
without adjusting them. Only problematic is systems with SATA, where we
need to enable devsleep.

> 
> > I suggest run
> > #turbostat
> > then suspend and wake
> > when wake up let the turbostat collect data for next sampling
> > interval.
> > We have to see what are PkgC% residencies are?
> 
> Assuming you mean for Dan to run this after he adjusts all the PM
> settings
> for those options power top called out, right?
It is better.
May be some device is not behaving correctly. So he can try with
powertop --auto-tune and check turbostat and see status of PkgC states.

Thanks,
Srinivas

> 
> > 
> > Thanks,
> > Srinivas
> > 
> > > 
> > > 
> > > >    Good          Bluetooth device interface status
> > > >    Good          Enable Audio codec power management
> > > >    Good          Runtime PM for I2C Adapter i2c-8 (Synopsys
> > > > DesignWare
> > > > I2C adapter)
> > > >    Good          Autosuspend for USB device
> > > > Integrated_Webcam_HD
> > > > [CNFGE16N092020028362]
> > > >    Good          Autosuspend for USB device xHCI Host
> > > > Controller
> > > > [usb1]
> > > >    Good          Autosuspend for USB device xHCI Host
> > > > Controller
> > > > [usb2]
> > > >    Good          Runtime PM for I2C Adapter i2c-7 (SMBus I801
> > > > adapter
> > > > at efa0)
> > > >    Good          Autosuspend for unknown USB device 1-2
> > > > (8087:0a2b)
> > > >    Good          Runtime PM for I2C Adapter i2c-6 (Synopsys
> > > > DesignWare
> > > > I2C adapter)
> > > >    Good          I2C Device i2c-DLL077A:01 has no runtime power
> > > > management
> > > >    Good          I2C Device i2c-WCOM482F:00 has no runtime
> > > > power
> > > > management
> > > >    Good          Runtime PM for PCI Device Intel Corporation
> > > > Sunrise
> > > > Point-LP PCI Express Root Port #10
> > > >    Good          Runtime PM for PCI Device Intel Corporation
> > > > Sunrise
> > > > Point-LP CSME HECI #1
> > > >    Good          Runtime PM for PCI Device Intel Corporation
> > > > Sunrise
> > > > Point-LP Serial IO I2C Controller #1
> > > >    Good          Runtime PM for PCI Device Intel Corporation
> > > > Sunrise
> > > > Point-LP SMBus
> > > >    Good          Runtime PM for PCI Device Intel Corporation
> > > > Sunrise
> > > > Point-LP PCI Express Root Port #5
> > > >    Good          Runtime PM for PCI Device Intel Corporation
> > > > Sunrise
> > > > Point-LP Serial IO I2C Controller #0
> > > >    Good          Wake-on-lan status for device virbr0-nic
> > > >    Good          Wake-on-lan status for device virbr0
> > > >    Good          Wake-on-lan status for device wlp60s0
> > > > 
> > > > Regards
> > > > 
> > > > Dennis

[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 3290 bytes --]

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

* RE: issues with suspend on Dell XPS 13 2-in-1
  2018-04-19  4:36       ` Pandruvada, Srinivas
@ 2018-04-19 17:30         ` Mario.Limonciello
  2018-04-19 19:45           ` Pandruvada, Srinivas
  0 siblings, 1 reply; 18+ messages in thread
From: Mario.Limonciello @ 2018-04-19 17:30 UTC (permalink / raw)
  To: srinivas.pandruvada, dgilmore, linux-kernel, linux-acpi



> -----Original Message-----
> From: Pandruvada, Srinivas [mailto:srinivas.pandruvada@intel.com]
> Sent: Wednesday, April 18, 2018 11:37 PM
> To: dgilmore@redhat.com; linux-kernel@vger.kernel.org; linux-
> acpi@vger.kernel.org; Limonciello, Mario
> Subject: Re: issues with suspend on Dell XPS 13 2-in-1
> 
> On Wed, 2018-04-18 at 21:01 +0000, Mario.Limonciello@dell.com wrote:
> 
> > >
> > > > [...]
> 
> > > > Srinivas,
> > > >
> > > > Do you know why Runtime PM is defaulting to disabled for all of
> > > > these
> > > > devices?  Is that a default kernel policy problem or a distro
> > > > policy
> > > > problem?
> > >
> > > This is default kernel policy.
> >
> > Why is policy set this way by default in kernel?  Could we discuss to
> > change
> > Default kernel policy so that users can get better power consumption
> > by default
> Good question. This was discussed before, the problem is that it can
> cause some issues with legacy devices.

If the concern is legacy devices, what about flipping default policy when
it's say SKL or newer?

> It should be better done in user
>  space by some policy in gnome power manager, which user can
> enable/disable.

Sure, I think letting userspace change the policy if a user wants to turn
It off makes sense.  What I'm hoping to accomplish however is a better
default policy however since most users should prefer more battery
life, and "power users" would be the ones to further tune for their
preferred usage.

> 
> >
> > I think it will be especially important as more machines continue to
> > adopt
> > suspend-to-idle.

> Those should impact opportunistic idle since for S2I regular suspend
> callbacks are called. In my 9365, I can get PC10 during S2I path
> without adjusting them. Only problematic is systems with SATA, where we
> need to enable devsleep.

Hmm, Dennis did mention that he had an NVME disk, so it can't be a devsleep
problem.

Perhaps can you also share your kernel config used with 9365 so Dennis
can compare?

I believe we'll need to see some more information from Dennis you asked
in previous email before we can make more progress here though.

> >
> > > I suggest run
> > > #turbostat
> > > then suspend and wake
> > > when wake up let the turbostat collect data for next sampling
> > > interval.
> > > We have to see what are PkgC% residencies are?
> >
> > Assuming you mean for Dan to run this after he adjusts all the PM
> > settings
> > for those options power top called out, right?
> It is better.
> May be some device is not behaving correctly. So he can try with
> powertop --auto-tune and check turbostat and see status of PkgC states.
> 
> Thanks,
> Srinivas
> 
> >
> > >
> > > Thanks,
> > > Srinivas
> > >
> > > >
> > > >
> > > > >    Good          Bluetooth device interface status
> > > > >    Good          Enable Audio codec power management
> > > > >    Good          Runtime PM for I2C Adapter i2c-8 (Synopsys
> > > > > DesignWare
> > > > > I2C adapter)
> > > > >    Good          Autosuspend for USB device
> > > > > Integrated_Webcam_HD
> > > > > [CNFGE16N092020028362]
> > > > >    Good          Autosuspend for USB device xHCI Host
> > > > > Controller
> > > > > [usb1]
> > > > >    Good          Autosuspend for USB device xHCI Host
> > > > > Controller
> > > > > [usb2]
> > > > >    Good          Runtime PM for I2C Adapter i2c-7 (SMBus I801
> > > > > adapter
> > > > > at efa0)
> > > > >    Good          Autosuspend for unknown USB device 1-2
> > > > > (8087:0a2b)
> > > > >    Good          Runtime PM for I2C Adapter i2c-6 (Synopsys
> > > > > DesignWare
> > > > > I2C adapter)
> > > > >    Good          I2C Device i2c-DLL077A:01 has no runtime power
> > > > > management
> > > > >    Good          I2C Device i2c-WCOM482F:00 has no runtime
> > > > > power
> > > > > management
> > > > >    Good          Runtime PM for PCI Device Intel Corporation
> > > > > Sunrise
> > > > > Point-LP PCI Express Root Port #10
> > > > >    Good          Runtime PM for PCI Device Intel Corporation
> > > > > Sunrise
> > > > > Point-LP CSME HECI #1
> > > > >    Good          Runtime PM for PCI Device Intel Corporation
> > > > > Sunrise
> > > > > Point-LP Serial IO I2C Controller #1
> > > > >    Good          Runtime PM for PCI Device Intel Corporation
> > > > > Sunrise
> > > > > Point-LP SMBus
> > > > >    Good          Runtime PM for PCI Device Intel Corporation
> > > > > Sunrise
> > > > > Point-LP PCI Express Root Port #5
> > > > >    Good          Runtime PM for PCI Device Intel Corporation
> > > > > Sunrise
> > > > > Point-LP Serial IO I2C Controller #0
> > > > >    Good          Wake-on-lan status for device virbr0-nic
> > > > >    Good          Wake-on-lan status for device virbr0
> > > > >    Good          Wake-on-lan status for device wlp60s0
> > > > >
> > > > > Regards
> > > > >
> > > > > Dennis

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

* Re: issues with suspend on Dell XPS 13 2-in-1
  2018-04-19 17:30         ` Mario.Limonciello
@ 2018-04-19 19:45           ` Pandruvada, Srinivas
  2018-04-19 19:53             ` Mario.Limonciello
  0 siblings, 1 reply; 18+ messages in thread
From: Pandruvada, Srinivas @ 2018-04-19 19:45 UTC (permalink / raw)
  To: linux-acpi, linux-kernel, dgilmore, Mario.Limonciello

[-- Attachment #1: Type: text/plain, Size: 4227 bytes --]

On Thu, 2018-04-19 at 17:30 +0000, Mario.Limonciello@dell.com wrote:

[...]

> > 
Those should impact opportunistic idle since for S2I regular
> > suspend
> > callbacks are called. In my 9365, I can get PC10 during S2I path
> > without adjusting them. Only problematic is systems with SATA,
> > where we
> > need to enable devsleep.
> 
> Hmm, Dennis did mention that he had an NVME disk, so it can't be a
> devsleep
> problem.
> 
> Perhaps can you also share your kernel config used with 9365 so
> Dennis
> can compare?
I am using ubuntu kernel config as is. Nothing special.
We need to look at the turbostat data and see what PkgC states the
system can reach. May be the issues is with loading DMC firmware or
some LTR issues.

Thanks,
Srinivas

> 
> I believe we'll need to see some more information from Dennis you
> asked
> in previous email before we can make more progress here though.
> 
> > > 
> > > > I suggest run
> > > > #turbostat
> > > > then suspend and wake
> > > > when wake up let the turbostat collect data for next sampling
> > > > interval.
> > > > We have to see what are PkgC% residencies are?
> > > 
> > > Assuming you mean for Dan to run this after he adjusts all the PM
> > > settings
> > > for those options power top called out, right?
> > 
> > It is better.
> > May be some device is not behaving correctly. So he can try with
> > powertop --auto-tune and check turbostat and see status of PkgC
> > states.
> > 
> > Thanks,
> > Srinivas
> > 
> > > 
> > > > 
> > > > Thanks,
> > > > Srinivas
> > > > 
> > > > > 
> > > > > 
> > > > > >    Good          Bluetooth device interface status
> > > > > >    Good          Enable Audio codec power management
> > > > > >    Good          Runtime PM for I2C Adapter i2c-8 (Synopsys
> > > > > > DesignWare
> > > > > > I2C adapter)
> > > > > >    Good          Autosuspend for USB device
> > > > > > Integrated_Webcam_HD
> > > > > > [CNFGE16N092020028362]
> > > > > >    Good          Autosuspend for USB device xHCI Host
> > > > > > Controller
> > > > > > [usb1]
> > > > > >    Good          Autosuspend for USB device xHCI Host
> > > > > > Controller
> > > > > > [usb2]
> > > > > >    Good          Runtime PM for I2C Adapter i2c-7 (SMBus
> > > > > > I801
> > > > > > adapter
> > > > > > at efa0)
> > > > > >    Good          Autosuspend for unknown USB device 1-2
> > > > > > (8087:0a2b)
> > > > > >    Good          Runtime PM for I2C Adapter i2c-6 (Synopsys
> > > > > > DesignWare
> > > > > > I2C adapter)
> > > > > >    Good          I2C Device i2c-DLL077A:01 has no runtime
> > > > > > power
> > > > > > management
> > > > > >    Good          I2C Device i2c-WCOM482F:00 has no runtime
> > > > > > power
> > > > > > management
> > > > > >    Good          Runtime PM for PCI Device Intel
> > > > > > Corporation
> > > > > > Sunrise
> > > > > > Point-LP PCI Express Root Port #10
> > > > > >    Good          Runtime PM for PCI Device Intel
> > > > > > Corporation
> > > > > > Sunrise
> > > > > > Point-LP CSME HECI #1
> > > > > >    Good          Runtime PM for PCI Device Intel
> > > > > > Corporation
> > > > > > Sunrise
> > > > > > Point-LP Serial IO I2C Controller #1
> > > > > >    Good          Runtime PM for PCI Device Intel
> > > > > > Corporation
> > > > > > Sunrise
> > > > > > Point-LP SMBus
> > > > > >    Good          Runtime PM for PCI Device Intel
> > > > > > Corporation
> > > > > > Sunrise
> > > > > > Point-LP PCI Express Root Port #5
> > > > > >    Good          Runtime PM for PCI Device Intel
> > > > > > Corporation
> > > > > > Sunrise
> > > > > > Point-LP Serial IO I2C Controller #0
> > > > > >    Good          Wake-on-lan status for device virbr0-nic
> > > > > >    Good          Wake-on-lan status for device virbr0
> > > > > >    Good          Wake-on-lan status for device wlp60s0
> > > > > > 
> > > > > > Regards
> > > > > > 
> > > > > > Dennis

[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 3290 bytes --]

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

* RE: issues with suspend on Dell XPS 13 2-in-1
  2018-04-19 19:45           ` Pandruvada, Srinivas
@ 2018-04-19 19:53             ` Mario.Limonciello
  0 siblings, 0 replies; 18+ messages in thread
From: Mario.Limonciello @ 2018-04-19 19:53 UTC (permalink / raw)
  To: srinivas.pandruvada, linux-acpi, linux-kernel, dgilmore

> -----Original Message-----
> From: Pandruvada, Srinivas [mailto:srinivas.pandruvada@intel.com]
> Sent: Thursday, April 19, 2018 2:46 PM
> To: linux-acpi@vger.kernel.org; linux-kernel@vger.kernel.org;
> dgilmore@redhat.com; Limonciello, Mario
> Subject: Re: issues with suspend on Dell XPS 13 2-in-1
> 
> On Thu, 2018-04-19 at 17:30 +0000, Mario.Limonciello@dell.com wrote:
> 
> [...]
> 
> > >
> Those should impact opportunistic idle since for S2I regular
> > > suspend
> > > callbacks are called. In my 9365, I can get PC10 during S2I path
> > > without adjusting them. Only problematic is systems with SATA,
> > > where we
> > > need to enable devsleep.
> >
> > Hmm, Dennis did mention that he had an NVME disk, so it can't be a
> > devsleep
> > problem.
> >
> > Perhaps can you also share your kernel config used with 9365 so
> > Dennis
> > can compare?
> I am using ubuntu kernel config as is. Nothing special.
> We need to look at the turbostat data and see what PkgC states the
> system can reach. May be the issues is with loading DMC firmware or
> some LTR issues.

It could be potentially needing to update to new DMC firmware than
Fedora installs by default too then.

Eg due to:
https://github.com/torvalds/linux/commit/39ccc9852e2b46964c9c44eba52db57413ba6d27
https://github.com/torvalds/linux/commit/4f0aa1fa3e3849caee450ee5d14fcc289cf16703

> 
> Thanks,
> Srinivas
> 
> >
> > I believe we'll need to see some more information from Dennis you
> > asked
> > in previous email before we can make more progress here though.
> >
> > > >
> > > > > I suggest run
> > > > > #turbostat
> > > > > then suspend and wake
> > > > > when wake up let the turbostat collect data for next sampling
> > > > > interval.
> > > > > We have to see what are PkgC% residencies are?
> > > >
> > > > Assuming you mean for Dan to run this after he adjusts all the PM
> > > > settings
> > > > for those options power top called out, right?
> > >
> > > It is better.
> > > May be some device is not behaving correctly. So he can try with
> > > powertop --auto-tune and check turbostat and see status of PkgC
> > > states.
> > >
> > > Thanks,
> > > Srinivas
> > >
> > > >
> > > > >
> > > > > Thanks,
> > > > > Srinivas
> > > > >
> > > > > >
> > > > > >
> > > > > > >    Good          Bluetooth device interface status
> > > > > > >    Good          Enable Audio codec power management
> > > > > > >    Good          Runtime PM for I2C Adapter i2c-8 (Synopsys
> > > > > > > DesignWare
> > > > > > > I2C adapter)
> > > > > > >    Good          Autosuspend for USB device
> > > > > > > Integrated_Webcam_HD
> > > > > > > [CNFGE16N092020028362]
> > > > > > >    Good          Autosuspend for USB device xHCI Host
> > > > > > > Controller
> > > > > > > [usb1]
> > > > > > >    Good          Autosuspend for USB device xHCI Host
> > > > > > > Controller
> > > > > > > [usb2]
> > > > > > >    Good          Runtime PM for I2C Adapter i2c-7 (SMBus
> > > > > > > I801
> > > > > > > adapter
> > > > > > > at efa0)
> > > > > > >    Good          Autosuspend for unknown USB device 1-2
> > > > > > > (8087:0a2b)
> > > > > > >    Good          Runtime PM for I2C Adapter i2c-6 (Synopsys
> > > > > > > DesignWare
> > > > > > > I2C adapter)
> > > > > > >    Good          I2C Device i2c-DLL077A:01 has no runtime
> > > > > > > power
> > > > > > > management
> > > > > > >    Good          I2C Device i2c-WCOM482F:00 has no runtime
> > > > > > > power
> > > > > > > management
> > > > > > >    Good          Runtime PM for PCI Device Intel
> > > > > > > Corporation
> > > > > > > Sunrise
> > > > > > > Point-LP PCI Express Root Port #10
> > > > > > >    Good          Runtime PM for PCI Device Intel
> > > > > > > Corporation
> > > > > > > Sunrise
> > > > > > > Point-LP CSME HECI #1
> > > > > > >    Good          Runtime PM for PCI Device Intel
> > > > > > > Corporation
> > > > > > > Sunrise
> > > > > > > Point-LP Serial IO I2C Controller #1
> > > > > > >    Good          Runtime PM for PCI Device Intel
> > > > > > > Corporation
> > > > > > > Sunrise
> > > > > > > Point-LP SMBus
> > > > > > >    Good          Runtime PM for PCI Device Intel
> > > > > > > Corporation
> > > > > > > Sunrise
> > > > > > > Point-LP PCI Express Root Port #5
> > > > > > >    Good          Runtime PM for PCI Device Intel
> > > > > > > Corporation
> > > > > > > Sunrise
> > > > > > > Point-LP Serial IO I2C Controller #0
> > > > > > >    Good          Wake-on-lan status for device virbr0-nic
> > > > > > >    Good          Wake-on-lan status for device virbr0
> > > > > > >    Good          Wake-on-lan status for device wlp60s0
> > > > > > >
> > > > > > > Regards
> > > > > > >
> > > > > > > Dennis

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

* Re: issues with suspend on Dell XPS 13 2-in-1
       [not found]       ` <1524708778.7505.1.camel@intel.com>
@ 2018-04-26  3:06         ` Dennis Gilmore
  2018-04-26  5:34           ` Pandruvada, Srinivas
  0 siblings, 1 reply; 18+ messages in thread
From: Dennis Gilmore @ 2018-04-26  3:06 UTC (permalink / raw)
  To: Pandruvada, Srinivas; +Cc: linux-kernel, linux-acpi, Mario.Limonciello

Hi Srinivas,

Yes I have latest bios, I have version 1.3.1 that was released on 18th
of  Feb.

Dennis

El jue, 26-04-2018 a las 02:13 +0000, Pandruvada, Srinivas escribió:
> 
> I see around 43% PC10 residency with power drop of 0.7W.
> Do you have the latest BIOS of Dell 9365?
> 
> 
> Thanks,
> Srinivas
> 
> On Fri, 2018-04-20 at 08:36 -0500, Dennis Gilmore wrote:
> > Here is the full output 
> > 
> > # turbostat
> > turbostat version 17.06.23 - Len Brown <lenb@kernel.org>
> > CPUID(0): GenuineIntel 22 CPUID levels; family:model:stepping
> > 0x6:8e:9 (6:142:9)
> > CPUID(1): SSE3 MONITOR SMX EIST TM2 TSC MSR ACPI-TM TM
> > CPUID(6): APERF, TURBO, DTS, PTM, HWP, HWPnotify, HWPwindow,
> > HWPepp, No-HWPpkg, EPB
> > cpu0: MSR_IA32_MISC_ENABLE: 0x00850089 (TCC EIST No-MWAIT PREFETCH
> > TURBO)
> > CPUID(7): SGX
> > cpu0: MSR_IA32_FEATURE_CONTROL: 0x0000ff07 (Locked )
> > CPUID(0x15): eax_crystal: 2 ebx_tsc: 134 ecx_crystal_hz: 0
> > TSC: 1608 MHz (24000000 Hz * 134 / 2 / 1000000)
> > CPUID(0x16): base_mhz: 1600 max_mhz: 3600 bus_mhz: 100
> > cpu0: MSR_MISC_PWR_MGMT: 0x00401cc0 (ENable-EIST_Coordination
> > DISable-EPB DISable-OOB)
> > RAPL: 58254 sec. Joule Counter Range, at 4 Watts
> > cpu0: MSR_PLATFORM_INFO: 0x804043df1011000
> > 4 * 100.0 = 400.0 MHz max efficiency frequency
> > 16 * 100.0 = 1600.0 MHz base frequency
> > cpu0: MSR_IA32_POWER_CTL: 0x0024005d (C1E auto-promotion: DISabled)
> > cpu0: MSR_TURBO_RATIO_LIMIT: 0x22222224
> > 34 * 100.0 = 3400.0 MHz max turbo 4 active cores
> > 34 * 100.0 = 3400.0 MHz max turbo 3 active cores
> > 34 * 100.0 = 3400.0 MHz max turbo 2 active cores
> > 36 * 100.0 = 3600.0 MHz max turbo 1 active cores
> > cpu0: MSR_CONFIG_TDP_NOMINAL: 0x0000000d (base_ratio=13)
> > cpu0: MSR_CONFIG_TDP_LEVEL_1: 0x0006001c (PKG_MIN_PWR_LVL1=0
> > PKG_MAX_PWR_LVL1=0 LVL1_RATIO=6 PKG_TDP_LVL1=28)
> > cpu0: MSR_CONFIG_TDP_LEVEL_2: 0x00100038 (PKG_MIN_PWR_LVL2=0
> > PKG_MAX_PWR_LVL2=0 LVL2_RATIO=16 PKG_TDP_LVL2=56)
> > cpu0: MSR_CONFIG_TDP_CONTROL: 0x00000000 ( lock=0)
> > cpu0: MSR_TURBO_ACTIVATION_RATIO: 0x0000000c
> > (MAX_NON_TURBO_RATIO=12 lock=0)
> > cpu0: MSR_PKG_CST_CONFIG_CONTROL: 0x1e008008 (UNdemote-C3,
> > UNdemote-C1, demote-C3, demote-C1, locked: pkg-cstate-limit=8:
> > unlimited)
> > cpu0: POLL: CPUIDLE CORE POLL IDLE
> > cpu0: C1: MWAIT 0x00
> > cpu0: C1E: MWAIT 0x01
> > cpu0: C3: MWAIT 0x10
> > cpu0: C6: MWAIT 0x20
> > cpu0: C7s: MWAIT 0x33
> > cpu0: C8: MWAIT 0x40
> > cpu0: C9: MWAIT 0x50
> > cpu0: C10: MWAIT 0x60
> > cpu0: cpufreq driver: intel_pstate
> > cpu0: cpufreq governor: powersave
> > cpufreq intel_pstate no_turbo: 0
> > cpu0: MSR_MISC_FEATURE_CONTROL: 0x00000000 (L2-Prefetch L2-
> > Prefetch-pair L1-Prefetch L1-IP-Prefetch)
> > cpu0: MSR_PM_ENABLE: 0x00000001 (HWP)
> > cpu0: MSR_HWP_CAPABILITIES: 0x01060d24 (high 36 guar 13 eff 6 low
> > 1)
> > cpu0: MSR_HWP_REQUEST: 0x80002404 (min 4 max 36 des 0 epp 0x80
> > window 0x0 pkg 0x0)
> > cpu0: MSR_HWP_INTERRUPT: 0x00000000 (Dis_Guaranteed_Perf_Change,
> > Dis_Excursion_Min)
> > cpu0: MSR_HWP_STATUS: 0x00000000 (No-Guaranteed_Perf_Change, No-
> > Excursion_Min)
> > cpu0: MSR_IA32_ENERGY_PERF_BIAS: 0x00000006 (balanced)
> > cpu0: MSR_RAPL_POWER_UNIT: 0x000a0e03 (0.125000 Watts, 0.000061
> > Joules, 0.000977 sec.)
> > cpu0: MSR_PKG_POWER_INFO: 0x00000024 (4 W TDP, RAPL 0 - 0 W,
> > 0.000000 sec.)
> > cpu0: MSR_PKG_POWER_LIMIT: 0x420078009c8048 (UNlocked)
> > cpu0: PKG Limit #1: ENabled (9.000000 Watts, 24.000000 sec, clamp
> > DISabled)
> > cpu0: PKG Limit #2: DISabled (15.000000 Watts, 0.002441* sec, clamp
> > DISabled)
> > cpu0: MSR_DRAM_POWER_LIMIT: 0x5400de00000000 (UNlocked)
> > cpu0: DRAM Limit: DISabled (0.000000 Watts, 0.000977 sec, clamp
> > DISabled)
> > cpu0: MSR_PP0_POLICY: 0
> > cpu0: MSR_PP0_POWER_LIMIT: 0x00000000 (UNlocked)
> > cpu0: Cores Limit: DISabled (0.000000 Watts, 0.000977 sec, clamp
> > DISabled)
> > cpu0: MSR_PP1_POLICY: 0
> > cpu0: MSR_PP1_POWER_LIMIT: 0x00000000 (UNlocked)
> > cpu0: GFX Limit: DISabled (0.000000 Watts, 0.000977 sec, clamp
> > DISabled)
> > cpu0: MSR_IA32_TEMPERATURE_TARGET: 0x0a640080 (100 C)
> > cpu0: MSR_IA32_PACKAGE_THERM_STATUS: 0x88380802 (44 C)
> > cpu0: MSR_IA32_PACKAGE_THERM_INTERRUPT: 0x00000003 (100 C, 100 C)
> > cpu0: MSR_PKGC3_IRTL: 0x0000884e (valid, 79872 ns)
> > cpu0: MSR_PKGC6_IRTL: 0x00008876 (valid, 120832 ns)
> > cpu0: MSR_PKGC7_IRTL: 0x00008894 (valid, 151552 ns)
> > cpu0: MSR_PKGC8_IRTL: 0x000088fa (valid, 256000 ns)
> > cpu0: MSR_PKGC9_IRTL: 0x0000894c (valid, 339968 ns)
> > cpu0: MSR_PKGC10_IRTL: 0x00008bf2 (valid, 1034240 ns)
> > Core    CPU    Avg_MHz    Busy%    Bzy_MHz    TSC_MHz    IRQ   
> > SMI    C1    C1E    C3    C6    C7s    C8    C9    C10    C1%   
> > C1E%    C3%    C6%    C7s%    C8%    C9%    C10%    CPU%c1   
> > CPU%c3    CPU%c6    CPU%c7    CoreTmp    PkgTmpGFX%rc6    GFXMHz   
> > Totl%C0    Any%C0    GFX%C0    CPUGFX%    Pkg%pc2    Pkg%pc3   
> > Pkg%pc6    Pkg%pc7    Pkg%pc8    Pkg%pc9    Pk%pc10    PkgWatt   
> > CorWatt    GFXWatt    RAMWatt    PKG_%    RAM_%
> > -    -    147    10.33    1419    1608    17129    0    7376   
> > 217    166    1316    0    1910    0    1103    3.91    1.10   
> > 0.21    4.78    0.00    30.31    0.00    49.44    17.99    0.28   
> > 5.43    65.98    43    43    96.22    300    38.30    32.37   
> > 3.69    2.57    6.64    46.01    0.00    0.00    0.00    0.00   
> > 0.00    2.27    0.69    0.01    0.43    0.00    0.00
> > 0    0    68    6.63    1029    1608    1727    0    4    10   
> > 7    276    0    502    0    303    0.05    0.10    0.11    4.67   
> > 0.00    31.11    0.00    57.36    18.70    0.41    4.57    69.69   
> > 43    43    96.22    300    38.30    32.37    3.69    2.57   
> > 6.64    46.01    0.00    0.00    0.00    0.00    0.00    2.27   
> > 0.69    0.01    0.43    0.00    0.00
> > 0    2    63    6.62    953    1608    9460    0    7279    109   
> > 92    396    0    279    0    264    12.36    1.69    0.49   
> > 3.83    0.00    25.00    0.00    50.30    18.70
> > 1    1    348    20.03    1738    1608    3535    0    39    58   
> > 32    296    0    497    0    274    1.44    2.48    0.14   
> > 5.33    0.00    25.55    0.00    45.03    11.28    0.14    6.29   
> > 62.27    43
> > 1    3    107    8.03    1330    1608    2407    0    54    40   
> > 35    348    0    632    0    262    1.80    0.14    0.12   
> > 5.29    0.00    39.59    0.00    45.07    23.27
> > Core    CPU    Avg_MHz    Busy%    Bzy_MHz    TSC_MHz    IRQ   
> > SMI    C1    C1E    C3    C6    C7s    C8    C9    C10    C1%   
> > C1E%    C3%    C6%    C7s%    C8%    C9%    C10%    CPU%c1   
> > CPU%c3    CPU%c6    CPU%c7    CoreTmp    PkgTmpGFX%rc6    GFXMHz   
> > Totl%C0    Any%C0    GFX%C0    CPUGFX%    Pkg%pc2    Pkg%pc3   
> > Pkg%pc6    Pkg%pc7    Pkg%pc8    Pkg%pc9    Pk%pc10    PkgWatt   
> > CorWatt    GFXWatt    RAMWatt    PKG_%    RAM_%
> > -    -    189    12.70    1491    1608    27037    0    18431   
> > 1102    620    2370    0    2566    0    869    8.81    1.59   
> > 0.62    7.29    0.00    33.68    0.00    35.44    27.56    0.59   
> > 7.34    51.81    43    43    96.59    300    43.49    34.75   
> > 3.35    2.21    4.41    31.19    0.00    0.00    0.00    0.00   
> > 0.00    2.41    0.80    0.04    0.44    0.00    0.00
> > 0    0    176    11.12    1582    1608    1476    0    86    163   
> > 131    494    0    800    0    235    0.36    1.56    0.45   
> > 7.36    0.00    44.74    0.00    34.42    43.67    0.89    4.91   
> > 39.40    43    43    96.59    300    43.49    34.75    3.35   
> > 2.21    4.41    31.19    0.00    0.00    0.00    0.00    0.00   
> > 2.41    0.80    0.04    0.44    0.00    0.00
> > 0    2    201    15.40    1303    1608    21985    0    18071   
> > 317    268    722    0    307    0    100    32.70    1.78   
> > 1.24    5.55    0.00    18.17    0.00    25.65    39.41
> > 1    1    190    12.76    1488    1608    2036    0    184   
> > 388    172    655    0    655    0    276    0.43    0.90   
> > 0.57    8.32    0.00    36.01    0.00    41.04    12.97    0.29   
> > 9.77    64.22    41
> > 1    3    191    11.52    1657    1608    1540    0    90    234   
> > 49    499    0    804    0    258    1.76    2.14    0.21   
> > 7.94    0.00    35.81    0.00    40.66    14.21
> > Core    CPU    Avg_MHz    Busy%    Bzy_MHz    TSC_MHz    IRQ   
> > SMI    C1    C1E    C3    C6    C7s    C8    C9    C10    C1%   
> > C1E%    C3%    C6%    C7s%    C8%    C9%    C10%    CPU%c1   
> > CPU%c3    CPU%c6    CPU%c7    CoreTmp    PkgTmpGFX%rc6    GFXMHz   
> > Totl%C0    Any%C0    GFX%C0    CPUGFX%    Pkg%pc2    Pkg%pc3   
> > Pkg%pc6    Pkg%pc7    Pkg%pc8    Pkg%pc9    Pk%pc10    PkgWatt   
> > CorWatt    GFXWatt    RAMWatt    PKG_%    RAM_%
> > -    -    96    5.13    1915    1565    4541    28    1129   
> > 1180    498    1878    0    1499    0    547    0.40    1.21   
> > 0.35    2.79    0.00    10.33    0.00    26.00    9.59    0.31   
> > 3.30    81.68    41    41    91.18    300    16.58    13.17   
> > 6.25    2.69    3.32    26.47    0.00    0.02    0.18    0.00   
> > 43.97    1.73    0.56    0.13    0.36    0.00    0.00
> > 0    0    82    5.14    1640    1565    1494    7    557    337   
> > 121    469    0    534    0    92    0.59    0.63    0.23   
> > 3.12    0.00    13.33    0.00    24.37    12.04    0.36    2.57   
> > 79.88    41    41    91.18    300    16.58    13.17    6.25   
> > 2.69    3.32    26.47    0.00    0.02    0.18    0.00    43.97   
> > 1.73    0.56    0.13    0.36    0.00    0.00
> > 0    2    125    5.94    2167    1565    807    7    310    210   
> > 140    384    0    229    0    173    0.58    0.48    0.52   
> > 1.95    0.00    8.19    0.00    24.78    11.25
> > 1    1    97    5.23    1907    1565    1079    7    123    404   
> > 127    407    0    308    0    168    0.20    2.65    0.16   
> > 2.12    0.00    8.36    0.00    28.75    6.99    0.25    4.03   
> > 83.51    41
> > 1    3    78    4.21    1904    1566    1161    7    139    229   
> > 110    618    0    428    0    114    0.23    1.08    0.49   
> > 3.98    0.00    11.46    0.00    26.08    8.06
> > Core    CPU    Avg_MHz    Busy%    Bzy_MHz    TSC_MHz    IRQ   
> > SMI    C1    C1E    C3    C6    C7s    C8    C9    C10    C1%   
> > C1E%    C3%    C6%    C7s%    C8%    C9%    C10%    CPU%c1   
> > CPU%c3    CPU%c6    CPU%c7    CoreTmp    PkgTmpGFX%rc6    GFXMHz   
> > Totl%C0    Any%C0    GFX%C0    CPUGFX%    Pkg%pc2    Pkg%pc3   
> > Pkg%pc6    Pkg%pc7    Pkg%pc8    Pkg%pc9    Pk%pc10    PkgWatt   
> > CorWatt    GFXWatt    RAMWatt    PKG_%    RAM_%
> > -    -    183    12.22    1496    1609    25545    0    16054   
> > 1105    588    3104    0    2351    0    947    7.49    2.30   
> > 0.87    8.77    0.00    29.96    0.00    38.56    26.73    1.32   
> > 8.99    50.74    42    42    95.39    300    41.70    33.24   
> > 4.64    2.58    8.98    28.79    0.00    0.00    0.00    0.00   
> > 0.00    2.52    0.85    0.07    0.45    0.00    0.00
> > 0    0    129    8.96    1442    1610    1306    0    282    331   
> > 132    650    0    569    0    270    0.39    0.78    1.11   
> > 8.95    0.00    34.47    0.00    45.42    46.16    0.62    6.30   
> > 37.97    42    42    95.39    300    41.70    33.23    4.64   
> > 2.58    8.98    28.79    0.00    0.00    0.00    0.00    0.00   
> > 2.52    0.85    0.07    0.45    0.00    0.00
> > 0    2    275    18.50    1486    1610    20238    0    15228   
> > 350    181    884    0    348    0    132    28.61    5.11   
> > 0.67    5.72    0.00    12.26    0.00    29.59    36.62
> > 1    1    177    10.93    1615    1610    1554    0    279   
> > 183    92    533    0    523    0    316    0.52    2.63    0.39   
> > 7.30    0.00    32.26    0.00    46.07    11.89    2.02    11.67   
> > 63.48    41
> > 1    3    151    10.50    1437    1608    2447    0    265   
> > 241    183    1037    0    911    0    229    0.45    0.67   
> > 1.31    13.11    0.00    40.84    0.00    33.17    12.24
> > Core    CPU    Avg_MHz    Busy%    Bzy_MHz    TSC_MHz    IRQ   
> > SMI    C1    C1E    C3    C6    C7s    C8    C9    C10    C1%   
> > C1E%    C3%    C6%    C7s%    C8%    C9%    C10%    CPU%c1   
> > CPU%c3    CPU%c6    CPU%c7    CoreTmp    PkgTmpGFX%rc6    GFXMHz   
> > Totl%C0    Any%C0    GFX%C0    CPUGFX%    Pkg%pc2    Pkg%pc3   
> > Pkg%pc6    Pkg%pc7    Pkg%pc8    Pkg%pc9    Pk%pc10    PkgWatt   
> > CorWatt    GFXWatt    RAMWatt    PKG_%    RAM_%
> > -    -    186    12.71    1465    1608    5928    0    201   
> > 1435    578    2054    0    1837    0    1155    0.31    2.04   
> > 0.75    7.03    0.00    33.91    0.00    43.21    13.64    0.57   
> > 8.32    64.76    41    42    98.75    300    45.25    38.20   
> > 1.34    0.98    14.64    44.34    0.00    0.00    0.00    0.00   
> > 0.00    2.98    1.36    0.01    0.48    0.00    0.00
> > 0    0    79    9.06    868    1608    1222    0    66    314   
> > 166    558    0    451    0    301    0.36    1.21    1.07   
> > 7.24    0.00    35.02    0.00    46.02    11.10    0.83    9.56   
> > 69.45    41    42    98.75    300    45.25    38.20    1.34   
> > 0.98    14.64    44.34    0.00    0.00    0.00    0.00    0.00   
> > 2.98    1.36    0.01    0.48    0.00    0.00
> > 0    2    87    8.34    1044    1608    1205    0    57    508   
> > 159    545    0    455    0    291    0.17    3.72    0.69   
> > 8.00    0.00    28.44    0.00    50.63    11.82
> > 1    1    240    14.08    1706    1608    1700    0    50    419   
> > 80    432    0    533    0    307    0.66    2.14    0.35   
> > 6.43    0.00    39.50    0.00    36.79    18.45    0.31    7.09   
> > 60.07    40
> > 1    3    338    19.34    1750    1608    1801    0    28    194   
> > 173    519    0    398    0    256    0.06    1.10    0.90   
> > 6.44    0.00    32.70    0.00    39.38    13.20
> > Core    CPU    Avg_MHz    Busy%    Bzy_MHz    TSC_MHz    IRQ   
> > SMI    C1    C1E    C3    C6    C7s    C8    C9    C10    C1%   
> > C1E%    C3%    C6%    C7s%    C8%    C9%    C10%    CPU%c1   
> > CPU%c3    CPU%c6    CPU%c7    CoreTmp    PkgTmpGFX%rc6    GFXMHz   
> > Totl%C0    Any%C0    GFX%C0    CPUGFX%    Pkg%pc2    Pkg%pc3   
> > Pkg%pc6    Pkg%pc7    Pkg%pc8    Pkg%pc9    Pk%pc10    PkgWatt   
> > CorWatt    GFXWatt    RAMWatt    PKG_%    RAM_%
> > -    -    332    17.65    1881    1608    15736    0    4620   
> > 990    543    2445    0    1778    0    939    2.07    1.74   
> > 0.58    8.79    0.00    27.36    0.00    41.79    16.43    0.38   
> > 9.86    55.66    42    42    96.50    300    55.08    40.16   
> > 3.42    2.67    7.65    42.05    0.00    0.00    0.00    0.00   
> > 0.00    3.38    1.75    0.02    0.50    0.00    0.00
> > 0    0    341    19.51    1750    1608    2663    0    126   
> > 144    112    521    0    496    0    221    0.46    0.47   
> > 0.58    7.39    0.00    27.37    0.00    44.17    19.41    0.45   
> > 6.99    53.64    42    42    96.50    300    55.08    40.16   
> > 3.42    2.67    7.65    42.05    0.00    0.00    0.00    0.00   
> > 0.00    3.38    1.75    0.02    0.50    0.00    0.00
> > 0    2    371    19.14    1937    1608    7358    0    4130   
> > 398    190    646    0    265    0    198    5.91    3.69   
> > 0.72    6.79    0.00    21.76    0.00    42.06    19.78
> > 1    1    338    16.84    2005    1608    2630    0    221   
> > 195    123    561    0    472    0    287    1.43    0.55   
> > 0.56    7.55    0.00    32.61    0.00    40.42    12.41    0.32   
> > 12.74    57.69    40
> > 1    3    279    15.12    1843    1608    3085    0    143   
> > 253    118    717    0    545    0    233    0.46    2.26   
> > 0.47    13.45    0.00    27.69    0.00    40.53    14.14
> > ^C
> > 
> > 
> > On Tue, Apr 17, 2018 at 5:59 PM, Pandruvada, Srinivas <srinivas.pan
> > druvada@intel.com> wrote:
> > > On Mon, 2018-04-16 at 16:07 +0000, Mario.Limonciello@dell.com
> > > wrote:
> > > > Hi Dennis,
> > > > 
> > > > > -----Original Message-----
> > > > > From: Dennis Gilmore [mailto:dgilmore@redhat.com]
> > > > > Sent: Friday, April 13, 2018 9:03 PM
> > > > > To: linux-kernel@vger.kernel.org; linux-acpi@vger.kernel.org
> > > > > Cc: Limonciello, Mario
> > > > > Subject: issues with suspend on Dell XPS 13 2-in-1
> > > > > 
> > > > > Hi All,
> > > > > 
> > > > > I have a Dell XPS 13 2-in-1 (9365) that when I supend gets
> > > warm and
> > > > > has
> > > > > much shorter than expected battery life, it is about the same
> > > as if
> > > > > the
> > > > > laptop just runs. I am currently running Fedora 28 with
> > > 4.16.2
> > > > > kernel.
> > > > > 
> > > > 
> > > > Since battery consumption is quite relative I think It would be
> > > good
> > > > if
> > > > you can make a comparable benchmark as this is further
> > > discussed.
> > > > Eg fully charge your notebook, pull the plug, suspend it at
> > > 100% and
> > > > check the power left after some repeatable amount of time.
> > > > 
> > > > > My laptop has NVMe for storage and is configured for AHCI
> > > mode in
> > > > > the
> > > > > bios.
> > > > > 
> > > > > powertop by default shows
> > > > > > > Bad           VM writeback timeout
> > > > > 
> > > > >    Bad           NMI watchdog should be turned off
> > > > >    Bad           Autosuspend for unknown USB device 1-7
> > > (138a:0091)
> > > > >    Bad           Runtime PM for I2C Adapter i2c-0 (i915 gmbus
> > > dpc)
> > > > >    Bad           Runtime PM for I2C Adapter i2c-1 (i915 gmbus
> > > dpb)
> > > > >    Bad           Runtime PM for I2C Adapter i2c-2 (i915 gmbus
> > > dpd)
> > > > >    Bad           Runtime PM for PCI Device Intel Corporation
> > > > > Wireless
> > > > > 8265 / 8275
> > > > >    Bad           Runtime PM for PCI Device Intel Corporation
> > > Device
> > > > > 590c
> > > > >    Bad           Runtime PM for PCI Device Realtek
> > > Semiconductor
> > > > > Co.,
> > > > > Ltd. RTS525A PCI Express Card Reader
> > > > >    Bad           Runtime PM for PCI Device Intel Corporation
> > > Device
> > > > > 9d3d
> > > > >    Bad           Runtime PM for PCI Device Sandisk Corp WD
> > > Black
> > > > > NVMe
> > > > > SSD
> > > > >    Bad           Runtime PM for PCI Device Intel Corporation
> > > > > Sunrise
> > > > > Point-LP PCI Express Root Port #9
> > > > >    Bad           Runtime PM for PCI Device Intel Corporation
> > > > > Sunrise
> > > > > Point-LP Thermal subsystem
> > > > >    Bad           Runtime PM for PCI Device Intel Corporation
> > > > > Sunrise
> > > > > Point-LP USB 3.0 xHCI Controller
> > > > >    Bad           Runtime PM for PCI Device Intel Corporation
> > > > > Sunrise
> > > > > Point-LP PMC
> > > > >    Bad           Runtime PM for PCI Device Intel Corporation
> > > > > Sunrise
> > > > > Point-LP HD Audio
> > > > >    Bad           Runtime PM for PCI Device Intel Corporation
> > > > > Sunrise
> > > > > Point-LP PCI Express Root Port #1
> > > > >    Bad           Runtime PM for PCI Device Intel Corporation
> > > Device
> > > > > 9d4b
> > > > >    Bad           Runtime PM for PCI Device Intel Corporation
> > > Xeon
> > > > > E3-
> > > > > 1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem
> > > > >    Bad           Runtime PM for PCI Device Intel Corporation
> > > > > Sunrise
> > > > > Point-LP Integrated Sensor Hub
> > > > >    Bad           Runtime PM for PCI Device Intel Corporation
> > > Device
> > > > > 591e
> > > > 
> > > > After you've adjusted all of these in powertop, have you
> > > compared
> > > > your performance of the battery over sleep (and actually over
> > > runtime
> > > > usage really too)?
> > > > 
> > > > They should help to allow the CPU to get into deeper states.
> > > > 
> > > > After you've made that change you should also see on the "Idle
> > > Stats"
> > > > page that your CPU is spending more time in the lower C states
> > > > (hopefully
> > > > more in C9/10).
> > > > 
> > > > Srinivas,
> > > > 
> > > > Do you know why Runtime PM is defaulting to disabled for all of
> > > these
> > > > devices?  Is that a default kernel policy problem or a distro
> > > policy
> > > > problem?
> > > This is default kernel policy.
> > > I suggest run
> > > #turbostat
> > > then suspend and wake
> > > when wake up let the turbostat collect data for next sampling
> > > interval.
> > > We have to see what are PkgC% residencies are?
> > > 
> > > Thanks,
> > > Srinivas
> > > 
> > > > 
> > > > 
> > > > >    Good          Bluetooth device interface status
> > > > >    Good          Enable Audio codec power management
> > > > >    Good          Runtime PM for I2C Adapter i2c-8 (Synopsys
> > > > > DesignWare
> > > > > I2C adapter)
> > > > >    Good          Autosuspend for USB device
> > > Integrated_Webcam_HD
> > > > > [CNFGE16N092020028362]
> > > > >    Good          Autosuspend for USB device xHCI Host
> > > Controller
> > > > > [usb1]
> > > > >    Good          Autosuspend for USB device xHCI Host
> > > Controller
> > > > > [usb2]
> > > > >    Good          Runtime PM for I2C Adapter i2c-7 (SMBus I801
> > > > > adapter
> > > > > at efa0)
> > > > >    Good          Autosuspend for unknown USB device 1-2
> > > (8087:0a2b)
> > > > >    Good          Runtime PM for I2C Adapter i2c-6 (Synopsys
> > > > > DesignWare
> > > > > I2C adapter)
> > > > >    Good          I2C Device i2c-DLL077A:01 has no runtime
> > > power
> > > > > management
> > > > >    Good          I2C Device i2c-WCOM482F:00 has no runtime
> > > power
> > > > > management
> > > > >    Good          Runtime PM for PCI Device Intel Corporation
> > > > > Sunrise
> > > > > Point-LP PCI Express Root Port #10
> > > > >    Good          Runtime PM for PCI Device Intel Corporation
> > > > > Sunrise
> > > > > Point-LP CSME HECI #1
> > > > >    Good          Runtime PM for PCI Device Intel Corporation
> > > > > Sunrise
> > > > > Point-LP Serial IO I2C Controller #1
> > > > >    Good          Runtime PM for PCI Device Intel Corporation
> > > > > Sunrise
> > > > > Point-LP SMBus
> > > > >    Good          Runtime PM for PCI Device Intel Corporation
> > > > > Sunrise
> > > > > Point-LP PCI Express Root Port #5
> > > > >    Good          Runtime PM for PCI Device Intel Corporation
> > > > > Sunrise
> > > > > Point-LP Serial IO I2C Controller #0
> > > > >    Good          Wake-on-lan status for device virbr0-nic
> > > > >    Good          Wake-on-lan status for device virbr0
> > > > >    Good          Wake-on-lan status for device wlp60s0
> > > > > 
> > > > > Regards
> > > > > 
> > > > > Dennis
> > > 

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

* Re: issues with suspend on Dell XPS 13 2-in-1
  2018-04-26  3:06         ` Dennis Gilmore
@ 2018-04-26  5:34           ` Pandruvada, Srinivas
  2018-04-26 12:42             ` Dennis Gilmore
  0 siblings, 1 reply; 18+ messages in thread
From: Pandruvada, Srinivas @ 2018-04-26  5:34 UTC (permalink / raw)
  To: dgilmore; +Cc: linux-kernel, linux-acpi, Mario.Limonciello

[-- Attachment #1: Type: text/plain, Size: 30204 bytes --]

Hi Dennis,

On Wed, 2018-04-25 at 22:06 -0500, Dennis Gilmore wrote:
> Hi Srinivas,
> 
> Yes I have latest bios, I have version 1.3.1 that was released on
> 18th
> of  Feb.
Can you try these commands and repeat the test?

# cd /sys/kernel/debug/pmc_core/
# for i in {0..32}; do echo $i > ltr_ignore; done

Thanks,
Srinivas

> 
> Dennis
> 
> El jue, 26-04-2018 a las 02:13 +0000, Pandruvada, Srinivas escribió:
> > 
> > I see around 43% PC10 residency with power drop of 0.7W.
> > Do you have the latest BIOS of Dell 9365?
> > 
> > 
> > Thanks,
> > Srinivas
> > 
> > On Fri, 2018-04-20 at 08:36 -0500, Dennis Gilmore wrote:
> > > Here is the full output 
> > > 
> > > # turbostat
> > > turbostat version 17.06.23 - Len Brown <lenb@kernel.org>
> > > CPUID(0): GenuineIntel 22 CPUID levels; family:model:stepping
> > > 0x6:8e:9 (6:142:9)
> > > CPUID(1): SSE3 MONITOR SMX EIST TM2 TSC MSR ACPI-TM TM
> > > CPUID(6): APERF, TURBO, DTS, PTM, HWP, HWPnotify, HWPwindow,
> > > HWPepp, No-HWPpkg, EPB
> > > cpu0: MSR_IA32_MISC_ENABLE: 0x00850089 (TCC EIST No-MWAIT
> > > PREFETCH
> > > TURBO)
> > > CPUID(7): SGX
> > > cpu0: MSR_IA32_FEATURE_CONTROL: 0x0000ff07 (Locked )
> > > CPUID(0x15): eax_crystal: 2 ebx_tsc: 134 ecx_crystal_hz: 0
> > > TSC: 1608 MHz (24000000 Hz * 134 / 2 / 1000000)
> > > CPUID(0x16): base_mhz: 1600 max_mhz: 3600 bus_mhz: 100
> > > cpu0: MSR_MISC_PWR_MGMT: 0x00401cc0 (ENable-EIST_Coordination
> > > DISable-EPB DISable-OOB)
> > > RAPL: 58254 sec. Joule Counter Range, at 4 Watts
> > > cpu0: MSR_PLATFORM_INFO: 0x804043df1011000
> > > 4 * 100.0 = 400.0 MHz max efficiency frequency
> > > 16 * 100.0 = 1600.0 MHz base frequency
> > > cpu0: MSR_IA32_POWER_CTL: 0x0024005d (C1E auto-promotion:
> > > DISabled)
> > > cpu0: MSR_TURBO_RATIO_LIMIT: 0x22222224
> > > 34 * 100.0 = 3400.0 MHz max turbo 4 active cores
> > > 34 * 100.0 = 3400.0 MHz max turbo 3 active cores
> > > 34 * 100.0 = 3400.0 MHz max turbo 2 active cores
> > > 36 * 100.0 = 3600.0 MHz max turbo 1 active cores
> > > cpu0: MSR_CONFIG_TDP_NOMINAL: 0x0000000d (base_ratio=13)
> > > cpu0: MSR_CONFIG_TDP_LEVEL_1: 0x0006001c (PKG_MIN_PWR_LVL1=0
> > > PKG_MAX_PWR_LVL1=0 LVL1_RATIO=6 PKG_TDP_LVL1=28)
> > > cpu0: MSR_CONFIG_TDP_LEVEL_2: 0x00100038 (PKG_MIN_PWR_LVL2=0
> > > PKG_MAX_PWR_LVL2=0 LVL2_RATIO=16 PKG_TDP_LVL2=56)
> > > cpu0: MSR_CONFIG_TDP_CONTROL: 0x00000000 ( lock=0)
> > > cpu0: MSR_TURBO_ACTIVATION_RATIO: 0x0000000c
> > > (MAX_NON_TURBO_RATIO=12 lock=0)
> > > cpu0: MSR_PKG_CST_CONFIG_CONTROL: 0x1e008008 (UNdemote-C3,
> > > UNdemote-C1, demote-C3, demote-C1, locked: pkg-cstate-limit=8:
> > > unlimited)
> > > cpu0: POLL: CPUIDLE CORE POLL IDLE
> > > cpu0: C1: MWAIT 0x00
> > > cpu0: C1E: MWAIT 0x01
> > > cpu0: C3: MWAIT 0x10
> > > cpu0: C6: MWAIT 0x20
> > > cpu0: C7s: MWAIT 0x33
> > > cpu0: C8: MWAIT 0x40
> > > cpu0: C9: MWAIT 0x50
> > > cpu0: C10: MWAIT 0x60
> > > cpu0: cpufreq driver: intel_pstate
> > > cpu0: cpufreq governor: powersave
> > > cpufreq intel_pstate no_turbo: 0
> > > cpu0: MSR_MISC_FEATURE_CONTROL: 0x00000000 (L2-Prefetch L2-
> > > Prefetch-pair L1-Prefetch L1-IP-Prefetch)
> > > cpu0: MSR_PM_ENABLE: 0x00000001 (HWP)
> > > cpu0: MSR_HWP_CAPABILITIES: 0x01060d24 (high 36 guar 13 eff 6 low
> > > 1)
> > > cpu0: MSR_HWP_REQUEST: 0x80002404 (min 4 max 36 des 0 epp 0x80
> > > window 0x0 pkg 0x0)
> > > cpu0: MSR_HWP_INTERRUPT: 0x00000000 (Dis_Guaranteed_Perf_Change,
> > > Dis_Excursion_Min)
> > > cpu0: MSR_HWP_STATUS: 0x00000000 (No-Guaranteed_Perf_Change, No-
> > > Excursion_Min)
> > > cpu0: MSR_IA32_ENERGY_PERF_BIAS: 0x00000006 (balanced)
> > > cpu0: MSR_RAPL_POWER_UNIT: 0x000a0e03 (0.125000 Watts, 0.000061
> > > Joules, 0.000977 sec.)
> > > cpu0: MSR_PKG_POWER_INFO: 0x00000024 (4 W TDP, RAPL 0 - 0 W,
> > > 0.000000 sec.)
> > > cpu0: MSR_PKG_POWER_LIMIT: 0x420078009c8048 (UNlocked)
> > > cpu0: PKG Limit #1: ENabled (9.000000 Watts, 24.000000 sec, clamp
> > > DISabled)
> > > cpu0: PKG Limit #2: DISabled (15.000000 Watts, 0.002441* sec,
> > > clamp
> > > DISabled)
> > > cpu0: MSR_DRAM_POWER_LIMIT: 0x5400de00000000 (UNlocked)
> > > cpu0: DRAM Limit: DISabled (0.000000 Watts, 0.000977 sec, clamp
> > > DISabled)
> > > cpu0: MSR_PP0_POLICY: 0
> > > cpu0: MSR_PP0_POWER_LIMIT: 0x00000000 (UNlocked)
> > > cpu0: Cores Limit: DISabled (0.000000 Watts, 0.000977 sec, clamp
> > > DISabled)
> > > cpu0: MSR_PP1_POLICY: 0
> > > cpu0: MSR_PP1_POWER_LIMIT: 0x00000000 (UNlocked)
> > > cpu0: GFX Limit: DISabled (0.000000 Watts, 0.000977 sec, clamp
> > > DISabled)
> > > cpu0: MSR_IA32_TEMPERATURE_TARGET: 0x0a640080 (100 C)
> > > cpu0: MSR_IA32_PACKAGE_THERM_STATUS: 0x88380802 (44 C)
> > > cpu0: MSR_IA32_PACKAGE_THERM_INTERRUPT: 0x00000003 (100 C, 100 C)
> > > cpu0: MSR_PKGC3_IRTL: 0x0000884e (valid, 79872 ns)
> > > cpu0: MSR_PKGC6_IRTL: 0x00008876 (valid, 120832 ns)
> > > cpu0: MSR_PKGC7_IRTL: 0x00008894 (valid, 151552 ns)
> > > cpu0: MSR_PKGC8_IRTL: 0x000088fa (valid, 256000 ns)
> > > cpu0: MSR_PKGC9_IRTL: 0x0000894c (valid, 339968 ns)
> > > cpu0: MSR_PKGC10_IRTL: 0x00008bf2 (valid, 1034240 ns)
> > > Core    CPU    Avg_MHz    Busy%    Bzy_MHz    TSC_MHz    IRQ   
> > > SMI    C1    C1E    C3    C6    C7s    C8    C9    C10    C1%   
> > > C1E%    C3%    C6%    C7s%    C8%    C9%    C10%    CPU%c1   
> > > CPU%c3    CPU%c6    CPU%c7    CoreTmp    PkgTmpGFX%rc6    GFXMHz 
> > >   
> > > Totl%C0    Any%C0    GFX%C0    CPUGFX%    Pkg%pc2    Pkg%pc3   
> > > Pkg%pc6    Pkg%pc7    Pkg%pc8    Pkg%pc9    Pk%pc10    PkgWatt   
> > > CorWatt    GFXWatt    RAMWatt    PKG_%    RAM_%
> > > -    -    147    10.33    1419    1608    17129    0    7376   
> > > 217    166    1316    0    1910    0    1103    3.91    1.10   
> > > 0.21    4.78    0.00    30.31    0.00    49.44    17.99    0.28  
> > >  
> > > 5.43    65.98    43    43    96.22    300    38.30    32.37   
> > > 3.69    2.57    6.64    46.01    0.00    0.00    0.00    0.00   
> > > 0.00    2.27    0.69    0.01    0.43    0.00    0.00
> > > 0    0    68    6.63    1029    1608    1727    0    4    10   
> > > 7    276    0    502    0    303    0.05    0.10    0.11    4.67 
> > >   
> > > 0.00    31.11    0.00    57.36    18.70    0.41    4.57    69.69 
> > >   
> > > 43    43    96.22    300    38.30    32.37    3.69    2.57   
> > > 6.64    46.01    0.00    0.00    0.00    0.00    0.00    2.27   
> > > 0.69    0.01    0.43    0.00    0.00
> > > 0    2    63    6.62    953    1608    9460    0    7279    109  
> > >  
> > > 92    396    0    279    0    264    12.36    1.69    0.49   
> > > 3.83    0.00    25.00    0.00    50.30    18.70
> > > 1    1    348    20.03    1738    1608    3535    0    39    58  
> > >  
> > > 32    296    0    497    0    274    1.44    2.48    0.14   
> > > 5.33    0.00    25.55    0.00    45.03    11.28    0.14    6.29  
> > >  
> > > 62.27    43
> > > 1    3    107    8.03    1330    1608    2407    0    54    40   
> > > 35    348    0    632    0    262    1.80    0.14    0.12   
> > > 5.29    0.00    39.59    0.00    45.07    23.27
> > > Core    CPU    Avg_MHz    Busy%    Bzy_MHz    TSC_MHz    IRQ   
> > > SMI    C1    C1E    C3    C6    C7s    C8    C9    C10    C1%   
> > > C1E%    C3%    C6%    C7s%    C8%    C9%    C10%    CPU%c1   
> > > CPU%c3    CPU%c6    CPU%c7    CoreTmp    PkgTmpGFX%rc6    GFXMHz 
> > >   
> > > Totl%C0    Any%C0    GFX%C0    CPUGFX%    Pkg%pc2    Pkg%pc3   
> > > Pkg%pc6    Pkg%pc7    Pkg%pc8    Pkg%pc9    Pk%pc10    PkgWatt   
> > > CorWatt    GFXWatt    RAMWatt    PKG_%    RAM_%
> > > -    -    189    12.70    1491    1608    27037    0    18431   
> > > 1102    620    2370    0    2566    0    869    8.81    1.59   
> > > 0.62    7.29    0.00    33.68    0.00    35.44    27.56    0.59  
> > >  
> > > 7.34    51.81    43    43    96.59    300    43.49    34.75   
> > > 3.35    2.21    4.41    31.19    0.00    0.00    0.00    0.00   
> > > 0.00    2.41    0.80    0.04    0.44    0.00    0.00
> > > 0    0    176    11.12    1582    1608    1476    0    86    163 
> > >   
> > > 131    494    0    800    0    235    0.36    1.56    0.45   
> > > 7.36    0.00    44.74    0.00    34.42    43.67    0.89    4.91  
> > >  
> > > 39.40    43    43    96.59    300    43.49    34.75    3.35   
> > > 2.21    4.41    31.19    0.00    0.00    0.00    0.00    0.00   
> > > 2.41    0.80    0.04    0.44    0.00    0.00
> > > 0    2    201    15.40    1303    1608    21985    0    18071   
> > > 317    268    722    0    307    0    100    32.70    1.78   
> > > 1.24    5.55    0.00    18.17    0.00    25.65    39.41
> > > 1    1    190    12.76    1488    1608    2036    0    184   
> > > 388    172    655    0    655    0    276    0.43    0.90   
> > > 0.57    8.32    0.00    36.01    0.00    41.04    12.97    0.29  
> > >  
> > > 9.77    64.22    41
> > > 1    3    191    11.52    1657    1608    1540    0    90    234 
> > >   
> > > 49    499    0    804    0    258    1.76    2.14    0.21   
> > > 7.94    0.00    35.81    0.00    40.66    14.21
> > > Core    CPU    Avg_MHz    Busy%    Bzy_MHz    TSC_MHz    IRQ   
> > > SMI    C1    C1E    C3    C6    C7s    C8    C9    C10    C1%   
> > > C1E%    C3%    C6%    C7s%    C8%    C9%    C10%    CPU%c1   
> > > CPU%c3    CPU%c6    CPU%c7    CoreTmp    PkgTmpGFX%rc6    GFXMHz 
> > >   
> > > Totl%C0    Any%C0    GFX%C0    CPUGFX%    Pkg%pc2    Pkg%pc3   
> > > Pkg%pc6    Pkg%pc7    Pkg%pc8    Pkg%pc9    Pk%pc10    PkgWatt   
> > > CorWatt    GFXWatt    RAMWatt    PKG_%    RAM_%
> > > -    -    96    5.13    1915    1565    4541    28    1129   
> > > 1180    498    1878    0    1499    0    547    0.40    1.21   
> > > 0.35    2.79    0.00    10.33    0.00    26.00    9.59    0.31   
> > > 3.30    81.68    41    41    91.18    300    16.58    13.17   
> > > 6.25    2.69    3.32    26.47    0.00    0.02    0.18    0.00   
> > > 43.97    1.73    0.56    0.13    0.36    0.00    0.00
> > > 0    0    82    5.14    1640    1565    1494    7    557    337  
> > >  
> > > 121    469    0    534    0    92    0.59    0.63    0.23   
> > > 3.12    0.00    13.33    0.00    24.37    12.04    0.36    2.57  
> > >  
> > > 79.88    41    41    91.18    300    16.58    13.17    6.25   
> > > 2.69    3.32    26.47    0.00    0.02    0.18    0.00    43.97   
> > > 1.73    0.56    0.13    0.36    0.00    0.00
> > > 0    2    125    5.94    2167    1565    807    7    310    210  
> > >  
> > > 140    384    0    229    0    173    0.58    0.48    0.52   
> > > 1.95    0.00    8.19    0.00    24.78    11.25
> > > 1    1    97    5.23    1907    1565    1079    7    123    404  
> > >  
> > > 127    407    0    308    0    168    0.20    2.65    0.16   
> > > 2.12    0.00    8.36    0.00    28.75    6.99    0.25    4.03   
> > > 83.51    41
> > > 1    3    78    4.21    1904    1566    1161    7    139    229  
> > >  
> > > 110    618    0    428    0    114    0.23    1.08    0.49   
> > > 3.98    0.00    11.46    0.00    26.08    8.06
> > > Core    CPU    Avg_MHz    Busy%    Bzy_MHz    TSC_MHz    IRQ   
> > > SMI    C1    C1E    C3    C6    C7s    C8    C9    C10    C1%   
> > > C1E%    C3%    C6%    C7s%    C8%    C9%    C10%    CPU%c1   
> > > CPU%c3    CPU%c6    CPU%c7    CoreTmp    PkgTmpGFX%rc6    GFXMHz 
> > >   
> > > Totl%C0    Any%C0    GFX%C0    CPUGFX%    Pkg%pc2    Pkg%pc3   
> > > Pkg%pc6    Pkg%pc7    Pkg%pc8    Pkg%pc9    Pk%pc10    PkgWatt   
> > > CorWatt    GFXWatt    RAMWatt    PKG_%    RAM_%
> > > -    -    183    12.22    1496    1609    25545    0    16054   
> > > 1105    588    3104    0    2351    0    947    7.49    2.30   
> > > 0.87    8.77    0.00    29.96    0.00    38.56    26.73    1.32  
> > >  
> > > 8.99    50.74    42    42    95.39    300    41.70    33.24   
> > > 4.64    2.58    8.98    28.79    0.00    0.00    0.00    0.00   
> > > 0.00    2.52    0.85    0.07    0.45    0.00    0.00
> > > 0    0    129    8.96    1442    1610    1306    0    282    331 
> > >   
> > > 132    650    0    569    0    270    0.39    0.78    1.11   
> > > 8.95    0.00    34.47    0.00    45.42    46.16    0.62    6.30  
> > >  
> > > 37.97    42    42    95.39    300    41.70    33.23    4.64   
> > > 2.58    8.98    28.79    0.00    0.00    0.00    0.00    0.00   
> > > 2.52    0.85    0.07    0.45    0.00    0.00
> > > 0    2    275    18.50    1486    1610    20238    0    15228   
> > > 350    181    884    0    348    0    132    28.61    5.11   
> > > 0.67    5.72    0.00    12.26    0.00    29.59    36.62
> > > 1    1    177    10.93    1615    1610    1554    0    279   
> > > 183    92    533    0    523    0    316    0.52    2.63    0.39 
> > >   
> > > 7.30    0.00    32.26    0.00    46.07    11.89    2.02    11.67 
> > >   
> > > 63.48    41
> > > 1    3    151    10.50    1437    1608    2447    0    265   
> > > 241    183    1037    0    911    0    229    0.45    0.67   
> > > 1.31    13.11    0.00    40.84    0.00    33.17    12.24
> > > Core    CPU    Avg_MHz    Busy%    Bzy_MHz    TSC_MHz    IRQ   
> > > SMI    C1    C1E    C3    C6    C7s    C8    C9    C10    C1%   
> > > C1E%    C3%    C6%    C7s%    C8%    C9%    C10%    CPU%c1   
> > > CPU%c3    CPU%c6    CPU%c7    CoreTmp    PkgTmpGFX%rc6    GFXMHz 
> > >   
> > > Totl%C0    Any%C0    GFX%C0    CPUGFX%    Pkg%pc2    Pkg%pc3   
> > > Pkg%pc6    Pkg%pc7    Pkg%pc8    Pkg%pc9    Pk%pc10    PkgWatt   
> > > CorWatt    GFXWatt    RAMWatt    PKG_%    RAM_%
> > > -    -    186    12.71    1465    1608    5928    0    201   
> > > 1435    578    2054    0    1837    0    1155    0.31    2.04   
> > > 0.75    7.03    0.00    33.91    0.00    43.21    13.64    0.57  
> > >  
> > > 8.32    64.76    41    42    98.75    300    45.25    38.20   
> > > 1.34    0.98    14.64    44.34    0.00    0.00    0.00    0.00   
> > > 0.00    2.98    1.36    0.01    0.48    0.00    0.00
> > > 0    0    79    9.06    868    1608    1222    0    66    314   
> > > 166    558    0    451    0    301    0.36    1.21    1.07   
> > > 7.24    0.00    35.02    0.00    46.02    11.10    0.83    9.56  
> > >  
> > > 69.45    41    42    98.75    300    45.25    38.20    1.34   
> > > 0.98    14.64    44.34    0.00    0.00    0.00    0.00    0.00   
> > > 2.98    1.36    0.01    0.48    0.00    0.00
> > > 0    2    87    8.34    1044    1608    1205    0    57    508   
> > > 159    545    0    455    0    291    0.17    3.72    0.69   
> > > 8.00    0.00    28.44    0.00    50.63    11.82
> > > 1    1    240    14.08    1706    1608    1700    0    50    419 
> > >   
> > > 80    432    0    533    0    307    0.66    2.14    0.35   
> > > 6.43    0.00    39.50    0.00    36.79    18.45    0.31    7.09  
> > >  
> > > 60.07    40
> > > 1    3    338    19.34    1750    1608    1801    0    28    194 
> > >   
> > > 173    519    0    398    0    256    0.06    1.10    0.90   
> > > 6.44    0.00    32.70    0.00    39.38    13.20
> > > Core    CPU    Avg_MHz    Busy%    Bzy_MHz    TSC_MHz    IRQ   
> > > SMI    C1    C1E    C3    C6    C7s    C8    C9    C10    C1%   
> > > C1E%    C3%    C6%    C7s%    C8%    C9%    C10%    CPU%c1   
> > > CPU%c3    CPU%c6    CPU%c7    CoreTmp    PkgTmpGFX%rc6    GFXMHz 
> > >   
> > > Totl%C0    Any%C0    GFX%C0    CPUGFX%    Pkg%pc2    Pkg%pc3   
> > > Pkg%pc6    Pkg%pc7    Pkg%pc8    Pkg%pc9    Pk%pc10    PkgWatt   
> > > CorWatt    GFXWatt    RAMWatt    PKG_%    RAM_%
> > > -    -    332    17.65    1881    1608    15736    0    4620   
> > > 990    543    2445    0    1778    0    939    2.07    1.74   
> > > 0.58    8.79    0.00    27.36    0.00    41.79    16.43    0.38  
> > >  
> > > 9.86    55.66    42    42    96.50    300    55.08    40.16   
> > > 3.42    2.67    7.65    42.05    0.00    0.00    0.00    0.00   
> > > 0.00    3.38    1.75    0.02    0.50    0.00    0.00
> > > 0    0    341    19.51    1750    1608    2663    0    126   
> > > 144    112    521    0    496    0    221    0.46    0.47   
> > > 0.58    7.39    0.00    27.37    0.00    44.17    19.41    0.45  
> > >  
> > > 6.99    53.64    42    42    96.50    300    55.08    40.16   
> > > 3.42    2.67    7.65    42.05    0.00    0.00    0.00    0.00   
> > > 0.00    3.38    1.75    0.02    0.50    0.00    0.00
> > > 0    2    371    19.14    1937    1608    7358    0    4130   
> > > 398    190    646    0    265    0    198    5.91    3.69   
> > > 0.72    6.79    0.00    21.76    0.00    42.06    19.78
> > > 1    1    338    16.84    2005    1608    2630    0    221   
> > > 195    123    561    0    472    0    287    1.43    0.55   
> > > 0.56    7.55    0.00    32.61    0.00    40.42    12.41    0.32  
> > >  
> > > 12.74    57.69    40
> > > 1    3    279    15.12    1843    1608    3085    0    143   
> > > 253    118    717    0    545    0    233    0.46    2.26   
> > > 0.47    13.45    0.00    27.69    0.00    40.53    14.14
> > > ^C
> > > 
> > > 
> > > On Tue, Apr 17, 2018 at 5:59 PM, Pandruvada, Srinivas
> > > <srinivas.pan
> > > druvada@intel.com> wrote:
> > > > On Mon, 2018-04-16 at 16:07 +0000, Mario.Limonciello@dell.com
> > > > wrote:
> > > > > Hi Dennis,
> > > > > 
> > > > > > -----Original Message-----
> > > > > > From: Dennis Gilmore [mailto:dgilmore@redhat.com]
> > > > > > Sent: Friday, April 13, 2018 9:03 PM
> > > > > > To: linux-kernel@vger.kernel.org; linux-acpi@vger.kernel.or
> > > > > > g
> > > > > > Cc: Limonciello, Mario
> > > > > > Subject: issues with suspend on Dell XPS 13 2-in-1
> > > > > > 
> > > > > > Hi All,
> > > > > > 
> > > > > > I have a Dell XPS 13 2-in-1 (9365) that when I supend gets
> > > > 
> > > > warm and
> > > > > > has
> > > > > > much shorter than expected battery life, it is about the
> > > > > > same
> > > > 
> > > > as if
> > > > > > the
> > > > > > laptop just runs. I am currently running Fedora 28 with
> > > > 
> > > > 4.16.2
> > > > > > kernel.
> > > > > > 
> > > > > 
> > > > > Since battery consumption is quite relative I think It would
> > > > > be
> > > > 
> > > > good
> > > > > if
> > > > > you can make a comparable benchmark as this is further
> > > > 
> > > > discussed.
> > > > > Eg fully charge your notebook, pull the plug, suspend it at
> > > > 
> > > > 100% and
> > > > > check the power left after some repeatable amount of time.
> > > > > 
> > > > > > My laptop has NVMe for storage and is configured for AHCI
> > > > 
> > > > mode in
> > > > > > the
> > > > > > bios.
> > > > > > 
> > > > > > powertop by default shows
> > > > > > > > Bad           VM writeback timeout
> > > > > > 
> > > > > >    Bad           NMI watchdog should be turned off
> > > > > >    Bad           Autosuspend for unknown USB device 1-7
> > > > 
> > > > (138a:0091)
> > > > > >    Bad           Runtime PM for I2C Adapter i2c-0 (i915
> > > > > > gmbus
> > > > 
> > > > dpc)
> > > > > >    Bad           Runtime PM for I2C Adapter i2c-1 (i915
> > > > > > gmbus
> > > > 
> > > > dpb)
> > > > > >    Bad           Runtime PM for I2C Adapter i2c-2 (i915
> > > > > > gmbus
> > > > 
> > > > dpd)
> > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > Corporation
> > > > > > Wireless
> > > > > > 8265 / 8275
> > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > Corporation
> > > > 
> > > > Device
> > > > > > 590c
> > > > > >    Bad           Runtime PM for PCI Device Realtek
> > > > 
> > > > Semiconductor
> > > > > > Co.,
> > > > > > Ltd. RTS525A PCI Express Card Reader
> > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > Corporation
> > > > 
> > > > Device
> > > > > > 9d3d
> > > > > >    Bad           Runtime PM for PCI Device Sandisk Corp WD
> > > > 
> > > > Black
> > > > > > NVMe
> > > > > > SSD
> > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > Corporation
> > > > > > Sunrise
> > > > > > Point-LP PCI Express Root Port #9
> > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > Corporation
> > > > > > Sunrise
> > > > > > Point-LP Thermal subsystem
> > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > Corporation
> > > > > > Sunrise
> > > > > > Point-LP USB 3.0 xHCI Controller
> > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > Corporation
> > > > > > Sunrise
> > > > > > Point-LP PMC
> > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > Corporation
> > > > > > Sunrise
> > > > > > Point-LP HD Audio
> > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > Corporation
> > > > > > Sunrise
> > > > > > Point-LP PCI Express Root Port #1
> > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > Corporation
> > > > 
> > > > Device
> > > > > > 9d4b
> > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > Corporation
> > > > 
> > > > Xeon
> > > > > > E3-
> > > > > > 1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem
> > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > Corporation
> > > > > > Sunrise
> > > > > > Point-LP Integrated Sensor Hub
> > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > Corporation
> > > > 
> > > > Device
> > > > > > 591e
> > > > > 
> > > > > After you've adjusted all of these in powertop, have you
> > > > 
> > > > compared
> > > > > your performance of the battery over sleep (and actually over
> > > > 
> > > > runtime
> > > > > usage really too)?
> > > > > 
> > > > > They should help to allow the CPU to get into deeper states.
> > > > > 
> > > > > After you've made that change you should also see on the
> > > > > "Idle
> > > > 
> > > > Stats"
> > > > > page that your CPU is spending more time in the lower C
> > > > > states
> > > > > (hopefully
> > > > > more in C9/10).
> > > > > 
> > > > > Srinivas,
> > > > > 
> > > > > Do you know why Runtime PM is defaulting to disabled for all
> > > > > of
> > > > 
> > > > these
> > > > > devices?  Is that a default kernel policy problem or a distro
> > > > 
> > > > policy
> > > > > problem?
> > > > 
> > > > This is default kernel policy.
> > > > I suggest run
> > > > #turbostat
> > > > then suspend and wake
> > > > when wake up let the turbostat collect data for next sampling
> > > > interval.
> > > > We have to see what are PkgC% residencies are?
> > > > 
> > > > Thanks,
> > > > Srinivas
> > > > 
> > > > > 
> > > > > 
> > > > > >    Good          Bluetooth device interface status
> > > > > >    Good          Enable Audio codec power management
> > > > > >    Good          Runtime PM for I2C Adapter i2c-8 (Synopsys
> > > > > > DesignWare
> > > > > > I2C adapter)
> > > > > >    Good          Autosuspend for USB device
> > > > 
> > > > Integrated_Webcam_HD
> > > > > > [CNFGE16N092020028362]
> > > > > >    Good          Autosuspend for USB device xHCI Host
> > > > 
> > > > Controller
> > > > > > [usb1]
> > > > > >    Good          Autosuspend for USB device xHCI Host
> > > > 
> > > > Controller
> > > > > > [usb2]
> > > > > >    Good          Runtime PM for I2C Adapter i2c-7 (SMBus
> > > > > > I801
> > > > > > adapter
> > > > > > at efa0)
> > > > > >    Good          Autosuspend for unknown USB device 1-2
> > > > 
> > > > (8087:0a2b)
> > > > > >    Good          Runtime PM for I2C Adapter i2c-6 (Synopsys
> > > > > > DesignWare
> > > > > > I2C adapter)
> > > > > >    Good          I2C Device i2c-DLL077A:01 has no runtime
> > > > 
> > > > power
> > > > > > management
> > > > > >    Good          I2C Device i2c-WCOM482F:00 has no runtime
> > > > 
> > > > power
> > > > > > management
> > > > > >    Good          Runtime PM for PCI Device Intel
> > > > > > Corporation
> > > > > > Sunrise
> > > > > > Point-LP PCI Express Root Port #10
> > > > > >    Good          Runtime PM for PCI Device Intel
> > > > > > Corporation
> > > > > > Sunrise
> > > > > > Point-LP CSME HECI #1
> > > > > >    Good          Runtime PM for PCI Device Intel
> > > > > > Corporation
> > > > > > Sunrise
> > > > > > Point-LP Serial IO I2C Controller #1
> > > > > >    Good          Runtime PM for PCI Device Intel
> > > > > > Corporation
> > > > > > Sunrise
> > > > > > Point-LP SMBus
> > > > > >    Good          Runtime PM for PCI Device Intel
> > > > > > Corporation
> > > > > > Sunrise
> > > > > > Point-LP PCI Express Root Port #5
> > > > > >    Good          Runtime PM for PCI Device Intel
> > > > > > Corporation
> > > > > > Sunrise
> > > > > > Point-LP Serial IO I2C Controller #0
> > > > > >    Good          Wake-on-lan status for device virbr0-nic
> > > > > >    Good          Wake-on-lan status for device virbr0
> > > > > >    Good          Wake-on-lan status for device wlp60s0
> > > > > > 
> > > > > > Regards
> > > > > > 
> > > > > > Dennis

[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 3290 bytes --]

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

* Re: issues with suspend on Dell XPS 13 2-in-1
  2018-04-26  5:34           ` Pandruvada, Srinivas
@ 2018-04-26 12:42             ` Dennis Gilmore
  2018-04-26 15:09               ` Pandruvada, Srinivas
  0 siblings, 1 reply; 18+ messages in thread
From: Dennis Gilmore @ 2018-04-26 12:42 UTC (permalink / raw)
  To: Pandruvada, Srinivas; +Cc: linux-kernel, linux-acpi, Mario.Limonciello

Hi Srinivas,

El jue, 26-04-2018 a las 05:34 +0000, Pandruvada, Srinivas escribió:
> Hi Dennis,
> 
> On Wed, 2018-04-25 at 22:06 -0500, Dennis Gilmore wrote:
> > Hi Srinivas,
> > 
> > Yes I have latest bios, I have version 1.3.1 that was released on
> > 18th
> > of  Feb.
> 
> Can you try these commands and repeat the test?
> 
> # cd /sys/kernel/debug/pmc_core/
> # for i in {0..32}; do echo $i > ltr_ignore; done

# for i in {0..32}; do echo $i > ltr_ignore; done
-bash: ltr_ignore: Operación no permitida
-bash: ltr_ignore: Operación no permitida
-bash: ltr_ignore: Operación no permitida
-bash: ltr_ignore: Operación no permitida
-bash: ltr_ignore: Operación no permitida
-bash: ltr_ignore: Operación no permitida
-bash: ltr_ignore: Operación no permitida
-bash: ltr_ignore: Operación no permitida
-bash: ltr_ignore: Operación no permitida
-bash: ltr_ignore: Operación no permitida
-bash: ltr_ignore: Operación no permitida
-bash: ltr_ignore: Operación no permitida
-bash: ltr_ignore: Operación no permitida
-bash: ltr_ignore: Operación no permitida
-bash: ltr_ignore: Operación no permitida
-bash: ltr_ignore: Operación no permitida
-bash: ltr_ignore: Operación no permitida
-bash: ltr_ignore: Operación no permitida
-bash: ltr_ignore: Operación no permitida
-bash: ltr_ignore: Operación no permitida
-bash: ltr_ignore: Operación no permitida
-bash: ltr_ignore: Operación no permitida
-bash: ltr_ignore: Operación no permitida
-bash: ltr_ignore: Operación no permitida
-bash: ltr_ignore: Operación no permitida
-bash: ltr_ignore: Operación no permitida
-bash: ltr_ignore: Operación no permitida
-bash: ltr_ignore: Operación no permitida
-bash: ltr_ignore: Operación no permitida
-bash: ltr_ignore: Operación no permitida
-bash: ltr_ignore: Operación no permitida
-bash: ltr_ignore: Operación no permitida
-bash: ltr_ignore: Operación no permitida

should I go ahead and run the test even though writing to ltr_ignore
failed?

Dennis

> Thanks,
> Srinivas
> 
> > 
> > Dennis
> > 
> > El jue, 26-04-2018 a las 02:13 +0000, Pandruvada, Srinivas
> > escribió:
> > > 
> > > I see around 43% PC10 residency with power drop of 0.7W.
> > > Do you have the latest BIOS of Dell 9365?
> > > 
> > > 
> > > Thanks,
> > > Srinivas
> > > 
> > > On Fri, 2018-04-20 at 08:36 -0500, Dennis Gilmore wrote:
> > > > Here is the full output 
> > > > 
> > > > # turbostat
> > > > turbostat version 17.06.23 - Len Brown <lenb@kernel.org>
> > > > CPUID(0): GenuineIntel 22 CPUID levels; family:model:stepping
> > > > 0x6:8e:9 (6:142:9)
> > > > CPUID(1): SSE3 MONITOR SMX EIST TM2 TSC MSR ACPI-TM TM
> > > > CPUID(6): APERF, TURBO, DTS, PTM, HWP, HWPnotify, HWPwindow,
> > > > HWPepp, No-HWPpkg, EPB
> > > > cpu0: MSR_IA32_MISC_ENABLE: 0x00850089 (TCC EIST No-MWAIT
> > > > PREFETCH
> > > > TURBO)
> > > > CPUID(7): SGX
> > > > cpu0: MSR_IA32_FEATURE_CONTROL: 0x0000ff07 (Locked )
> > > > CPUID(0x15): eax_crystal: 2 ebx_tsc: 134 ecx_crystal_hz: 0
> > > > TSC: 1608 MHz (24000000 Hz * 134 / 2 / 1000000)
> > > > CPUID(0x16): base_mhz: 1600 max_mhz: 3600 bus_mhz: 100
> > > > cpu0: MSR_MISC_PWR_MGMT: 0x00401cc0 (ENable-EIST_Coordination
> > > > DISable-EPB DISable-OOB)
> > > > RAPL: 58254 sec. Joule Counter Range, at 4 Watts
> > > > cpu0: MSR_PLATFORM_INFO: 0x804043df1011000
> > > > 4 * 100.0 = 400.0 MHz max efficiency frequency
> > > > 16 * 100.0 = 1600.0 MHz base frequency
> > > > cpu0: MSR_IA32_POWER_CTL: 0x0024005d (C1E auto-promotion:
> > > > DISabled)
> > > > cpu0: MSR_TURBO_RATIO_LIMIT: 0x22222224
> > > > 34 * 100.0 = 3400.0 MHz max turbo 4 active cores
> > > > 34 * 100.0 = 3400.0 MHz max turbo 3 active cores
> > > > 34 * 100.0 = 3400.0 MHz max turbo 2 active cores
> > > > 36 * 100.0 = 3600.0 MHz max turbo 1 active cores
> > > > cpu0: MSR_CONFIG_TDP_NOMINAL: 0x0000000d (base_ratio=13)
> > > > cpu0: MSR_CONFIG_TDP_LEVEL_1: 0x0006001c (PKG_MIN_PWR_LVL1=0
> > > > PKG_MAX_PWR_LVL1=0 LVL1_RATIO=6 PKG_TDP_LVL1=28)
> > > > cpu0: MSR_CONFIG_TDP_LEVEL_2: 0x00100038 (PKG_MIN_PWR_LVL2=0
> > > > PKG_MAX_PWR_LVL2=0 LVL2_RATIO=16 PKG_TDP_LVL2=56)
> > > > cpu0: MSR_CONFIG_TDP_CONTROL: 0x00000000 ( lock=0)
> > > > cpu0: MSR_TURBO_ACTIVATION_RATIO: 0x0000000c
> > > > (MAX_NON_TURBO_RATIO=12 lock=0)
> > > > cpu0: MSR_PKG_CST_CONFIG_CONTROL: 0x1e008008 (UNdemote-C3,
> > > > UNdemote-C1, demote-C3, demote-C1, locked: pkg-cstate-limit=8:
> > > > unlimited)
> > > > cpu0: POLL: CPUIDLE CORE POLL IDLE
> > > > cpu0: C1: MWAIT 0x00
> > > > cpu0: C1E: MWAIT 0x01
> > > > cpu0: C3: MWAIT 0x10
> > > > cpu0: C6: MWAIT 0x20
> > > > cpu0: C7s: MWAIT 0x33
> > > > cpu0: C8: MWAIT 0x40
> > > > cpu0: C9: MWAIT 0x50
> > > > cpu0: C10: MWAIT 0x60
> > > > cpu0: cpufreq driver: intel_pstate
> > > > cpu0: cpufreq governor: powersave
> > > > cpufreq intel_pstate no_turbo: 0
> > > > cpu0: MSR_MISC_FEATURE_CONTROL: 0x00000000 (L2-Prefetch L2-
> > > > Prefetch-pair L1-Prefetch L1-IP-Prefetch)
> > > > cpu0: MSR_PM_ENABLE: 0x00000001 (HWP)
> > > > cpu0: MSR_HWP_CAPABILITIES: 0x01060d24 (high 36 guar 13 eff 6
> > > > low
> > > > 1)
> > > > cpu0: MSR_HWP_REQUEST: 0x80002404 (min 4 max 36 des 0 epp 0x80
> > > > window 0x0 pkg 0x0)
> > > > cpu0: MSR_HWP_INTERRUPT: 0x00000000
> > > > (Dis_Guaranteed_Perf_Change,
> > > > Dis_Excursion_Min)
> > > > cpu0: MSR_HWP_STATUS: 0x00000000 (No-Guaranteed_Perf_Change,
> > > > No-
> > > > Excursion_Min)
> > > > cpu0: MSR_IA32_ENERGY_PERF_BIAS: 0x00000006 (balanced)
> > > > cpu0: MSR_RAPL_POWER_UNIT: 0x000a0e03 (0.125000 Watts, 0.000061
> > > > Joules, 0.000977 sec.)
> > > > cpu0: MSR_PKG_POWER_INFO: 0x00000024 (4 W TDP, RAPL 0 - 0 W,
> > > > 0.000000 sec.)
> > > > cpu0: MSR_PKG_POWER_LIMIT: 0x420078009c8048 (UNlocked)
> > > > cpu0: PKG Limit #1: ENabled (9.000000 Watts, 24.000000 sec,
> > > > clamp
> > > > DISabled)
> > > > cpu0: PKG Limit #2: DISabled (15.000000 Watts, 0.002441* sec,
> > > > clamp
> > > > DISabled)
> > > > cpu0: MSR_DRAM_POWER_LIMIT: 0x5400de00000000 (UNlocked)
> > > > cpu0: DRAM Limit: DISabled (0.000000 Watts, 0.000977 sec, clamp
> > > > DISabled)
> > > > cpu0: MSR_PP0_POLICY: 0
> > > > cpu0: MSR_PP0_POWER_LIMIT: 0x00000000 (UNlocked)
> > > > cpu0: Cores Limit: DISabled (0.000000 Watts, 0.000977 sec,
> > > > clamp
> > > > DISabled)
> > > > cpu0: MSR_PP1_POLICY: 0
> > > > cpu0: MSR_PP1_POWER_LIMIT: 0x00000000 (UNlocked)
> > > > cpu0: GFX Limit: DISabled (0.000000 Watts, 0.000977 sec, clamp
> > > > DISabled)
> > > > cpu0: MSR_IA32_TEMPERATURE_TARGET: 0x0a640080 (100 C)
> > > > cpu0: MSR_IA32_PACKAGE_THERM_STATUS: 0x88380802 (44 C)
> > > > cpu0: MSR_IA32_PACKAGE_THERM_INTERRUPT: 0x00000003 (100 C, 100
> > > > C)
> > > > cpu0: MSR_PKGC3_IRTL: 0x0000884e (valid, 79872 ns)
> > > > cpu0: MSR_PKGC6_IRTL: 0x00008876 (valid, 120832 ns)
> > > > cpu0: MSR_PKGC7_IRTL: 0x00008894 (valid, 151552 ns)
> > > > cpu0: MSR_PKGC8_IRTL: 0x000088fa (valid, 256000 ns)
> > > > cpu0: MSR_PKGC9_IRTL: 0x0000894c (valid, 339968 ns)
> > > > cpu0: MSR_PKGC10_IRTL: 0x00008bf2 (valid, 1034240 ns)
> > > > Core    CPU    Avg_MHz    Busy%    Bzy_MHz    TSC_MHz    IRQ   
> > > > SMI    C1    C1E    C3    C6    C7s    C8    C9    C10    C1%  
> > > >  
> > > > C1E%    C3%    C6%    C7s%    C8%    C9%    C10%    CPU%c1   
> > > > CPU%c3    CPU%c6    CPU%c7    CoreTmp    PkgTmpGFX%rc6    GFXMH
> > > > z 
> > > >   
> > > > Totl%C0    Any%C0    GFX%C0    CPUGFX%    Pkg%pc2    Pkg%pc3   
> > > > Pkg%pc6    Pkg%pc7    Pkg%pc8    Pkg%pc9    Pk%pc10    PkgWatt 
> > > >   
> > > > CorWatt    GFXWatt    RAMWatt    PKG_%    RAM_%
> > > > -    -    147    10.33    1419    1608    17129    0    7376   
> > > > 217    166    1316    0    1910    0    1103    3.91    1.10   
> > > > 0.21    4.78    0.00    30.31    0.00    49.44    17.99    0.28
> > > >   
> > > >  
> > > > 5.43    65.98    43    43    96.22    300    38.30    32.37   
> > > > 3.69    2.57    6.64    46.01    0.00    0.00    0.00    0.00  
> > > >  
> > > > 0.00    2.27    0.69    0.01    0.43    0.00    0.00
> > > > 0    0    68    6.63    1029    1608    1727    0    4    10   
> > > > 7    276    0    502    0    303    0.05    0.10    0.11    4.6
> > > > 7 
> > > >   
> > > > 0.00    31.11    0.00    57.36    18.70    0.41    4.57    69.6
> > > > 9 
> > > >   
> > > > 43    43    96.22    300    38.30    32.37    3.69    2.57   
> > > > 6.64    46.01    0.00    0.00    0.00    0.00    0.00    2.27  
> > > >  
> > > > 0.69    0.01    0.43    0.00    0.00
> > > > 0    2    63    6.62    953    1608    9460    0    7279    109
> > > >   
> > > >  
> > > > 92    396    0    279    0    264    12.36    1.69    0.49   
> > > > 3.83    0.00    25.00    0.00    50.30    18.70
> > > > 1    1    348    20.03    1738    1608    3535    0    39    58
> > > >   
> > > >  
> > > > 32    296    0    497    0    274    1.44    2.48    0.14   
> > > > 5.33    0.00    25.55    0.00    45.03    11.28    0.14    6.29
> > > >   
> > > >  
> > > > 62.27    43
> > > > 1    3    107    8.03    1330    1608    2407    0    54    40 
> > > >   
> > > > 35    348    0    632    0    262    1.80    0.14    0.12   
> > > > 5.29    0.00    39.59    0.00    45.07    23.27
> > > > Core    CPU    Avg_MHz    Busy%    Bzy_MHz    TSC_MHz    IRQ   
> > > > SMI    C1    C1E    C3    C6    C7s    C8    C9    C10    C1%  
> > > >  
> > > > C1E%    C3%    C6%    C7s%    C8%    C9%    C10%    CPU%c1   
> > > > CPU%c3    CPU%c6    CPU%c7    CoreTmp    PkgTmpGFX%rc6    GFXMH
> > > > z 
> > > >   
> > > > Totl%C0    Any%C0    GFX%C0    CPUGFX%    Pkg%pc2    Pkg%pc3   
> > > > Pkg%pc6    Pkg%pc7    Pkg%pc8    Pkg%pc9    Pk%pc10    PkgWatt 
> > > >   
> > > > CorWatt    GFXWatt    RAMWatt    PKG_%    RAM_%
> > > > -    -    189    12.70    1491    1608    27037    0    18431  
> > > >  
> > > > 1102    620    2370    0    2566    0    869    8.81    1.59   
> > > > 0.62    7.29    0.00    33.68    0.00    35.44    27.56    0.59
> > > >   
> > > >  
> > > > 7.34    51.81    43    43    96.59    300    43.49    34.75   
> > > > 3.35    2.21    4.41    31.19    0.00    0.00    0.00    0.00  
> > > >  
> > > > 0.00    2.41    0.80    0.04    0.44    0.00    0.00
> > > > 0    0    176    11.12    1582    1608    1476    0    86    16
> > > > 3 
> > > >   
> > > > 131    494    0    800    0    235    0.36    1.56    0.45   
> > > > 7.36    0.00    44.74    0.00    34.42    43.67    0.89    4.91
> > > >   
> > > >  
> > > > 39.40    43    43    96.59    300    43.49    34.75    3.35   
> > > > 2.21    4.41    31.19    0.00    0.00    0.00    0.00    0.00  
> > > >  
> > > > 2.41    0.80    0.04    0.44    0.00    0.00
> > > > 0    2    201    15.40    1303    1608    21985    0    18071  
> > > >  
> > > > 317    268    722    0    307    0    100    32.70    1.78   
> > > > 1.24    5.55    0.00    18.17    0.00    25.65    39.41
> > > > 1    1    190    12.76    1488    1608    2036    0    184   
> > > > 388    172    655    0    655    0    276    0.43    0.90   
> > > > 0.57    8.32    0.00    36.01    0.00    41.04    12.97    0.29
> > > >   
> > > >  
> > > > 9.77    64.22    41
> > > > 1    3    191    11.52    1657    1608    1540    0    90    23
> > > > 4 
> > > >   
> > > > 49    499    0    804    0    258    1.76    2.14    0.21   
> > > > 7.94    0.00    35.81    0.00    40.66    14.21
> > > > Core    CPU    Avg_MHz    Busy%    Bzy_MHz    TSC_MHz    IRQ   
> > > > SMI    C1    C1E    C3    C6    C7s    C8    C9    C10    C1%  
> > > >  
> > > > C1E%    C3%    C6%    C7s%    C8%    C9%    C10%    CPU%c1   
> > > > CPU%c3    CPU%c6    CPU%c7    CoreTmp    PkgTmpGFX%rc6    GFXMH
> > > > z 
> > > >   
> > > > Totl%C0    Any%C0    GFX%C0    CPUGFX%    Pkg%pc2    Pkg%pc3   
> > > > Pkg%pc6    Pkg%pc7    Pkg%pc8    Pkg%pc9    Pk%pc10    PkgWatt 
> > > >   
> > > > CorWatt    GFXWatt    RAMWatt    PKG_%    RAM_%
> > > > -    -    96    5.13    1915    1565    4541    28    1129   
> > > > 1180    498    1878    0    1499    0    547    0.40    1.21   
> > > > 0.35    2.79    0.00    10.33    0.00    26.00    9.59    0.31 
> > > >   
> > > > 3.30    81.68    41    41    91.18    300    16.58    13.17   
> > > > 6.25    2.69    3.32    26.47    0.00    0.02    0.18    0.00  
> > > >  
> > > > 43.97    1.73    0.56    0.13    0.36    0.00    0.00
> > > > 0    0    82    5.14    1640    1565    1494    7    557    337
> > > >   
> > > >  
> > > > 121    469    0    534    0    92    0.59    0.63    0.23   
> > > > 3.12    0.00    13.33    0.00    24.37    12.04    0.36    2.57
> > > >   
> > > >  
> > > > 79.88    41    41    91.18    300    16.58    13.17    6.25   
> > > > 2.69    3.32    26.47    0.00    0.02    0.18    0.00    43.97 
> > > >   
> > > > 1.73    0.56    0.13    0.36    0.00    0.00
> > > > 0    2    125    5.94    2167    1565    807    7    310    210
> > > >   
> > > >  
> > > > 140    384    0    229    0    173    0.58    0.48    0.52   
> > > > 1.95    0.00    8.19    0.00    24.78    11.25
> > > > 1    1    97    5.23    1907    1565    1079    7    123    404
> > > >   
> > > >  
> > > > 127    407    0    308    0    168    0.20    2.65    0.16   
> > > > 2.12    0.00    8.36    0.00    28.75    6.99    0.25    4.03  
> > > >  
> > > > 83.51    41
> > > > 1    3    78    4.21    1904    1566    1161    7    139    229
> > > >   
> > > >  
> > > > 110    618    0    428    0    114    0.23    1.08    0.49   
> > > > 3.98    0.00    11.46    0.00    26.08    8.06
> > > > Core    CPU    Avg_MHz    Busy%    Bzy_MHz    TSC_MHz    IRQ   
> > > > SMI    C1    C1E    C3    C6    C7s    C8    C9    C10    C1%  
> > > >  
> > > > C1E%    C3%    C6%    C7s%    C8%    C9%    C10%    CPU%c1   
> > > > CPU%c3    CPU%c6    CPU%c7    CoreTmp    PkgTmpGFX%rc6    GFXMH
> > > > z 
> > > >   
> > > > Totl%C0    Any%C0    GFX%C0    CPUGFX%    Pkg%pc2    Pkg%pc3   
> > > > Pkg%pc6    Pkg%pc7    Pkg%pc8    Pkg%pc9    Pk%pc10    PkgWatt 
> > > >   
> > > > CorWatt    GFXWatt    RAMWatt    PKG_%    RAM_%
> > > > -    -    183    12.22    1496    1609    25545    0    16054  
> > > >  
> > > > 1105    588    3104    0    2351    0    947    7.49    2.30   
> > > > 0.87    8.77    0.00    29.96    0.00    38.56    26.73    1.32
> > > >   
> > > >  
> > > > 8.99    50.74    42    42    95.39    300    41.70    33.24   
> > > > 4.64    2.58    8.98    28.79    0.00    0.00    0.00    0.00  
> > > >  
> > > > 0.00    2.52    0.85    0.07    0.45    0.00    0.00
> > > > 0    0    129    8.96    1442    1610    1306    0    282    33
> > > > 1 
> > > >   
> > > > 132    650    0    569    0    270    0.39    0.78    1.11   
> > > > 8.95    0.00    34.47    0.00    45.42    46.16    0.62    6.30
> > > >   
> > > >  
> > > > 37.97    42    42    95.39    300    41.70    33.23    4.64   
> > > > 2.58    8.98    28.79    0.00    0.00    0.00    0.00    0.00  
> > > >  
> > > > 2.52    0.85    0.07    0.45    0.00    0.00
> > > > 0    2    275    18.50    1486    1610    20238    0    15228  
> > > >  
> > > > 350    181    884    0    348    0    132    28.61    5.11   
> > > > 0.67    5.72    0.00    12.26    0.00    29.59    36.62
> > > > 1    1    177    10.93    1615    1610    1554    0    279   
> > > > 183    92    533    0    523    0    316    0.52    2.63    0.3
> > > > 9 
> > > >   
> > > > 7.30    0.00    32.26    0.00    46.07    11.89    2.02    11.6
> > > > 7 
> > > >   
> > > > 63.48    41
> > > > 1    3    151    10.50    1437    1608    2447    0    265   
> > > > 241    183    1037    0    911    0    229    0.45    0.67   
> > > > 1.31    13.11    0.00    40.84    0.00    33.17    12.24
> > > > Core    CPU    Avg_MHz    Busy%    Bzy_MHz    TSC_MHz    IRQ   
> > > > SMI    C1    C1E    C3    C6    C7s    C8    C9    C10    C1%  
> > > >  
> > > > C1E%    C3%    C6%    C7s%    C8%    C9%    C10%    CPU%c1   
> > > > CPU%c3    CPU%c6    CPU%c7    CoreTmp    PkgTmpGFX%rc6    GFXMH
> > > > z 
> > > >   
> > > > Totl%C0    Any%C0    GFX%C0    CPUGFX%    Pkg%pc2    Pkg%pc3   
> > > > Pkg%pc6    Pkg%pc7    Pkg%pc8    Pkg%pc9    Pk%pc10    PkgWatt 
> > > >   
> > > > CorWatt    GFXWatt    RAMWatt    PKG_%    RAM_%
> > > > -    -    186    12.71    1465    1608    5928    0    201   
> > > > 1435    578    2054    0    1837    0    1155    0.31    2.04  
> > > >  
> > > > 0.75    7.03    0.00    33.91    0.00    43.21    13.64    0.57
> > > >   
> > > >  
> > > > 8.32    64.76    41    42    98.75    300    45.25    38.20   
> > > > 1.34    0.98    14.64    44.34    0.00    0.00    0.00    0.00 
> > > >   
> > > > 0.00    2.98    1.36    0.01    0.48    0.00    0.00
> > > > 0    0    79    9.06    868    1608    1222    0    66    314  
> > > >  
> > > > 166    558    0    451    0    301    0.36    1.21    1.07   
> > > > 7.24    0.00    35.02    0.00    46.02    11.10    0.83    9.56
> > > >   
> > > >  
> > > > 69.45    41    42    98.75    300    45.25    38.20    1.34   
> > > > 0.98    14.64    44.34    0.00    0.00    0.00    0.00    0.00 
> > > >   
> > > > 2.98    1.36    0.01    0.48    0.00    0.00
> > > > 0    2    87    8.34    1044    1608    1205    0    57    508 
> > > >   
> > > > 159    545    0    455    0    291    0.17    3.72    0.69   
> > > > 8.00    0.00    28.44    0.00    50.63    11.82
> > > > 1    1    240    14.08    1706    1608    1700    0    50    41
> > > > 9 
> > > >   
> > > > 80    432    0    533    0    307    0.66    2.14    0.35   
> > > > 6.43    0.00    39.50    0.00    36.79    18.45    0.31    7.09
> > > >   
> > > >  
> > > > 60.07    40
> > > > 1    3    338    19.34    1750    1608    1801    0    28    19
> > > > 4 
> > > >   
> > > > 173    519    0    398    0    256    0.06    1.10    0.90   
> > > > 6.44    0.00    32.70    0.00    39.38    13.20
> > > > Core    CPU    Avg_MHz    Busy%    Bzy_MHz    TSC_MHz    IRQ   
> > > > SMI    C1    C1E    C3    C6    C7s    C8    C9    C10    C1%  
> > > >  
> > > > C1E%    C3%    C6%    C7s%    C8%    C9%    C10%    CPU%c1   
> > > > CPU%c3    CPU%c6    CPU%c7    CoreTmp    PkgTmpGFX%rc6    GFXMH
> > > > z 
> > > >   
> > > > Totl%C0    Any%C0    GFX%C0    CPUGFX%    Pkg%pc2    Pkg%pc3   
> > > > Pkg%pc6    Pkg%pc7    Pkg%pc8    Pkg%pc9    Pk%pc10    PkgWatt 
> > > >   
> > > > CorWatt    GFXWatt    RAMWatt    PKG_%    RAM_%
> > > > -    -    332    17.65    1881    1608    15736    0    4620   
> > > > 990    543    2445    0    1778    0    939    2.07    1.74   
> > > > 0.58    8.79    0.00    27.36    0.00    41.79    16.43    0.38
> > > >   
> > > >  
> > > > 9.86    55.66    42    42    96.50    300    55.08    40.16   
> > > > 3.42    2.67    7.65    42.05    0.00    0.00    0.00    0.00  
> > > >  
> > > > 0.00    3.38    1.75    0.02    0.50    0.00    0.00
> > > > 0    0    341    19.51    1750    1608    2663    0    126   
> > > > 144    112    521    0    496    0    221    0.46    0.47   
> > > > 0.58    7.39    0.00    27.37    0.00    44.17    19.41    0.45
> > > >   
> > > >  
> > > > 6.99    53.64    42    42    96.50    300    55.08    40.16   
> > > > 3.42    2.67    7.65    42.05    0.00    0.00    0.00    0.00  
> > > >  
> > > > 0.00    3.38    1.75    0.02    0.50    0.00    0.00
> > > > 0    2    371    19.14    1937    1608    7358    0    4130   
> > > > 398    190    646    0    265    0    198    5.91    3.69   
> > > > 0.72    6.79    0.00    21.76    0.00    42.06    19.78
> > > > 1    1    338    16.84    2005    1608    2630    0    221   
> > > > 195    123    561    0    472    0    287    1.43    0.55   
> > > > 0.56    7.55    0.00    32.61    0.00    40.42    12.41    0.32
> > > >   
> > > >  
> > > > 12.74    57.69    40
> > > > 1    3    279    15.12    1843    1608    3085    0    143   
> > > > 253    118    717    0    545    0    233    0.46    2.26   
> > > > 0.47    13.45    0.00    27.69    0.00    40.53    14.14
> > > > ^C
> > > > 
> > > > 
> > > > On Tue, Apr 17, 2018 at 5:59 PM, Pandruvada, Srinivas
> > > > <srinivas.pan
> > > > druvada@intel.com> wrote:
> > > > > On Mon, 2018-04-16 at 16:07 +0000, Mario.Limonciello@dell.com
> > > > > wrote:
> > > > > > Hi Dennis,
> > > > > > 
> > > > > > > -----Original Message-----
> > > > > > > From: Dennis Gilmore [mailto:dgilmore@redhat.com]
> > > > > > > Sent: Friday, April 13, 2018 9:03 PM
> > > > > > > To: linux-kernel@vger.kernel.org; linux-acpi@vger.kernel.
> > > > > > > or
> > > > > > > g
> > > > > > > Cc: Limonciello, Mario
> > > > > > > Subject: issues with suspend on Dell XPS 13 2-in-1
> > > > > > > 
> > > > > > > Hi All,
> > > > > > > 
> > > > > > > I have a Dell XPS 13 2-in-1 (9365) that when I supend
> > > > > > > gets
> > > > > 
> > > > > warm and
> > > > > > > has
> > > > > > > much shorter than expected battery life, it is about the
> > > > > > > same
> > > > > 
> > > > > as if
> > > > > > > the
> > > > > > > laptop just runs. I am currently running Fedora 28 with
> > > > > 
> > > > > 4.16.2
> > > > > > > kernel.
> > > > > > > 
> > > > > > 
> > > > > > Since battery consumption is quite relative I think It
> > > > > > would
> > > > > > be
> > > > > 
> > > > > good
> > > > > > if
> > > > > > you can make a comparable benchmark as this is further
> > > > > 
> > > > > discussed.
> > > > > > Eg fully charge your notebook, pull the plug, suspend it at
> > > > > 
> > > > > 100% and
> > > > > > check the power left after some repeatable amount of time.
> > > > > > 
> > > > > > > My laptop has NVMe for storage and is configured for AHCI
> > > > > 
> > > > > mode in
> > > > > > > the
> > > > > > > bios.
> > > > > > > 
> > > > > > > powertop by default shows
> > > > > > > > > Bad           VM writeback timeout
> > > > > > > 
> > > > > > >    Bad           NMI watchdog should be turned off
> > > > > > >    Bad           Autosuspend for unknown USB device 1-7
> > > > > 
> > > > > (138a:0091)
> > > > > > >    Bad           Runtime PM for I2C Adapter i2c-0 (i915
> > > > > > > gmbus
> > > > > 
> > > > > dpc)
> > > > > > >    Bad           Runtime PM for I2C Adapter i2c-1 (i915
> > > > > > > gmbus
> > > > > 
> > > > > dpb)
> > > > > > >    Bad           Runtime PM for I2C Adapter i2c-2 (i915
> > > > > > > gmbus
> > > > > 
> > > > > dpd)
> > > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > > Corporation
> > > > > > > Wireless
> > > > > > > 8265 / 8275
> > > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > > Corporation
> > > > > 
> > > > > Device
> > > > > > > 590c
> > > > > > >    Bad           Runtime PM for PCI Device Realtek
> > > > > 
> > > > > Semiconductor
> > > > > > > Co.,
> > > > > > > Ltd. RTS525A PCI Express Card Reader
> > > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > > Corporation
> > > > > 
> > > > > Device
> > > > > > > 9d3d
> > > > > > >    Bad           Runtime PM for PCI Device Sandisk Corp
> > > > > > > WD
> > > > > 
> > > > > Black
> > > > > > > NVMe
> > > > > > > SSD
> > > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > > Corporation
> > > > > > > Sunrise
> > > > > > > Point-LP PCI Express Root Port #9
> > > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > > Corporation
> > > > > > > Sunrise
> > > > > > > Point-LP Thermal subsystem
> > > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > > Corporation
> > > > > > > Sunrise
> > > > > > > Point-LP USB 3.0 xHCI Controller
> > > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > > Corporation
> > > > > > > Sunrise
> > > > > > > Point-LP PMC
> > > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > > Corporation
> > > > > > > Sunrise
> > > > > > > Point-LP HD Audio
> > > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > > Corporation
> > > > > > > Sunrise
> > > > > > > Point-LP PCI Express Root Port #1
> > > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > > Corporation
> > > > > 
> > > > > Device
> > > > > > > 9d4b
> > > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > > Corporation
> > > > > 
> > > > > Xeon
> > > > > > > E3-
> > > > > > > 1200 v5/E3-1500 v5/6th Gen Core Processor Thermal
> > > > > > > Subsystem
> > > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > > Corporation
> > > > > > > Sunrise
> > > > > > > Point-LP Integrated Sensor Hub
> > > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > > Corporation
> > > > > 
> > > > > Device
> > > > > > > 591e
> > > > > > 
> > > > > > After you've adjusted all of these in powertop, have you
> > > > > 
> > > > > compared
> > > > > > your performance of the battery over sleep (and actually
> > > > > > over
> > > > > 
> > > > > runtime
> > > > > > usage really too)?
> > > > > > 
> > > > > > They should help to allow the CPU to get into deeper
> > > > > > states.
> > > > > > 
> > > > > > After you've made that change you should also see on the
> > > > > > "Idle
> > > > > 
> > > > > Stats"
> > > > > > page that your CPU is spending more time in the lower C
> > > > > > states
> > > > > > (hopefully
> > > > > > more in C9/10).
> > > > > > 
> > > > > > Srinivas,
> > > > > > 
> > > > > > Do you know why Runtime PM is defaulting to disabled for
> > > > > > all
> > > > > > of
> > > > > 
> > > > > these
> > > > > > devices?  Is that a default kernel policy problem or a
> > > > > > distro
> > > > > 
> > > > > policy
> > > > > > problem?
> > > > > 
> > > > > This is default kernel policy.
> > > > > I suggest run
> > > > > #turbostat
> > > > > then suspend and wake
> > > > > when wake up let the turbostat collect data for next sampling
> > > > > interval.
> > > > > We have to see what are PkgC% residencies are?
> > > > > 
> > > > > Thanks,
> > > > > Srinivas
> > > > > 
> > > > > > 
> > > > > > 
> > > > > > >    Good          Bluetooth device interface status
> > > > > > >    Good          Enable Audio codec power management
> > > > > > >    Good          Runtime PM for I2C Adapter i2c-8
> > > > > > > (Synopsys
> > > > > > > DesignWare
> > > > > > > I2C adapter)
> > > > > > >    Good          Autosuspend for USB device
> > > > > 
> > > > > Integrated_Webcam_HD
> > > > > > > [CNFGE16N092020028362]
> > > > > > >    Good          Autosuspend for USB device xHCI Host
> > > > > 
> > > > > Controller
> > > > > > > [usb1]
> > > > > > >    Good          Autosuspend for USB device xHCI Host
> > > > > 
> > > > > Controller
> > > > > > > [usb2]
> > > > > > >    Good          Runtime PM for I2C Adapter i2c-7 (SMBus
> > > > > > > I801
> > > > > > > adapter
> > > > > > > at efa0)
> > > > > > >    Good          Autosuspend for unknown USB device 1-2
> > > > > 
> > > > > (8087:0a2b)
> > > > > > >    Good          Runtime PM for I2C Adapter i2c-6
> > > > > > > (Synopsys
> > > > > > > DesignWare
> > > > > > > I2C adapter)
> > > > > > >    Good          I2C Device i2c-DLL077A:01 has no runtime
> > > > > 
> > > > > power
> > > > > > > management
> > > > > > >    Good          I2C Device i2c-WCOM482F:00 has no
> > > > > > > runtime
> > > > > 
> > > > > power
> > > > > > > management
> > > > > > >    Good          Runtime PM for PCI Device Intel
> > > > > > > Corporation
> > > > > > > Sunrise
> > > > > > > Point-LP PCI Express Root Port #10
> > > > > > >    Good          Runtime PM for PCI Device Intel
> > > > > > > Corporation
> > > > > > > Sunrise
> > > > > > > Point-LP CSME HECI #1
> > > > > > >    Good          Runtime PM for PCI Device Intel
> > > > > > > Corporation
> > > > > > > Sunrise
> > > > > > > Point-LP Serial IO I2C Controller #1
> > > > > > >    Good          Runtime PM for PCI Device Intel
> > > > > > > Corporation
> > > > > > > Sunrise
> > > > > > > Point-LP SMBus
> > > > > > >    Good          Runtime PM for PCI Device Intel
> > > > > > > Corporation
> > > > > > > Sunrise
> > > > > > > Point-LP PCI Express Root Port #5
> > > > > > >    Good          Runtime PM for PCI Device Intel
> > > > > > > Corporation
> > > > > > > Sunrise
> > > > > > > Point-LP Serial IO I2C Controller #0
> > > > > > >    Good          Wake-on-lan status for device virbr0-nic
> > > > > > >    Good          Wake-on-lan status for device virbr0
> > > > > > >    Good          Wake-on-lan status for device wlp60s0
> > > > > > > 
> > > > > > > Regards
> > > > > > > 
> > > > > > > Dennis

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

* Re: issues with suspend on Dell XPS 13 2-in-1
  2018-04-26 12:42             ` Dennis Gilmore
@ 2018-04-26 15:09               ` Pandruvada, Srinivas
  2018-04-26 15:40                 ` Dennis Gilmore
  2018-10-12 13:38                 ` Dennis Gilmore
  0 siblings, 2 replies; 18+ messages in thread
From: Pandruvada, Srinivas @ 2018-04-26 15:09 UTC (permalink / raw)
  To: dgilmore; +Cc: linux-kernel, linux-acpi, Mario.Limonciello

[-- Attachment #1: Type: text/plain, Size: 36799 bytes --]

On Thu, 2018-04-26 at 07:42 -0500, Dennis Gilmore wrote:
> Hi Srinivas,
> 
> El jue, 26-04-2018 a las 05:34 +0000, Pandruvada, Srinivas escribió:
> > Hi Dennis,
> > 
> > On Wed, 2018-04-25 at 22:06 -0500, Dennis Gilmore wrote:
> > > Hi Srinivas,
> > > 
> > > Yes I have latest bios, I have version 1.3.1 that was released on
> > > 18th
> > > of  Feb.
> > 
> > Can you try these commands and repeat the test?
> > 
> > # cd /sys/kernel/debug/pmc_core/
> > # for i in {0..32}; do echo $i > ltr_ignore; done
> 
> # for i in {0..32}; do echo $i > ltr_ignore; done
> -bash: ltr_ignore: Operación no permitida
> -bash: ltr_ignore: Operación no permitida
> -bash: ltr_ignore: Operación no permitida
> -bash: ltr_ignore: Operación no permitida
> -bash: ltr_ignore: Operación no permitida
> -bash: ltr_ignore: Operación no permitida
> -bash: ltr_ignore: Operación no permitida
> -bash: ltr_ignore: Operación no permitida
> -bash: ltr_ignore: Operación no permitida
> -bash: ltr_ignore: Operación no permitida
> -bash: ltr_ignore: Operación no permitida
> -bash: ltr_ignore: Operación no permitida
> -bash: ltr_ignore: Operación no permitida
> -bash: ltr_ignore: Operación no permitida
> -bash: ltr_ignore: Operación no permitida
> -bash: ltr_ignore: Operación no permitida
> -bash: ltr_ignore: Operación no permitida
> -bash: ltr_ignore: Operación no permitida
> -bash: ltr_ignore: Operación no permitida
> -bash: ltr_ignore: Operación no permitida
> -bash: ltr_ignore: Operación no permitida
> -bash: ltr_ignore: Operación no permitida
> -bash: ltr_ignore: Operación no permitida
> -bash: ltr_ignore: Operación no permitida
> -bash: ltr_ignore: Operación no permitida
> -bash: ltr_ignore: Operación no permitida
> -bash: ltr_ignore: Operación no permitida
> -bash: ltr_ignore: Operación no permitida
> -bash: ltr_ignore: Operación no permitida
> -bash: ltr_ignore: Operación no permitida
> -bash: ltr_ignore: Operación no permitida
> -bash: ltr_ignore: Operación no permitida
> -bash: ltr_ignore: Operación no permitida
> 
> should I go ahead and run the test even though writing to ltr_ignore
> failed?
Strange. Do you have any issue with the permissions?
# cd /sys/kernel/debug/pmc_core/
# ls -l

Do you have rw permissions?

Thanks,
Srinivas

> 
> Dennis
> 
> > Thanks,
> > Srinivas
> > 
> > > 
> > > Dennis
> > > 
> > > El jue, 26-04-2018 a las 02:13 +0000, Pandruvada, Srinivas
> > > escribió:
> > > > 
> > > > I see around 43% PC10 residency with power drop of 0.7W.
> > > > Do you have the latest BIOS of Dell 9365?
> > > > 
> > > > 
> > > > Thanks,
> > > > Srinivas
> > > > 
> > > > On Fri, 2018-04-20 at 08:36 -0500, Dennis Gilmore wrote:
> > > > > Here is the full output 
> > > > > 
> > > > > # turbostat
> > > > > turbostat version 17.06.23 - Len Brown <lenb@kernel.org>
> > > > > CPUID(0): GenuineIntel 22 CPUID levels; family:model:stepping
> > > > > 0x6:8e:9 (6:142:9)
> > > > > CPUID(1): SSE3 MONITOR SMX EIST TM2 TSC MSR ACPI-TM TM
> > > > > CPUID(6): APERF, TURBO, DTS, PTM, HWP, HWPnotify, HWPwindow,
> > > > > HWPepp, No-HWPpkg, EPB
> > > > > cpu0: MSR_IA32_MISC_ENABLE: 0x00850089 (TCC EIST No-MWAIT
> > > > > PREFETCH
> > > > > TURBO)
> > > > > CPUID(7): SGX
> > > > > cpu0: MSR_IA32_FEATURE_CONTROL: 0x0000ff07 (Locked )
> > > > > CPUID(0x15): eax_crystal: 2 ebx_tsc: 134 ecx_crystal_hz: 0
> > > > > TSC: 1608 MHz (24000000 Hz * 134 / 2 / 1000000)
> > > > > CPUID(0x16): base_mhz: 1600 max_mhz: 3600 bus_mhz: 100
> > > > > cpu0: MSR_MISC_PWR_MGMT: 0x00401cc0 (ENable-EIST_Coordination
> > > > > DISable-EPB DISable-OOB)
> > > > > RAPL: 58254 sec. Joule Counter Range, at 4 Watts
> > > > > cpu0: MSR_PLATFORM_INFO: 0x804043df1011000
> > > > > 4 * 100.0 = 400.0 MHz max efficiency frequency
> > > > > 16 * 100.0 = 1600.0 MHz base frequency
> > > > > cpu0: MSR_IA32_POWER_CTL: 0x0024005d (C1E auto-promotion:
> > > > > DISabled)
> > > > > cpu0: MSR_TURBO_RATIO_LIMIT: 0x22222224
> > > > > 34 * 100.0 = 3400.0 MHz max turbo 4 active cores
> > > > > 34 * 100.0 = 3400.0 MHz max turbo 3 active cores
> > > > > 34 * 100.0 = 3400.0 MHz max turbo 2 active cores
> > > > > 36 * 100.0 = 3600.0 MHz max turbo 1 active cores
> > > > > cpu0: MSR_CONFIG_TDP_NOMINAL: 0x0000000d (base_ratio=13)
> > > > > cpu0: MSR_CONFIG_TDP_LEVEL_1: 0x0006001c (PKG_MIN_PWR_LVL1=0
> > > > > PKG_MAX_PWR_LVL1=0 LVL1_RATIO=6 PKG_TDP_LVL1=28)
> > > > > cpu0: MSR_CONFIG_TDP_LEVEL_2: 0x00100038 (PKG_MIN_PWR_LVL2=0
> > > > > PKG_MAX_PWR_LVL2=0 LVL2_RATIO=16 PKG_TDP_LVL2=56)
> > > > > cpu0: MSR_CONFIG_TDP_CONTROL: 0x00000000 ( lock=0)
> > > > > cpu0: MSR_TURBO_ACTIVATION_RATIO: 0x0000000c
> > > > > (MAX_NON_TURBO_RATIO=12 lock=0)
> > > > > cpu0: MSR_PKG_CST_CONFIG_CONTROL: 0x1e008008 (UNdemote-C3,
> > > > > UNdemote-C1, demote-C3, demote-C1, locked: pkg-cstate-
> > > > > limit=8:
> > > > > unlimited)
> > > > > cpu0: POLL: CPUIDLE CORE POLL IDLE
> > > > > cpu0: C1: MWAIT 0x00
> > > > > cpu0: C1E: MWAIT 0x01
> > > > > cpu0: C3: MWAIT 0x10
> > > > > cpu0: C6: MWAIT 0x20
> > > > > cpu0: C7s: MWAIT 0x33
> > > > > cpu0: C8: MWAIT 0x40
> > > > > cpu0: C9: MWAIT 0x50
> > > > > cpu0: C10: MWAIT 0x60
> > > > > cpu0: cpufreq driver: intel_pstate
> > > > > cpu0: cpufreq governor: powersave
> > > > > cpufreq intel_pstate no_turbo: 0
> > > > > cpu0: MSR_MISC_FEATURE_CONTROL: 0x00000000 (L2-Prefetch L2-
> > > > > Prefetch-pair L1-Prefetch L1-IP-Prefetch)
> > > > > cpu0: MSR_PM_ENABLE: 0x00000001 (HWP)
> > > > > cpu0: MSR_HWP_CAPABILITIES: 0x01060d24 (high 36 guar 13 eff 6
> > > > > low
> > > > > 1)
> > > > > cpu0: MSR_HWP_REQUEST: 0x80002404 (min 4 max 36 des 0 epp
> > > > > 0x80
> > > > > window 0x0 pkg 0x0)
> > > > > cpu0: MSR_HWP_INTERRUPT: 0x00000000
> > > > > (Dis_Guaranteed_Perf_Change,
> > > > > Dis_Excursion_Min)
> > > > > cpu0: MSR_HWP_STATUS: 0x00000000 (No-Guaranteed_Perf_Change,
> > > > > No-
> > > > > Excursion_Min)
> > > > > cpu0: MSR_IA32_ENERGY_PERF_BIAS: 0x00000006 (balanced)
> > > > > cpu0: MSR_RAPL_POWER_UNIT: 0x000a0e03 (0.125000 Watts,
> > > > > 0.000061
> > > > > Joules, 0.000977 sec.)
> > > > > cpu0: MSR_PKG_POWER_INFO: 0x00000024 (4 W TDP, RAPL 0 - 0 W,
> > > > > 0.000000 sec.)
> > > > > cpu0: MSR_PKG_POWER_LIMIT: 0x420078009c8048 (UNlocked)
> > > > > cpu0: PKG Limit #1: ENabled (9.000000 Watts, 24.000000 sec,
> > > > > clamp
> > > > > DISabled)
> > > > > cpu0: PKG Limit #2: DISabled (15.000000 Watts, 0.002441* sec,
> > > > > clamp
> > > > > DISabled)
> > > > > cpu0: MSR_DRAM_POWER_LIMIT: 0x5400de00000000 (UNlocked)
> > > > > cpu0: DRAM Limit: DISabled (0.000000 Watts, 0.000977 sec,
> > > > > clamp
> > > > > DISabled)
> > > > > cpu0: MSR_PP0_POLICY: 0
> > > > > cpu0: MSR_PP0_POWER_LIMIT: 0x00000000 (UNlocked)
> > > > > cpu0: Cores Limit: DISabled (0.000000 Watts, 0.000977 sec,
> > > > > clamp
> > > > > DISabled)
> > > > > cpu0: MSR_PP1_POLICY: 0
> > > > > cpu0: MSR_PP1_POWER_LIMIT: 0x00000000 (UNlocked)
> > > > > cpu0: GFX Limit: DISabled (0.000000 Watts, 0.000977 sec,
> > > > > clamp
> > > > > DISabled)
> > > > > cpu0: MSR_IA32_TEMPERATURE_TARGET: 0x0a640080 (100 C)
> > > > > cpu0: MSR_IA32_PACKAGE_THERM_STATUS: 0x88380802 (44 C)
> > > > > cpu0: MSR_IA32_PACKAGE_THERM_INTERRUPT: 0x00000003 (100 C,
> > > > > 100
> > > > > C)
> > > > > cpu0: MSR_PKGC3_IRTL: 0x0000884e (valid, 79872 ns)
> > > > > cpu0: MSR_PKGC6_IRTL: 0x00008876 (valid, 120832 ns)
> > > > > cpu0: MSR_PKGC7_IRTL: 0x00008894 (valid, 151552 ns)
> > > > > cpu0: MSR_PKGC8_IRTL: 0x000088fa (valid, 256000 ns)
> > > > > cpu0: MSR_PKGC9_IRTL: 0x0000894c (valid, 339968 ns)
> > > > > cpu0: MSR_PKGC10_IRTL: 0x00008bf2 (valid, 1034240 ns)
> > > > > Core    CPU    Avg_MHz    Busy%    Bzy_MHz    TSC_MHz    IRQ 
> > > > >   
> > > > > SMI    C1    C1E    C3    C6    C7s    C8    C9    C10    C1%
> > > > >   
> > > > >  
> > > > > C1E%    C3%    C6%    C7s%    C8%    C9%    C10%    CPU%c1   
> > > > > CPU%c3    CPU%c6    CPU%c7    CoreTmp    PkgTmpGFX%rc6    GFX
> > > > > MH
> > > > > z 
> > > > >   
> > > > > Totl%C0    Any%C0    GFX%C0    CPUGFX%    Pkg%pc2    Pkg%pc3 
> > > > >   
> > > > > Pkg%pc6    Pkg%pc7    Pkg%pc8    Pkg%pc9    Pk%pc10    PkgWat
> > > > > t 
> > > > >   
> > > > > CorWatt    GFXWatt    RAMWatt    PKG_%    RAM_%
> > > > > -    -    147    10.33    1419    1608    17129    0    7376 
> > > > >   
> > > > > 217    166    1316    0    1910    0    1103    3.91    1.10 
> > > > >   
> > > > > 0.21    4.78    0.00    30.31    0.00    49.44    17.99    0.
> > > > > 28
> > > > >   
> > > > >  
> > > > > 5.43    65.98    43    43    96.22    300    38.30    32.37  
> > > > >  
> > > > > 3.69    2.57    6.64    46.01    0.00    0.00    0.00    0.00
> > > > >   
> > > > >  
> > > > > 0.00    2.27    0.69    0.01    0.43    0.00    0.00
> > > > > 0    0    68    6.63    1029    1608    1727    0    4    10 
> > > > >   
> > > > > 7    276    0    502    0    303    0.05    0.10    0.11    4
> > > > > .6
> > > > > 7 
> > > > >   
> > > > > 0.00    31.11    0.00    57.36    18.70    0.41    4.57    69
> > > > > .6
> > > > > 9 
> > > > >   
> > > > > 43    43    96.22    300    38.30    32.37    3.69    2.57   
> > > > > 6.64    46.01    0.00    0.00    0.00    0.00    0.00    2.27
> > > > >   
> > > > >  
> > > > > 0.69    0.01    0.43    0.00    0.00
> > > > > 0    2    63    6.62    953    1608    9460    0    7279    1
> > > > > 09
> > > > >   
> > > > >  
> > > > > 92    396    0    279    0    264    12.36    1.69    0.49   
> > > > > 3.83    0.00    25.00    0.00    50.30    18.70
> > > > > 1    1    348    20.03    1738    1608    3535    0    39    
> > > > > 58
> > > > >   
> > > > >  
> > > > > 32    296    0    497    0    274    1.44    2.48    0.14   
> > > > > 5.33    0.00    25.55    0.00    45.03    11.28    0.14    6.
> > > > > 29
> > > > >   
> > > > >  
> > > > > 62.27    43
> > > > > 1    3    107    8.03    1330    1608    2407    0    54    4
> > > > > 0 
> > > > >   
> > > > > 35    348    0    632    0    262    1.80    0.14    0.12   
> > > > > 5.29    0.00    39.59    0.00    45.07    23.27
> > > > > Core    CPU    Avg_MHz    Busy%    Bzy_MHz    TSC_MHz    IRQ 
> > > > >   
> > > > > SMI    C1    C1E    C3    C6    C7s    C8    C9    C10    C1%
> > > > >   
> > > > >  
> > > > > C1E%    C3%    C6%    C7s%    C8%    C9%    C10%    CPU%c1   
> > > > > CPU%c3    CPU%c6    CPU%c7    CoreTmp    PkgTmpGFX%rc6    GFX
> > > > > MH
> > > > > z 
> > > > >   
> > > > > Totl%C0    Any%C0    GFX%C0    CPUGFX%    Pkg%pc2    Pkg%pc3 
> > > > >   
> > > > > Pkg%pc6    Pkg%pc7    Pkg%pc8    Pkg%pc9    Pk%pc10    PkgWat
> > > > > t 
> > > > >   
> > > > > CorWatt    GFXWatt    RAMWatt    PKG_%    RAM_%
> > > > > -    -    189    12.70    1491    1608    27037    0    18431
> > > > >   
> > > > >  
> > > > > 1102    620    2370    0    2566    0    869    8.81    1.59 
> > > > >   
> > > > > 0.62    7.29    0.00    33.68    0.00    35.44    27.56    0.
> > > > > 59
> > > > >   
> > > > >  
> > > > > 7.34    51.81    43    43    96.59    300    43.49    34.75  
> > > > >  
> > > > > 3.35    2.21    4.41    31.19    0.00    0.00    0.00    0.00
> > > > >   
> > > > >  
> > > > > 0.00    2.41    0.80    0.04    0.44    0.00    0.00
> > > > > 0    0    176    11.12    1582    1608    1476    0    86    
> > > > > 16
> > > > > 3 
> > > > >   
> > > > > 131    494    0    800    0    235    0.36    1.56    0.45   
> > > > > 7.36    0.00    44.74    0.00    34.42    43.67    0.89    4.
> > > > > 91
> > > > >   
> > > > >  
> > > > > 39.40    43    43    96.59    300    43.49    34.75    3.35  
> > > > >  
> > > > > 2.21    4.41    31.19    0.00    0.00    0.00    0.00    0.00
> > > > >   
> > > > >  
> > > > > 2.41    0.80    0.04    0.44    0.00    0.00
> > > > > 0    2    201    15.40    1303    1608    21985    0    18071
> > > > >   
> > > > >  
> > > > > 317    268    722    0    307    0    100    32.70    1.78   
> > > > > 1.24    5.55    0.00    18.17    0.00    25.65    39.41
> > > > > 1    1    190    12.76    1488    1608    2036    0    184   
> > > > > 388    172    655    0    655    0    276    0.43    0.90   
> > > > > 0.57    8.32    0.00    36.01    0.00    41.04    12.97    0.
> > > > > 29
> > > > >   
> > > > >  
> > > > > 9.77    64.22    41
> > > > > 1    3    191    11.52    1657    1608    1540    0    90    
> > > > > 23
> > > > > 4 
> > > > >   
> > > > > 49    499    0    804    0    258    1.76    2.14    0.21   
> > > > > 7.94    0.00    35.81    0.00    40.66    14.21
> > > > > Core    CPU    Avg_MHz    Busy%    Bzy_MHz    TSC_MHz    IRQ 
> > > > >   
> > > > > SMI    C1    C1E    C3    C6    C7s    C8    C9    C10    C1%
> > > > >   
> > > > >  
> > > > > C1E%    C3%    C6%    C7s%    C8%    C9%    C10%    CPU%c1   
> > > > > CPU%c3    CPU%c6    CPU%c7    CoreTmp    PkgTmpGFX%rc6    GFX
> > > > > MH
> > > > > z 
> > > > >   
> > > > > Totl%C0    Any%C0    GFX%C0    CPUGFX%    Pkg%pc2    Pkg%pc3 
> > > > >   
> > > > > Pkg%pc6    Pkg%pc7    Pkg%pc8    Pkg%pc9    Pk%pc10    PkgWat
> > > > > t 
> > > > >   
> > > > > CorWatt    GFXWatt    RAMWatt    PKG_%    RAM_%
> > > > > -    -    96    5.13    1915    1565    4541    28    1129   
> > > > > 1180    498    1878    0    1499    0    547    0.40    1.21 
> > > > >   
> > > > > 0.35    2.79    0.00    10.33    0.00    26.00    9.59    0.3
> > > > > 1 
> > > > >   
> > > > > 3.30    81.68    41    41    91.18    300    16.58    13.17  
> > > > >  
> > > > > 6.25    2.69    3.32    26.47    0.00    0.02    0.18    0.00
> > > > >   
> > > > >  
> > > > > 43.97    1.73    0.56    0.13    0.36    0.00    0.00
> > > > > 0    0    82    5.14    1640    1565    1494    7    557    3
> > > > > 37
> > > > >   
> > > > >  
> > > > > 121    469    0    534    0    92    0.59    0.63    0.23   
> > > > > 3.12    0.00    13.33    0.00    24.37    12.04    0.36    2.
> > > > > 57
> > > > >   
> > > > >  
> > > > > 79.88    41    41    91.18    300    16.58    13.17    6.25  
> > > > >  
> > > > > 2.69    3.32    26.47    0.00    0.02    0.18    0.00    43.9
> > > > > 7 
> > > > >   
> > > > > 1.73    0.56    0.13    0.36    0.00    0.00
> > > > > 0    2    125    5.94    2167    1565    807    7    310    2
> > > > > 10
> > > > >   
> > > > >  
> > > > > 140    384    0    229    0    173    0.58    0.48    0.52   
> > > > > 1.95    0.00    8.19    0.00    24.78    11.25
> > > > > 1    1    97    5.23    1907    1565    1079    7    123    4
> > > > > 04
> > > > >   
> > > > >  
> > > > > 127    407    0    308    0    168    0.20    2.65    0.16   
> > > > > 2.12    0.00    8.36    0.00    28.75    6.99    0.25    4.03
> > > > >   
> > > > >  
> > > > > 83.51    41
> > > > > 1    3    78    4.21    1904    1566    1161    7    139    2
> > > > > 29
> > > > >   
> > > > >  
> > > > > 110    618    0    428    0    114    0.23    1.08    0.49   
> > > > > 3.98    0.00    11.46    0.00    26.08    8.06
> > > > > Core    CPU    Avg_MHz    Busy%    Bzy_MHz    TSC_MHz    IRQ 
> > > > >   
> > > > > SMI    C1    C1E    C3    C6    C7s    C8    C9    C10    C1%
> > > > >   
> > > > >  
> > > > > C1E%    C3%    C6%    C7s%    C8%    C9%    C10%    CPU%c1   
> > > > > CPU%c3    CPU%c6    CPU%c7    CoreTmp    PkgTmpGFX%rc6    GFX
> > > > > MH
> > > > > z 
> > > > >   
> > > > > Totl%C0    Any%C0    GFX%C0    CPUGFX%    Pkg%pc2    Pkg%pc3 
> > > > >   
> > > > > Pkg%pc6    Pkg%pc7    Pkg%pc8    Pkg%pc9    Pk%pc10    PkgWat
> > > > > t 
> > > > >   
> > > > > CorWatt    GFXWatt    RAMWatt    PKG_%    RAM_%
> > > > > -    -    183    12.22    1496    1609    25545    0    16054
> > > > >   
> > > > >  
> > > > > 1105    588    3104    0    2351    0    947    7.49    2.30 
> > > > >   
> > > > > 0.87    8.77    0.00    29.96    0.00    38.56    26.73    1.
> > > > > 32
> > > > >   
> > > > >  
> > > > > 8.99    50.74    42    42    95.39    300    41.70    33.24  
> > > > >  
> > > > > 4.64    2.58    8.98    28.79    0.00    0.00    0.00    0.00
> > > > >   
> > > > >  
> > > > > 0.00    2.52    0.85    0.07    0.45    0.00    0.00
> > > > > 0    0    129    8.96    1442    1610    1306    0    282    
> > > > > 33
> > > > > 1 
> > > > >   
> > > > > 132    650    0    569    0    270    0.39    0.78    1.11   
> > > > > 8.95    0.00    34.47    0.00    45.42    46.16    0.62    6.
> > > > > 30
> > > > >   
> > > > >  
> > > > > 37.97    42    42    95.39    300    41.70    33.23    4.64  
> > > > >  
> > > > > 2.58    8.98    28.79    0.00    0.00    0.00    0.00    0.00
> > > > >   
> > > > >  
> > > > > 2.52    0.85    0.07    0.45    0.00    0.00
> > > > > 0    2    275    18.50    1486    1610    20238    0    15228
> > > > >   
> > > > >  
> > > > > 350    181    884    0    348    0    132    28.61    5.11   
> > > > > 0.67    5.72    0.00    12.26    0.00    29.59    36.62
> > > > > 1    1    177    10.93    1615    1610    1554    0    279   
> > > > > 183    92    533    0    523    0    316    0.52    2.63    0
> > > > > .3
> > > > > 9 
> > > > >   
> > > > > 7.30    0.00    32.26    0.00    46.07    11.89    2.02    11
> > > > > .6
> > > > > 7 
> > > > >   
> > > > > 63.48    41
> > > > > 1    3    151    10.50    1437    1608    2447    0    265   
> > > > > 241    183    1037    0    911    0    229    0.45    0.67   
> > > > > 1.31    13.11    0.00    40.84    0.00    33.17    12.24
> > > > > Core    CPU    Avg_MHz    Busy%    Bzy_MHz    TSC_MHz    IRQ 
> > > > >   
> > > > > SMI    C1    C1E    C3    C6    C7s    C8    C9    C10    C1%
> > > > >   
> > > > >  
> > > > > C1E%    C3%    C6%    C7s%    C8%    C9%    C10%    CPU%c1   
> > > > > CPU%c3    CPU%c6    CPU%c7    CoreTmp    PkgTmpGFX%rc6    GFX
> > > > > MH
> > > > > z 
> > > > >   
> > > > > Totl%C0    Any%C0    GFX%C0    CPUGFX%    Pkg%pc2    Pkg%pc3 
> > > > >   
> > > > > Pkg%pc6    Pkg%pc7    Pkg%pc8    Pkg%pc9    Pk%pc10    PkgWat
> > > > > t 
> > > > >   
> > > > > CorWatt    GFXWatt    RAMWatt    PKG_%    RAM_%
> > > > > -    -    186    12.71    1465    1608    5928    0    201   
> > > > > 1435    578    2054    0    1837    0    1155    0.31    2.04
> > > > >   
> > > > >  
> > > > > 0.75    7.03    0.00    33.91    0.00    43.21    13.64    0.
> > > > > 57
> > > > >   
> > > > >  
> > > > > 8.32    64.76    41    42    98.75    300    45.25    38.20  
> > > > >  
> > > > > 1.34    0.98    14.64    44.34    0.00    0.00    0.00    0.0
> > > > > 0 
> > > > >   
> > > > > 0.00    2.98    1.36    0.01    0.48    0.00    0.00
> > > > > 0    0    79    9.06    868    1608    1222    0    66    314
> > > > >   
> > > > >  
> > > > > 166    558    0    451    0    301    0.36    1.21    1.07   
> > > > > 7.24    0.00    35.02    0.00    46.02    11.10    0.83    9.
> > > > > 56
> > > > >   
> > > > >  
> > > > > 69.45    41    42    98.75    300    45.25    38.20    1.34  
> > > > >  
> > > > > 0.98    14.64    44.34    0.00    0.00    0.00    0.00    0.0
> > > > > 0 
> > > > >   
> > > > > 2.98    1.36    0.01    0.48    0.00    0.00
> > > > > 0    2    87    8.34    1044    1608    1205    0    57    50
> > > > > 8 
> > > > >   
> > > > > 159    545    0    455    0    291    0.17    3.72    0.69   
> > > > > 8.00    0.00    28.44    0.00    50.63    11.82
> > > > > 1    1    240    14.08    1706    1608    1700    0    50    
> > > > > 41
> > > > > 9 
> > > > >   
> > > > > 80    432    0    533    0    307    0.66    2.14    0.35   
> > > > > 6.43    0.00    39.50    0.00    36.79    18.45    0.31    7.
> > > > > 09
> > > > >   
> > > > >  
> > > > > 60.07    40
> > > > > 1    3    338    19.34    1750    1608    1801    0    28    
> > > > > 19
> > > > > 4 
> > > > >   
> > > > > 173    519    0    398    0    256    0.06    1.10    0.90   
> > > > > 6.44    0.00    32.70    0.00    39.38    13.20
> > > > > Core    CPU    Avg_MHz    Busy%    Bzy_MHz    TSC_MHz    IRQ 
> > > > >   
> > > > > SMI    C1    C1E    C3    C6    C7s    C8    C9    C10    C1%
> > > > >   
> > > > >  
> > > > > C1E%    C3%    C6%    C7s%    C8%    C9%    C10%    CPU%c1   
> > > > > CPU%c3    CPU%c6    CPU%c7    CoreTmp    PkgTmpGFX%rc6    GFX
> > > > > MH
> > > > > z 
> > > > >   
> > > > > Totl%C0    Any%C0    GFX%C0    CPUGFX%    Pkg%pc2    Pkg%pc3 
> > > > >   
> > > > > Pkg%pc6    Pkg%pc7    Pkg%pc8    Pkg%pc9    Pk%pc10    PkgWat
> > > > > t 
> > > > >   
> > > > > CorWatt    GFXWatt    RAMWatt    PKG_%    RAM_%
> > > > > -    -    332    17.65    1881    1608    15736    0    4620 
> > > > >   
> > > > > 990    543    2445    0    1778    0    939    2.07    1.74  
> > > > >  
> > > > > 0.58    8.79    0.00    27.36    0.00    41.79    16.43    0.
> > > > > 38
> > > > >   
> > > > >  
> > > > > 9.86    55.66    42    42    96.50    300    55.08    40.16  
> > > > >  
> > > > > 3.42    2.67    7.65    42.05    0.00    0.00    0.00    0.00
> > > > >   
> > > > >  
> > > > > 0.00    3.38    1.75    0.02    0.50    0.00    0.00
> > > > > 0    0    341    19.51    1750    1608    2663    0    126   
> > > > > 144    112    521    0    496    0    221    0.46    0.47   
> > > > > 0.58    7.39    0.00    27.37    0.00    44.17    19.41    0.
> > > > > 45
> > > > >   
> > > > >  
> > > > > 6.99    53.64    42    42    96.50    300    55.08    40.16  
> > > > >  
> > > > > 3.42    2.67    7.65    42.05    0.00    0.00    0.00    0.00
> > > > >   
> > > > >  
> > > > > 0.00    3.38    1.75    0.02    0.50    0.00    0.00
> > > > > 0    2    371    19.14    1937    1608    7358    0    4130  
> > > > >  
> > > > > 398    190    646    0    265    0    198    5.91    3.69   
> > > > > 0.72    6.79    0.00    21.76    0.00    42.06    19.78
> > > > > 1    1    338    16.84    2005    1608    2630    0    221   
> > > > > 195    123    561    0    472    0    287    1.43    0.55   
> > > > > 0.56    7.55    0.00    32.61    0.00    40.42    12.41    0.
> > > > > 32
> > > > >   
> > > > >  
> > > > > 12.74    57.69    40
> > > > > 1    3    279    15.12    1843    1608    3085    0    143   
> > > > > 253    118    717    0    545    0    233    0.46    2.26   
> > > > > 0.47    13.45    0.00    27.69    0.00    40.53    14.14
> > > > > ^C
> > > > > 
> > > > > 
> > > > > On Tue, Apr 17, 2018 at 5:59 PM, Pandruvada, Srinivas
> > > > > <srinivas.pan
> > > > > druvada@intel.com> wrote:
> > > > > > On Mon, 2018-04-16 at 16:07 +0000, Mario.Limonciello@dell.c
> > > > > > om
> > > > > > wrote:
> > > > > > > Hi Dennis,
> > > > > > > 
> > > > > > > > -----Original Message-----
> > > > > > > > From: Dennis Gilmore [mailto:dgilmore@redhat.com]
> > > > > > > > Sent: Friday, April 13, 2018 9:03 PM
> > > > > > > > To: linux-kernel@vger.kernel.org; linux-acpi@vger.kerne
> > > > > > > > l.
> > > > > > > > or
> > > > > > > > g
> > > > > > > > Cc: Limonciello, Mario
> > > > > > > > Subject: issues with suspend on Dell XPS 13 2-in-1
> > > > > > > > 
> > > > > > > > Hi All,
> > > > > > > > 
> > > > > > > > I have a Dell XPS 13 2-in-1 (9365) that when I supend
> > > > > > > > gets
> > > > > > 
> > > > > > warm and
> > > > > > > > has
> > > > > > > > much shorter than expected battery life, it is about
> > > > > > > > the
> > > > > > > > same
> > > > > > 
> > > > > > as if
> > > > > > > > the
> > > > > > > > laptop just runs. I am currently running Fedora 28 with
> > > > > > 
> > > > > > 4.16.2
> > > > > > > > kernel.
> > > > > > > > 
> > > > > > > 
> > > > > > > Since battery consumption is quite relative I think It
> > > > > > > would
> > > > > > > be
> > > > > > 
> > > > > > good
> > > > > > > if
> > > > > > > you can make a comparable benchmark as this is further
> > > > > > 
> > > > > > discussed.
> > > > > > > Eg fully charge your notebook, pull the plug, suspend it
> > > > > > > at
> > > > > > 
> > > > > > 100% and
> > > > > > > check the power left after some repeatable amount of
> > > > > > > time.
> > > > > > > 
> > > > > > > > My laptop has NVMe for storage and is configured for
> > > > > > > > AHCI
> > > > > > 
> > > > > > mode in
> > > > > > > > the
> > > > > > > > bios.
> > > > > > > > 
> > > > > > > > powertop by default shows
> > > > > > > > > > Bad           VM writeback timeout
> > > > > > > > 
> > > > > > > >    Bad           NMI watchdog should be turned off
> > > > > > > >    Bad           Autosuspend for unknown USB device 1-7
> > > > > > 
> > > > > > (138a:0091)
> > > > > > > >    Bad           Runtime PM for I2C Adapter i2c-0 (i915
> > > > > > > > gmbus
> > > > > > 
> > > > > > dpc)
> > > > > > > >    Bad           Runtime PM for I2C Adapter i2c-1 (i915
> > > > > > > > gmbus
> > > > > > 
> > > > > > dpb)
> > > > > > > >    Bad           Runtime PM for I2C Adapter i2c-2 (i915
> > > > > > > > gmbus
> > > > > > 
> > > > > > dpd)
> > > > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > > > Corporation
> > > > > > > > Wireless
> > > > > > > > 8265 / 8275
> > > > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > > > Corporation
> > > > > > 
> > > > > > Device
> > > > > > > > 590c
> > > > > > > >    Bad           Runtime PM for PCI Device Realtek
> > > > > > 
> > > > > > Semiconductor
> > > > > > > > Co.,
> > > > > > > > Ltd. RTS525A PCI Express Card Reader
> > > > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > > > Corporation
> > > > > > 
> > > > > > Device
> > > > > > > > 9d3d
> > > > > > > >    Bad           Runtime PM for PCI Device Sandisk Corp
> > > > > > > > WD
> > > > > > 
> > > > > > Black
> > > > > > > > NVMe
> > > > > > > > SSD
> > > > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > > > Corporation
> > > > > > > > Sunrise
> > > > > > > > Point-LP PCI Express Root Port #9
> > > > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > > > Corporation
> > > > > > > > Sunrise
> > > > > > > > Point-LP Thermal subsystem
> > > > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > > > Corporation
> > > > > > > > Sunrise
> > > > > > > > Point-LP USB 3.0 xHCI Controller
> > > > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > > > Corporation
> > > > > > > > Sunrise
> > > > > > > > Point-LP PMC
> > > > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > > > Corporation
> > > > > > > > Sunrise
> > > > > > > > Point-LP HD Audio
> > > > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > > > Corporation
> > > > > > > > Sunrise
> > > > > > > > Point-LP PCI Express Root Port #1
> > > > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > > > Corporation
> > > > > > 
> > > > > > Device
> > > > > > > > 9d4b
> > > > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > > > Corporation
> > > > > > 
> > > > > > Xeon
> > > > > > > > E3-
> > > > > > > > 1200 v5/E3-1500 v5/6th Gen Core Processor Thermal
> > > > > > > > Subsystem
> > > > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > > > Corporation
> > > > > > > > Sunrise
> > > > > > > > Point-LP Integrated Sensor Hub
> > > > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > > > Corporation
> > > > > > 
> > > > > > Device
> > > > > > > > 591e
> > > > > > > 
> > > > > > > After you've adjusted all of these in powertop, have you
> > > > > > 
> > > > > > compared
> > > > > > > your performance of the battery over sleep (and actually
> > > > > > > over
> > > > > > 
> > > > > > runtime
> > > > > > > usage really too)?
> > > > > > > 
> > > > > > > They should help to allow the CPU to get into deeper
> > > > > > > states.
> > > > > > > 
> > > > > > > After you've made that change you should also see on the
> > > > > > > "Idle
> > > > > > 
> > > > > > Stats"
> > > > > > > page that your CPU is spending more time in the lower C
> > > > > > > states
> > > > > > > (hopefully
> > > > > > > more in C9/10).
> > > > > > > 
> > > > > > > Srinivas,
> > > > > > > 
> > > > > > > Do you know why Runtime PM is defaulting to disabled for
> > > > > > > all
> > > > > > > of
> > > > > > 
> > > > > > these
> > > > > > > devices?  Is that a default kernel policy problem or a
> > > > > > > distro
> > > > > > 
> > > > > > policy
> > > > > > > problem?
> > > > > > 
> > > > > > This is default kernel policy.
> > > > > > I suggest run
> > > > > > #turbostat
> > > > > > then suspend and wake
> > > > > > when wake up let the turbostat collect data for next
> > > > > > sampling
> > > > > > interval.
> > > > > > We have to see what are PkgC% residencies are?
> > > > > > 
> > > > > > Thanks,
> > > > > > Srinivas
> > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > >    Good          Bluetooth device interface status
> > > > > > > >    Good          Enable Audio codec power management
> > > > > > > >    Good          Runtime PM for I2C Adapter i2c-8
> > > > > > > > (Synopsys
> > > > > > > > DesignWare
> > > > > > > > I2C adapter)
> > > > > > > >    Good          Autosuspend for USB device
> > > > > > 
> > > > > > Integrated_Webcam_HD
> > > > > > > > [CNFGE16N092020028362]
> > > > > > > >    Good          Autosuspend for USB device xHCI Host
> > > > > > 
> > > > > > Controller
> > > > > > > > [usb1]
> > > > > > > >    Good          Autosuspend for USB device xHCI Host
> > > > > > 
> > > > > > Controller
> > > > > > > > [usb2]
> > > > > > > >    Good          Runtime PM for I2C Adapter i2c-7
> > > > > > > > (SMBus
> > > > > > > > I801
> > > > > > > > adapter
> > > > > > > > at efa0)
> > > > > > > >    Good          Autosuspend for unknown USB device 1-2
> > > > > > 
> > > > > > (8087:0a2b)
> > > > > > > >    Good          Runtime PM for I2C Adapter i2c-6
> > > > > > > > (Synopsys
> > > > > > > > DesignWare
> > > > > > > > I2C adapter)
> > > > > > > >    Good          I2C Device i2c-DLL077A:01 has no
> > > > > > > > runtime
> > > > > > 
> > > > > > power
> > > > > > > > management
> > > > > > > >    Good          I2C Device i2c-WCOM482F:00 has no
> > > > > > > > runtime
> > > > > > 
> > > > > > power
> > > > > > > > management
> > > > > > > >    Good          Runtime PM for PCI Device Intel
> > > > > > > > Corporation
> > > > > > > > Sunrise
> > > > > > > > Point-LP PCI Express Root Port #10
> > > > > > > >    Good          Runtime PM for PCI Device Intel
> > > > > > > > Corporation
> > > > > > > > Sunrise
> > > > > > > > Point-LP CSME HECI #1
> > > > > > > >    Good          Runtime PM for PCI Device Intel
> > > > > > > > Corporation
> > > > > > > > Sunrise
> > > > > > > > Point-LP Serial IO I2C Controller #1
> > > > > > > >    Good          Runtime PM for PCI Device Intel
> > > > > > > > Corporation
> > > > > > > > Sunrise
> > > > > > > > Point-LP SMBus
> > > > > > > >    Good          Runtime PM for PCI Device Intel
> > > > > > > > Corporation
> > > > > > > > Sunrise
> > > > > > > > Point-LP PCI Express Root Port #5
> > > > > > > >    Good          Runtime PM for PCI Device Intel
> > > > > > > > Corporation
> > > > > > > > Sunrise
> > > > > > > > Point-LP Serial IO I2C Controller #0
> > > > > > > >    Good          Wake-on-lan status for device virbr0-
> > > > > > > > nic
> > > > > > > >    Good          Wake-on-lan status for device virbr0
> > > > > > > >    Good          Wake-on-lan status for device wlp60s0
> > > > > > > > 
> > > > > > > > Regards
> > > > > > > > 
> > > > > > > > Dennis

[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 3290 bytes --]

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

* Re: issues with suspend on Dell XPS 13 2-in-1
  2018-04-26 15:09               ` Pandruvada, Srinivas
@ 2018-04-26 15:40                 ` Dennis Gilmore
  2018-10-12 13:38                 ` Dennis Gilmore
  1 sibling, 0 replies; 18+ messages in thread
From: Dennis Gilmore @ 2018-04-26 15:40 UTC (permalink / raw)
  To: Pandruvada, Srinivas; +Cc: linux-kernel, linux-acpi, Mario.Limonciello

El jue, 26-04-2018 a las 15:09 +0000, Pandruvada, Srinivas escribió:
> On Thu, 2018-04-26 at 07:42 -0500, Dennis Gilmore wrote:
> > Hi Srinivas,
> > 
> > El jue, 26-04-2018 a las 05:34 +0000, Pandruvada, Srinivas
> > escribió:
> > > Hi Dennis,
> > > 
> > > On Wed, 2018-04-25 at 22:06 -0500, Dennis Gilmore wrote:
> > > > Hi Srinivas,
> > > > 
> > > > Yes I have latest bios, I have version 1.3.1 that was released
> > > > on
> > > > 18th
> > > > of  Feb.
> > > 
> > > Can you try these commands and repeat the test?
> > > 
> > > # cd /sys/kernel/debug/pmc_core/
> > > # for i in {0..32}; do echo $i > ltr_ignore; done
> > 
> > # for i in {0..32}; do echo $i > ltr_ignore; done
> > -bash: ltr_ignore: Operación no permitida
> > -bash: ltr_ignore: Operación no permitida
> > -bash: ltr_ignore: Operación no permitida
> > -bash: ltr_ignore: Operación no permitida
> > -bash: ltr_ignore: Operación no permitida
> > -bash: ltr_ignore: Operación no permitida
> > -bash: ltr_ignore: Operación no permitida
> > -bash: ltr_ignore: Operación no permitida
> > -bash: ltr_ignore: Operación no permitida
> > -bash: ltr_ignore: Operación no permitida
> > -bash: ltr_ignore: Operación no permitida
> > -bash: ltr_ignore: Operación no permitida
> > -bash: ltr_ignore: Operación no permitida
> > -bash: ltr_ignore: Operación no permitida
> > -bash: ltr_ignore: Operación no permitida
> > -bash: ltr_ignore: Operación no permitida
> > -bash: ltr_ignore: Operación no permitida
> > -bash: ltr_ignore: Operación no permitida
> > -bash: ltr_ignore: Operación no permitida
> > -bash: ltr_ignore: Operación no permitida
> > -bash: ltr_ignore: Operación no permitida
> > -bash: ltr_ignore: Operación no permitida
> > -bash: ltr_ignore: Operación no permitida
> > -bash: ltr_ignore: Operación no permitida
> > -bash: ltr_ignore: Operación no permitida
> > -bash: ltr_ignore: Operación no permitida
> > -bash: ltr_ignore: Operación no permitida
> > -bash: ltr_ignore: Operación no permitida
> > -bash: ltr_ignore: Operación no permitida
> > -bash: ltr_ignore: Operación no permitida
> > -bash: ltr_ignore: Operación no permitida
> > -bash: ltr_ignore: Operación no permitida
> > -bash: ltr_ignore: Operación no permitida
> > 
> > should I go ahead and run the test even though writing to
> > ltr_ignore
> > failed?
> 
> Strange. Do you have any issue with the permissions?
> # cd /sys/kernel/debug/pmc_core/
> # ls -l

# ls -l 
total 0
-rw-r--r--. 1 root root 0 abr 24 17:27 ltr_ignore
-r--r--r--. 1 root root 0 abr 24 17:27
mphy_core_lanes_power_gating_status
-r--r--r--. 1 root root 0 abr 24 17:27 pch_ip_power_gating_status
-r--r--r--. 1 root root 0 abr 24 17:27 pll_status
-r--r--r--. 1 root root 0 abr 24 17:27 slp_s0_residency_usec

I have rw permissions selinux is in permissive mode currently

Thanks

Dennis

> Do you have rw permissions?
> 
> Thanks,
> Srinivas
> 
> > 
> > Dennis
> > 
> > > Thanks,
> > > Srinivas
> > > 
> > > > 
> > > > Dennis
> > > > 
> > > > El jue, 26-04-2018 a las 02:13 +0000, Pandruvada, Srinivas
> > > > escribió:
> > > > > 
> > > > > I see around 43% PC10 residency with power drop of 0.7W.
> > > > > Do you have the latest BIOS of Dell 9365?
> > > > > 
> > > > > 
> > > > > Thanks,
> > > > > Srinivas
> > > > > 
> > > > > On Fri, 2018-04-20 at 08:36 -0500, Dennis Gilmore wrote:
> > > > > > Here is the full output 
> > > > > > 
> > > > > > # turbostat
> > > > > > turbostat version 17.06.23 - Len Brown <lenb@kernel.org>
> > > > > > CPUID(0): GenuineIntel 22 CPUID levels;
> > > > > > family:model:stepping
> > > > > > 0x6:8e:9 (6:142:9)
> > > > > > CPUID(1): SSE3 MONITOR SMX EIST TM2 TSC MSR ACPI-TM TM
> > > > > > CPUID(6): APERF, TURBO, DTS, PTM, HWP, HWPnotify,
> > > > > > HWPwindow,
> > > > > > HWPepp, No-HWPpkg, EPB
> > > > > > cpu0: MSR_IA32_MISC_ENABLE: 0x00850089 (TCC EIST No-MWAIT
> > > > > > PREFETCH
> > > > > > TURBO)
> > > > > > CPUID(7): SGX
> > > > > > cpu0: MSR_IA32_FEATURE_CONTROL: 0x0000ff07 (Locked )
> > > > > > CPUID(0x15): eax_crystal: 2 ebx_tsc: 134 ecx_crystal_hz: 0
> > > > > > TSC: 1608 MHz (24000000 Hz * 134 / 2 / 1000000)
> > > > > > CPUID(0x16): base_mhz: 1600 max_mhz: 3600 bus_mhz: 100
> > > > > > cpu0: MSR_MISC_PWR_MGMT: 0x00401cc0 (ENable-
> > > > > > EIST_Coordination
> > > > > > DISable-EPB DISable-OOB)
> > > > > > RAPL: 58254 sec. Joule Counter Range, at 4 Watts
> > > > > > cpu0: MSR_PLATFORM_INFO: 0x804043df1011000
> > > > > > 4 * 100.0 = 400.0 MHz max efficiency frequency
> > > > > > 16 * 100.0 = 1600.0 MHz base frequency
> > > > > > cpu0: MSR_IA32_POWER_CTL: 0x0024005d (C1E auto-promotion:
> > > > > > DISabled)
> > > > > > cpu0: MSR_TURBO_RATIO_LIMIT: 0x22222224
> > > > > > 34 * 100.0 = 3400.0 MHz max turbo 4 active cores
> > > > > > 34 * 100.0 = 3400.0 MHz max turbo 3 active cores
> > > > > > 34 * 100.0 = 3400.0 MHz max turbo 2 active cores
> > > > > > 36 * 100.0 = 3600.0 MHz max turbo 1 active cores
> > > > > > cpu0: MSR_CONFIG_TDP_NOMINAL: 0x0000000d (base_ratio=13)
> > > > > > cpu0: MSR_CONFIG_TDP_LEVEL_1: 0x0006001c
> > > > > > (PKG_MIN_PWR_LVL1=0
> > > > > > PKG_MAX_PWR_LVL1=0 LVL1_RATIO=6 PKG_TDP_LVL1=28)
> > > > > > cpu0: MSR_CONFIG_TDP_LEVEL_2: 0x00100038
> > > > > > (PKG_MIN_PWR_LVL2=0
> > > > > > PKG_MAX_PWR_LVL2=0 LVL2_RATIO=16 PKG_TDP_LVL2=56)
> > > > > > cpu0: MSR_CONFIG_TDP_CONTROL: 0x00000000 ( lock=0)
> > > > > > cpu0: MSR_TURBO_ACTIVATION_RATIO: 0x0000000c
> > > > > > (MAX_NON_TURBO_RATIO=12 lock=0)
> > > > > > cpu0: MSR_PKG_CST_CONFIG_CONTROL: 0x1e008008 (UNdemote-C3,
> > > > > > UNdemote-C1, demote-C3, demote-C1, locked: pkg-cstate-
> > > > > > limit=8:
> > > > > > unlimited)
> > > > > > cpu0: POLL: CPUIDLE CORE POLL IDLE
> > > > > > cpu0: C1: MWAIT 0x00
> > > > > > cpu0: C1E: MWAIT 0x01
> > > > > > cpu0: C3: MWAIT 0x10
> > > > > > cpu0: C6: MWAIT 0x20
> > > > > > cpu0: C7s: MWAIT 0x33
> > > > > > cpu0: C8: MWAIT 0x40
> > > > > > cpu0: C9: MWAIT 0x50
> > > > > > cpu0: C10: MWAIT 0x60
> > > > > > cpu0: cpufreq driver: intel_pstate
> > > > > > cpu0: cpufreq governor: powersave
> > > > > > cpufreq intel_pstate no_turbo: 0
> > > > > > cpu0: MSR_MISC_FEATURE_CONTROL: 0x00000000 (L2-Prefetch L2-
> > > > > > Prefetch-pair L1-Prefetch L1-IP-Prefetch)
> > > > > > cpu0: MSR_PM_ENABLE: 0x00000001 (HWP)
> > > > > > cpu0: MSR_HWP_CAPABILITIES: 0x01060d24 (high 36 guar 13 eff
> > > > > > 6
> > > > > > low
> > > > > > 1)
> > > > > > cpu0: MSR_HWP_REQUEST: 0x80002404 (min 4 max 36 des 0 epp
> > > > > > 0x80
> > > > > > window 0x0 pkg 0x0)
> > > > > > cpu0: MSR_HWP_INTERRUPT: 0x00000000
> > > > > > (Dis_Guaranteed_Perf_Change,
> > > > > > Dis_Excursion_Min)
> > > > > > cpu0: MSR_HWP_STATUS: 0x00000000 (No-
> > > > > > Guaranteed_Perf_Change,
> > > > > > No-
> > > > > > Excursion_Min)
> > > > > > cpu0: MSR_IA32_ENERGY_PERF_BIAS: 0x00000006 (balanced)
> > > > > > cpu0: MSR_RAPL_POWER_UNIT: 0x000a0e03 (0.125000 Watts,
> > > > > > 0.000061
> > > > > > Joules, 0.000977 sec.)
> > > > > > cpu0: MSR_PKG_POWER_INFO: 0x00000024 (4 W TDP, RAPL 0 - 0
> > > > > > W,
> > > > > > 0.000000 sec.)
> > > > > > cpu0: MSR_PKG_POWER_LIMIT: 0x420078009c8048 (UNlocked)
> > > > > > cpu0: PKG Limit #1: ENabled (9.000000 Watts, 24.000000 sec,
> > > > > > clamp
> > > > > > DISabled)
> > > > > > cpu0: PKG Limit #2: DISabled (15.000000 Watts, 0.002441*
> > > > > > sec,
> > > > > > clamp
> > > > > > DISabled)
> > > > > > cpu0: MSR_DRAM_POWER_LIMIT: 0x5400de00000000 (UNlocked)
> > > > > > cpu0: DRAM Limit: DISabled (0.000000 Watts, 0.000977 sec,
> > > > > > clamp
> > > > > > DISabled)
> > > > > > cpu0: MSR_PP0_POLICY: 0
> > > > > > cpu0: MSR_PP0_POWER_LIMIT: 0x00000000 (UNlocked)
> > > > > > cpu0: Cores Limit: DISabled (0.000000 Watts, 0.000977 sec,
> > > > > > clamp
> > > > > > DISabled)
> > > > > > cpu0: MSR_PP1_POLICY: 0
> > > > > > cpu0: MSR_PP1_POWER_LIMIT: 0x00000000 (UNlocked)
> > > > > > cpu0: GFX Limit: DISabled (0.000000 Watts, 0.000977 sec,
> > > > > > clamp
> > > > > > DISabled)
> > > > > > cpu0: MSR_IA32_TEMPERATURE_TARGET: 0x0a640080 (100 C)
> > > > > > cpu0: MSR_IA32_PACKAGE_THERM_STATUS: 0x88380802 (44 C)
> > > > > > cpu0: MSR_IA32_PACKAGE_THERM_INTERRUPT: 0x00000003 (100 C,
> > > > > > 100
> > > > > > C)
> > > > > > cpu0: MSR_PKGC3_IRTL: 0x0000884e (valid, 79872 ns)
> > > > > > cpu0: MSR_PKGC6_IRTL: 0x00008876 (valid, 120832 ns)
> > > > > > cpu0: MSR_PKGC7_IRTL: 0x00008894 (valid, 151552 ns)
> > > > > > cpu0: MSR_PKGC8_IRTL: 0x000088fa (valid, 256000 ns)
> > > > > > cpu0: MSR_PKGC9_IRTL: 0x0000894c (valid, 339968 ns)
> > > > > > cpu0: MSR_PKGC10_IRTL: 0x00008bf2 (valid, 1034240 ns)
> > > > > > Core    CPU    Avg_MHz    Busy%    Bzy_MHz    TSC_MHz    IR
> > > > > > Q 
> > > > > >   
> > > > > > SMI    C1    C1E    C3    C6    C7s    C8    C9    C10    C
> > > > > > 1%
> > > > > >   
> > > > > >  
> > > > > > C1E%    C3%    C6%    C7s%    C8%    C9%    C10%    CPU%c1 
> > > > > >   
> > > > > > CPU%c3    CPU%c6    CPU%c7    CoreTmp    PkgTmpGFX%rc6    G
> > > > > > FX
> > > > > > MH
> > > > > > z 
> > > > > >   
> > > > > > Totl%C0    Any%C0    GFX%C0    CPUGFX%    Pkg%pc2    Pkg%pc
> > > > > > 3 
> > > > > >   
> > > > > > Pkg%pc6    Pkg%pc7    Pkg%pc8    Pkg%pc9    Pk%pc10    PkgW
> > > > > > at
> > > > > > t 
> > > > > >   
> > > > > > CorWatt    GFXWatt    RAMWatt    PKG_%    RAM_%
> > > > > > -    -    147    10.33    1419    1608    17129    0    737
> > > > > > 6 
> > > > > >   
> > > > > > 217    166    1316    0    1910    0    1103    3.91    1.1
> > > > > > 0 
> > > > > >   
> > > > > > 0.21    4.78    0.00    30.31    0.00    49.44    17.99    
> > > > > > 0.
> > > > > > 28
> > > > > >   
> > > > > >  
> > > > > > 5.43    65.98    43    43    96.22    300    38.30    32.37
> > > > > >   
> > > > > >  
> > > > > > 3.69    2.57    6.64    46.01    0.00    0.00    0.00    0.
> > > > > > 00
> > > > > >   
> > > > > >  
> > > > > > 0.00    2.27    0.69    0.01    0.43    0.00    0.00
> > > > > > 0    0    68    6.63    1029    1608    1727    0    4    1
> > > > > > 0 
> > > > > >   
> > > > > > 7    276    0    502    0    303    0.05    0.10    0.11   
> > > > > >  4
> > > > > > .6
> > > > > > 7 
> > > > > >   
> > > > > > 0.00    31.11    0.00    57.36    18.70    0.41    4.57    
> > > > > > 69
> > > > > > .6
> > > > > > 9 
> > > > > >   
> > > > > > 43    43    96.22    300    38.30    32.37    3.69    2.57 
> > > > > >   
> > > > > > 6.64    46.01    0.00    0.00    0.00    0.00    0.00    2.
> > > > > > 27
> > > > > >   
> > > > > >  
> > > > > > 0.69    0.01    0.43    0.00    0.00
> > > > > > 0    2    63    6.62    953    1608    9460    0    7279   
> > > > > >  1
> > > > > > 09
> > > > > >   
> > > > > >  
> > > > > > 92    396    0    279    0    264    12.36    1.69    0.49 
> > > > > >   
> > > > > > 3.83    0.00    25.00    0.00    50.30    18.70
> > > > > > 1    1    348    20.03    1738    1608    3535    0    39  
> > > > > >   
> > > > > > 58
> > > > > >   
> > > > > >  
> > > > > > 32    296    0    497    0    274    1.44    2.48    0.14  
> > > > > >  
> > > > > > 5.33    0.00    25.55    0.00    45.03    11.28    0.14    
> > > > > > 6.
> > > > > > 29
> > > > > >   
> > > > > >  
> > > > > > 62.27    43
> > > > > > 1    3    107    8.03    1330    1608    2407    0    54   
> > > > > >  4
> > > > > > 0 
> > > > > >   
> > > > > > 35    348    0    632    0    262    1.80    0.14    0.12  
> > > > > >  
> > > > > > 5.29    0.00    39.59    0.00    45.07    23.27
> > > > > > Core    CPU    Avg_MHz    Busy%    Bzy_MHz    TSC_MHz    IR
> > > > > > Q 
> > > > > >   
> > > > > > SMI    C1    C1E    C3    C6    C7s    C8    C9    C10    C
> > > > > > 1%
> > > > > >   
> > > > > >  
> > > > > > C1E%    C3%    C6%    C7s%    C8%    C9%    C10%    CPU%c1 
> > > > > >   
> > > > > > CPU%c3    CPU%c6    CPU%c7    CoreTmp    PkgTmpGFX%rc6    G
> > > > > > FX
> > > > > > MH
> > > > > > z 
> > > > > >   
> > > > > > Totl%C0    Any%C0    GFX%C0    CPUGFX%    Pkg%pc2    Pkg%pc
> > > > > > 3 
> > > > > >   
> > > > > > Pkg%pc6    Pkg%pc7    Pkg%pc8    Pkg%pc9    Pk%pc10    PkgW
> > > > > > at
> > > > > > t 
> > > > > >   
> > > > > > CorWatt    GFXWatt    RAMWatt    PKG_%    RAM_%
> > > > > > -    -    189    12.70    1491    1608    27037    0    184
> > > > > > 31
> > > > > >   
> > > > > >  
> > > > > > 1102    620    2370    0    2566    0    869    8.81    1.5
> > > > > > 9 
> > > > > >   
> > > > > > 0.62    7.29    0.00    33.68    0.00    35.44    27.56    
> > > > > > 0.
> > > > > > 59
> > > > > >   
> > > > > >  
> > > > > > 7.34    51.81    43    43    96.59    300    43.49    34.75
> > > > > >   
> > > > > >  
> > > > > > 3.35    2.21    4.41    31.19    0.00    0.00    0.00    0.
> > > > > > 00
> > > > > >   
> > > > > >  
> > > > > > 0.00    2.41    0.80    0.04    0.44    0.00    0.00
> > > > > > 0    0    176    11.12    1582    1608    1476    0    86  
> > > > > >   
> > > > > > 16
> > > > > > 3 
> > > > > >   
> > > > > > 131    494    0    800    0    235    0.36    1.56    0.45 
> > > > > >   
> > > > > > 7.36    0.00    44.74    0.00    34.42    43.67    0.89    
> > > > > > 4.
> > > > > > 91
> > > > > >   
> > > > > >  
> > > > > > 39.40    43    43    96.59    300    43.49    34.75    3.35
> > > > > >   
> > > > > >  
> > > > > > 2.21    4.41    31.19    0.00    0.00    0.00    0.00    0.
> > > > > > 00
> > > > > >   
> > > > > >  
> > > > > > 2.41    0.80    0.04    0.44    0.00    0.00
> > > > > > 0    2    201    15.40    1303    1608    21985    0    180
> > > > > > 71
> > > > > >   
> > > > > >  
> > > > > > 317    268    722    0    307    0    100    32.70    1.78 
> > > > > >   
> > > > > > 1.24    5.55    0.00    18.17    0.00    25.65    39.41
> > > > > > 1    1    190    12.76    1488    1608    2036    0    184 
> > > > > >   
> > > > > > 388    172    655    0    655    0    276    0.43    0.90  
> > > > > >  
> > > > > > 0.57    8.32    0.00    36.01    0.00    41.04    12.97    
> > > > > > 0.
> > > > > > 29
> > > > > >   
> > > > > >  
> > > > > > 9.77    64.22    41
> > > > > > 1    3    191    11.52    1657    1608    1540    0    90  
> > > > > >   
> > > > > > 23
> > > > > > 4 
> > > > > >   
> > > > > > 49    499    0    804    0    258    1.76    2.14    0.21  
> > > > > >  
> > > > > > 7.94    0.00    35.81    0.00    40.66    14.21
> > > > > > Core    CPU    Avg_MHz    Busy%    Bzy_MHz    TSC_MHz    IR
> > > > > > Q 
> > > > > >   
> > > > > > SMI    C1    C1E    C3    C6    C7s    C8    C9    C10    C
> > > > > > 1%
> > > > > >   
> > > > > >  
> > > > > > C1E%    C3%    C6%    C7s%    C8%    C9%    C10%    CPU%c1 
> > > > > >   
> > > > > > CPU%c3    CPU%c6    CPU%c7    CoreTmp    PkgTmpGFX%rc6    G
> > > > > > FX
> > > > > > MH
> > > > > > z 
> > > > > >   
> > > > > > Totl%C0    Any%C0    GFX%C0    CPUGFX%    Pkg%pc2    Pkg%pc
> > > > > > 3 
> > > > > >   
> > > > > > Pkg%pc6    Pkg%pc7    Pkg%pc8    Pkg%pc9    Pk%pc10    PkgW
> > > > > > at
> > > > > > t 
> > > > > >   
> > > > > > CorWatt    GFXWatt    RAMWatt    PKG_%    RAM_%
> > > > > > -    -    96    5.13    1915    1565    4541    28    1129 
> > > > > >   
> > > > > > 1180    498    1878    0    1499    0    547    0.40    1.2
> > > > > > 1 
> > > > > >   
> > > > > > 0.35    2.79    0.00    10.33    0.00    26.00    9.59    0
> > > > > > .3
> > > > > > 1 
> > > > > >   
> > > > > > 3.30    81.68    41    41    91.18    300    16.58    13.17
> > > > > >   
> > > > > >  
> > > > > > 6.25    2.69    3.32    26.47    0.00    0.02    0.18    0.
> > > > > > 00
> > > > > >   
> > > > > >  
> > > > > > 43.97    1.73    0.56    0.13    0.36    0.00    0.00
> > > > > > 0    0    82    5.14    1640    1565    1494    7    557   
> > > > > >  3
> > > > > > 37
> > > > > >   
> > > > > >  
> > > > > > 121    469    0    534    0    92    0.59    0.63    0.23  
> > > > > >  
> > > > > > 3.12    0.00    13.33    0.00    24.37    12.04    0.36    
> > > > > > 2.
> > > > > > 57
> > > > > >   
> > > > > >  
> > > > > > 79.88    41    41    91.18    300    16.58    13.17    6.25
> > > > > >   
> > > > > >  
> > > > > > 2.69    3.32    26.47    0.00    0.02    0.18    0.00    43
> > > > > > .9
> > > > > > 7 
> > > > > >   
> > > > > > 1.73    0.56    0.13    0.36    0.00    0.00
> > > > > > 0    2    125    5.94    2167    1565    807    7    310   
> > > > > >  2
> > > > > > 10
> > > > > >   
> > > > > >  
> > > > > > 140    384    0    229    0    173    0.58    0.48    0.52 
> > > > > >   
> > > > > > 1.95    0.00    8.19    0.00    24.78    11.25
> > > > > > 1    1    97    5.23    1907    1565    1079    7    123   
> > > > > >  4
> > > > > > 04
> > > > > >   
> > > > > >  
> > > > > > 127    407    0    308    0    168    0.20    2.65    0.16 
> > > > > >   
> > > > > > 2.12    0.00    8.36    0.00    28.75    6.99    0.25    4.
> > > > > > 03
> > > > > >   
> > > > > >  
> > > > > > 83.51    41
> > > > > > 1    3    78    4.21    1904    1566    1161    7    139   
> > > > > >  2
> > > > > > 29
> > > > > >   
> > > > > >  
> > > > > > 110    618    0    428    0    114    0.23    1.08    0.49 
> > > > > >   
> > > > > > 3.98    0.00    11.46    0.00    26.08    8.06
> > > > > > Core    CPU    Avg_MHz    Busy%    Bzy_MHz    TSC_MHz    IR
> > > > > > Q 
> > > > > >   
> > > > > > SMI    C1    C1E    C3    C6    C7s    C8    C9    C10    C
> > > > > > 1%
> > > > > >   
> > > > > >  
> > > > > > C1E%    C3%    C6%    C7s%    C8%    C9%    C10%    CPU%c1 
> > > > > >   
> > > > > > CPU%c3    CPU%c6    CPU%c7    CoreTmp    PkgTmpGFX%rc6    G
> > > > > > FX
> > > > > > MH
> > > > > > z 
> > > > > >   
> > > > > > Totl%C0    Any%C0    GFX%C0    CPUGFX%    Pkg%pc2    Pkg%pc
> > > > > > 3 
> > > > > >   
> > > > > > Pkg%pc6    Pkg%pc7    Pkg%pc8    Pkg%pc9    Pk%pc10    PkgW
> > > > > > at
> > > > > > t 
> > > > > >   
> > > > > > CorWatt    GFXWatt    RAMWatt    PKG_%    RAM_%
> > > > > > -    -    183    12.22    1496    1609    25545    0    160
> > > > > > 54
> > > > > >   
> > > > > >  
> > > > > > 1105    588    3104    0    2351    0    947    7.49    2.3
> > > > > > 0 
> > > > > >   
> > > > > > 0.87    8.77    0.00    29.96    0.00    38.56    26.73    
> > > > > > 1.
> > > > > > 32
> > > > > >   
> > > > > >  
> > > > > > 8.99    50.74    42    42    95.39    300    41.70    33.24
> > > > > >   
> > > > > >  
> > > > > > 4.64    2.58    8.98    28.79    0.00    0.00    0.00    0.
> > > > > > 00
> > > > > >   
> > > > > >  
> > > > > > 0.00    2.52    0.85    0.07    0.45    0.00    0.00
> > > > > > 0    0    129    8.96    1442    1610    1306    0    282  
> > > > > >   
> > > > > > 33
> > > > > > 1 
> > > > > >   
> > > > > > 132    650    0    569    0    270    0.39    0.78    1.11 
> > > > > >   
> > > > > > 8.95    0.00    34.47    0.00    45.42    46.16    0.62    
> > > > > > 6.
> > > > > > 30
> > > > > >   
> > > > > >  
> > > > > > 37.97    42    42    95.39    300    41.70    33.23    4.64
> > > > > >   
> > > > > >  
> > > > > > 2.58    8.98    28.79    0.00    0.00    0.00    0.00    0.
> > > > > > 00
> > > > > >   
> > > > > >  
> > > > > > 2.52    0.85    0.07    0.45    0.00    0.00
> > > > > > 0    2    275    18.50    1486    1610    20238    0    152
> > > > > > 28
> > > > > >   
> > > > > >  
> > > > > > 350    181    884    0    348    0    132    28.61    5.11 
> > > > > >   
> > > > > > 0.67    5.72    0.00    12.26    0.00    29.59    36.62
> > > > > > 1    1    177    10.93    1615    1610    1554    0    279 
> > > > > >   
> > > > > > 183    92    533    0    523    0    316    0.52    2.63   
> > > > > >  0
> > > > > > .3
> > > > > > 9 
> > > > > >   
> > > > > > 7.30    0.00    32.26    0.00    46.07    11.89    2.02    
> > > > > > 11
> > > > > > .6
> > > > > > 7 
> > > > > >   
> > > > > > 63.48    41
> > > > > > 1    3    151    10.50    1437    1608    2447    0    265 
> > > > > >   
> > > > > > 241    183    1037    0    911    0    229    0.45    0.67 
> > > > > >   
> > > > > > 1.31    13.11    0.00    40.84    0.00    33.17    12.24
> > > > > > Core    CPU    Avg_MHz    Busy%    Bzy_MHz    TSC_MHz    IR
> > > > > > Q 
> > > > > >   
> > > > > > SMI    C1    C1E    C3    C6    C7s    C8    C9    C10    C
> > > > > > 1%
> > > > > >   
> > > > > >  
> > > > > > C1E%    C3%    C6%    C7s%    C8%    C9%    C10%    CPU%c1 
> > > > > >   
> > > > > > CPU%c3    CPU%c6    CPU%c7    CoreTmp    PkgTmpGFX%rc6    G
> > > > > > FX
> > > > > > MH
> > > > > > z 
> > > > > >   
> > > > > > Totl%C0    Any%C0    GFX%C0    CPUGFX%    Pkg%pc2    Pkg%pc
> > > > > > 3 
> > > > > >   
> > > > > > Pkg%pc6    Pkg%pc7    Pkg%pc8    Pkg%pc9    Pk%pc10    PkgW
> > > > > > at
> > > > > > t 
> > > > > >   
> > > > > > CorWatt    GFXWatt    RAMWatt    PKG_%    RAM_%
> > > > > > -    -    186    12.71    1465    1608    5928    0    201 
> > > > > >   
> > > > > > 1435    578    2054    0    1837    0    1155    0.31    2.
> > > > > > 04
> > > > > >   
> > > > > >  
> > > > > > 0.75    7.03    0.00    33.91    0.00    43.21    13.64    
> > > > > > 0.
> > > > > > 57
> > > > > >   
> > > > > >  
> > > > > > 8.32    64.76    41    42    98.75    300    45.25    38.20
> > > > > >   
> > > > > >  
> > > > > > 1.34    0.98    14.64    44.34    0.00    0.00    0.00    0
> > > > > > .0
> > > > > > 0 
> > > > > >   
> > > > > > 0.00    2.98    1.36    0.01    0.48    0.00    0.00
> > > > > > 0    0    79    9.06    868    1608    1222    0    66    3
> > > > > > 14
> > > > > >   
> > > > > >  
> > > > > > 166    558    0    451    0    301    0.36    1.21    1.07 
> > > > > >   
> > > > > > 7.24    0.00    35.02    0.00    46.02    11.10    0.83    
> > > > > > 9.
> > > > > > 56
> > > > > >   
> > > > > >  
> > > > > > 69.45    41    42    98.75    300    45.25    38.20    1.34
> > > > > >   
> > > > > >  
> > > > > > 0.98    14.64    44.34    0.00    0.00    0.00    0.00    0
> > > > > > .0
> > > > > > 0 
> > > > > >   
> > > > > > 2.98    1.36    0.01    0.48    0.00    0.00
> > > > > > 0    2    87    8.34    1044    1608    1205    0    57    
> > > > > > 50
> > > > > > 8 
> > > > > >   
> > > > > > 159    545    0    455    0    291    0.17    3.72    0.69 
> > > > > >   
> > > > > > 8.00    0.00    28.44    0.00    50.63    11.82
> > > > > > 1    1    240    14.08    1706    1608    1700    0    50  
> > > > > >   
> > > > > > 41
> > > > > > 9 
> > > > > >   
> > > > > > 80    432    0    533    0    307    0.66    2.14    0.35  
> > > > > >  
> > > > > > 6.43    0.00    39.50    0.00    36.79    18.45    0.31    
> > > > > > 7.
> > > > > > 09
> > > > > >   
> > > > > >  
> > > > > > 60.07    40
> > > > > > 1    3    338    19.34    1750    1608    1801    0    28  
> > > > > >   
> > > > > > 19
> > > > > > 4 
> > > > > >   
> > > > > > 173    519    0    398    0    256    0.06    1.10    0.90 
> > > > > >   
> > > > > > 6.44    0.00    32.70    0.00    39.38    13.20
> > > > > > Core    CPU    Avg_MHz    Busy%    Bzy_MHz    TSC_MHz    IR
> > > > > > Q 
> > > > > >   
> > > > > > SMI    C1    C1E    C3    C6    C7s    C8    C9    C10    C
> > > > > > 1%
> > > > > >   
> > > > > >  
> > > > > > C1E%    C3%    C6%    C7s%    C8%    C9%    C10%    CPU%c1 
> > > > > >   
> > > > > > CPU%c3    CPU%c6    CPU%c7    CoreTmp    PkgTmpGFX%rc6    G
> > > > > > FX
> > > > > > MH
> > > > > > z 
> > > > > >   
> > > > > > Totl%C0    Any%C0    GFX%C0    CPUGFX%    Pkg%pc2    Pkg%pc
> > > > > > 3 
> > > > > >   
> > > > > > Pkg%pc6    Pkg%pc7    Pkg%pc8    Pkg%pc9    Pk%pc10    PkgW
> > > > > > at
> > > > > > t 
> > > > > >   
> > > > > > CorWatt    GFXWatt    RAMWatt    PKG_%    RAM_%
> > > > > > -    -    332    17.65    1881    1608    15736    0    462
> > > > > > 0 
> > > > > >   
> > > > > > 990    543    2445    0    1778    0    939    2.07    1.74
> > > > > >   
> > > > > >  
> > > > > > 0.58    8.79    0.00    27.36    0.00    41.79    16.43    
> > > > > > 0.
> > > > > > 38
> > > > > >   
> > > > > >  
> > > > > > 9.86    55.66    42    42    96.50    300    55.08    40.16
> > > > > >   
> > > > > >  
> > > > > > 3.42    2.67    7.65    42.05    0.00    0.00    0.00    0.
> > > > > > 00
> > > > > >   
> > > > > >  
> > > > > > 0.00    3.38    1.75    0.02    0.50    0.00    0.00
> > > > > > 0    0    341    19.51    1750    1608    2663    0    126 
> > > > > >   
> > > > > > 144    112    521    0    496    0    221    0.46    0.47  
> > > > > >  
> > > > > > 0.58    7.39    0.00    27.37    0.00    44.17    19.41    
> > > > > > 0.
> > > > > > 45
> > > > > >   
> > > > > >  
> > > > > > 6.99    53.64    42    42    96.50    300    55.08    40.16
> > > > > >   
> > > > > >  
> > > > > > 3.42    2.67    7.65    42.05    0.00    0.00    0.00    0.
> > > > > > 00
> > > > > >   
> > > > > >  
> > > > > > 0.00    3.38    1.75    0.02    0.50    0.00    0.00
> > > > > > 0    2    371    19.14    1937    1608    7358    0    4130
> > > > > >   
> > > > > >  
> > > > > > 398    190    646    0    265    0    198    5.91    3.69  
> > > > > >  
> > > > > > 0.72    6.79    0.00    21.76    0.00    42.06    19.78
> > > > > > 1    1    338    16.84    2005    1608    2630    0    221 
> > > > > >   
> > > > > > 195    123    561    0    472    0    287    1.43    0.55  
> > > > > >  
> > > > > > 0.56    7.55    0.00    32.61    0.00    40.42    12.41    
> > > > > > 0.
> > > > > > 32
> > > > > >   
> > > > > >  
> > > > > > 12.74    57.69    40
> > > > > > 1    3    279    15.12    1843    1608    3085    0    143 
> > > > > >   
> > > > > > 253    118    717    0    545    0    233    0.46    2.26  
> > > > > >  
> > > > > > 0.47    13.45    0.00    27.69    0.00    40.53    14.14
> > > > > > ^C
> > > > > > 
> > > > > > 
> > > > > > On Tue, Apr 17, 2018 at 5:59 PM, Pandruvada, Srinivas
> > > > > > <srinivas.pan
> > > > > > druvada@intel.com> wrote:
> > > > > > > On Mon, 2018-04-16 at 16:07 +0000, Mario.Limonciello@dell
> > > > > > > .c
> > > > > > > om
> > > > > > > wrote:
> > > > > > > > Hi Dennis,
> > > > > > > > 
> > > > > > > > > -----Original Message-----
> > > > > > > > > From: Dennis Gilmore [mailto:dgilmore@redhat.com]
> > > > > > > > > Sent: Friday, April 13, 2018 9:03 PM
> > > > > > > > > To: linux-kernel@vger.kernel.org; linux-acpi@vger.ker
> > > > > > > > > ne
> > > > > > > > > l.
> > > > > > > > > or
> > > > > > > > > g
> > > > > > > > > Cc: Limonciello, Mario
> > > > > > > > > Subject: issues with suspend on Dell XPS 13 2-in-1
> > > > > > > > > 
> > > > > > > > > Hi All,
> > > > > > > > > 
> > > > > > > > > I have a Dell XPS 13 2-in-1 (9365) that when I supend
> > > > > > > > > gets
> > > > > > > 
> > > > > > > warm and
> > > > > > > > > has
> > > > > > > > > much shorter than expected battery life, it is about
> > > > > > > > > the
> > > > > > > > > same
> > > > > > > 
> > > > > > > as if
> > > > > > > > > the
> > > > > > > > > laptop just runs. I am currently running Fedora 28
> > > > > > > > > with
> > > > > > > 
> > > > > > > 4.16.2
> > > > > > > > > kernel.
> > > > > > > > > 
> > > > > > > > 
> > > > > > > > Since battery consumption is quite relative I think It
> > > > > > > > would
> > > > > > > > be
> > > > > > > 
> > > > > > > good
> > > > > > > > if
> > > > > > > > you can make a comparable benchmark as this is further
> > > > > > > 
> > > > > > > discussed.
> > > > > > > > Eg fully charge your notebook, pull the plug, suspend
> > > > > > > > it
> > > > > > > > at
> > > > > > > 
> > > > > > > 100% and
> > > > > > > > check the power left after some repeatable amount of
> > > > > > > > time.
> > > > > > > > 
> > > > > > > > > My laptop has NVMe for storage and is configured for
> > > > > > > > > AHCI
> > > > > > > 
> > > > > > > mode in
> > > > > > > > > the
> > > > > > > > > bios.
> > > > > > > > > 
> > > > > > > > > powertop by default shows
> > > > > > > > > > > Bad           VM writeback timeout
> > > > > > > > > 
> > > > > > > > >    Bad           NMI watchdog should be turned off
> > > > > > > > >    Bad           Autosuspend for unknown USB device
> > > > > > > > > 1-7
> > > > > > > 
> > > > > > > (138a:0091)
> > > > > > > > >    Bad           Runtime PM for I2C Adapter i2c-0
> > > > > > > > > (i915
> > > > > > > > > gmbus
> > > > > > > 
> > > > > > > dpc)
> > > > > > > > >    Bad           Runtime PM for I2C Adapter i2c-1
> > > > > > > > > (i915
> > > > > > > > > gmbus
> > > > > > > 
> > > > > > > dpb)
> > > > > > > > >    Bad           Runtime PM for I2C Adapter i2c-2
> > > > > > > > > (i915
> > > > > > > > > gmbus
> > > > > > > 
> > > > > > > dpd)
> > > > > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > > > > Corporation
> > > > > > > > > Wireless
> > > > > > > > > 8265 / 8275
> > > > > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > > > > Corporation
> > > > > > > 
> > > > > > > Device
> > > > > > > > > 590c
> > > > > > > > >    Bad           Runtime PM for PCI Device Realtek
> > > > > > > 
> > > > > > > Semiconductor
> > > > > > > > > Co.,
> > > > > > > > > Ltd. RTS525A PCI Express Card Reader
> > > > > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > > > > Corporation
> > > > > > > 
> > > > > > > Device
> > > > > > > > > 9d3d
> > > > > > > > >    Bad           Runtime PM for PCI Device Sandisk
> > > > > > > > > Corp
> > > > > > > > > WD
> > > > > > > 
> > > > > > > Black
> > > > > > > > > NVMe
> > > > > > > > > SSD
> > > > > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > > > > Corporation
> > > > > > > > > Sunrise
> > > > > > > > > Point-LP PCI Express Root Port #9
> > > > > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > > > > Corporation
> > > > > > > > > Sunrise
> > > > > > > > > Point-LP Thermal subsystem
> > > > > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > > > > Corporation
> > > > > > > > > Sunrise
> > > > > > > > > Point-LP USB 3.0 xHCI Controller
> > > > > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > > > > Corporation
> > > > > > > > > Sunrise
> > > > > > > > > Point-LP PMC
> > > > > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > > > > Corporation
> > > > > > > > > Sunrise
> > > > > > > > > Point-LP HD Audio
> > > > > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > > > > Corporation
> > > > > > > > > Sunrise
> > > > > > > > > Point-LP PCI Express Root Port #1
> > > > > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > > > > Corporation
> > > > > > > 
> > > > > > > Device
> > > > > > > > > 9d4b
> > > > > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > > > > Corporation
> > > > > > > 
> > > > > > > Xeon
> > > > > > > > > E3-
> > > > > > > > > 1200 v5/E3-1500 v5/6th Gen Core Processor Thermal
> > > > > > > > > Subsystem
> > > > > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > > > > Corporation
> > > > > > > > > Sunrise
> > > > > > > > > Point-LP Integrated Sensor Hub
> > > > > > > > >    Bad           Runtime PM for PCI Device Intel
> > > > > > > > > Corporation
> > > > > > > 
> > > > > > > Device
> > > > > > > > > 591e
> > > > > > > > 
> > > > > > > > After you've adjusted all of these in powertop, have
> > > > > > > > you
> > > > > > > 
> > > > > > > compared
> > > > > > > > your performance of the battery over sleep (and
> > > > > > > > actually
> > > > > > > > over
> > > > > > > 
> > > > > > > runtime
> > > > > > > > usage really too)?
> > > > > > > > 
> > > > > > > > They should help to allow the CPU to get into deeper
> > > > > > > > states.
> > > > > > > > 
> > > > > > > > After you've made that change you should also see on
> > > > > > > > the
> > > > > > > > "Idle
> > > > > > > 
> > > > > > > Stats"
> > > > > > > > page that your CPU is spending more time in the lower C
> > > > > > > > states
> > > > > > > > (hopefully
> > > > > > > > more in C9/10).
> > > > > > > > 
> > > > > > > > Srinivas,
> > > > > > > > 
> > > > > > > > Do you know why Runtime PM is defaulting to disabled
> > > > > > > > for
> > > > > > > > all
> > > > > > > > of
> > > > > > > 
> > > > > > > these
> > > > > > > > devices?  Is that a default kernel policy problem or a
> > > > > > > > distro
> > > > > > > 
> > > > > > > policy
> > > > > > > > problem?
> > > > > > > 
> > > > > > > This is default kernel policy.
> > > > > > > I suggest run
> > > > > > > #turbostat
> > > > > > > then suspend and wake
> > > > > > > when wake up let the turbostat collect data for next
> > > > > > > sampling
> > > > > > > interval.
> > > > > > > We have to see what are PkgC% residencies are?
> > > > > > > 
> > > > > > > Thanks,
> > > > > > > Srinivas
> > > > > > > 
> > > > > > > > 
> > > > > > > > 
> > > > > > > > >    Good          Bluetooth device interface status
> > > > > > > > >    Good          Enable Audio codec power management
> > > > > > > > >    Good          Runtime PM for I2C Adapter i2c-8
> > > > > > > > > (Synopsys
> > > > > > > > > DesignWare
> > > > > > > > > I2C adapter)
> > > > > > > > >    Good          Autosuspend for USB device
> > > > > > > 
> > > > > > > Integrated_Webcam_HD
> > > > > > > > > [CNFGE16N092020028362]
> > > > > > > > >    Good          Autosuspend for USB device xHCI Host
> > > > > > > 
> > > > > > > Controller
> > > > > > > > > [usb1]
> > > > > > > > >    Good          Autosuspend for USB device xHCI Host
> > > > > > > 
> > > > > > > Controller
> > > > > > > > > [usb2]
> > > > > > > > >    Good          Runtime PM for I2C Adapter i2c-7
> > > > > > > > > (SMBus
> > > > > > > > > I801
> > > > > > > > > adapter
> > > > > > > > > at efa0)
> > > > > > > > >    Good          Autosuspend for unknown USB device
> > > > > > > > > 1-2
> > > > > > > 
> > > > > > > (8087:0a2b)
> > > > > > > > >    Good          Runtime PM for I2C Adapter i2c-6
> > > > > > > > > (Synopsys
> > > > > > > > > DesignWare
> > > > > > > > > I2C adapter)
> > > > > > > > >    Good          I2C Device i2c-DLL077A:01 has no
> > > > > > > > > runtime
> > > > > > > 
> > > > > > > power
> > > > > > > > > management
> > > > > > > > >    Good          I2C Device i2c-WCOM482F:00 has no
> > > > > > > > > runtime
> > > > > > > 
> > > > > > > power
> > > > > > > > > management
> > > > > > > > >    Good          Runtime PM for PCI Device Intel
> > > > > > > > > Corporation
> > > > > > > > > Sunrise
> > > > > > > > > Point-LP PCI Express Root Port #10
> > > > > > > > >    Good          Runtime PM for PCI Device Intel
> > > > > > > > > Corporation
> > > > > > > > > Sunrise
> > > > > > > > > Point-LP CSME HECI #1
> > > > > > > > >    Good          Runtime PM for PCI Device Intel
> > > > > > > > > Corporation
> > > > > > > > > Sunrise
> > > > > > > > > Point-LP Serial IO I2C Controller #1
> > > > > > > > >    Good          Runtime PM for PCI Device Intel
> > > > > > > > > Corporation
> > > > > > > > > Sunrise
> > > > > > > > > Point-LP SMBus
> > > > > > > > >    Good          Runtime PM for PCI Device Intel
> > > > > > > > > Corporation
> > > > > > > > > Sunrise
> > > > > > > > > Point-LP PCI Express Root Port #5
> > > > > > > > >    Good          Runtime PM for PCI Device Intel
> > > > > > > > > Corporation
> > > > > > > > > Sunrise
> > > > > > > > > Point-LP Serial IO I2C Controller #0
> > > > > > > > >    Good          Wake-on-lan status for device
> > > > > > > > > virbr0-
> > > > > > > > > nic
> > > > > > > > >    Good          Wake-on-lan status for device virbr0
> > > > > > > > >    Good          Wake-on-lan status for device
> > > > > > > > > wlp60s0
> > > > > > > > > 
> > > > > > > > > Regards
> > > > > > > > > 
> > > > > > > > > Dennis

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

* Re: issues with suspend on Dell XPS 13 2-in-1
  2018-04-26 15:09               ` Pandruvada, Srinivas
  2018-04-26 15:40                 ` Dennis Gilmore
@ 2018-10-12 13:38                 ` Dennis Gilmore
  2018-10-12 17:46                   ` Mario.Limonciello
  2018-10-16 17:33                   ` Pandruvada, Srinivas
  1 sibling, 2 replies; 18+ messages in thread
From: Dennis Gilmore @ 2018-10-12 13:38 UTC (permalink / raw)
  To: Pandruvada, Srinivas; +Cc: linux-kernel, linux-acpi, Mario.Limonciello

El jue, 26-04-2018 a las 15:09 +0000, Pandruvada, Srinivas escribió:
> On Thu, 2018-04-26 at 07:42 -0500, Dennis Gilmore wrote:
> > Hi Srinivas,
> > 
> > El jue, 26-04-2018 a las 05:34 +0000, Pandruvada, Srinivas
> > escribió:
> > > Hi Dennis,
> > > 
> > > On Wed, 2018-04-25 at 22:06 -0500, Dennis Gilmore wrote:
> > > > Hi Srinivas,
> > > > 
> > > > Yes I have latest bios, I have version 1.3.1 that was released
> > > > on
> > > > 18th
> > > > of  Feb.
> > > 
> > > Can you try these commands and repeat the test?
> > > 
> > > # cd /sys/kernel/debug/pmc_core/
> > > # for i in {0..32}; do echo $i > ltr_ignore; done
> > 
> > # for i in {0..32}; do echo $i > ltr_ignore; done
> > -bash: ltr_ignore: Operación no permitida

After some digging i figured out that the patches fedora has for
secureboot caused the access to ltr_ignore to not work. 

# turbostat 
turbostat version 18.07.27 - Len Brown <lenb@kernel.org>
CPUID(0): GenuineIntel 22 CPUID levels; family:model:stepping 0x6:8e:9
(6:142:9)
CPUID(1): SSE3 MONITOR SMX EIST TM2 TSC MSR ACPI-TM HT TM
CPUID(6): APERF, TURBO, DTS, PTM, HWP, HWPnotify, HWPwindow, HWPepp,
No-HWPpkg, EPB
cpu1: MSR_IA32_MISC_ENABLE: 0x00850089 (TCC EIST MWAIT PREFETCH TURBO)
CPUID(7): SGX
cpu1: MSR_IA32_FEATURE_CONTROL: 0x0000ff07 (Locked )
CPUID(0x15): eax_crystal: 2 ebx_tsc: 134 ecx_crystal_hz: 0
TSC: 1608 MHz (24000000 Hz * 134 / 2 / 1000000)
CPUID(0x16): base_mhz: 1600 max_mhz: 3600 bus_mhz: 100
cpu1: MSR_MISC_PWR_MGMT: 0x00401cc0 (ENable-EIST_Coordination DISable-
EPB DISable-OOB)
RAPL: 58254 sec. Joule Counter Range, at 4 Watts
cpu1: MSR_PLATFORM_INFO: 0x804043df1011000
4 * 100.0 = 400.0 MHz max efficiency frequency
16 * 100.0 = 1600.0 MHz base frequency
cpu1: MSR_IA32_POWER_CTL: 0x0024005d (C1E auto-promotion: DISabled)
cpu1: MSR_TURBO_RATIO_LIMIT: 0x22222224
34 * 100.0 = 3400.0 MHz max turbo 4 active cores
34 * 100.0 = 3400.0 MHz max turbo 3 active cores
34 * 100.0 = 3400.0 MHz max turbo 2 active cores
36 * 100.0 = 3600.0 MHz max turbo 1 active cores
cpu1: MSR_CONFIG_TDP_NOMINAL: 0x0000000d (base_ratio=13)
cpu1: MSR_CONFIG_TDP_LEVEL_1: 0x0006001c (PKG_MIN_PWR_LVL1=0
PKG_MAX_PWR_LVL1=0 LVL1_RATIO=6 PKG_TDP_LVL1=28)
cpu1: MSR_CONFIG_TDP_LEVEL_2: 0x00100038 (PKG_MIN_PWR_LVL2=0
PKG_MAX_PWR_LVL2=0 LVL2_RATIO=16 PKG_TDP_LVL2=56)
cpu1: MSR_CONFIG_TDP_CONTROL: 0x00000000 ( lock=0)
cpu1: MSR_TURBO_ACTIVATION_RATIO: 0x0000000c (MAX_NON_TURBO_RATIO=12
lock=0)
cpu1: MSR_PKG_CST_CONFIG_CONTROL: 0x1e008008 (UNdemote-C3, UNdemote-C1, 
demote-C3, demote-C1, locked, pkg-cstate-limit=8 (unlimited))
cpu1: POLL: CPUIDLE CORE POLL IDLE
cpu1: C1: MWAIT 0x00
cpu1: C1E: MWAIT 0x01
cpu1: C3: MWAIT 0x10
cpu1: C6: MWAIT 0x20
cpu1: C7s: MWAIT 0x33
cpu1: C8: MWAIT 0x40
cpu1: C9: MWAIT 0x50
cpu1: C10: MWAIT 0x60
cpu1: cpufreq driver: intel_pstate
cpu1: cpufreq governor: powersave
cpufreq intel_pstate no_turbo: 0
cpu1: MSR_MISC_FEATURE_CONTROL: 0x00000000 (L2-Prefetch L2-Prefetch-
pair L1-Prefetch L1-IP-Prefetch)
cpu0: MSR_PM_ENABLE: 0x00000001 (HWP)
cpu0: MSR_HWP_CAPABILITIES: 0x01070d24 (high 36 guar 13 eff 7 low 1)
cpu0: MSR_HWP_REQUEST: 0x80002404 (min 4 max 36 des 0 epp 0x80 window
0x0 pkg 0x0)
cpu0: MSR_HWP_INTERRUPT: 0x00000000 (Dis_Guaranteed_Perf_Change,
Dis_Excursion_Min)
cpu0: MSR_HWP_STATUS: 0x00000000 (No-Guaranteed_Perf_Change, No-
Excursion_Min)
cpu0: MSR_IA32_ENERGY_PERF_BIAS: 0x00000006 (balanced)
cpu0: MSR_RAPL_POWER_UNIT: 0x000a0e03 (0.125000 Watts, 0.000061 Joules,
0.000977 sec.)
cpu0: MSR_PKG_POWER_INFO: 0x00000024 (4 W TDP, RAPL 0 - 0 W, 0.000000
sec.)
cpu0: MSR_PKG_POWER_LIMIT: 0x420078009c8048 (UNlocked)
cpu0: PKG Limit #1: ENabled (9.000000 Watts, 24.000000 sec, clamp
DISabled)
cpu0: PKG Limit #2: DISabled (15.000000 Watts, 0.002441* sec, clamp
DISabled)
cpu0: MSR_DRAM_POWER_LIMIT: 0x5400de00000000 (UNlocked)
cpu0: DRAM Limit: DISabled (0.000000 Watts, 0.000977 sec, clamp
DISabled)
cpu0: MSR_PP0_POLICY: 0
cpu0: MSR_PP0_POWER_LIMIT: 0x00000000 (UNlocked)
cpu0: Cores Limit: DISabled (0.000000 Watts, 0.000977 sec, clamp
DISabled)
cpu0: MSR_PP1_POLICY: 0
cpu0: MSR_PP1_POWER_LIMIT: 0x00000000 (UNlocked)
cpu0: GFX Limit: DISabled (0.000000 Watts, 0.000977 sec, clamp
DISabled)
cpu0: MSR_IA32_TEMPERATURE_TARGET: 0x0a640080 (100 C)
cpu0: MSR_IA32_PACKAGE_THERM_STATUS: 0x882e0808 (54 C)
cpu0: MSR_IA32_PACKAGE_THERM_INTERRUPT: 0x00000003 (100 C, 100 C)
cpu1: MSR_PKGC3_IRTL: 0x0000884e (valid, 79872 ns)
cpu1: MSR_PKGC6_IRTL: 0x00008876 (valid, 120832 ns)
cpu1: MSR_PKGC7_IRTL: 0x00008894 (valid, 151552 ns)
cpu1: MSR_PKGC8_IRTL: 0x000088fa (valid, 256000 ns)
cpu1: MSR_PKGC9_IRTL: 0x0000894c (valid, 339968 ns)
cpu1: MSR_PKGC10_IRTL: 0x00008bf2 (valid, 1034240 ns)
Core	CPU	Avg_MHz	Busy%	Bzy_MHz	TSC_MHz	IRQ	SMI	POLL	
C1	C1E	C3	C6	C7s	C8	C9	C10	POLL%	
C1%	C1E%	C3%	C6%	C7s%	C8%	C9%	C10%	CPU%c1	
CPU%c3	CPU%c6	CPU%c7	CoreTmp	PkgTmp	GFX%rc6	GFXMHz	Totl%C0	Any%C0	
GFX%C0	CPUGFX%	Pkg%pc2	Pkg%pc3	Pkg%pc6	Pkg%pc7	Pkg%pc8	Pkg%pc9	Pk%pc10
	CPU%LPI	SYS%LPI	PkgWatt	CorWatt	GFXWatt	RAMWatt	PKG_%	RAM_%
-	-	238	14.13	1682	1607	7665	0	5	
191	226	243	1561	0	1603	199	2418	0.00	
0.24	0.27	0.12	4.510.00	7.03	3.45	70.17	14.11	
0.08	5.96	65.71	51	51	94.67	300	52.99	44.18	
5.13	3.41	12.05	40.26	0.00	0.00	0.00	0.000.00	
0.00	0.00	3.37	1.73	0.02	0.47	0.00	0.00
0	0	215	14.00	1534	1607	2766	0	3	
120	68	87	549	0	423	116	732	0.00	
0.35	0.25	0.17	6.170.00	7.39	9.48	62.09	10.17	
0.10	7.33	68.40	49	51	94.67	300	53.01	44.19	
5.13	3.41	12.05	40.27	0.00	0.00	0.00	0.000.00	
0.00	0.00	3.37	1.73	0.02	0.47	0.00	0.00
0	2	117	9.06	1297	1607	1600	0	1	
16	76	73	394	0	512	34	693	0.00	
0.08	0.47	0.14	4.500.00	8.65	1.55	75.54	15.12
1	1	168	10.72	1569	1608	1459	0	1	
30	48	40	342	0	306	42	581	0.00	
0.32	0.28	0.08	3.680.00	5.47	2.63	76.75	21.58	
0.06	4.60	63.04	51
1	3	450	22.74	1979	1608	1840	0	0	
25	34	43	276	0	362	7	412	0.00	
0.21	0.07	0.09	3.680.00	6.60	0.14	66.29	9.57
Core	CPU	Avg_MHz	Busy%	Bzy_MHz	TSC_MHz	IRQ	SMI	POLL	
C1	C1E	C3	C6	C7s	C8	C9	C10	POLL%	
C1%	C1E%	C3%	C6%	C7s%	C8%	C9%	C10%	CPU%c1	
CPU%c3	CPU%c6	CPU%c7	CoreTmp	PkgTmp	GFX%rc6	GFXMHz	Totl%C0	Any%C0	
GFX%C0	CPUGFX%	Pkg%pc2	Pkg%pc3	Pkg%pc6	Pkg%pc7	Pkg%pc8	Pkg%pc9	Pk%pc10
	CPU%LPI	SYS%LPI	PkgWatt	CorWatt	GFXWatt	RAMWatt	PKG_%	RAM_%
-	-	292	19.04	1535	1608	10249	12	18	
455	702	509	2538	1	1737	190	2748	0.00	
0.37	0.47	0.31	6.330.00	7.04	2.37	64.05	14.51	
0.19	6.56	59.70	49	50	90.05	300	63.43	45.18	
9.83	4.95	11.88	36.32	0.00	0.00	0.00	0.000.00	
0.00	0.00	3.33	1.63	0.04	0.56	0.00	0.00
0	0	304	20.87	1459	1608	3771	3	7	
106	156	119	824	0	527	79	714	0.01	
0.32	0.48	0.29	9.520.00	8.61	5.20	54.69	18.23	
0.16	6.46	54.29	49	50	90.05	300	63.43	45.18	
9.83	4.95	11.88	36.32	0.00	0.00	0.00	0.000.00	
0.00	0.00	3.33	1.63	0.04	0.56	0.00	0.00
0	2	464	23.30	1992	1608	2368	3	3	
79	188	98	426	0	436	20	588	0.00	
0.28	0.30	0.29	3.870.00	6.92	0.88	64.04	15.79
1	1	175	13.61	1283	1608	2103	3	6	
169	154	147	644	0	455	67	760	0.00	
0.49	0.64	0.31	6.030.00	7.60	2.95	68.42	14.40	
0.22	6.66	65.11	49
1	3	226	18.39	1227	1608	2007	3	2	
101	204	145	644	1	319	24	686	0.00	
0.38	0.47	0.35	5.920.01	5.02	0.45	69.04	9.62
Core	CPU	Avg_MHz	Busy%	Bzy_MHz	TSC_MHz	     IRQ	SMI	
    POLL	      C1	     C1E	      C3	      C
6	     C7s	      C8	      C9	     C10	
POLL%	C1%	C1E%	C3%	C6%	C7s%	C8%	C9%	C10%	
CPU%c1	CPU%c3	CPU%c6	CPU%c7	CoreTmp	PkgTmp	GFX%rc6	GFXMHz	Totl%C0
	Any%C0	GFX%C0	CPUGFX%	Pkg%pc2	Pkg%pc3	Pkg%pc6	Pkg%pc7	Pkg%pc8
	Pkg%pc9	Pk%pc10	CPU%LPI	SYS%LPI	PkgWatt	CorWatt	GFXWatt	RAMWatt
	PKG_%	RAM_%
-	-	38	1.97	1913	1623	 -191291	16	
     320	    5687	    2001	     711	    324
8	       2	    2630	     232	    2606	
0.00	0.08	0.06	0.03	0.46	0.00	0.65	0.12	5.58	
1.69	0.02	0.35	95.98	56	56	100.70	300	6.45	
3.88	0.20	0.16	0.32	5.20	0.00	0.00	0.03	0.00	
89.94	90.31	0.00	0.91	0.22	0.00	0.28	0.00	0.00
0	0	42	2.18	1929	1623	  -51859	4	
      93	    1696	     611	     179	     74
6	       0	     721	      86	     792	
0.00	0.09	0.07	0.03	0.39	0.00	0.70	0.14	5.46	
1.58	0.02	0.32	95.91	56	56	100.70	300	6.45	
3.88	0.20	0.16	0.32	5.20	0.00	0.00	0.03	0.00	
89.94	90.31	0.00	0.91	0.22	0.00	0.28	0.00	0.00
0	2	39	1.95	1974	1623	  -44474	4	
     134	    2280	     672	     214	     89
3	       2	     902	      40	     430	
0.00	0.13	0.08	0.04	0.52	0.00	0.90	0.14	5.31	
1.81
1	1	42	2.20	1891	1623	  -45616	4	
       6	     369	     234	     105	     63
0	       0	     310	      33	     622	
0.00	0.02	0.04	0.02	0.41	0.00	0.31	0.04	6.02	
1.36	0.01	0.37	96.06	55
1	3	29	1.56	1841	1623	  -49342	4	
      87	    1342	     484	     213	     97
9	       0	     697	      73	     762	
0.00	0.08	0.06	0.04	0.53	0.00	0.68	0.17	5.52	
2.00
Core	CPU	Avg_MHz	Busy%	Bzy_MHz	TSC_MHz	     IRQ	SMI	
    POLL	      C1	     C1E	      C3	      C
6	     C7s	      C8	      C9	     C10	
POLL%	C1%	C1E%	C3%	C6%	C7s%	C8%	C9%	C10%	
CPU%c1	CPU%c3	CPU%c6	CPU%c7	CoreTmp	PkgTmp	GFX%rc6	GFXMHz	Totl%C0
	Any%C0	GFX%C0	CPUGFX%	Pkg%pc2	Pkg%pc3	Pkg%pc6	Pkg%pc7	Pkg%pc8
	Pkg%pc9	Pk%pc10	CPU%LPI	SYS%LPI	PkgWatt	CorWatt	GFXWatt	RAMWatt
	PKG_%	RAM_%
-	-	810	43.00	1883	1608	   25029	0	
      57	    3373	    1585	     864	    512
1	       1	    4401	     559	    2347	
0.01	1.25	1.20	0.62	13.02	0.00	17.74	4.14	18.47	
30.05	0.49	10.40	16.06	51	51	95.64	300	137.62	
98.15	4.11	4.02	0.00	0.00	0.00	0.00	0.00	0.00	
0.00	0.00	0.00	6.44	4.66	0.02	0.66	0.00	0.00
0	0	719	40.39	1779	1608	    6804	0	
      12	     817	     383	     225	    149
5	       0	    1207	     196	     545	
0.01	1.19	1.12	0.66	16.23	0.00	19.77	6.33	13.80	
23.34	0.67	13.51	22.09	51	51	95.64	300	137.62	
98.16	4.11	4.02	0.00	0.00	0.00	0.00	0.00	0.00	
0.00	0.00	0.00	6.44	4.66	0.02	0.66	0.00	0.00
0	2	670	34.80	1924	1608	    6507	0	
      11	     683	     442	     253	    149
6	       0	    1458	     147	     697	
0.01	1.27	1.54	0.66	13.80	0.00	22.91	4.37	20.27	
28.93
1	1	1013	52.58	1927	1608	    5901	0	
      11	     604	     263	     176	     94
5	       1	     799	     132	     577	
0.01	0.97	0.75	0.53	9.60	0.00	13.11	4.06	17.59	
29.79	0.31	7.30	10.02	50
1	3	838	44.23	1894	1608	    5817	0	
      23	    1269	     497	     210	    118
5	       0	     937	      84	     528	
0.02	1.56	1.38	0.61	12.45	0.00	15.15	1.79	22.21	
38.14
Core	CPU	Avg_MHz	Busy%	Bzy_MHz	TSC_MHz	     IRQ	SMI	
    POLL	      C1	     C1E	      C3	      C
6	     C7s	      C8	      C9	     C10	
POLL%	C1%	C1E%	C3%	C6%	C7s%	C8%	C9%	C10%	
CPU%c1	CPU%c3	CPU%c6	CPU%c7	CoreTmp	PkgTmp	GFX%rc6	GFXMHz	Totl%C0
	Any%C0	GFX%C0	CPUGFX%	Pkg%pc2	Pkg%pc3	Pkg%pc6	Pkg%pc7	Pkg%pc8
	Pkg%pc9	Pk%pc10	CPU%LPI	SYS%LPI	PkgWatt	CorWatt	GFXWatt	RAMWatt
	PKG_%	RAM_%
-	-	801	44.72	1893	1522	   28623	0	
     168	    8252	    2500	    1022	    437
3	       0	    2917	     544	    3699	
0.04	2.25	1.60	0.70	9.11	0.00	10.08	4.22	23.80	
33.40	1.29	6.49	14.10	54	54	89.74	300	144.45	
95.89	5.02	4.67	0.00	0.00	0.00	0.00	0.00	0.00	
0.00	0.00	0.00	6.29	4.59	0.03	0.65	0.00	0.00
0	0	733	40.67	1904	1522	    6879	0	
      57	    1930	     691	     307	    133
3	       0	     752	     212	     948	
0.05	2.20	1.64	0.87	11.01	0.00	10.18	7.81	21.97	
41.31	0.55	6.84	10.63	52	54	89.74	300	144.45	
95.89	5.02	4.67	0.00	0.00	0.00	0.00	0.00	0.00	
0.00	0.00	0.00	6.29	4.59	0.03	0.65	0.00	0.00
0	2	937	50.69	1952	1522	    6332	0	
      38	    1968	     641	     226	     96
4	       0	     736	     128	     710	
0.04	2.25	1.46	0.66	7.81	0.00	10.51	3.86	19.43	
31.29
1	1	851	48.25	1864	1522	    5826	0	
      35	    1648	     589	     194	     87
2	       0	     482	     118	     969	
0.03	2.02	1.62	0.45	7.01	0.00	6.57	3.78	26.97	
26.01	2.03	6.13	17.58	54
1	3	685	39.28	1843	1522	    9586	0	
      38	    2706	     579	     295	    120
4	       0	     947	      86	    1072	
0.04	2.55	1.68	0.82	10.59	0.00	13.05	1.41	26.84	
34.98
^CCore	CPU	Avg_MHz	Busy%	Bzy_MHz	TSC_MHz	     IRQ	SMI	
    POLL	      C1	     C1E	      C3	      C
6	     C7s	      C8	      C9	     C10	
POLL%	C1%	C1E%	C3%	C6%	C7s%	C8%	C9%	C10%	
CPU%c1	CPU%c3	CPU%c6	CPU%c7	CoreTmp	PkgTmp	GFX%rc6	GFXMHz	Totl%C0
	Any%C0	GFX%C0	CPUGFX%	Pkg%pc2	Pkg%pc3	Pkg%pc6	Pkg%pc7	Pkg%pc8
	Pkg%pc9	Pk%pc10	CPU%LPI	SYS%LPI	PkgWatt	CorWatt	GFXWatt	RAMWatt
	PKG_%	RAM_%
-	-	1318	58.01	2462	1484	    5393	0	
      37	    2229	     593	     199	     94
4	       0	     422	      61	     261	
0.05	4.19	2.80	1.23	14.53	0.00	9.50	1.50	4.15	
36.81	0.24	2.94	2.00	58	58	33.73	300	178.58	
99.15	63.65	62.57	0.00	0.00	0.00	0.00	0.00	0.00	
0.00	0.00	0.00	10.04	8.11	0.18	0.83	0.00	0.00
0	0	1943	78.79	2674	1483	    1233	0	
       3	     192	      28	      22	     10
8	       0	      55	       6	      20	
0.01	2.22	0.36	0.38	9.15	0.00	5.46	0.18	0.77	
21.19	0.00	0.01	0.00	57	58	33.73	300	178.66	
99.20	63.68	62.59	0.00	0.00	0.00	0.00	0.00	0.00	
0.00	0.00	0.00	10.04	8.11	0.18	0.83	0.00	0.00
0	2	1139	52.89	2334	1484	    1436	0	
       8	     546	     137	      54	     28
0	       0	     176	       3	      54	
0.06	3.37	3.12	1.49	14.02	0.00	15.09	0.37	5.08	
47.10
1	1	1113	49.66	2428	1484	    1553	0	
      13	     853	     208	      65	     28
5	       0	     117	      19	     111	
0.06	6.25	3.63	1.72	16.95	0.00	10.30	1.44	5.64	
39.99	0.47	5.87	4.01	58
1	3	1076	50.71	2299	1485	    1171	0	
      13	     638	     220	      58	     27
1	       0	      74	      33	      76	
0.05	4.89	4.10	1.33	18.02	0.00	7.17	4.01	5.09	
38.95


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

* RE: issues with suspend on Dell XPS 13 2-in-1
  2018-10-12 13:38                 ` Dennis Gilmore
@ 2018-10-12 17:46                   ` Mario.Limonciello
  2018-10-14 18:48                     ` Dennis Gilmore
  2018-10-16 17:33                   ` Pandruvada, Srinivas
  1 sibling, 1 reply; 18+ messages in thread
From: Mario.Limonciello @ 2018-10-12 17:46 UTC (permalink / raw)
  To: dgilmore, srinivas.pandruvada; +Cc: linux-kernel, linux-acpi

> -----Original Message-----
> From: Dennis Gilmore <dgilmore@redhat.com>
> Sent: Friday, October 12, 2018 8:39 AM
> To: Pandruvada, Srinivas
> Cc: linux-kernel@vger.kernel.org; linux-acpi@vger.kernel.org; Limonciello, Mario
> Subject: Re: issues with suspend on Dell XPS 13 2-in-1
> 

It appears I'm being added to this thread late.  Can you give me some more context?
Which XPS 2-in-1 is this (model number)? And what are  the issues?

I'm "guessing" high power consumption over S2I?

> 
> 
> El jue, 26-04-2018 a las 15:09 +0000, Pandruvada, Srinivas escribió:
> > On Thu, 2018-04-26 at 07:42 -0500, Dennis Gilmore wrote:
> > > Hi Srinivas,
> > >
> > > El jue, 26-04-2018 a las 05:34 +0000, Pandruvada, Srinivas
> > > escribió:
> > > > Hi Dennis,
> > > >
> > > > On Wed, 2018-04-25 at 22:06 -0500, Dennis Gilmore wrote:
> > > > > Hi Srinivas,
> > > > >
> > > > > Yes I have latest bios, I have version 1.3.1 that was released
> > > > > on
> > > > > 18th
> > > > > of  Feb.
> > > >
> > > > Can you try these commands and repeat the test?
> > > >
> > > > # cd /sys/kernel/debug/pmc_core/
> > > > # for i in {0..32}; do echo $i > ltr_ignore; done
> > >
> > > # for i in {0..32}; do echo $i > ltr_ignore; done
> > > -bash: ltr_ignore: Operación no permitida
> 
> After some digging i figured out that the patches fedora has for
> secureboot caused the access to ltr_ignore to not work.
> 

If you are trying to debug high power consumption and those patches are causing
problems, can you please remove those patches?

LTR ignoring is an important debugging tactic to find problems with S2I consuming
too much power.

Additionally if you can read /sys/kernel/debug/pmc_core/pch_ip_power_gating_status
That may help to point out what is wrong.

> # turbostat
> turbostat version 18.07.27 - Len Brown <lenb@kernel.org>
> CPUID(0): GenuineIntel 22 CPUID levels; family:model:stepping 0x6:8e:9
> (6:142:9)
> CPUID(1): SSE3 MONITOR SMX EIST TM2 TSC MSR ACPI-TM HT TM
> CPUID(6): APERF, TURBO, DTS, PTM, HWP, HWPnotify, HWPwindow, HWPepp,
> No-HWPpkg, EPB
> cpu1: MSR_IA32_MISC_ENABLE: 0x00850089 (TCC EIST MWAIT PREFETCH TURBO)
> CPUID(7): SGX
> cpu1: MSR_IA32_FEATURE_CONTROL: 0x0000ff07 (Locked )
> CPUID(0x15): eax_crystal: 2 ebx_tsc: 134 ecx_crystal_hz: 0
> TSC: 1608 MHz (24000000 Hz * 134 / 2 / 1000000)
> CPUID(0x16): base_mhz: 1600 max_mhz: 3600 bus_mhz: 100
> cpu1: MSR_MISC_PWR_MGMT: 0x00401cc0 (ENable-EIST_Coordination DISable-
> EPB DISable-OOB)
> RAPL: 58254 sec. Joule Counter Range, at 4 Watts
> cpu1: MSR_PLATFORM_INFO: 0x804043df1011000
> 4 * 100.0 = 400.0 MHz max efficiency frequency
> 16 * 100.0 = 1600.0 MHz base frequency
> cpu1: MSR_IA32_POWER_CTL: 0x0024005d (C1E auto-promotion: DISabled)
> cpu1: MSR_TURBO_RATIO_LIMIT: 0x22222224
> 34 * 100.0 = 3400.0 MHz max turbo 4 active cores
> 34 * 100.0 = 3400.0 MHz max turbo 3 active cores
> 34 * 100.0 = 3400.0 MHz max turbo 2 active cores
> 36 * 100.0 = 3600.0 MHz max turbo 1 active cores
> cpu1: MSR_CONFIG_TDP_NOMINAL: 0x0000000d (base_ratio=13)
> cpu1: MSR_CONFIG_TDP_LEVEL_1: 0x0006001c (PKG_MIN_PWR_LVL1=0
> PKG_MAX_PWR_LVL1=0 LVL1_RATIO=6 PKG_TDP_LVL1=28)
> cpu1: MSR_CONFIG_TDP_LEVEL_2: 0x00100038 (PKG_MIN_PWR_LVL2=0
> PKG_MAX_PWR_LVL2=0 LVL2_RATIO=16 PKG_TDP_LVL2=56)
> cpu1: MSR_CONFIG_TDP_CONTROL: 0x00000000 ( lock=0)
> cpu1: MSR_TURBO_ACTIVATION_RATIO: 0x0000000c
> (MAX_NON_TURBO_RATIO=12
> lock=0)
> cpu1: MSR_PKG_CST_CONFIG_CONTROL: 0x1e008008 (UNdemote-C3, UNdemote-
> C1,
> demote-C3, demote-C1, locked, pkg-cstate-limit=8 (unlimited))
> cpu1: POLL: CPUIDLE CORE POLL IDLE
> cpu1: C1: MWAIT 0x00
> cpu1: C1E: MWAIT 0x01
> cpu1: C3: MWAIT 0x10
> cpu1: C6: MWAIT 0x20
> cpu1: C7s: MWAIT 0x33
> cpu1: C8: MWAIT 0x40
> cpu1: C9: MWAIT 0x50
> cpu1: C10: MWAIT 0x60
> cpu1: cpufreq driver: intel_pstate
> cpu1: cpufreq governor: powersave
> cpufreq intel_pstate no_turbo: 0
> cpu1: MSR_MISC_FEATURE_CONTROL: 0x00000000 (L2-Prefetch L2-Prefetch-
> pair L1-Prefetch L1-IP-Prefetch)
> cpu0: MSR_PM_ENABLE: 0x00000001 (HWP)
> cpu0: MSR_HWP_CAPABILITIES: 0x01070d24 (high 36 guar 13 eff 7 low 1)
> cpu0: MSR_HWP_REQUEST: 0x80002404 (min 4 max 36 des 0 epp 0x80 window
> 0x0 pkg 0x0)
> cpu0: MSR_HWP_INTERRUPT: 0x00000000 (Dis_Guaranteed_Perf_Change,
> Dis_Excursion_Min)
> cpu0: MSR_HWP_STATUS: 0x00000000 (No-Guaranteed_Perf_Change, No-
> Excursion_Min)
> cpu0: MSR_IA32_ENERGY_PERF_BIAS: 0x00000006 (balanced)
> cpu0: MSR_RAPL_POWER_UNIT: 0x000a0e03 (0.125000 Watts, 0.000061 Joules,
> 0.000977 sec.)
> cpu0: MSR_PKG_POWER_INFO: 0x00000024 (4 W TDP, RAPL 0 - 0 W, 0.000000
> sec.)
> cpu0: MSR_PKG_POWER_LIMIT: 0x420078009c8048 (UNlocked)
> cpu0: PKG Limit #1: ENabled (9.000000 Watts, 24.000000 sec, clamp
> DISabled)
> cpu0: PKG Limit #2: DISabled (15.000000 Watts, 0.002441* sec, clamp
> DISabled)
> cpu0: MSR_DRAM_POWER_LIMIT: 0x5400de00000000 (UNlocked)
> cpu0: DRAM Limit: DISabled (0.000000 Watts, 0.000977 sec, clamp
> DISabled)
> cpu0: MSR_PP0_POLICY: 0
> cpu0: MSR_PP0_POWER_LIMIT: 0x00000000 (UNlocked)
> cpu0: Cores Limit: DISabled (0.000000 Watts, 0.000977 sec, clamp
> DISabled)
> cpu0: MSR_PP1_POLICY: 0
> cpu0: MSR_PP1_POWER_LIMIT: 0x00000000 (UNlocked)
> cpu0: GFX Limit: DISabled (0.000000 Watts, 0.000977 sec, clamp
> DISabled)
> cpu0: MSR_IA32_TEMPERATURE_TARGET: 0x0a640080 (100 C)
> cpu0: MSR_IA32_PACKAGE_THERM_STATUS: 0x882e0808 (54 C)
> cpu0: MSR_IA32_PACKAGE_THERM_INTERRUPT: 0x00000003 (100 C, 100 C)
> cpu1: MSR_PKGC3_IRTL: 0x0000884e (valid, 79872 ns)
> cpu1: MSR_PKGC6_IRTL: 0x00008876 (valid, 120832 ns)
> cpu1: MSR_PKGC7_IRTL: 0x00008894 (valid, 151552 ns)
> cpu1: MSR_PKGC8_IRTL: 0x000088fa (valid, 256000 ns)
> cpu1: MSR_PKGC9_IRTL: 0x0000894c (valid, 339968 ns)
> cpu1: MSR_PKGC10_IRTL: 0x00008bf2 (valid, 1034240 ns)
> Core	CPU	Avg_MHz	Busy%	Bzy_MHz	TSC_MHz	IRQ
> 	SMI	POLL
> C1	C1E	C3	C6	C7s	C8	C9	C10	POLL%
> C1%	C1E%	C3%	C6%	C7s%	C8%	C9%	C10%	CPU%c1
> CPU%c3	CPU%c6	CPU%c7	CoreTmp	PkgTmp
> 	GFX%rc6	GFXMHz	Totl%C0	Any%C0
> GFX%C0	CPUGFX%	Pkg%pc2	Pkg%pc3	Pkg%pc6
> 	Pkg%pc7	Pkg%pc8	Pkg%pc9	Pk%pc10
> 	CPU%LPI	SYS%LPI	PkgWatt	CorWatt	GFXWatt
> 	RAMWatt	PKG_%	RAM_%
> -	-	238	14.13	1682	1607	7665	0	5
> 191	226	243	1561	0	1603	199	2418	0.00
> 0.24	0.27	0.12	4.510.00	7.03	3.45	70.17	14.11
> 0.08	5.96	65.71	51	51	94.67	300	52.99	44.18
> 5.13	3.41	12.05	40.26	0.00	0.00	0.00	0.000.00
> 0.00	0.00	3.37	1.73	0.02	0.47	0.00	0.00
> 0	0	215	14.00	1534	1607	2766	0	3
> 120	68	87	549	0	423	116	732	0.00
> 0.35	0.25	0.17	6.170.00	7.39	9.48	62.09	10.17
> 0.10	7.33	68.40	49	51	94.67	300	53.01	44.19
> 5.13	3.41	12.05	40.27	0.00	0.00	0.00	0.000.00
> 0.00	0.00	3.37	1.73	0.02	0.47	0.00	0.00
> 0	2	117	9.06	1297	1607	1600	0	1
> 16	76	73	394	0	512	34	693	0.00
> 0.08	0.47	0.14	4.500.00	8.65	1.55	75.54	15.12
> 1	1	168	10.72	1569	1608	1459	0	1
> 30	48	40	342	0	306	42	581	0.00
> 0.32	0.28	0.08	3.680.00	5.47	2.63	76.75	21.58
> 0.06	4.60	63.04	51
> 1	3	450	22.74	1979	1608	1840	0	0
> 25	34	43	276	0	362	7	412	0.00
> 0.21	0.07	0.09	3.680.00	6.60	0.14	66.29	9.57
> Core	CPU	Avg_MHz	Busy%	Bzy_MHz	TSC_MHz	IRQ
> 	SMI	POLL
> C1	C1E	C3	C6	C7s	C8	C9	C10	POLL%
> C1%	C1E%	C3%	C6%	C7s%	C8%	C9%	C10%	CPU%c1
> CPU%c3	CPU%c6	CPU%c7	CoreTmp	PkgTmp
> 	GFX%rc6	GFXMHz	Totl%C0	Any%C0
> GFX%C0	CPUGFX%	Pkg%pc2	Pkg%pc3	Pkg%pc6
> 	Pkg%pc7	Pkg%pc8	Pkg%pc9	Pk%pc10
> 	CPU%LPI	SYS%LPI	PkgWatt	CorWatt	GFXWatt
> 	RAMWatt	PKG_%	RAM_%
> -	-	292	19.04	1535	1608	10249	12	18
> 455	702	509	2538	1	1737	190	2748	0.00
> 0.37	0.47	0.31	6.330.00	7.04	2.37	64.05	14.51
> 0.19	6.56	59.70	49	50	90.05	300	63.43	45.18
> 9.83	4.95	11.88	36.32	0.00	0.00	0.00	0.000.00
> 0.00	0.00	3.33	1.63	0.04	0.56	0.00	0.00
> 0	0	304	20.87	1459	1608	3771	3	7
> 106	156	119	824	0	527	79	714	0.01
> 0.32	0.48	0.29	9.520.00	8.61	5.20	54.69	18.23
> 0.16	6.46	54.29	49	50	90.05	300	63.43	45.18
> 9.83	4.95	11.88	36.32	0.00	0.00	0.00	0.000.00
> 0.00	0.00	3.33	1.63	0.04	0.56	0.00	0.00
> 0	2	464	23.30	1992	1608	2368	3	3
> 79	188	98	426	0	436	20	588	0.00
> 0.28	0.30	0.29	3.870.00	6.92	0.88	64.04	15.79
> 1	1	175	13.61	1283	1608	2103	3	6
> 169	154	147	644	0	455	67	760	0.00
> 0.49	0.64	0.31	6.030.00	7.60	2.95	68.42	14.40
> 0.22	6.66	65.11	49
> 1	3	226	18.39	1227	1608	2007	3	2
> 101	204	145	644	1	319	24	686	0.00
> 0.38	0.47	0.35	5.920.01	5.02	0.45	69.04	9.62
> Core	CPU	Avg_MHz	Busy%	Bzy_MHz	TSC_MHz	     IRQ
> 	SMI
>     POLL	      C1	     C1E	      C3	      C
> 6	     C7s	      C8	      C9	     C10
> POLL%	C1%	C1E%	C3%	C6%	C7s%	C8%	C9%	C10%
> CPU%c1	CPU%c3	CPU%c6	CPU%c7	CoreTmp
> 	PkgTmp	GFX%rc6	GFXMHz	Totl%C0
> 	Any%C0	GFX%C0	CPUGFX%	Pkg%pc2	Pkg%pc3
> 	Pkg%pc6	Pkg%pc7	Pkg%pc8
> 	Pkg%pc9	Pk%pc10	CPU%LPI	SYS%LPI	PkgWatt
> 	CorWatt	GFXWatt	RAMWatt
> 	PKG_%	RAM_%
> -	-	38	1.97	1913	1623	 -191291	16
>      320	    5687	    2001	     711	    324
> 8	       2	    2630	     232	    2606
> 0.00	0.08	0.06	0.03	0.46	0.00	0.65	0.12	5.58
> 1.69	0.02	0.35	95.98	56	56	100.70	300	6.45
> 3.88	0.20	0.16	0.32	5.20	0.00	0.00	0.03	0.00
> 89.94	90.31	0.00	0.91	0.22	0.00	0.28	0.00	0.00
> 0	0	42	2.18	1929	1623	  -51859	4
>       93	    1696	     611	     179	     74
> 6	       0	     721	      86	     792
> 0.00	0.09	0.07	0.03	0.39	0.00	0.70	0.14	5.46
> 1.58	0.02	0.32	95.91	56	56	100.70	300	6.45
> 3.88	0.20	0.16	0.32	5.20	0.00	0.00	0.03	0.00
> 89.94	90.31	0.00	0.91	0.22	0.00	0.28	0.00	0.00
> 0	2	39	1.95	1974	1623	  -44474	4
>      134	    2280	     672	     214	     89
> 3	       2	     902	      40	     430
> 0.00	0.13	0.08	0.04	0.52	0.00	0.90	0.14	5.31
> 1.81
> 1	1	42	2.20	1891	1623	  -45616	4
>        6	     369	     234	     105	     63
> 0	       0	     310	      33	     622
> 0.00	0.02	0.04	0.02	0.41	0.00	0.31	0.04	6.02
> 1.36	0.01	0.37	96.06	55
> 1	3	29	1.56	1841	1623	  -49342	4
>       87	    1342	     484	     213	     97
> 9	       0	     697	      73	     762
> 0.00	0.08	0.06	0.04	0.53	0.00	0.68	0.17	5.52
> 2.00
> Core	CPU	Avg_MHz	Busy%	Bzy_MHz	TSC_MHz	     IRQ
> 	SMI
>     POLL	      C1	     C1E	      C3	      C
> 6	     C7s	      C8	      C9	     C10
> POLL%	C1%	C1E%	C3%	C6%	C7s%	C8%	C9%	C10%
> CPU%c1	CPU%c3	CPU%c6	CPU%c7	CoreTmp
> 	PkgTmp	GFX%rc6	GFXMHz	Totl%C0
> 	Any%C0	GFX%C0	CPUGFX%	Pkg%pc2	Pkg%pc3
> 	Pkg%pc6	Pkg%pc7	Pkg%pc8
> 	Pkg%pc9	Pk%pc10	CPU%LPI	SYS%LPI	PkgWatt
> 	CorWatt	GFXWatt	RAMWatt
> 	PKG_%	RAM_%
> -	-	810	43.00	1883	1608	   25029	0
>       57	    3373	    1585	     864	    512
> 1	       1	    4401	     559	    2347
> 0.01	1.25	1.20	0.62	13.02	0.00	17.74	4.14	18.47
> 30.05	0.49	10.40	16.06	51	51	95.64	300	137.62
> 98.15	4.11	4.02	0.00	0.00	0.00	0.00	0.00	0.00
> 0.00	0.00	0.00	6.44	4.66	0.02	0.66	0.00	0.00
> 0	0	719	40.39	1779	1608	    6804	0
>       12	     817	     383	     225	    149
> 5	       0	    1207	     196	     545
> 0.01	1.19	1.12	0.66	16.23	0.00	19.77	6.33	13.80
> 23.34	0.67	13.51	22.09	51	51	95.64	300	137.62
> 98.16	4.11	4.02	0.00	0.00	0.00	0.00	0.00	0.00
> 0.00	0.00	0.00	6.44	4.66	0.02	0.66	0.00	0.00
> 0	2	670	34.80	1924	1608	    6507	0
>       11	     683	     442	     253	    149
> 6	       0	    1458	     147	     697
> 0.01	1.27	1.54	0.66	13.80	0.00	22.91	4.37	20.27
> 28.93
> 1	1	1013	52.58	1927	1608	    5901	0
>       11	     604	     263	     176	     94
> 5	       1	     799	     132	     577
> 0.01	0.97	0.75	0.53	9.60	0.00	13.11	4.06	17.59
> 29.79	0.31	7.30	10.02	50
> 1	3	838	44.23	1894	1608	    5817	0
>       23	    1269	     497	     210	    118
> 5	       0	     937	      84	     528
> 0.02	1.56	1.38	0.61	12.45	0.00	15.15	1.79	22.21
> 38.14
> Core	CPU	Avg_MHz	Busy%	Bzy_MHz	TSC_MHz	     IRQ
> 	SMI
>     POLL	      C1	     C1E	      C3	      C
> 6	     C7s	      C8	      C9	     C10
> POLL%	C1%	C1E%	C3%	C6%	C7s%	C8%	C9%	C10%
> CPU%c1	CPU%c3	CPU%c6	CPU%c7	CoreTmp
> 	PkgTmp	GFX%rc6	GFXMHz	Totl%C0
> 	Any%C0	GFX%C0	CPUGFX%	Pkg%pc2	Pkg%pc3
> 	Pkg%pc6	Pkg%pc7	Pkg%pc8
> 	Pkg%pc9	Pk%pc10	CPU%LPI	SYS%LPI	PkgWatt
> 	CorWatt	GFXWatt	RAMWatt
> 	PKG_%	RAM_%
> -	-	801	44.72	1893	1522	   28623	0
>      168	    8252	    2500	    1022	    437
> 3	       0	    2917	     544	    3699
> 0.04	2.25	1.60	0.70	9.11	0.00	10.08	4.22	23.80
> 33.40	1.29	6.49	14.10	54	54	89.74	300	144.45
> 95.89	5.02	4.67	0.00	0.00	0.00	0.00	0.00	0.00
> 0.00	0.00	0.00	6.29	4.59	0.03	0.65	0.00	0.00
> 0	0	733	40.67	1904	1522	    6879	0
>       57	    1930	     691	     307	    133
> 3	       0	     752	     212	     948
> 0.05	2.20	1.64	0.87	11.01	0.00	10.18	7.81	21.97
> 41.31	0.55	6.84	10.63	52	54	89.74	300	144.45
> 95.89	5.02	4.67	0.00	0.00	0.00	0.00	0.00	0.00
> 0.00	0.00	0.00	6.29	4.59	0.03	0.65	0.00	0.00
> 0	2	937	50.69	1952	1522	    6332	0
>       38	    1968	     641	     226	     96
> 4	       0	     736	     128	     710
> 0.04	2.25	1.46	0.66	7.81	0.00	10.51	3.86	19.43
> 31.29
> 1	1	851	48.25	1864	1522	    5826	0
>       35	    1648	     589	     194	     87
> 2	       0	     482	     118	     969
> 0.03	2.02	1.62	0.45	7.01	0.00	6.57	3.78	26.97
> 26.01	2.03	6.13	17.58	54
> 1	3	685	39.28	1843	1522	    9586	0
>       38	    2706	     579	     295	    120
> 4	       0	     947	      86	    1072
> 0.04	2.55	1.68	0.82	10.59	0.00	13.05	1.41	26.84
> 34.98
> ^CCore	CPU	Avg_MHz	Busy%	Bzy_MHz	TSC_MHz	     IRQ
> 	SMI
>     POLL	      C1	     C1E	      C3	      C
> 6	     C7s	      C8	      C9	     C10
> POLL%	C1%	C1E%	C3%	C6%	C7s%	C8%	C9%	C10%
> CPU%c1	CPU%c3	CPU%c6	CPU%c7	CoreTmp
> 	PkgTmp	GFX%rc6	GFXMHz	Totl%C0
> 	Any%C0	GFX%C0	CPUGFX%	Pkg%pc2	Pkg%pc3
> 	Pkg%pc6	Pkg%pc7	Pkg%pc8
> 	Pkg%pc9	Pk%pc10	CPU%LPI	SYS%LPI	PkgWatt
> 	CorWatt	GFXWatt	RAMWatt
> 	PKG_%	RAM_%
> -	-	1318	58.01	2462	1484	    5393	0
>       37	    2229	     593	     199	     94
> 4	       0	     422	      61	     261
> 0.05	4.19	2.80	1.23	14.53	0.00	9.50	1.50	4.15
> 36.81	0.24	2.94	2.00	58	58	33.73	300	178.58
> 99.15	63.65	62.57	0.00	0.00	0.00	0.00	0.00	0.00
> 0.00	0.00	0.00	10.04	8.11	0.18	0.83	0.00	0.00
> 0	0	1943	78.79	2674	1483	    1233	0
>        3	     192	      28	      22	     10
> 8	       0	      55	       6	      20
> 0.01	2.22	0.36	0.38	9.15	0.00	5.46	0.18	0.77
> 21.19	0.00	0.01	0.00	57	58	33.73	300	178.66
> 99.20	63.68	62.59	0.00	0.00	0.00	0.00	0.00	0.00
> 0.00	0.00	0.00	10.04	8.11	0.18	0.83	0.00	0.00
> 0	2	1139	52.89	2334	1484	    1436	0
>        8	     546	     137	      54	     28
> 0	       0	     176	       3	      54
> 0.06	3.37	3.12	1.49	14.02	0.00	15.09	0.37	5.08
> 47.10
> 1	1	1113	49.66	2428	1484	    1553	0
>       13	     853	     208	      65	     28
> 5	       0	     117	      19	     111
> 0.06	6.25	3.63	1.72	16.95	0.00	10.30	1.44	5.64
> 39.99	0.47	5.87	4.01	58
> 1	3	1076	50.71	2299	1485	    1171	0
>       13	     638	     220	      58	     27
> 1	       0	      74	      33	      76
> 0.05	4.89	4.10	1.33	18.02	0.00	7.17	4.01	5.09
> 38.95


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

* Re: issues with suspend on Dell XPS 13 2-in-1
  2018-10-12 17:46                   ` Mario.Limonciello
@ 2018-10-14 18:48                     ` Dennis Gilmore
  2018-10-15  4:29                       ` Mario.Limonciello
  0 siblings, 1 reply; 18+ messages in thread
From: Dennis Gilmore @ 2018-10-14 18:48 UTC (permalink / raw)
  To: Mario.Limonciello, srinivas.pandruvada; +Cc: linux-kernel, linux-acpi

El vie, 12-10-2018 a las 17:46 +0000, Mario.Limonciello@dell.com
escribió:
> > -----Original Message-----
> > From: Dennis Gilmore <dgilmore@redhat.com>
> > Sent: Friday, October 12, 2018 8:39 AM
> > To: Pandruvada, Srinivas
> > Cc: linux-kernel@vger.kernel.org; linux-acpi@vger.kernel.org;
> > Limonciello, Mario
> > Subject: Re: issues with suspend on Dell XPS 13 2-in-1
> > 
> 
> It appears I'm being added to this thread late.  Can you give me some
> more context?
> Which XPS 2-in-1 is this (model number)? And what are  the issues?
> 
> I'm "guessing" high power consumption over S2I?

Sorry we had a discussion back in April about high power consumption
when suspending. The conversation stopped when the debugging steps did
not work. Which turns out to be due to secure boot. I have just dealt
with it by shutting down, but as I am currently travelling it annoyed
me enough to try and figure out what is happening again. I have a 9635
and esentially I get the same battery use regardless of if I suspend or
not.

Dennis


> > 
> > El jue, 26-04-2018 a las 15:09 +0000, Pandruvada, Srinivas
> > escribió:
> > > On Thu, 2018-04-26 at 07:42 -0500, Dennis Gilmore wrote:
> > > > Hi Srinivas,
> > > > 
> > > > El jue, 26-04-2018 a las 05:34 +0000, Pandruvada, Srinivas
> > > > escribió:
> > > > > Hi Dennis,
> > > > > 
> > > > > On Wed, 2018-04-25 at 22:06 -0500, Dennis Gilmore wrote:
> > > > > > Hi Srinivas,
> > > > > > 
> > > > > > Yes I have latest bios, I have version 1.3.1 that was
> > > > > > released
> > > > > > on
> > > > > > 18th
> > > > > > of  Feb.
> > > > > 
> > > > > Can you try these commands and repeat the test?
> > > > > 
> > > > > # cd /sys/kernel/debug/pmc_core/
> > > > > # for i in {0..32}; do echo $i > ltr_ignore; done
> > > > 
> > > > # for i in {0..32}; do echo $i > ltr_ignore; done
> > > > -bash: ltr_ignore: Operación no permitida
> > 
> > After some digging i figured out that the patches fedora has for
> > secureboot caused the access to ltr_ignore to not work.
> > 
> 
> If you are trying to debug high power consumption and those patches
> are causing
> problems, can you please remove those patches?
> 
> LTR ignoring is an important debugging tactic to find problems with
> S2I consuming
> too much power.
> 
> Additionally if you can read
> /sys/kernel/debug/pmc_core/pch_ip_power_gating_status
> That may help to point out what is wrong.
> 
> > # turbostat
> > turbostat version 18.07.27 - Len Brown <lenb@kernel.org>
> > CPUID(0): GenuineIntel 22 CPUID levels; family:model:stepping
> > 0x6:8e:9
> > (6:142:9)
> > CPUID(1): SSE3 MONITOR SMX EIST TM2 TSC MSR ACPI-TM HT TM
> > CPUID(6): APERF, TURBO, DTS, PTM, HWP, HWPnotify, HWPwindow,
> > HWPepp,
> > No-HWPpkg, EPB
> > cpu1: MSR_IA32_MISC_ENABLE: 0x00850089 (TCC EIST MWAIT PREFETCH
> > TURBO)
> > CPUID(7): SGX
> > cpu1: MSR_IA32_FEATURE_CONTROL: 0x0000ff07 (Locked )
> > CPUID(0x15): eax_crystal: 2 ebx_tsc: 134 ecx_crystal_hz: 0
> > TSC: 1608 MHz (24000000 Hz * 134 / 2 / 1000000)
> > CPUID(0x16): base_mhz: 1600 max_mhz: 3600 bus_mhz: 100
> > cpu1: MSR_MISC_PWR_MGMT: 0x00401cc0 (ENable-EIST_Coordination
> > DISable-
> > EPB DISable-OOB)
> > RAPL: 58254 sec. Joule Counter Range, at 4 Watts
> > cpu1: MSR_PLATFORM_INFO: 0x804043df1011000
> > 4 * 100.0 = 400.0 MHz max efficiency frequency
> > 16 * 100.0 = 1600.0 MHz base frequency
> > cpu1: MSR_IA32_POWER_CTL: 0x0024005d (C1E auto-promotion: DISabled)
> > cpu1: MSR_TURBO_RATIO_LIMIT: 0x22222224
> > 34 * 100.0 = 3400.0 MHz max turbo 4 active cores
> > 34 * 100.0 = 3400.0 MHz max turbo 3 active cores
> > 34 * 100.0 = 3400.0 MHz max turbo 2 active cores
> > 36 * 100.0 = 3600.0 MHz max turbo 1 active cores
> > cpu1: MSR_CONFIG_TDP_NOMINAL: 0x0000000d (base_ratio=13)
> > cpu1: MSR_CONFIG_TDP_LEVEL_1: 0x0006001c (PKG_MIN_PWR_LVL1=0
> > PKG_MAX_PWR_LVL1=0 LVL1_RATIO=6 PKG_TDP_LVL1=28)
> > cpu1: MSR_CONFIG_TDP_LEVEL_2: 0x00100038 (PKG_MIN_PWR_LVL2=0
> > PKG_MAX_PWR_LVL2=0 LVL2_RATIO=16 PKG_TDP_LVL2=56)
> > cpu1: MSR_CONFIG_TDP_CONTROL: 0x00000000 ( lock=0)
> > cpu1: MSR_TURBO_ACTIVATION_RATIO: 0x0000000c
> > (MAX_NON_TURBO_RATIO=12
> > lock=0)
> > cpu1: MSR_PKG_CST_CONFIG_CONTROL: 0x1e008008 (UNdemote-C3,
> > UNdemote-
> > C1,
> > demote-C3, demote-C1, locked, pkg-cstate-limit=8 (unlimited))
> > cpu1: POLL: CPUIDLE CORE POLL IDLE
> > cpu1: C1: MWAIT 0x00
> > cpu1: C1E: MWAIT 0x01
> > cpu1: C3: MWAIT 0x10
> > cpu1: C6: MWAIT 0x20
> > cpu1: C7s: MWAIT 0x33
> > cpu1: C8: MWAIT 0x40
> > cpu1: C9: MWAIT 0x50
> > cpu1: C10: MWAIT 0x60
> > cpu1: cpufreq driver: intel_pstate
> > cpu1: cpufreq governor: powersave
> > cpufreq intel_pstate no_turbo: 0
> > cpu1: MSR_MISC_FEATURE_CONTROL: 0x00000000 (L2-Prefetch L2-
> > Prefetch-
> > pair L1-Prefetch L1-IP-Prefetch)
> > cpu0: MSR_PM_ENABLE: 0x00000001 (HWP)
> > cpu0: MSR_HWP_CAPABILITIES: 0x01070d24 (high 36 guar 13 eff 7 low
> > 1)
> > cpu0: MSR_HWP_REQUEST: 0x80002404 (min 4 max 36 des 0 epp 0x80
> > window
> > 0x0 pkg 0x0)
> > cpu0: MSR_HWP_INTERRUPT: 0x00000000 (Dis_Guaranteed_Perf_Change,
> > Dis_Excursion_Min)
> > cpu0: MSR_HWP_STATUS: 0x00000000 (No-Guaranteed_Perf_Change, No-
> > Excursion_Min)
> > cpu0: MSR_IA32_ENERGY_PERF_BIAS: 0x00000006 (balanced)
> > cpu0: MSR_RAPL_POWER_UNIT: 0x000a0e03 (0.125000 Watts, 0.000061
> > Joules,
> > 0.000977 sec.)
> > cpu0: MSR_PKG_POWER_INFO: 0x00000024 (4 W TDP, RAPL 0 - 0 W,
> > 0.000000
> > sec.)
> > cpu0: MSR_PKG_POWER_LIMIT: 0x420078009c8048 (UNlocked)
> > cpu0: PKG Limit #1: ENabled (9.000000 Watts, 24.000000 sec, clamp
> > DISabled)
> > cpu0: PKG Limit #2: DISabled (15.000000 Watts, 0.002441* sec, clamp
> > DISabled)
> > cpu0: MSR_DRAM_POWER_LIMIT: 0x5400de00000000 (UNlocked)
> > cpu0: DRAM Limit: DISabled (0.000000 Watts, 0.000977 sec, clamp
> > DISabled)
> > cpu0: MSR_PP0_POLICY: 0
> > cpu0: MSR_PP0_POWER_LIMIT: 0x00000000 (UNlocked)
> > cpu0: Cores Limit: DISabled (0.000000 Watts, 0.000977 sec, clamp
> > DISabled)
> > cpu0: MSR_PP1_POLICY: 0
> > cpu0: MSR_PP1_POWER_LIMIT: 0x00000000 (UNlocked)
> > cpu0: GFX Limit: DISabled (0.000000 Watts, 0.000977 sec, clamp
> > DISabled)
> > cpu0: MSR_IA32_TEMPERATURE_TARGET: 0x0a640080 (100 C)
> > cpu0: MSR_IA32_PACKAGE_THERM_STATUS: 0x882e0808 (54 C)
> > cpu0: MSR_IA32_PACKAGE_THERM_INTERRUPT: 0x00000003 (100 C, 100 C)
> > cpu1: MSR_PKGC3_IRTL: 0x0000884e (valid, 79872 ns)
> > cpu1: MSR_PKGC6_IRTL: 0x00008876 (valid, 120832 ns)
> > cpu1: MSR_PKGC7_IRTL: 0x00008894 (valid, 151552 ns)
> > cpu1: MSR_PKGC8_IRTL: 0x000088fa (valid, 256000 ns)
> > cpu1: MSR_PKGC9_IRTL: 0x0000894c (valid, 339968 ns)
> > cpu1: MSR_PKGC10_IRTL: 0x00008bf2 (valid, 1034240 ns)
> > Core	CPU	Avg_MHz	Busy%	Bzy_MHz	TSC_MHz	IRQ
> > 	SMI	POLL
> > C1	C1E	C3	C6	C7s	C8	C9	C10	POLL%
> > C1%	C1E%	C3%	C6%	C7s%	C8%	C9%	C10%	CPU
> > %c1
> > CPU%c3	CPU%c6	CPU%c7	CoreTmp	PkgTmp
> > 	GFX%rc6	GFXMHz	Totl%C0	Any%C0
> > GFX%C0	CPUGFX%	Pkg%pc2	Pkg%pc3	Pkg%pc6
> > 	Pkg%pc7	Pkg%pc8	Pkg%pc9	Pk%pc10
> > 	CPU%LPI	SYS%LPI	PkgWatt	CorWatt	GFXWatt
> > 	RAMWatt	PKG_%	RAM_%
> > -	-	238	14.13	1682	1607	7665	0	5
> > 191	226	243	1561	0	1603	199	2418	0.00
> > 0.24	0.27	0.12	4.510.00	7.03	3.45	70.
> > 17	14.11
> > 0.08	5.96	65.71	51	51	94.67	300	52.
> > 99	44.18
> > 5.13	3.41	12.05	40.26	0.00	0.00	0.00	0.0
> > 00.00
> > 0.00	0.00	3.37	1.73	0.02	0.47	0.00	0.0
> > 0
> > 0	0	215	14.00	1534	1607	2766	0	3
> > 120	68	87	549	0	423	116	732	0.00
> > 0.35	0.25	0.17	6.170.00	7.39	9.48	62.
> > 09	10.17
> > 0.10	7.33	68.40	49	51	94.67	300	53.
> > 01	44.19
> > 5.13	3.41	12.05	40.27	0.00	0.00	0.00	0.0
> > 00.00
> > 0.00	0.00	3.37	1.73	0.02	0.47	0.00	0.0
> > 0
> > 0	2	117	9.06	1297	1607	1600	0	1
> > 16	76	73	394	0	512	34	693	0.00
> > 0.08	0.47	0.14	4.500.00	8.65	1.55	75.
> > 54	15.12
> > 1	1	168	10.72	1569	1608	1459	0	1
> > 30	48	40	342	0	306	42	581	0.00
> > 0.32	0.28	0.08	3.680.00	5.47	2.63	76.
> > 75	21.58
> > 0.06	4.60	63.04	51
> > 1	3	450	22.74	1979	1608	1840	0	0
> > 25	34	43	276	0	362	7	412	0.00
> > 0.21	0.07	0.09	3.680.00	6.60	0.14	66.
> > 29	9.57
> > Core	CPU	Avg_MHz	Busy%	Bzy_MHz	TSC_MHz	IRQ
> > 	SMI	POLL
> > C1	C1E	C3	C6	C7s	C8	C9	C10	POLL%
> > C1%	C1E%	C3%	C6%	C7s%	C8%	C9%	C10%	CPU
> > %c1
> > CPU%c3	CPU%c6	CPU%c7	CoreTmp	PkgTmp
> > 	GFX%rc6	GFXMHz	Totl%C0	Any%C0
> > GFX%C0	CPUGFX%	Pkg%pc2	Pkg%pc3	Pkg%pc6
> > 	Pkg%pc7	Pkg%pc8	Pkg%pc9	Pk%pc10
> > 	CPU%LPI	SYS%LPI	PkgWatt	CorWatt	GFXWatt
> > 	RAMWatt	PKG_%	RAM_%
> > -	-	292	19.04	1535	1608	10249	12	18
> > 455	702	509	2538	1	1737	190	2748	0.00
> > 0.37	0.47	0.31	6.330.00	7.04	2.37	64.
> > 05	14.51
> > 0.19	6.56	59.70	49	50	90.05	300	63.
> > 43	45.18
> > 9.83	4.95	11.88	36.32	0.00	0.00	0.00	0.0
> > 00.00
> > 0.00	0.00	3.33	1.63	0.04	0.56	0.00	0.0
> > 0
> > 0	0	304	20.87	1459	1608	3771	3	7
> > 106	156	119	824	0	527	79	714	0.01
> > 0.32	0.48	0.29	9.520.00	8.61	5.20	54.
> > 69	18.23
> > 0.16	6.46	54.29	49	50	90.05	300	63.
> > 43	45.18
> > 9.83	4.95	11.88	36.32	0.00	0.00	0.00	0.0
> > 00.00
> > 0.00	0.00	3.33	1.63	0.04	0.56	0.00	0.0
> > 0
> > 0	2	464	23.30	1992	1608	2368	3	3
> > 79	188	98	426	0	436	20	588	0.00
> > 0.28	0.30	0.29	3.870.00	6.92	0.88	64.
> > 04	15.79
> > 1	1	175	13.61	1283	1608	2103	3	6
> > 169	154	147	644	0	455	67	760	0.00
> > 0.49	0.64	0.31	6.030.00	7.60	2.95	68.
> > 42	14.40
> > 0.22	6.66	65.11	49
> > 1	3	226	18.39	1227	1608	2007	3	2
> > 101	204	145	644	1	319	24	686	0.00
> > 0.38	0.47	0.35	5.920.01	5.02	0.45	69.
> > 04	9.62
> > Core	CPU	Avg_MHz	Busy%	Bzy_MHz	TSC_MHz	     IRQ
> > 	SMI
> >     POLL	      C1	     C1E	      C3	      C
> > 6	     C7s	      C8	      C9	     C10
> > POLL%	C1%	C1E%	C3%	C6%	C7s%	C8%	C9%	C10
> > %
> > CPU%c1	CPU%c3	CPU%c6	CPU%c7	CoreTmp
> > 	PkgTmp	GFX%rc6	GFXMHz	Totl%C0
> > 	Any%C0	GFX%C0	CPUGFX%	Pkg%pc2	Pkg%pc3
> > 	Pkg%pc6	Pkg%pc7	Pkg%pc8
> > 	Pkg%pc9	Pk%pc10	CPU%LPI	SYS%LPI	PkgWatt
> > 	CorWatt	GFXWatt	RAMWatt
> > 	PKG_%	RAM_%
> > -	-	38	1.97	1913	1623	 -191291	16
> >      320	    5687	    2001	     711	    324
> > 8	       2	    2630	     232	    2606
> > 0.00	0.08	0.06	0.03	0.46	0.00	0.65	0.1
> > 2	5.58
> > 1.69	0.02	0.35	95.98	56	56	100.70	300
> > 	6.45
> > 3.88	0.20	0.16	0.32	5.20	0.00	0.00	0.0
> > 3	0.00
> > 89.94	90.31	0.00	0.91	0.22	0.00	0.28	0.0
> > 0	0.00
> > 0	0	42	2.18	1929	1623	  -51859	4
> >       93	    1696	     611	     179	     74
> > 6	       0	     721	      86	     792
> > 0.00	0.09	0.07	0.03	0.39	0.00	0.70	0.1
> > 4	5.46
> > 1.58	0.02	0.32	95.91	56	56	100.70	300
> > 	6.45
> > 3.88	0.20	0.16	0.32	5.20	0.00	0.00	0.0
> > 3	0.00
> > 89.94	90.31	0.00	0.91	0.22	0.00	0.28	0.0
> > 0	0.00
> > 0	2	39	1.95	1974	1623	  -44474	4
> >      134	    2280	     672	     214	     89
> > 3	       2	     902	      40	     430
> > 0.00	0.13	0.08	0.04	0.52	0.00	0.90	0.1
> > 4	5.31
> > 1.81
> > 1	1	42	2.20	1891	1623	  -45616	4
> >        6	     369	     234	     105	     63
> > 0	       0	     310	      33	     622
> > 0.00	0.02	0.04	0.02	0.41	0.00	0.31	0.0
> > 4	6.02
> > 1.36	0.01	0.37	96.06	55
> > 1	3	29	1.56	1841	1623	  -49342	4
> >       87	    1342	     484	     213	     97
> > 9	       0	     697	      73	     762
> > 0.00	0.08	0.06	0.04	0.53	0.00	0.68	0.1
> > 7	5.52
> > 2.00
> > Core	CPU	Avg_MHz	Busy%	Bzy_MHz	TSC_MHz	     IRQ
> > 	SMI
> >     POLL	      C1	     C1E	      C3	      C
> > 6	     C7s	      C8	      C9	     C10
> > POLL%	C1%	C1E%	C3%	C6%	C7s%	C8%	C9%	C10
> > %
> > CPU%c1	CPU%c3	CPU%c6	CPU%c7	CoreTmp
> > 	PkgTmp	GFX%rc6	GFXMHz	Totl%C0
> > 	Any%C0	GFX%C0	CPUGFX%	Pkg%pc2	Pkg%pc3
> > 	Pkg%pc6	Pkg%pc7	Pkg%pc8
> > 	Pkg%pc9	Pk%pc10	CPU%LPI	SYS%LPI	PkgWatt
> > 	CorWatt	GFXWatt	RAMWatt
> > 	PKG_%	RAM_%
> > -	-	810	43.00	1883	1608	   25029	0
> >       57	    3373	    1585	     864	    512
> > 1	       1	    4401	     559	    2347
> > 0.01	1.25	1.20	0.62	13.02	0.00	17.74	4.1
> > 4	18.47
> > 30.05	0.49	10.40	16.06	51	51	95.64	300
> > 	137.62
> > 98.15	4.11	4.02	0.00	0.00	0.00	0.00	0.0
> > 0	0.00
> > 0.00	0.00	0.00	6.44	4.66	0.02	0.66	0.0
> > 0	0.00
> > 0	0	719	40.39	1779	1608	    6804	0
> >       12	     817	     383	     225	    149
> > 5	       0	    1207	     196	     545
> > 0.01	1.19	1.12	0.66	16.23	0.00	19.77	6.3
> > 3	13.80
> > 23.34	0.67	13.51	22.09	51	51	95.64	300
> > 	137.62
> > 98.16	4.11	4.02	0.00	0.00	0.00	0.00	0.0
> > 0	0.00
> > 0.00	0.00	0.00	6.44	4.66	0.02	0.66	0.0
> > 0	0.00
> > 0	2	670	34.80	1924	1608	    6507	0
> >       11	     683	     442	     253	    149
> > 6	       0	    1458	     147	     697
> > 0.01	1.27	1.54	0.66	13.80	0.00	22.91	4.3
> > 7	20.27
> > 28.93
> > 1	1	1013	52.58	1927	1608	    5901	0
> >       11	     604	     263	     176	     94
> > 5	       1	     799	     132	     577
> > 0.01	0.97	0.75	0.53	9.60	0.00	13.11	4.0
> > 6	17.59
> > 29.79	0.31	7.30	10.02	50
> > 1	3	838	44.23	1894	1608	    5817	0
> >       23	    1269	     497	     210	    118
> > 5	       0	     937	      84	     528
> > 0.02	1.56	1.38	0.61	12.45	0.00	15.15	1.7
> > 9	22.21
> > 38.14
> > Core	CPU	Avg_MHz	Busy%	Bzy_MHz	TSC_MHz	     IRQ
> > 	SMI
> >     POLL	      C1	     C1E	      C3	      C
> > 6	     C7s	      C8	      C9	     C10
> > POLL%	C1%	C1E%	C3%	C6%	C7s%	C8%	C9%	C10
> > %
> > CPU%c1	CPU%c3	CPU%c6	CPU%c7	CoreTmp
> > 	PkgTmp	GFX%rc6	GFXMHz	Totl%C0
> > 	Any%C0	GFX%C0	CPUGFX%	Pkg%pc2	Pkg%pc3
> > 	Pkg%pc6	Pkg%pc7	Pkg%pc8
> > 	Pkg%pc9	Pk%pc10	CPU%LPI	SYS%LPI	PkgWatt
> > 	CorWatt	GFXWatt	RAMWatt
> > 	PKG_%	RAM_%
> > -	-	801	44.72	1893	1522	   28623	0
> >      168	    8252	    2500	    1022	    437
> > 3	       0	    2917	     544	    3699
> > 0.04	2.25	1.60	0.70	9.11	0.00	10.08	4.2
> > 2	23.80
> > 33.40	1.29	6.49	14.10	54	54	89.74	300
> > 	144.45
> > 95.89	5.02	4.67	0.00	0.00	0.00	0.00	0.0
> > 0	0.00
> > 0.00	0.00	0.00	6.29	4.59	0.03	0.65	0.0
> > 0	0.00
> > 0	0	733	40.67	1904	1522	    6879	0
> >       57	    1930	     691	     307	    133
> > 3	       0	     752	     212	     948
> > 0.05	2.20	1.64	0.87	11.01	0.00	10.18	7.8
> > 1	21.97
> > 41.31	0.55	6.84	10.63	52	54	89.74	300
> > 	144.45
> > 95.89	5.02	4.67	0.00	0.00	0.00	0.00	0.0
> > 0	0.00
> > 0.00	0.00	0.00	6.29	4.59	0.03	0.65	0.0
> > 0	0.00
> > 0	2	937	50.69	1952	1522	    6332	0
> >       38	    1968	     641	     226	     96
> > 4	       0	     736	     128	     710
> > 0.04	2.25	1.46	0.66	7.81	0.00	10.51	3.8
> > 6	19.43
> > 31.29
> > 1	1	851	48.25	1864	1522	    5826	0
> >       35	    1648	     589	     194	     87
> > 2	       0	     482	     118	     969
> > 0.03	2.02	1.62	0.45	7.01	0.00	6.57	3.7
> > 8	26.97
> > 26.01	2.03	6.13	17.58	54
> > 1	3	685	39.28	1843	1522	    9586	0
> >       38	    2706	     579	     295	    120
> > 4	       0	     947	      86	    1072
> > 0.04	2.55	1.68	0.82	10.59	0.00	13.05	1.4
> > 1	26.84
> > 34.98
> > ^CCore	CPU	Avg_MHz	Busy%	Bzy_MHz	TSC_MHz	     IRQ
> > 	SMI
> >     POLL	      C1	     C1E	      C3	      C
> > 6	     C7s	      C8	      C9	     C10
> > POLL%	C1%	C1E%	C3%	C6%	C7s%	C8%	C9%	C10
> > %
> > CPU%c1	CPU%c3	CPU%c6	CPU%c7	CoreTmp
> > 	PkgTmp	GFX%rc6	GFXMHz	Totl%C0
> > 	Any%C0	GFX%C0	CPUGFX%	Pkg%pc2	Pkg%pc3
> > 	Pkg%pc6	Pkg%pc7	Pkg%pc8
> > 	Pkg%pc9	Pk%pc10	CPU%LPI	SYS%LPI	PkgWatt
> > 	CorWatt	GFXWatt	RAMWatt
> > 	PKG_%	RAM_%
> > -	-	1318	58.01	2462	1484	    5393	0
> >       37	    2229	     593	     199	     94
> > 4	       0	     422	      61	     261
> > 0.05	4.19	2.80	1.23	14.53	0.00	9.50	1.5
> > 0	4.15
> > 36.81	0.24	2.94	2.00	58	58	33.73	300
> > 	178.58
> > 99.15	63.65	62.57	0.00	0.00	0.00	0.00	0.0
> > 0	0.00
> > 0.00	0.00	0.00	10.04	8.11	0.18	0.83	0.0
> > 0	0.00
> > 0	0	1943	78.79	2674	1483	    1233	0
> >        3	     192	      28	      22	     10
> > 8	       0	      55	       6	      20
> > 0.01	2.22	0.36	0.38	9.15	0.00	5.46	0.1
> > 8	0.77
> > 21.19	0.00	0.01	0.00	57	58	33.73	300
> > 	178.66
> > 99.20	63.68	62.59	0.00	0.00	0.00	0.00	0.0
> > 0	0.00
> > 0.00	0.00	0.00	10.04	8.11	0.18	0.83	0.0
> > 0	0.00
> > 0	2	1139	52.89	2334	1484	    1436	0
> >        8	     546	     137	      54	     28
> > 0	       0	     176	       3	      54
> > 0.06	3.37	3.12	1.49	14.02	0.00	15.09	0.3
> > 7	5.08
> > 47.10
> > 1	1	1113	49.66	2428	1484	    1553	0
> >       13	     853	     208	      65	     28
> > 5	       0	     117	      19	     111
> > 0.06	6.25	3.63	1.72	16.95	0.00	10.30	1.4
> > 4	5.64
> > 39.99	0.47	5.87	4.01	58
> > 1	3	1076	50.71	2299	1485	    1171	0
> >       13	     638	     220	      58	     27
> > 1	       0	      74	      33	      76
> > 0.05	4.89	4.10	1.33	18.02	0.00	7.17	4.0
> > 1	5.09
> > 38.95


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

* RE: issues with suspend on Dell XPS 13 2-in-1
  2018-10-14 18:48                     ` Dennis Gilmore
@ 2018-10-15  4:29                       ` Mario.Limonciello
  0 siblings, 0 replies; 18+ messages in thread
From: Mario.Limonciello @ 2018-10-15  4:29 UTC (permalink / raw)
  To: dgilmore, srinivas.pandruvada; +Cc: linux-kernel, linux-acpi

> El vie, 12-10-2018 a las 17:46 +0000, Mario.Limonciello@dell.com
> escribió:
> > > -----Original Message-----
> > > From: Dennis Gilmore <dgilmore@redhat.com>
> > > Sent: Friday, October 12, 2018 8:39 AM
> > > To: Pandruvada, Srinivas
> > > Cc: linux-kernel@vger.kernel.org; linux-acpi@vger.kernel.org;
> > > Limonciello, Mario
> > > Subject: Re: issues with suspend on Dell XPS 13 2-in-1
> > >
> >
> > It appears I'm being added to this thread late.  Can you give me some
> > more context?
> > Which XPS 2-in-1 is this (model number)? And what are  the issues?
> >
> > I'm "guessing" high power consumption over S2I?
> 
> Sorry we had a discussion back in April about high power consumption
> when suspending. The conversation stopped when the debugging steps did
> not work. Which turns out to be due to secure boot. I have just dealt
> with it by shutting down, but as I am currently travelling it annoyed
> me enough to try and figure out what is happening again. I have a 9635
> and esentially I get the same battery use regardless of if I suspend or
> not.
> 
> Dennis
> 

I see.

Can you remove those patches for now and perform those debugging steps?

> 
> > >
> > > El jue, 26-04-2018 a las 15:09 +0000, Pandruvada, Srinivas
> > > escribió:
> > > > On Thu, 2018-04-26 at 07:42 -0500, Dennis Gilmore wrote:
> > > > > Hi Srinivas,
> > > > >
> > > > > El jue, 26-04-2018 a las 05:34 +0000, Pandruvada, Srinivas
> > > > > escribió:
> > > > > > Hi Dennis,
> > > > > >
> > > > > > On Wed, 2018-04-25 at 22:06 -0500, Dennis Gilmore wrote:
> > > > > > > Hi Srinivas,
> > > > > > >
> > > > > > > Yes I have latest bios, I have version 1.3.1 that was
> > > > > > > released
> > > > > > > on
> > > > > > > 18th
> > > > > > > of  Feb.
> > > > > >
> > > > > > Can you try these commands and repeat the test?
> > > > > >
> > > > > > # cd /sys/kernel/debug/pmc_core/
> > > > > > # for i in {0..32}; do echo $i > ltr_ignore; done
> > > > >
> > > > > # for i in {0..32}; do echo $i > ltr_ignore; done
> > > > > -bash: ltr_ignore: Operación no permitida
> > >
> > > After some digging i figured out that the patches fedora has for
> > > secureboot caused the access to ltr_ignore to not work.
> > >
> >
> > If you are trying to debug high power consumption and those patches
> > are causing
> > problems, can you please remove those patches?
> >
> > LTR ignoring is an important debugging tactic to find problems with
> > S2I consuming
> > too much power.
> >
> > Additionally if you can read
> > /sys/kernel/debug/pmc_core/pch_ip_power_gating_status
> > That may help to point out what is wrong.
> >
> > > # turbostat
> > > turbostat version 18.07.27 - Len Brown <lenb@kernel.org>
> > > CPUID(0): GenuineIntel 22 CPUID levels; family:model:stepping
> > > 0x6:8e:9
> > > (6:142:9)
> > > CPUID(1): SSE3 MONITOR SMX EIST TM2 TSC MSR ACPI-TM HT TM
> > > CPUID(6): APERF, TURBO, DTS, PTM, HWP, HWPnotify, HWPwindow,
> > > HWPepp,
> > > No-HWPpkg, EPB
> > > cpu1: MSR_IA32_MISC_ENABLE: 0x00850089 (TCC EIST MWAIT PREFETCH
> > > TURBO)
> > > CPUID(7): SGX
> > > cpu1: MSR_IA32_FEATURE_CONTROL: 0x0000ff07 (Locked )
> > > CPUID(0x15): eax_crystal: 2 ebx_tsc: 134 ecx_crystal_hz: 0
> > > TSC: 1608 MHz (24000000 Hz * 134 / 2 / 1000000)
> > > CPUID(0x16): base_mhz: 1600 max_mhz: 3600 bus_mhz: 100
> > > cpu1: MSR_MISC_PWR_MGMT: 0x00401cc0 (ENable-EIST_Coordination
> > > DISable-
> > > EPB DISable-OOB)
> > > RAPL: 58254 sec. Joule Counter Range, at 4 Watts
> > > cpu1: MSR_PLATFORM_INFO: 0x804043df1011000
> > > 4 * 100.0 = 400.0 MHz max efficiency frequency
> > > 16 * 100.0 = 1600.0 MHz base frequency
> > > cpu1: MSR_IA32_POWER_CTL: 0x0024005d (C1E auto-promotion: DISabled)
> > > cpu1: MSR_TURBO_RATIO_LIMIT: 0x22222224
> > > 34 * 100.0 = 3400.0 MHz max turbo 4 active cores
> > > 34 * 100.0 = 3400.0 MHz max turbo 3 active cores
> > > 34 * 100.0 = 3400.0 MHz max turbo 2 active cores
> > > 36 * 100.0 = 3600.0 MHz max turbo 1 active cores
> > > cpu1: MSR_CONFIG_TDP_NOMINAL: 0x0000000d (base_ratio=13)
> > > cpu1: MSR_CONFIG_TDP_LEVEL_1: 0x0006001c (PKG_MIN_PWR_LVL1=0
> > > PKG_MAX_PWR_LVL1=0 LVL1_RATIO=6 PKG_TDP_LVL1=28)
> > > cpu1: MSR_CONFIG_TDP_LEVEL_2: 0x00100038 (PKG_MIN_PWR_LVL2=0
> > > PKG_MAX_PWR_LVL2=0 LVL2_RATIO=16 PKG_TDP_LVL2=56)
> > > cpu1: MSR_CONFIG_TDP_CONTROL: 0x00000000 ( lock=0)
> > > cpu1: MSR_TURBO_ACTIVATION_RATIO: 0x0000000c
> > > (MAX_NON_TURBO_RATIO=12
> > > lock=0)
> > > cpu1: MSR_PKG_CST_CONFIG_CONTROL: 0x1e008008 (UNdemote-C3,
> > > UNdemote-
> > > C1,
> > > demote-C3, demote-C1, locked, pkg-cstate-limit=8 (unlimited))
> > > cpu1: POLL: CPUIDLE CORE POLL IDLE
> > > cpu1: C1: MWAIT 0x00
> > > cpu1: C1E: MWAIT 0x01
> > > cpu1: C3: MWAIT 0x10
> > > cpu1: C6: MWAIT 0x20
> > > cpu1: C7s: MWAIT 0x33
> > > cpu1: C8: MWAIT 0x40
> > > cpu1: C9: MWAIT 0x50
> > > cpu1: C10: MWAIT 0x60
> > > cpu1: cpufreq driver: intel_pstate
> > > cpu1: cpufreq governor: powersave
> > > cpufreq intel_pstate no_turbo: 0
> > > cpu1: MSR_MISC_FEATURE_CONTROL: 0x00000000 (L2-Prefetch L2-
> > > Prefetch-
> > > pair L1-Prefetch L1-IP-Prefetch)
> > > cpu0: MSR_PM_ENABLE: 0x00000001 (HWP)
> > > cpu0: MSR_HWP_CAPABILITIES: 0x01070d24 (high 36 guar 13 eff 7 low
> > > 1)
> > > cpu0: MSR_HWP_REQUEST: 0x80002404 (min 4 max 36 des 0 epp 0x80
> > > window
> > > 0x0 pkg 0x0)
> > > cpu0: MSR_HWP_INTERRUPT: 0x00000000 (Dis_Guaranteed_Perf_Change,
> > > Dis_Excursion_Min)
> > > cpu0: MSR_HWP_STATUS: 0x00000000 (No-Guaranteed_Perf_Change, No-
> > > Excursion_Min)
> > > cpu0: MSR_IA32_ENERGY_PERF_BIAS: 0x00000006 (balanced)
> > > cpu0: MSR_RAPL_POWER_UNIT: 0x000a0e03 (0.125000 Watts, 0.000061
> > > Joules,
> > > 0.000977 sec.)
> > > cpu0: MSR_PKG_POWER_INFO: 0x00000024 (4 W TDP, RAPL 0 - 0 W,
> > > 0.000000
> > > sec.)
> > > cpu0: MSR_PKG_POWER_LIMIT: 0x420078009c8048 (UNlocked)
> > > cpu0: PKG Limit #1: ENabled (9.000000 Watts, 24.000000 sec, clamp
> > > DISabled)
> > > cpu0: PKG Limit #2: DISabled (15.000000 Watts, 0.002441* sec, clamp
> > > DISabled)
> > > cpu0: MSR_DRAM_POWER_LIMIT: 0x5400de00000000 (UNlocked)
> > > cpu0: DRAM Limit: DISabled (0.000000 Watts, 0.000977 sec, clamp
> > > DISabled)
> > > cpu0: MSR_PP0_POLICY: 0
> > > cpu0: MSR_PP0_POWER_LIMIT: 0x00000000 (UNlocked)
> > > cpu0: Cores Limit: DISabled (0.000000 Watts, 0.000977 sec, clamp
> > > DISabled)
> > > cpu0: MSR_PP1_POLICY: 0
> > > cpu0: MSR_PP1_POWER_LIMIT: 0x00000000 (UNlocked)
> > > cpu0: GFX Limit: DISabled (0.000000 Watts, 0.000977 sec, clamp
> > > DISabled)
> > > cpu0: MSR_IA32_TEMPERATURE_TARGET: 0x0a640080 (100 C)
> > > cpu0: MSR_IA32_PACKAGE_THERM_STATUS: 0x882e0808 (54 C)
> > > cpu0: MSR_IA32_PACKAGE_THERM_INTERRUPT: 0x00000003 (100 C, 100 C)
> > > cpu1: MSR_PKGC3_IRTL: 0x0000884e (valid, 79872 ns)
> > > cpu1: MSR_PKGC6_IRTL: 0x00008876 (valid, 120832 ns)
> > > cpu1: MSR_PKGC7_IRTL: 0x00008894 (valid, 151552 ns)
> > > cpu1: MSR_PKGC8_IRTL: 0x000088fa (valid, 256000 ns)
> > > cpu1: MSR_PKGC9_IRTL: 0x0000894c (valid, 339968 ns)
> > > cpu1: MSR_PKGC10_IRTL: 0x00008bf2 (valid, 1034240 ns)
> > > Core	CPU	Avg_MHz	Busy%	Bzy_MHz	TSC_MHz
> 	IRQ
> > > 	SMI	POLL
> > > C1	C1E	C3	C6	C7s	C8	C9	C10	POLL%
> > > C1%	C1E%	C3%	C6%	C7s%	C8%	C9%	C10%	CPU
> > > %c1
> > > CPU%c3	CPU%c6	CPU%c7	CoreTmp	PkgTmp
> > > 	GFX%rc6	GFXMHz	Totl%C0	Any%C0
> > > GFX%C0	CPUGFX%	Pkg%pc2	Pkg%pc3	Pkg%pc6
> > > 	Pkg%pc7	Pkg%pc8	Pkg%pc9	Pk%pc10
> > > 	CPU%LPI	SYS%LPI	PkgWatt	CorWatt	GFXWatt
> > > 	RAMWatt	PKG_%	RAM_%
> > > -	-	238	14.13	1682	1607	7665	0	5
> > > 191	226	243	1561	0	1603	199	2418	0.00
> > > 0.24	0.27	0.12	4.510.00	7.03	3.45	70.
> > > 17	14.11
> > > 0.08	5.96	65.71	51	51	94.67	300	52.
> > > 99	44.18
> > > 5.13	3.41	12.05	40.26	0.00	0.00	0.00	0.0
> > > 00.00
> > > 0.00	0.00	3.37	1.73	0.02	0.47	0.00	0.0
> > > 0
> > > 0	0	215	14.00	1534	1607	2766	0	3
> > > 120	68	87	549	0	423	116	732	0.00
> > > 0.35	0.25	0.17	6.170.00	7.39	9.48	62.
> > > 09	10.17
> > > 0.10	7.33	68.40	49	51	94.67	300	53.
> > > 01	44.19
> > > 5.13	3.41	12.05	40.27	0.00	0.00	0.00	0.0
> > > 00.00
> > > 0.00	0.00	3.37	1.73	0.02	0.47	0.00	0.0
> > > 0
> > > 0	2	117	9.06	1297	1607	1600	0	1
> > > 16	76	73	394	0	512	34	693	0.00
> > > 0.08	0.47	0.14	4.500.00	8.65	1.55	75.
> > > 54	15.12
> > > 1	1	168	10.72	1569	1608	1459	0	1
> > > 30	48	40	342	0	306	42	581	0.00
> > > 0.32	0.28	0.08	3.680.00	5.47	2.63	76.
> > > 75	21.58
> > > 0.06	4.60	63.04	51
> > > 1	3	450	22.74	1979	1608	1840	0	0
> > > 25	34	43	276	0	362	7	412	0.00
> > > 0.21	0.07	0.09	3.680.00	6.60	0.14	66.
> > > 29	9.57
> > > Core	CPU	Avg_MHz	Busy%	Bzy_MHz	TSC_MHz
> 	IRQ
> > > 	SMI	POLL
> > > C1	C1E	C3	C6	C7s	C8	C9	C10	POLL%
> > > C1%	C1E%	C3%	C6%	C7s%	C8%	C9%	C10%	CPU
> > > %c1
> > > CPU%c3	CPU%c6	CPU%c7	CoreTmp	PkgTmp
> > > 	GFX%rc6	GFXMHz	Totl%C0	Any%C0
> > > GFX%C0	CPUGFX%	Pkg%pc2	Pkg%pc3	Pkg%pc6
> > > 	Pkg%pc7	Pkg%pc8	Pkg%pc9	Pk%pc10
> > > 	CPU%LPI	SYS%LPI	PkgWatt	CorWatt	GFXWatt
> > > 	RAMWatt	PKG_%	RAM_%
> > > -	-	292	19.04	1535	1608	10249	12	18
> > > 455	702	509	2538	1	1737	190	2748	0.00
> > > 0.37	0.47	0.31	6.330.00	7.04	2.37	64.
> > > 05	14.51
> > > 0.19	6.56	59.70	49	50	90.05	300	63.
> > > 43	45.18
> > > 9.83	4.95	11.88	36.32	0.00	0.00	0.00	0.0
> > > 00.00
> > > 0.00	0.00	3.33	1.63	0.04	0.56	0.00	0.0
> > > 0
> > > 0	0	304	20.87	1459	1608	3771	3	7
> > > 106	156	119	824	0	527	79	714	0.01
> > > 0.32	0.48	0.29	9.520.00	8.61	5.20	54.
> > > 69	18.23
> > > 0.16	6.46	54.29	49	50	90.05	300	63.
> > > 43	45.18
> > > 9.83	4.95	11.88	36.32	0.00	0.00	0.00	0.0
> > > 00.00
> > > 0.00	0.00	3.33	1.63	0.04	0.56	0.00	0.0
> > > 0
> > > 0	2	464	23.30	1992	1608	2368	3	3
> > > 79	188	98	426	0	436	20	588	0.00
> > > 0.28	0.30	0.29	3.870.00	6.92	0.88	64.
> > > 04	15.79
> > > 1	1	175	13.61	1283	1608	2103	3	6
> > > 169	154	147	644	0	455	67	760	0.00
> > > 0.49	0.64	0.31	6.030.00	7.60	2.95	68.
> > > 42	14.40
> > > 0.22	6.66	65.11	49
> > > 1	3	226	18.39	1227	1608	2007	3	2
> > > 101	204	145	644	1	319	24	686	0.00
> > > 0.38	0.47	0.35	5.920.01	5.02	0.45	69.
> > > 04	9.62
> > > Core	CPU	Avg_MHz	Busy%	Bzy_MHz	TSC_MHz
> IRQ
> > > 	SMI
> > >     POLL	      C1	     C1E	      C3	      C
> > > 6	     C7s	      C8	      C9	     C10
> > > POLL%	C1%	C1E%	C3%	C6%	C7s%	C8%	C9%	C10
> > > %
> > > CPU%c1	CPU%c3	CPU%c6	CPU%c7	CoreTmp
> > > 	PkgTmp	GFX%rc6	GFXMHz	Totl%C0
> > > 	Any%C0	GFX%C0	CPUGFX%	Pkg%pc2	Pkg%pc3
> > > 	Pkg%pc6	Pkg%pc7	Pkg%pc8
> > > 	Pkg%pc9	Pk%pc10	CPU%LPI	SYS%LPI	PkgWatt
> > > 	CorWatt	GFXWatt	RAMWatt
> > > 	PKG_%	RAM_%
> > > -	-	38	1.97	1913	1623	 -191291	16
> > >      320	    5687	    2001	     711	    324
> > > 8	       2	    2630	     232	    2606
> > > 0.00	0.08	0.06	0.03	0.46	0.00	0.65	0.1
> > > 2	5.58
> > > 1.69	0.02	0.35	95.98	56	56	100.70	300
> > > 	6.45
> > > 3.88	0.20	0.16	0.32	5.20	0.00	0.00	0.0
> > > 3	0.00
> > > 89.94	90.31	0.00	0.91	0.22	0.00	0.28	0.0
> > > 0	0.00
> > > 0	0	42	2.18	1929	1623	  -51859	4
> > >       93	    1696	     611	     179	     74
> > > 6	       0	     721	      86	     792
> > > 0.00	0.09	0.07	0.03	0.39	0.00	0.70	0.1
> > > 4	5.46
> > > 1.58	0.02	0.32	95.91	56	56	100.70	300
> > > 	6.45
> > > 3.88	0.20	0.16	0.32	5.20	0.00	0.00	0.0
> > > 3	0.00
> > > 89.94	90.31	0.00	0.91	0.22	0.00	0.28	0.0
> > > 0	0.00
> > > 0	2	39	1.95	1974	1623	  -44474	4
> > >      134	    2280	     672	     214	     89
> > > 3	       2	     902	      40	     430
> > > 0.00	0.13	0.08	0.04	0.52	0.00	0.90	0.1
> > > 4	5.31
> > > 1.81
> > > 1	1	42	2.20	1891	1623	  -45616	4
> > >        6	     369	     234	     105	     63
> > > 0	       0	     310	      33	     622
> > > 0.00	0.02	0.04	0.02	0.41	0.00	0.31	0.0
> > > 4	6.02
> > > 1.36	0.01	0.37	96.06	55
> > > 1	3	29	1.56	1841	1623	  -49342	4
> > >       87	    1342	     484	     213	     97
> > > 9	       0	     697	      73	     762
> > > 0.00	0.08	0.06	0.04	0.53	0.00	0.68	0.1
> > > 7	5.52
> > > 2.00
> > > Core	CPU	Avg_MHz	Busy%	Bzy_MHz	TSC_MHz
> IRQ
> > > 	SMI
> > >     POLL	      C1	     C1E	      C3	      C
> > > 6	     C7s	      C8	      C9	     C10
> > > POLL%	C1%	C1E%	C3%	C6%	C7s%	C8%	C9%	C10
> > > %
> > > CPU%c1	CPU%c3	CPU%c6	CPU%c7	CoreTmp
> > > 	PkgTmp	GFX%rc6	GFXMHz	Totl%C0
> > > 	Any%C0	GFX%C0	CPUGFX%	Pkg%pc2	Pkg%pc3
> > > 	Pkg%pc6	Pkg%pc7	Pkg%pc8
> > > 	Pkg%pc9	Pk%pc10	CPU%LPI	SYS%LPI	PkgWatt
> > > 	CorWatt	GFXWatt	RAMWatt
> > > 	PKG_%	RAM_%
> > > -	-	810	43.00	1883	1608	   25029	0
> > >       57	    3373	    1585	     864	    512
> > > 1	       1	    4401	     559	    2347
> > > 0.01	1.25	1.20	0.62	13.02	0.00	17.74	4.1
> > > 4	18.47
> > > 30.05	0.49	10.40	16.06	51	51	95.64	300
> > > 	137.62
> > > 98.15	4.11	4.02	0.00	0.00	0.00	0.00	0.0
> > > 0	0.00
> > > 0.00	0.00	0.00	6.44	4.66	0.02	0.66	0.0
> > > 0	0.00
> > > 0	0	719	40.39	1779	1608	    6804	0
> > >       12	     817	     383	     225	    149
> > > 5	       0	    1207	     196	     545
> > > 0.01	1.19	1.12	0.66	16.23	0.00	19.77	6.3
> > > 3	13.80
> > > 23.34	0.67	13.51	22.09	51	51	95.64	300
> > > 	137.62
> > > 98.16	4.11	4.02	0.00	0.00	0.00	0.00	0.0
> > > 0	0.00
> > > 0.00	0.00	0.00	6.44	4.66	0.02	0.66	0.0
> > > 0	0.00
> > > 0	2	670	34.80	1924	1608	    6507	0
> > >       11	     683	     442	     253	    149
> > > 6	       0	    1458	     147	     697
> > > 0.01	1.27	1.54	0.66	13.80	0.00	22.91	4.3
> > > 7	20.27
> > > 28.93
> > > 1	1	1013	52.58	1927	1608	    5901	0
> > >       11	     604	     263	     176	     94
> > > 5	       1	     799	     132	     577
> > > 0.01	0.97	0.75	0.53	9.60	0.00	13.11	4.0
> > > 6	17.59
> > > 29.79	0.31	7.30	10.02	50
> > > 1	3	838	44.23	1894	1608	    5817	0
> > >       23	    1269	     497	     210	    118
> > > 5	       0	     937	      84	     528
> > > 0.02	1.56	1.38	0.61	12.45	0.00	15.15	1.7
> > > 9	22.21
> > > 38.14
> > > Core	CPU	Avg_MHz	Busy%	Bzy_MHz	TSC_MHz
> IRQ
> > > 	SMI
> > >     POLL	      C1	     C1E	      C3	      C
> > > 6	     C7s	      C8	      C9	     C10
> > > POLL%	C1%	C1E%	C3%	C6%	C7s%	C8%	C9%	C10
> > > %
> > > CPU%c1	CPU%c3	CPU%c6	CPU%c7	CoreTmp
> > > 	PkgTmp	GFX%rc6	GFXMHz	Totl%C0
> > > 	Any%C0	GFX%C0	CPUGFX%	Pkg%pc2	Pkg%pc3
> > > 	Pkg%pc6	Pkg%pc7	Pkg%pc8
> > > 	Pkg%pc9	Pk%pc10	CPU%LPI	SYS%LPI	PkgWatt
> > > 	CorWatt	GFXWatt	RAMWatt
> > > 	PKG_%	RAM_%
> > > -	-	801	44.72	1893	1522	   28623	0
> > >      168	    8252	    2500	    1022	    437
> > > 3	       0	    2917	     544	    3699
> > > 0.04	2.25	1.60	0.70	9.11	0.00	10.08	4.2
> > > 2	23.80
> > > 33.40	1.29	6.49	14.10	54	54	89.74	300
> > > 	144.45
> > > 95.89	5.02	4.67	0.00	0.00	0.00	0.00	0.0
> > > 0	0.00
> > > 0.00	0.00	0.00	6.29	4.59	0.03	0.65	0.0
> > > 0	0.00
> > > 0	0	733	40.67	1904	1522	    6879	0
> > >       57	    1930	     691	     307	    133
> > > 3	       0	     752	     212	     948
> > > 0.05	2.20	1.64	0.87	11.01	0.00	10.18	7.8
> > > 1	21.97
> > > 41.31	0.55	6.84	10.63	52	54	89.74	300
> > > 	144.45
> > > 95.89	5.02	4.67	0.00	0.00	0.00	0.00	0.0
> > > 0	0.00
> > > 0.00	0.00	0.00	6.29	4.59	0.03	0.65	0.0
> > > 0	0.00
> > > 0	2	937	50.69	1952	1522	    6332	0
> > >       38	    1968	     641	     226	     96
> > > 4	       0	     736	     128	     710
> > > 0.04	2.25	1.46	0.66	7.81	0.00	10.51	3.8
> > > 6	19.43
> > > 31.29
> > > 1	1	851	48.25	1864	1522	    5826	0
> > >       35	    1648	     589	     194	     87
> > > 2	       0	     482	     118	     969
> > > 0.03	2.02	1.62	0.45	7.01	0.00	6.57	3.7
> > > 8	26.97
> > > 26.01	2.03	6.13	17.58	54
> > > 1	3	685	39.28	1843	1522	    9586	0
> > >       38	    2706	     579	     295	    120
> > > 4	       0	     947	      86	    1072
> > > 0.04	2.55	1.68	0.82	10.59	0.00	13.05	1.4
> > > 1	26.84
> > > 34.98
> > > ^CCore	CPU	Avg_MHz	Busy%	Bzy_MHz	TSC_MHz
> IRQ
> > > 	SMI
> > >     POLL	      C1	     C1E	      C3	      C
> > > 6	     C7s	      C8	      C9	     C10
> > > POLL%	C1%	C1E%	C3%	C6%	C7s%	C8%	C9%	C10
> > > %
> > > CPU%c1	CPU%c3	CPU%c6	CPU%c7	CoreTmp
> > > 	PkgTmp	GFX%rc6	GFXMHz	Totl%C0
> > > 	Any%C0	GFX%C0	CPUGFX%	Pkg%pc2	Pkg%pc3
> > > 	Pkg%pc6	Pkg%pc7	Pkg%pc8
> > > 	Pkg%pc9	Pk%pc10	CPU%LPI	SYS%LPI	PkgWatt
> > > 	CorWatt	GFXWatt	RAMWatt
> > > 	PKG_%	RAM_%
> > > -	-	1318	58.01	2462	1484	    5393	0
> > >       37	    2229	     593	     199	     94
> > > 4	       0	     422	      61	     261
> > > 0.05	4.19	2.80	1.23	14.53	0.00	9.50	1.5
> > > 0	4.15
> > > 36.81	0.24	2.94	2.00	58	58	33.73	300
> > > 	178.58
> > > 99.15	63.65	62.57	0.00	0.00	0.00	0.00	0.0
> > > 0	0.00
> > > 0.00	0.00	0.00	10.04	8.11	0.18	0.83	0.0
> > > 0	0.00
> > > 0	0	1943	78.79	2674	1483	    1233	0
> > >        3	     192	      28	      22	     10
> > > 8	       0	      55	       6	      20
> > > 0.01	2.22	0.36	0.38	9.15	0.00	5.46	0.1
> > > 8	0.77
> > > 21.19	0.00	0.01	0.00	57	58	33.73	300
> > > 	178.66
> > > 99.20	63.68	62.59	0.00	0.00	0.00	0.00	0.0
> > > 0	0.00
> > > 0.00	0.00	0.00	10.04	8.11	0.18	0.83	0.0
> > > 0	0.00
> > > 0	2	1139	52.89	2334	1484	    1436	0
> > >        8	     546	     137	      54	     28
> > > 0	       0	     176	       3	      54
> > > 0.06	3.37	3.12	1.49	14.02	0.00	15.09	0.3
> > > 7	5.08
> > > 47.10
> > > 1	1	1113	49.66	2428	1484	    1553	0
> > >       13	     853	     208	      65	     28
> > > 5	       0	     117	      19	     111
> > > 0.06	6.25	3.63	1.72	16.95	0.00	10.30	1.4
> > > 4	5.64
> > > 39.99	0.47	5.87	4.01	58
> > > 1	3	1076	50.71	2299	1485	    1171	0
> > >       13	     638	     220	      58	     27
> > > 1	       0	      74	      33	      76
> > > 0.05	4.89	4.10	1.33	18.02	0.00	7.17	4.0
> > > 1	5.09
> > > 38.95


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

* Re: issues with suspend on Dell XPS 13 2-in-1
  2018-10-12 13:38                 ` Dennis Gilmore
  2018-10-12 17:46                   ` Mario.Limonciello
@ 2018-10-16 17:33                   ` Pandruvada, Srinivas
  1 sibling, 0 replies; 18+ messages in thread
From: Pandruvada, Srinivas @ 2018-10-16 17:33 UTC (permalink / raw)
  To: dgilmore; +Cc: linux-kernel, linux-acpi, Mario.Limonciello

[-- Attachment #1: Type: text/plain, Size: 14946 bytes --]

Hi Dennis,

On Fri, 2018-10-12 at 08:38 -0500, Dennis Gilmore wrote:
> El jue, 26-04-2018 a las 15:09 +0000, Pandruvada, Srinivas escribió:
> > On Thu, 2018-04-26 at 07:42 -0500, Dennis Gilmore wrote:
> > > Hi Srinivas,
> > > 
> > > El jue, 26-04-2018 a las 05:34 +0000, Pandruvada, Srinivas
> > > escribió:
> > > > Hi Dennis,
> > > > 
> > > > On Wed, 2018-04-25 at 22:06 -0500, Dennis Gilmore wrote:
> > > > > Hi Srinivas,
> > > > > 
> > > > > Yes I have latest bios, I have version 1.3.1 that was
> > > > > released
> > > > > on
> > > > > 18th
> > > > > of  Feb.
> > > > 
> > > > Can you try these commands and repeat the test?
> > > > 
> > > > # cd /sys/kernel/debug/pmc_core/
> > > > # for i in {0..32}; do echo $i > ltr_ignore; done
> > > 
> > > # for i in {0..32}; do echo $i > ltr_ignore; done
> > > -bash: ltr_ignore: Operación no permitida
> 
> After some digging i figured out that the patches fedora has for
> secureboot caused the access to ltr_ignore to not work. 
When you say access, you mean we don't see these debugfs attributes?
Do you know which patches caused this issue? 

Do you see some non zero values here?
#cat /sys/devices/system/cpu/cpuidle/low_power_*


From the turbostat, looks like you has PC10 residency. The display is
garbled. Looks like you has 40+% residency, which is low, but may not
be across suspend/resume cycle.

 You can only get the output of 
sudo ./turbostat --show Package,Core,CPU,Pkg%pc2,Pkg%pc3,Pkg%pc6	
Pkg%pc7,Pkg%pc8,Pkg%pc9,Pk%pc10

Thanks,
Srinivas

> 
> # turbostat 
> turbostat version 18.07.27 - Len Brown <lenb@kernel.org>
> CPUID(0): GenuineIntel 22 CPUID levels; family:model:stepping
> 0x6:8e:9
> (6:142:9)
> CPUID(1): SSE3 MONITOR SMX EIST TM2 TSC MSR ACPI-TM HT TM
> CPUID(6): APERF, TURBO, DTS, PTM, HWP, HWPnotify, HWPwindow, HWPepp,
> No-HWPpkg, EPB
> cpu1: MSR_IA32_MISC_ENABLE: 0x00850089 (TCC EIST MWAIT PREFETCH
> TURBO)
> CPUID(7): SGX
> cpu1: MSR_IA32_FEATURE_CONTROL: 0x0000ff07 (Locked )
> CPUID(0x15): eax_crystal: 2 ebx_tsc: 134 ecx_crystal_hz: 0
> TSC: 1608 MHz (24000000 Hz * 134 / 2 / 1000000)
> CPUID(0x16): base_mhz: 1600 max_mhz: 3600 bus_mhz: 100
> cpu1: MSR_MISC_PWR_MGMT: 0x00401cc0 (ENable-EIST_Coordination
> DISable-
> EPB DISable-OOB)
> RAPL: 58254 sec. Joule Counter Range, at 4 Watts
> cpu1: MSR_PLATFORM_INFO: 0x804043df1011000
> 4 * 100.0 = 400.0 MHz max efficiency frequency
> 16 * 100.0 = 1600.0 MHz base frequency
> cpu1: MSR_IA32_POWER_CTL: 0x0024005d (C1E auto-promotion: DISabled)
> cpu1: MSR_TURBO_RATIO_LIMIT: 0x22222224
> 34 * 100.0 = 3400.0 MHz max turbo 4 active cores
> 34 * 100.0 = 3400.0 MHz max turbo 3 active cores
> 34 * 100.0 = 3400.0 MHz max turbo 2 active cores
> 36 * 100.0 = 3600.0 MHz max turbo 1 active cores
> cpu1: MSR_CONFIG_TDP_NOMINAL: 0x0000000d (base_ratio=13)
> cpu1: MSR_CONFIG_TDP_LEVEL_1: 0x0006001c (PKG_MIN_PWR_LVL1=0
> PKG_MAX_PWR_LVL1=0 LVL1_RATIO=6 PKG_TDP_LVL1=28)
> cpu1: MSR_CONFIG_TDP_LEVEL_2: 0x00100038 (PKG_MIN_PWR_LVL2=0
> PKG_MAX_PWR_LVL2=0 LVL2_RATIO=16 PKG_TDP_LVL2=56)
> cpu1: MSR_CONFIG_TDP_CONTROL: 0x00000000 ( lock=0)
> cpu1: MSR_TURBO_ACTIVATION_RATIO: 0x0000000c (MAX_NON_TURBO_RATIO=12
> lock=0)
> cpu1: MSR_PKG_CST_CONFIG_CONTROL: 0x1e008008 (UNdemote-C3, UNdemote-
> C1, 
> demote-C3, demote-C1, locked, pkg-cstate-limit=8 (unlimited))
> cpu1: POLL: CPUIDLE CORE POLL IDLE
> cpu1: C1: MWAIT 0x00
> cpu1: C1E: MWAIT 0x01
> cpu1: C3: MWAIT 0x10
> cpu1: C6: MWAIT 0x20
> cpu1: C7s: MWAIT 0x33
> cpu1: C8: MWAIT 0x40
> cpu1: C9: MWAIT 0x50
> cpu1: C10: MWAIT 0x60
> cpu1: cpufreq driver: intel_pstate
> cpu1: cpufreq governor: powersave
> cpufreq intel_pstate no_turbo: 0
> cpu1: MSR_MISC_FEATURE_CONTROL: 0x00000000 (L2-Prefetch L2-Prefetch-
> pair L1-Prefetch L1-IP-Prefetch)
> cpu0: MSR_PM_ENABLE: 0x00000001 (HWP)
> cpu0: MSR_HWP_CAPABILITIES: 0x01070d24 (high 36 guar 13 eff 7 low 1)
> cpu0: MSR_HWP_REQUEST: 0x80002404 (min 4 max 36 des 0 epp 0x80 window
> 0x0 pkg 0x0)
> cpu0: MSR_HWP_INTERRUPT: 0x00000000 (Dis_Guaranteed_Perf_Change,
> Dis_Excursion_Min)
> cpu0: MSR_HWP_STATUS: 0x00000000 (No-Guaranteed_Perf_Change, No-
> Excursion_Min)
> cpu0: MSR_IA32_ENERGY_PERF_BIAS: 0x00000006 (balanced)
> cpu0: MSR_RAPL_POWER_UNIT: 0x000a0e03 (0.125000 Watts, 0.000061
> Joules,
> 0.000977 sec.)
> cpu0: MSR_PKG_POWER_INFO: 0x00000024 (4 W TDP, RAPL 0 - 0 W, 0.000000
> sec.)
> cpu0: MSR_PKG_POWER_LIMIT: 0x420078009c8048 (UNlocked)
> cpu0: PKG Limit #1: ENabled (9.000000 Watts, 24.000000 sec, clamp
> DISabled)
> cpu0: PKG Limit #2: DISabled (15.000000 Watts, 0.002441* sec, clamp
> DISabled)
> cpu0: MSR_DRAM_POWER_LIMIT: 0x5400de00000000 (UNlocked)
> cpu0: DRAM Limit: DISabled (0.000000 Watts, 0.000977 sec, clamp
> DISabled)
> cpu0: MSR_PP0_POLICY: 0
> cpu0: MSR_PP0_POWER_LIMIT: 0x00000000 (UNlocked)
> cpu0: Cores Limit: DISabled (0.000000 Watts, 0.000977 sec, clamp
> DISabled)
> cpu0: MSR_PP1_POLICY: 0
> cpu0: MSR_PP1_POWER_LIMIT: 0x00000000 (UNlocked)
> cpu0: GFX Limit: DISabled (0.000000 Watts, 0.000977 sec, clamp
> DISabled)
> cpu0: MSR_IA32_TEMPERATURE_TARGET: 0x0a640080 (100 C)
> cpu0: MSR_IA32_PACKAGE_THERM_STATUS: 0x882e0808 (54 C)
> cpu0: MSR_IA32_PACKAGE_THERM_INTERRUPT: 0x00000003 (100 C, 100 C)
> cpu1: MSR_PKGC3_IRTL: 0x0000884e (valid, 79872 ns)
> cpu1: MSR_PKGC6_IRTL: 0x00008876 (valid, 120832 ns)
> cpu1: MSR_PKGC7_IRTL: 0x00008894 (valid, 151552 ns)
> cpu1: MSR_PKGC8_IRTL: 0x000088fa (valid, 256000 ns)
> cpu1: MSR_PKGC9_IRTL: 0x0000894c (valid, 339968 ns)
> cpu1: MSR_PKGC10_IRTL: 0x00008bf2 (valid, 1034240 ns)
> Core	CPU	Avg_MHz	Busy%	Bzy_MHz	TSC_MHz	IRQ	SMI	POLL	
> C1	C1E	C3	C6	C7s	C8	C9	C10	POLL%
> 	
> C1%	C1E%	C3%	C6%	C7s%	C8%	C9%	C10%	CPU%c
> 1	
> CPU%c3	CPU%c6	CPU%c7	CoreTmp	PkgTmp	GFX%rc6	GFXMHz	Totl%
> C0	Any%C0	
> GFX%C0	CPUGFX%	Pkg%pc2	Pkg%pc3	Pkg%pc6	Pkg%pc7	Pkg%pc8	Pkg%p
> c9	Pk%pc10
> 	CPU%LPI	SYS%LPI	PkgWatt	CorWatt	GFXWatt	RAMWatt	PKG_%	RAM_%
> -	-	238	14.13	1682	1607	7665	0	5	
> 191	226	243	1561	0	1603	199	2418	0.00	
> 0.24	0.27	0.12	4.510.00	7.03	3.45	70.17	14.11
> 	
> 0.08	5.96	65.71	51	51	94.67	300	52.99	44.18
> 	
> 5.13	3.41	12.05	40.26	0.00	0.00	0.00	0.000.00	
> 0.00	0.00	3.37	1.73	0.02	0.47	0.00	0.00
> 0	0	215	14.00	1534	1607	2766	0	3	
> 120	68	87	549	0	423	116	732	0.00	
> 0.35	0.25	0.17	6.170.00	7.39	9.48	62.09	10.17
> 	
> 0.10	7.33	68.40	49	51	94.67	300	53.01	44.19
> 	
> 5.13	3.41	12.05	40.27	0.00	0.00	0.00	0.000.00	
> 0.00	0.00	3.37	1.73	0.02	0.47	0.00	0.00
> 0	2	117	9.06	1297	1607	1600	0	1	
> 16	76	73	394	0	512	34	693	0.00	
> 0.08	0.47	0.14	4.500.00	8.65	1.55	75.54	15.12
> 1	1	168	10.72	1569	1608	1459	0	1	
> 30	48	40	342	0	306	42	581	0.00	
> 0.32	0.28	0.08	3.680.00	5.47	2.63	76.75	21.58
> 	
> 0.06	4.60	63.04	51
> 1	3	450	22.74	1979	1608	1840	0	0	
> 25	34	43	276	0	362	7	412	0.00	
> 0.21	0.07	0.09	3.680.00	6.60	0.14	66.29	9.57
> Core	CPU	Avg_MHz	Busy%	Bzy_MHz	TSC_MHz	IRQ	SMI	POLL	
> C1	C1E	C3	C6	C7s	C8	C9	C10	POLL%
> 	
> C1%	C1E%	C3%	C6%	C7s%	C8%	C9%	C10%	CPU%c
> 1	
> CPU%c3	CPU%c6	CPU%c7	CoreTmp	PkgTmp	GFX%rc6	GFXMHz	Totl%
> C0	Any%C0	
> GFX%C0	CPUGFX%	Pkg%pc2	Pkg%pc3	Pkg%pc6	Pkg%pc7	Pkg%pc8	Pkg%p
> c9	Pk%pc10
> 	CPU%LPI	SYS%LPI	PkgWatt	CorWatt	GFXWatt	RAMWatt	PKG_%	RAM_%
> -	-	292	19.04	1535	1608	10249	12	18	
> 455	702	509	2538	1	1737	190	2748	0.00	
> 0.37	0.47	0.31	6.330.00	7.04	2.37	64.05	14.51
> 	
> 0.19	6.56	59.70	49	50	90.05	300	63.43	45.18
> 	
> 9.83	4.95	11.88	36.32	0.00	0.00	0.00	0.000.00	
> 0.00	0.00	3.33	1.63	0.04	0.56	0.00	0.00
> 0	0	304	20.87	1459	1608	3771	3	7	
> 106	156	119	824	0	527	79	714	0.01	
> 0.32	0.48	0.29	9.520.00	8.61	5.20	54.69	18.23
> 	
> 0.16	6.46	54.29	49	50	90.05	300	63.43	45.18
> 	
> 9.83	4.95	11.88	36.32	0.00	0.00	0.00	0.000.00	
> 0.00	0.00	3.33	1.63	0.04	0.56	0.00	0.00
> 0	2	464	23.30	1992	1608	2368	3	3	
> 79	188	98	426	0	436	20	588	0.00	
> 0.28	0.30	0.29	3.870.00	6.92	0.88	64.04	15.79
> 1	1	175	13.61	1283	1608	2103	3	6	
> 169	154	147	644	0	455	67	760	0.00	
> 0.49	0.64	0.31	6.030.00	7.60	2.95	68.42	14.40
> 	
> 0.22	6.66	65.11	49
> 1	3	226	18.39	1227	1608	2007	3	2	
> 101	204	145	644	1	319	24	686	0.00	
> 0.38	0.47	0.35	5.920.01	5.02	0.45	69.04	9.62
> Core	CPU	Avg_MHz	Busy%	Bzy_MHz	TSC_MHz	     IRQ	SMI	
>     POLL	      C1	     C1E	      C3	      C
> 6	     C7s	      C8	      C9	     C10	
> POLL%	C1%	C1E%	C3%	C6%	C7s%	C8%	C9%	C10%	
> CPU%c1	CPU%c3	CPU%c6	CPU%c7	CoreTmp	PkgTmp	GFX%rc6	GFXMH
> z	Totl%C0
> 	Any%C0	GFX%C0	CPUGFX%	Pkg%pc2	Pkg%pc3	Pkg%pc6	Pkg%pc7	Pkg%p
> c8
> 	Pkg%pc9	Pk%pc10	CPU%LPI	SYS%LPI	PkgWatt	CorWatt	GFXWatt	RAMWa
> tt
> 	PKG_%	RAM_%
> -	-	38	1.97	1913	1623	 -191291	16	
>      320	    5687	    2001	     711	    324
> 8	       2	    2630	     232	    2606	
> 0.00	0.08	0.06	0.03	0.46	0.00	0.65	0.12	5.58	
> 1.69	0.02	0.35	95.98	56	56	100.70	300	6.45	
> 3.88	0.20	0.16	0.32	5.20	0.00	0.00	0.03	0.00	
> 89.94	90.31	0.00	0.91	0.22	0.00	0.28	0.00	0.00
> 0	0	42	2.18	1929	1623	  -51859	4	
>       93	    1696	     611	     179	     74
> 6	       0	     721	      86	     792	
> 0.00	0.09	0.07	0.03	0.39	0.00	0.70	0.14	5.46	
> 1.58	0.02	0.32	95.91	56	56	100.70	300	6.45	
> 3.88	0.20	0.16	0.32	5.20	0.00	0.00	0.03	0.00	
> 89.94	90.31	0.00	0.91	0.22	0.00	0.28	0.00	0.00
> 0	2	39	1.95	1974	1623	  -44474	4	
>      134	    2280	     672	     214	     89
> 3	       2	     902	      40	     430	
> 0.00	0.13	0.08	0.04	0.52	0.00	0.90	0.14	5.31	
> 1.81
> 1	1	42	2.20	1891	1623	  -45616	4	
>        6	     369	     234	     105	     63
> 0	       0	     310	      33	     622	
> 0.00	0.02	0.04	0.02	0.41	0.00	0.31	0.04	6.02	
> 1.36	0.01	0.37	96.06	55
> 1	3	29	1.56	1841	1623	  -49342	4	
>       87	    1342	     484	     213	     97
> 9	       0	     697	      73	     762	
> 0.00	0.08	0.06	0.04	0.53	0.00	0.68	0.17	5.52	
> 2.00
> Core	CPU	Avg_MHz	Busy%	Bzy_MHz	TSC_MHz	     IRQ	SMI	
>     POLL	      C1	     C1E	      C3	      C
> 6	     C7s	      C8	      C9	     C10	
> POLL%	C1%	C1E%	C3%	C6%	C7s%	C8%	C9%	C10%	
> CPU%c1	CPU%c3	CPU%c6	CPU%c7	CoreTmp	PkgTmp	GFX%rc6	GFXMH
> z	Totl%C0
> 	Any%C0	GFX%C0	CPUGFX%	Pkg%pc2	Pkg%pc3	Pkg%pc6	Pkg%pc7	Pkg%p
> c8
> 	Pkg%pc9	Pk%pc10	CPU%LPI	SYS%LPI	PkgWatt	CorWatt	GFXWatt	RAMWa
> tt
> 	PKG_%	RAM_%
> -	-	810	43.00	1883	1608	   25029	0	
>       57	    3373	    1585	     864	    512
> 1	       1	    4401	     559	    2347	
> 0.01	1.25	1.20	0.62	13.02	0.00	17.74	4.14	18.47
> 	
> 30.05	0.49	10.40	16.06	51	51	95.64	300	137.6
> 2	
> 98.15	4.11	4.02	0.00	0.00	0.00	0.00	0.00	0.00	
> 0.00	0.00	0.00	6.44	4.66	0.02	0.66	0.00	0.00
> 0	0	719	40.39	1779	1608	    6804	0	
>       12	     817	     383	     225	    149
> 5	       0	    1207	     196	     545	
> 0.01	1.19	1.12	0.66	16.23	0.00	19.77	6.33	13.80
> 	
> 23.34	0.67	13.51	22.09	51	51	95.64	300	137.6
> 2	
> 98.16	4.11	4.02	0.00	0.00	0.00	0.00	0.00	0.00	
> 0.00	0.00	0.00	6.44	4.66	0.02	0.66	0.00	0.00
> 0	2	670	34.80	1924	1608	    6507	0	
>       11	     683	     442	     253	    149
> 6	       0	    1458	     147	     697	
> 0.01	1.27	1.54	0.66	13.80	0.00	22.91	4.37	20.27
> 	
> 28.93
> 1	1	1013	52.58	1927	1608	    5901	0	
>       11	     604	     263	     176	     94
> 5	       1	     799	     132	     577	
> 0.01	0.97	0.75	0.53	9.60	0.00	13.11	4.06	17.59
> 	
> 29.79	0.31	7.30	10.02	50
> 1	3	838	44.23	1894	1608	    5817	0	
>       23	    1269	     497	     210	    118
> 5	       0	     937	      84	     528	
> 0.02	1.56	1.38	0.61	12.45	0.00	15.15	1.79	22.21
> 	
> 38.14
> Core	CPU	Avg_MHz	Busy%	Bzy_MHz	TSC_MHz	     IRQ	SMI	
>     POLL	      C1	     C1E	      C3	      C
> 6	     C7s	      C8	      C9	     C10	
> POLL%	C1%	C1E%	C3%	C6%	C7s%	C8%	C9%	C10%	
> CPU%c1	CPU%c3	CPU%c6	CPU%c7	CoreTmp	PkgTmp	GFX%rc6	GFXMH
> z	Totl%C0
> 	Any%C0	GFX%C0	CPUGFX%	Pkg%pc2	Pkg%pc3	Pkg%pc6	Pkg%pc7	Pkg%p
> c8
> 	Pkg%pc9	Pk%pc10	CPU%LPI	SYS%LPI	PkgWatt	CorWatt	GFXWatt	RAMWa
> tt
> 	PKG_%	RAM_%
> -	-	801	44.72	1893	1522	   28623	0	
>      168	    8252	    2500	    1022	    437
> 3	       0	    2917	     544	    3699	
> 0.04	2.25	1.60	0.70	9.11	0.00	10.08	4.22	23.80
> 	
> 33.40	1.29	6.49	14.10	54	54	89.74	300	144.4
> 5	
> 95.89	5.02	4.67	0.00	0.00	0.00	0.00	0.00	0.00	
> 0.00	0.00	0.00	6.29	4.59	0.03	0.65	0.00	0.00
> 0	0	733	40.67	1904	1522	    6879	0	
>       57	    1930	     691	     307	    133
> 3	       0	     752	     212	     948	
> 0.05	2.20	1.64	0.87	11.01	0.00	10.18	7.81	21.97
> 	
> 41.31	0.55	6.84	10.63	52	54	89.74	300	144.4
> 5	
> 95.89	5.02	4.67	0.00	0.00	0.00	0.00	0.00	0.00	
> 0.00	0.00	0.00	6.29	4.59	0.03	0.65	0.00	0.00
> 0	2	937	50.69	1952	1522	    6332	0	
>       38	    1968	     641	     226	     96
> 4	       0	     736	     128	     710	
> 0.04	2.25	1.46	0.66	7.81	0.00	10.51	3.86	19.43
> 	
> 31.29
> 1	1	851	48.25	1864	1522	    5826	0	
>       35	    1648	     589	     194	     87
> 2	       0	     482	     118	     969	
> 0.03	2.02	1.62	0.45	7.01	0.00	6.57	3.78	26.97
> 	
> 26.01	2.03	6.13	17.58	54
> 1	3	685	39.28	1843	1522	    9586	0	
>       38	    2706	     579	     295	    120
> 4	       0	     947	      86	    1072	
> 0.04	2.55	1.68	0.82	10.59	0.00	13.05	1.41	26.84
> 	
> 34.98
> ^CCore	CPU	Avg_MHz	Busy%	Bzy_MHz	TSC_MHz	     IRQ	
> SMI	
>     POLL	      C1	     C1E	      C3	      C
> 6	     C7s	      C8	      C9	     C10	
> POLL%	C1%	C1E%	C3%	C6%	C7s%	C8%	C9%	C10%	
> CPU%c1	CPU%c3	CPU%c6	CPU%c7	CoreTmp	PkgTmp	GFX%rc6	GFXMH
> z	Totl%C0
> 	Any%C0	GFX%C0	CPUGFX%	Pkg%pc2	Pkg%pc3	Pkg%pc6	Pkg%pc7	Pkg%p
> c8
> 	Pkg%pc9	Pk%pc10	CPU%LPI	SYS%LPI	PkgWatt	CorWatt	GFXWatt	RAMWa
> tt
> 	PKG_%	RAM_%
> -	-	1318	58.01	2462	1484	    5393	0	
>       37	    2229	     593	     199	     94
> 4	       0	     422	      61	     261	
> 0.05	4.19	2.80	1.23	14.53	0.00	9.50	1.50	4.15	
> 36.81	0.24	2.94	2.00	58	58	33.73	300	178.5
> 8	
> 99.15	63.65	62.57	0.00	0.00	0.00	0.00	0.00	0.00	
> 0.00	0.00	0.00	10.04	8.11	0.18	0.83	0.00	0.00
> 0	0	1943	78.79	2674	1483	    1233	0	
>        3	     192	      28	      22	     10
> 8	       0	      55	       6	      20	
> 0.01	2.22	0.36	0.38	9.15	0.00	5.46	0.18	0.77	
> 21.19	0.00	0.01	0.00	57	58	33.73	300	178.6
> 6	
> 99.20	63.68	62.59	0.00	0.00	0.00	0.00	0.00	0.00	
> 0.00	0.00	0.00	10.04	8.11	0.18	0.83	0.00	0.00
> 0	2	1139	52.89	2334	1484	    1436	0	
>        8	     546	     137	      54	     28
> 0	       0	     176	       3	      54	
> 0.06	3.37	3.12	1.49	14.02	0.00	15.09	0.37	5.08	
> 47.10
> 1	1	1113	49.66	2428	1484	    1553	0	
>       13	     853	     208	      65	     28
> 5	       0	     117	      19	     111	
> 0.06	6.25	3.63	1.72	16.95	0.00	10.30	1.44	5.64	
> 39.99	0.47	5.87	4.01	58
> 1	3	1076	50.71	2299	1485	    1171	0	
>       13	     638	     220	      58	     27
> 1	       0	      74	      33	      76	
> 0.05	4.89	4.10	1.33	18.02	0.00	7.17	4.01	5.09	
> 38.95
> 

[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 3290 bytes --]

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

end of thread, other threads:[~2018-10-16 17:33 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-14  2:02 issues with suspend on Dell XPS 13 2-in-1 Dennis Gilmore
2018-04-16 16:07 ` Mario.Limonciello
2018-04-17 22:59   ` Pandruvada, Srinivas
2018-04-18 21:01     ` Mario.Limonciello
2018-04-19  4:36       ` Pandruvada, Srinivas
2018-04-19 17:30         ` Mario.Limonciello
2018-04-19 19:45           ` Pandruvada, Srinivas
2018-04-19 19:53             ` Mario.Limonciello
     [not found]     ` <CAJesf3MUUGo_MVpr9+8zy-Nm5OAuYu1uwo2z50T2KcN-G5B5ew@mail.gmail.com>
     [not found]       ` <1524708778.7505.1.camel@intel.com>
2018-04-26  3:06         ` Dennis Gilmore
2018-04-26  5:34           ` Pandruvada, Srinivas
2018-04-26 12:42             ` Dennis Gilmore
2018-04-26 15:09               ` Pandruvada, Srinivas
2018-04-26 15:40                 ` Dennis Gilmore
2018-10-12 13:38                 ` Dennis Gilmore
2018-10-12 17:46                   ` Mario.Limonciello
2018-10-14 18:48                     ` Dennis Gilmore
2018-10-15  4:29                       ` Mario.Limonciello
2018-10-16 17:33                   ` Pandruvada, Srinivas

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