Received: by 10.192.165.148 with SMTP id m20csp2613917imm; Sun, 22 Apr 2018 10:52:53 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/cecRkAuVLdABNaNlriP9/dj/RW1Fdp7oeKCiIFdBHAn+93fi1kYgA6KlyFBdoEEUoXuc7 X-Received: by 10.99.168.13 with SMTP id o13mr14561137pgf.198.1524419573050; Sun, 22 Apr 2018 10:52:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524419573; cv=none; d=google.com; s=arc-20160816; b=GOEnJ3STNDIc0mQasD1HYspTIDTqfq1OhzJsvIejkp5PFZR7yWY6EqzgOfAyPxo+AN ckOkjBG0Y4fubvfeu9CpPouvyUsrRakd/DwT/8gGtBt4IMj93hxUbCzYeh3GZFTBcsrR ouqBeQ2lFTycotskyizCAKwsG8OkzJZF4CAG/hcA66XWqZGO1PXzBqZwFlFmJJZz8c+U EzQdl5kq3zPg+UR7cM3ZjohuE2T/qQVFiHUCoK3qHYswmKKiPgq0Anb8nWADSvDPeftZ Mbc8PL22Sg/U+H+VH7FN9LC6lWWdk5SdXM/dM+wU/kyZpmk7AKpCb4Nd4IC9k9xphwuW zHMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=lhqjrPziQpssvlf8O7yopRW6CzU+td8p7nUXX4VmEok=; b=TiUVy3OYbEUwfIXqe9CSmNgdcKQsO/yRWg6txTsmAHEzA1t3MBYzCBIc7hzjWWhG/h p6sEX5Kom5ZbjtYXvmNJjXbXSOtOu4L/BRpJICvrrKynB/4dTfklkAy+Kn6owQq6RBHj eYd1jvf1a7byEAKLnMevz3uuzOa6rB43434NIp67bekuhkEpN/54vhNcg13mfLkC/O6l c3TT/JmuojU6OEVGO3qmRR+f+/+i9OMxm9RNuMiAMNUTbGvnCY0pKo+7CS2cyZtjm365 NWoLwQ3p6u1DkHrXQPFLrvYQmPYQy02GzXpxMpMMGgi7TkQZ+hexBYnpJ6zd5CwTBcHk dJ7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HbTUI6wk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o1si4061593pgp.273.2018.04.22.10.52.06; Sun, 22 Apr 2018 10:52:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HbTUI6wk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753390AbeDVRrE (ORCPT + 99 others); Sun, 22 Apr 2018 13:47:04 -0400 Received: from mail-yw0-f195.google.com ([209.85.161.195]:46465 "EHLO mail-yw0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751683AbeDVRrC (ORCPT ); Sun, 22 Apr 2018 13:47:02 -0400 Received: by mail-yw0-f195.google.com with SMTP id i17-v6so4254293ywg.13 for ; Sun, 22 Apr 2018 10:47:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=lhqjrPziQpssvlf8O7yopRW6CzU+td8p7nUXX4VmEok=; b=HbTUI6wknvLeVibISQYxLHAl3g+E3BG33HiM7XyBDsrfHqmGBO8y57uPiMQQ2l3vzV Nd8kdbdjdxbJVY6oZKOb+2tnX+U4Vnzsh3Fnl9vh4rS7cNrIy6ABq0HhVdB8FmEMN+Zx mw3ReCqPHdxYMlNTdYEFG9Eb4MIiELEevAaLJpY0FH84rslTsJvGc3EHMlIQ65t1W5zl pC5UKg2yDmYcmm3WlCRbyIPnwKH1+/ukkrZLo9Kdoo7m4VIXz4BqkvlWueailZibybM5 Q6Uc7IzQmjOlGEtniVw/P8pfSCoLvCnr6gK68w+4r/miv9WxrjqVDCz4Spcc3BIF6BUY O2Rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=lhqjrPziQpssvlf8O7yopRW6CzU+td8p7nUXX4VmEok=; b=Lw/6uLJG77yAd2/qQ86/zc2745GmEPcNqMzIhmJ4sdKlLu/ZFl+zph1UATJ2H5Lb+e Rbn+uIgDV/r5i8SwLNu7mIB9F79gDC1D8L8q0GYK/mCgeCivOlm2ZWCZHzFZXRKeBWKM CEDkQPAveM+31s++QGV65fqNA2F2nFJSJ35GUsNEM9VGC9leCb6x5uuQvU/byl44XvuA dkBMhJVJXR3aG9WwZN6iyhSBI6TcNRQHooyqQxlYFmO78Oj1UXWc22aN8XR4IBv9lTNO KkWlBCo9LS+ElJoVNa6xt+lDCrDErAR5ezIi5qQ579eF7I1xjB+ZqBuCoXHKso3Q7SXY ML+Q== X-Gm-Message-State: ALQs6tCiVaiwFXe3up3zwXGRISZ4DYzdaxCyeLPj7b43BxzqYR+oilXU 9QgiyfZOQGr47fLQjPuN4mXD2RwZFsEnmZZ4UQU= X-Received: by 2002:a0d:ee81:: with SMTP id x123-v6mr4433083ywe.239.1524419221896; Sun, 22 Apr 2018 10:47:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.13.213.201 with HTTP; Sun, 22 Apr 2018 10:47:01 -0700 (PDT) In-Reply-To: References: From: Diego Viola Date: Sun, 22 Apr 2018 14:47:01 -0300 Message-ID: Subject: Re: Experiencing freezes with kernel 4.16.3 on a desktop with E5500 CPU (bisect included) To: linux-kernel@vger.kernel.org, peterz@infradead.org, tglx@linutronix.de, len.brown@intel.com, rui.zhang@intel.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Apr 21, 2018 at 11:19 PM, Diego Viola wrote: > Hi, > > I'm currently experiencing freezes after resuming from suspend when > using various applications on my desktop. > > For example, when using Firefox and switching between tabs the screen > would freeze, allowing me to only move the mouse pointer but focusing > the mouse pointer on a application won't have any effect. > > The keyboard would still work and the only way to make the issue go > away would be to switch to a virtual desktop and then switch back, > then I'd be able to use the mouse again until the same problem > re-occurs. > > This never happened before upgrading to 4.16.3 and 4.15.18 is unaffected. > > The problem only happens *after* resuming from suspend, in normal S0 > state it never happens. > > My machine is a desktop and has a dual core E5500 CPU with 2GB of RAM, > I run Arch Linux and I use the i3wm. > > I don't think it's a problem with user space because I run exactly the > same Arch Linux setup on my T450 and the issue can't be reproduced on > that machine. > > I did a bisect and the cause of the bug seems to be this commit: > > aa83c45762a242acce9b35020363225a7b59d7c9 is the first bad commit > > Here is the bisect log: > > git bisect start > # bad: [0adb32858b0bddf4ada5f364a84ed60b196dbcda] Linux 4.16 > git bisect bad 0adb32858b0bddf4ada5f364a84ed60b196dbcda > # good: [d8a5b80568a9cb66810e75b182018e9edb68e8ff] Linux 4.15 > git bisect good d8a5b80568a9cb66810e75b182018e9edb68e8ff > # bad: [c14376de3a1befa70d9811ca2872d47367b48767] printk: Wake klogd > when passing console_lock owner > git bisect bad c14376de3a1befa70d9811ca2872d47367b48767 > # bad: [a103950e0dd2058df5e8a8d4a915707bdcf205f0] Merge branch 'linus' > of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 > git bisect bad a103950e0dd2058df5e8a8d4a915707bdcf205f0 > # bad: [d8b91dde38f4c43bd0bbbf17a90f735b16aaff2c] Merge branch > 'perf-core-for-linus' of > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip > git bisect bad d8b91dde38f4c43bd0bbbf17a90f735b16aaff2c > # good: [9697e9da84299d0d715d515dd2cc48f1eceb277d] Merge tag > 'edac_for_4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp > git bisect good 9697e9da84299d0d715d515dd2cc48f1eceb277d > # good: [d0bd31dc5c0b46b9c778112900cf8f910ac26e1b] Merge tag > 'xtensa-20180129' of git://github.com/jcmvbkbc/linux-xtensa > git bisect good d0bd31dc5c0b46b9c778112900cf8f910ac26e1b > # good: [0337cf74ccf2a43437bff2e23b278e4f2dc4c6e2] perf util: > Introduce architecture specific errno/name mapping > git bisect good 0337cf74ccf2a43437bff2e23b278e4f2dc4c6e2 > # bad: [6304672b7f0a5c010002e63a075160856dc4f88d] Merge branch > 'x86-pti-for-linus' of > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip > git bisect bad 6304672b7f0a5c010002e63a075160856dc4f88d > # good: [a46d3f9b1c9888a244ed1ce8da0eca98c3f378e2] Merge branch > 'timers-core-for-linus' of > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip > git bisect good a46d3f9b1c9888a244ed1ce8da0eca98c3f378e2 > # good: [669c0f762ed19bd9ec128ebc97ae8641b6e1a4a3] Merge branch > 'x86-platform-for-linus' of > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip > git bisect good 669c0f762ed19bd9ec128ebc97ae8641b6e1a4a3 > # good: [7a32fc51ca938e67974cbb9db31e1a43f98345a9] x86/nospec: Fix > header guards names > git bisect good 7a32fc51ca938e67974cbb9db31e1a43f98345a9 > # bad: [942633523cde99c5bfa0329996dd839ca66a87aa] Merge branch > 'x86-mm-for-linus' of > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip > git bisect bad 942633523cde99c5bfa0329996dd839ca66a87aa > # bad: [aa83c45762a242acce9b35020363225a7b59d7c9] x86/tsc: Introduce > early tsc clocksource > git bisect bad aa83c45762a242acce9b35020363225a7b59d7c9 > # good: [6d671e1b85c63e7a337ba76c1a154c091545cff8] x86/time: > Unconditionally register legacy timer interrupt > git bisect good 6d671e1b85c63e7a337ba76c1a154c091545cff8 > # first bad commit: [aa83c45762a242acce9b35020363225a7b59d7c9] > x86/tsc: Introduce early tsc clocksource > > Current git HEAD is also affected. > > I already tried HEAD with that commit reverted and the problem can't > be reproduced anymore. > > Please let me know if I can include more info, thanks in advance. > > Diego When booting with clocksource=hpet I cannot reproduce the problem.