[Bug 1833169] Re: intel_max_cstate is needed with baytrail to aviod hangups

2019-08-18 Thread Christopher M. Penalver
** Tags added: cherry-pick kernel-fixed-upstream

** Changed in: linux (Ubuntu)
   Status: Confirmed => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1833169

Title:
  intel_max_cstate is needed with baytrail to aviod hangups

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1833169] Re: intel_max_cstate is needed with baytrail to aviod hangups

2019-08-18 Thread Jaime Pérez
Patch is already in master kernel branch and it works

** Changed in: linux (Ubuntu)
   Status: Incomplete => New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1833169

Title:
  intel_max_cstate is needed with baytrail to aviod hangups

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1833169] Re: intel_max_cstate is needed with baytrail to aviod hangups

2019-07-09 Thread Christopher M. Penalver
** Changed in: linux (Ubuntu)
   Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1833169

Title:
  intel_max_cstate is needed with baytrail to aviod hangups

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1833169] Re: intel_max_cstate is needed with baytrail to aviod hangups

2019-07-01 Thread Jaime Pérez
** Changed in: linux (Ubuntu)
   Status: Incomplete => New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1833169

Title:
  intel_max_cstate is needed with baytrail to aviod hangups

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1833169] Re: intel_max_cstate is needed with baytrail to aviod hangups

2019-06-30 Thread Jaime Pérez
Running this also works (disabling intel_idle.max_cstate=1 on grub).

#!/bin/sh

#title:   c6off+c7on.sh
#description: Disables all C6 and enables all C7 core states for Baytrail CPUs
#author:  Wolfgang Reimer 
#date:20190616
#version: 2.0
#usage:   sudo /c6off+c7on.sh
#notes:   Intended as test script to verify whether erratum VLP52 (see
# [1]) is the root cause for kernel bug 109051 (see [2]). In order
# for this to work you must _NOT_ use boot parameter
# intel_idle.max_cstate=.
#
# [1] 
http://www.intel.com/content/dam/www/public/us/en/documents/specification-updates/pentium-n3520-j2850-celeron-n2920-n2820-n2815-n2806-j1850-j1750-spec-update.pdf
# [2] https://bugzilla.kernel.org/show_bug.cgi?id=109051

# Disable ($1 == 1) or enable ($1 == 0) core state, if not yet done.
disable() {
local action
read disabled disable || return
action=ENABLED; test "$1" = 0 || action=DISABLED
printf "%-8s state %7s for %s.\n" $action "$name" $cpu  
}

# Iterate through each core state and for Baytrail (BYT) disable all C6
# and enable all C7 states.
cd /sys/devices/system/cpu
for cpu in cpu[0-9]*; do
for dir in $cpu/cpuidle/state*; do
cd "$dir"
read name https://bugzilla.kernel.org/show_bug.cgi?id=109051

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1833169

Title:
  intel_max_cstate is needed with baytrail to aviod hangups

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1833169] Re: intel_max_cstate is needed with baytrail to aviod hangups

2019-06-21 Thread Jaime Pérez
Hi,

intel_idle.max_cstate=1 DOES provide a workaround (no freezes, but high
battery usage).

The patch is going to get into 5.2 merge window apparently, so I will
test it in that moment (in 4 weeks). Perhaps I will compile a kernel
with the patch, but is difficult with this hardware.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1833169

Title:
  intel_max_cstate is needed with baytrail to aviod hangups

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1833169] Re: intel_max_cstate is needed with baytrail to aviod hangups

2019-06-21 Thread Christopher M. Penalver
Jaime Pérez, please answer all of the following:

1) Have you tested an upstream kernel containing the proposed commit, or tested 
the commit to confirm it resolves the issue for your hardware? If not, one may 
test the relevant usptream kernel via:
https://wiki.ubuntu.com/Kernel/MainlineBuilds

or testing only a patch via:
https://wiki.ubuntu.com/Kernel/KernelBisection#Testing_a_newly_released_patch_from_upstream

2) Does the following kernel parameter you are using provide a WORKAROUND for 
your hardware:
intel_idle.max_cstate=1

** Changed in: linux (Ubuntu)
   Importance: Undecided => Low

** Changed in: linux (Ubuntu)
   Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1833169

Title:
  intel_max_cstate is needed with baytrail to aviod hangups

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1833169] Re: intel_max_cstate is needed with baytrail to aviod hangups

