← Back to team overview

kernel-packages team mailing list archive

[Bug 1598555] [NEW] On intel_idle function issue.

 

Public bug reported:

Below is result of perf report:
................................
       │       mfence                                                                                          ▒
       │       mov    %gs:0x14204,%rax                                                                         ▒
       │       clflus -0x3ff8(%rax)                                                                            ▒
       │       mfence                                                                                          ▒
       │ 90:   xor    %edx,%edx                                                                                ▒
       │       mov    %gs:0x14204,%rsi                                                                         ▒
       │       mov    %rdx,%rcx                                                                                ▒
       │       lea    -0x3ff8(%rsi),%rax                                                                       ▒
       │       monito %rax,%rcx,%rdx                                                                           ▒
 20,00 │       mov    -0x3ff8(%rsi),%rax                                                                       ▒
       │       test   $0x8,%al                                                                                 ▒
       │     ↓ jne    be                                                                                       ▒
       │       mov    $0x1,%ecx                                                                                ▒
       │       mov    %r12,%rax                                                                                ▒
       │       mwait  %rax,%rcx                                                                                ▒
 60,00 │ be:   mov    %gs:0x14204,%rax                                                                         ▒
 20,00 │       lock   andb $0xdf,-0x3ff6(%rax)                                                                 ▒
       │       mfence                                                                                          ▒
       │       mov    -0x3ff8(%rax),%rax                                                                       ▒
       │       test   $0x8,%al                                                                                 ▒
       │     ↓ je     e8                                                                                       ▒
       │       andl   $0x7fffffff,%gs:0x7eb92008(%rip)        # 0xd350                                         ▒
       │ e8:   test   %ebx,0xa36972(%rip)                                                                      ▒
       │     ↓ jne    f7                                                                                       ▒
       │       xor    %edi,%edi               
........................
I have one patch wich try to solve this issue .

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.4.0-28-generic 4.4.0-28.47
ProcVersionSignature: Ubuntu 4.4.0-28.47-generic 4.4.13
Uname: Linux 4.4.0-28-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC0:  asu        3230 F.... pulseaudio
CurrentDesktop: Unity
Date: Sun Jul  3 12:49:40 2016
InstallationDate: Installed on 2016-04-29 (64 days ago)
InstallationMedia: Ubuntu-Studio 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
IwConfig:
 lo        no wireless extensions.
 
 enp1s0    no wireless extensions.
MachineType: Olidata S.p.A. ALABAMA
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.4.0-28-generic root=/dev/mapper/192--168--0--108--vg-root ro
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-28-generic N/A
 linux-backports-modules-4.4.0-28-generic  N/A
 linux-firmware                            1.157.1
RfKill:
 
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/08/2008
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: S0101
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: To be filled by O.E.M.
dmi.board.vendor: To be filled by O.E.M.
dmi.board.version: To be filled by O.E.M.
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrS0101:bd07/08/2008:svnOlidataS.p.A.:pnALABAMA:pvrToBeFilledByO.E.M.:rvnTobefilledbyO.E.M.:rnTobefilledbyO.E.M.:rvrTobefilledbyO.E.M.:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: ALABAMA
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: Olidata S.p.A.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: amd64 apport-bug xenial

** Patch added: "Tested on linux-4.6.2"
   https://bugs.launchpad.net/bugs/1598555/+attachment/4694602/+files/fix_stall_mwait_idle_with_hints.patch

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1598555

Title:
  On intel_idle function issue.

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Below is result of perf report:
  ................................
         │       mfence                                                                                          ▒
         │       mov    %gs:0x14204,%rax                                                                         ▒
         │       clflus -0x3ff8(%rax)                                                                            ▒
         │       mfence                                                                                          ▒
         │ 90:   xor    %edx,%edx                                                                                ▒
         │       mov    %gs:0x14204,%rsi                                                                         ▒
         │       mov    %rdx,%rcx                                                                                ▒
         │       lea    -0x3ff8(%rsi),%rax                                                                       ▒
         │       monito %rax,%rcx,%rdx                                                                           ▒
   20,00 │       mov    -0x3ff8(%rsi),%rax                                                                       ▒
         │       test   $0x8,%al                                                                                 ▒
         │     ↓ jne    be                                                                                       ▒
         │       mov    $0x1,%ecx                                                                                ▒
         │       mov    %r12,%rax                                                                                ▒
         │       mwait  %rax,%rcx                                                                                ▒
   60,00 │ be:   mov    %gs:0x14204,%rax                                                                         ▒
   20,00 │       lock   andb $0xdf,-0x3ff6(%rax)                                                                 ▒
         │       mfence                                                                                          ▒
         │       mov    -0x3ff8(%rax),%rax                                                                       ▒
         │       test   $0x8,%al                                                                                 ▒
         │     ↓ je     e8                                                                                       ▒
         │       andl   $0x7fffffff,%gs:0x7eb92008(%rip)        # 0xd350                                         ▒
         │ e8:   test   %ebx,0xa36972(%rip)                                                                      ▒
         │     ↓ jne    f7                                                                                       ▒
         │       xor    %edi,%edi               
  ........................
  I have one patch wich try to solve this issue .

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: linux-image-4.4.0-28-generic 4.4.0-28.47
  ProcVersionSignature: Ubuntu 4.4.0-28.47-generic 4.4.13
  Uname: Linux 4.4.0-28-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.1
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  asu        3230 F.... pulseaudio
  CurrentDesktop: Unity
  Date: Sun Jul  3 12:49:40 2016
  InstallationDate: Installed on 2016-04-29 (64 days ago)
  InstallationMedia: Ubuntu-Studio 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
  IwConfig:
   lo        no wireless extensions.
   
   enp1s0    no wireless extensions.
  MachineType: Olidata S.p.A. ALABAMA
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.4.0-28-generic root=/dev/mapper/192--168--0--108--vg-root ro
  RelatedPackageVersions:
   linux-restricted-modules-4.4.0-28-generic N/A
   linux-backports-modules-4.4.0-28-generic  N/A
   linux-firmware                            1.157.1
  RfKill:
   
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 07/08/2008
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: S0101
  dmi.board.asset.tag: To Be Filled By O.E.M.
  dmi.board.name: To be filled by O.E.M.
  dmi.board.vendor: To be filled by O.E.M.
  dmi.board.version: To be filled by O.E.M.
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: To Be Filled By O.E.M.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrS0101:bd07/08/2008:svnOlidataS.p.A.:pnALABAMA:pvrToBeFilledByO.E.M.:rvnTobefilledbyO.E.M.:rnTobefilledbyO.E.M.:rvrTobefilledbyO.E.M.:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
  dmi.product.name: ALABAMA
  dmi.product.version: To Be Filled By O.E.M.
  dmi.sys.vendor: Olidata S.p.A.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1598555/+subscriptions


Follow ups