2019-06-21 Thread Jaime Pérez
apport information

** Tags added: apport-collected

** Description changed:

  https://bugzilla.kernel.org/show_bug.cgi?id=109051
  
  fix (will be merged on 5.2 merge window, so I will need backport):
  
https://cgit.freedesktop.org/drm-intel/commit/?id=a75d035fedbdecf83f86767aa2e4d05c8c4ffd95
  
  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: linux-generic-hwe-18.04 4.18.0.21.71
  ProcVersionSignature: Ubuntu 4.18.0-21.22~18.04.1-generic 4.18.20
  Uname: Linux 4.18.0-21-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.6
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Jun 18 08:14:08 2019
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2019-06-17 (0 days ago)
  InstallationMedia: Ubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 
(20190210)
  SourcePackage: linux-meta-hwe
  UpgradeStatus: No upgrade log present (probably fresh install)
+ --- 
+ ProblemType: Bug
+ ApportVersion: 2.20.9-0ubuntu7.6
+ Architecture: amd64
+ AudioDevicesInUse:
+  USERPID ACCESS COMMAND
+  /dev/snd/controlC1:  jaime  1741 F pulseaudio
+  /dev/snd/controlC0:  jaime  1741 F pulseaudio
+ CurrentDesktop: ubuntu:GNOME
+ DistroRelease: Ubuntu 18.04
+ EcryptfsInUse: Yes
+ InstallationDate: Installed on 2019-06-17 (3 days ago)
+ InstallationMedia: Ubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 
(20190210)
+ Lsusb:
+  Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
+  Bus 001 Device 003: ID 8087:07dc Intel Corp. 
+  Bus 001 Device 002: ID 04f2:b490 Chicony Electronics Co., Ltd 
+  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
+ MachineType: GOOGLE Gnawty
+ Package: linux (not installed)
+ ProcFB: 0 inteldrmfb
+ ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.18.0-22-generic 
root=UUID=b12b3d55-99d9-45f0-87f5-46cedaeb5806 ro quiet splash 
intel_idle.max_cstate=1 vt.handoff=1
+ ProcVersionSignature: Ubuntu 4.18.0-22.23~18.04.1-generic 4.18.20
+ RelatedPackageVersions:
+  linux-restricted-modules-4.18.0-22-generic N/A
+  linux-backports-modules-4.18.0-22-generic  N/A
+  linux-firmware 1.173.6
+ Tags:  wayland-session bionic
+ Uname: Linux 4.18.0-22-generic x86_64
+ UpgradeStatus: No upgrade log present (probably fresh install)
+ UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
+ _MarkForUpload: True
+ dmi.bios.date: 08/18/2014
+ dmi.bios.vendor: coreboot
+ dmi.chassis.type: 3
+ dmi.chassis.vendor: GOOGLE
+ dmi.modalias: 
dmi:bvncoreboot:bvr:bd08/18/2014:svnGOOGLE:pnGnawty:pvr1.0:cvnGOOGLE:ct3:cvr:
+ dmi.product.name: Gnawty
+ dmi.product.version: 1.0
+ dmi.sys.vendor: GOOGLE

** Attachment added: "AlsaInfo.txt"
   
https://bugs.launchpad.net/bugs/1833169/+attachment/5272095/+files/AlsaInfo.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1833169

Title:
  intel_max_cstate is needed with baytrail to aviod hangups

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1833169] Re: intel_max_cstate is needed with baytrail to aviod hangups

2019-06-20 Thread Kai-Heng Feng
** Also affects: linux (Ubuntu)
   Importance: Undecided
   Status: New

** No longer affects: kernel-package (Ubuntu)

** No longer affects: linux-meta-hwe (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1833169

Title:
  intel_max_cstate is needed with baytrail to aviod hangups

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1833169] Re: intel_max_cstate is needed with baytrail to aviod hangups

2019-06-20 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: linux-meta-hwe (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1833169

Title:
  intel_max_cstate is needed with baytrail to aviod hangups

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kernel-package/+bug/1833169/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1833169] Re: intel_max_cstate is needed with baytrail to aviod hangups

2019-06-20 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: kernel-package (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1833169

Title:
  intel_max_cstate is needed with baytrail to aviod hangups

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kernel-package/+bug/1833169/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs