Received: by 10.192.165.148 with SMTP id m20csp1906498imm; Sat, 21 Apr 2018 19:22:11 -0700 (PDT) X-Google-Smtp-Source: AIpwx48VqkcFiJLgvhQSjSKzILR4psmfuX2kuMkedEIsSPwhBk3/1DvjNfX/X8f3p/5spv+jXhWf X-Received: by 10.99.111.202 with SMTP id k193mr12725996pgc.147.1524363731897; Sat, 21 Apr 2018 19:22:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524363731; cv=none; d=google.com; s=arc-20160816; b=DwKsls/kMC/y1piLHTAHNalG50uw8FHew6W4Znqvp8c7MZj5eznaISr9ZVeOpX649m etfAt+Pod5pWJ6B1u0epajAaYcw8hSDTZM7fmwcwhXN7DyVVRr5dN/tiwJWJXF5icX9c VOUd8zAvnWlb+dPet1oyF30qqUhyI6wsNKPR0kjkxV/ve/dpPo4xTNBolag3srLLTU2g fzQB3an2G+3MTWjtjpE8E2W/X9nalfTWYtV+NaA7AaxDTWDucdzfnF2+yMh3SArhv3gL lZfVQNEXMiFzDEK1uzi4wHuuIBlWwp5Dg5/XQt8d/RRwJaS0hNv083jVRnf7YhJLWCGo 2odA== 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 :mime-version:dkim-signature:arc-authentication-results; bh=yGAh1vzmgzv6wp4QS1/ikJQidsUQWFaQbgsApQM/PdU=; b=xyxF5hS4u2NyrPIjUQuFMYYA44SvXlMRf0b/vpl/+rmjRi7RZou/vdNGDBQ+6oUi5c QQr3hoyGHikgxfWzA3NQXCA8afw6pc45SoLnjno0EYmY7t3aRRp1+aZkT42E+cs9+2r+ ccCpF+NIIGj81fftdtxi/DFf+y/RrrB4t+qnoXlkjUKmznxno0lpYMUtkhuiaEVhDII/ AQWmUpsp+xnu1BTkO0M9ks1BHsIMqlUamlJ35KkcaFLlW0Nm4jJkG8pKxZCJNWFpKPHG id+xATBTBW2V/md5sbJ2G6ZuS9xh8p6XLvVRT3KmZGmuzflDL4DC0Yna4TlvAt6IMsoU 1TKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eYJNZUcO; 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 v11si7533250pgt.61.2018.04.21.19.21.44; Sat, 21 Apr 2018 19:22:11 -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=eYJNZUcO; 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 S1753385AbeDVCT5 (ORCPT + 99 others); Sat, 21 Apr 2018 22:19:57 -0400 Received: from mail-yw0-f196.google.com ([209.85.161.196]:42241 "EHLO mail-yw0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753025AbeDVCT4 (ORCPT ); Sat, 21 Apr 2018 22:19:56 -0400 Received: by mail-yw0-f196.google.com with SMTP id h6-v6so488719ywj.9 for ; Sat, 21 Apr 2018 19:19:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=yGAh1vzmgzv6wp4QS1/ikJQidsUQWFaQbgsApQM/PdU=; b=eYJNZUcOxGcOlf2FOu9y93YuenROpILYaium8r96c+a1ZlarLgI+Jh8J6+zUSFhMth XDXNJTvsTube2KZCdir8dchKkqTlkq7gp2cdNu91dYdf3cxBX89LfvYwvy1hogaIVRPP FBypC6HLa55K8ms56NjI4mkJ31E57BxOGJicn56mdr7DXflIxuDV1nZJ9QcjpGlXEp7r m9uQOfiQLNImYAA90f2xVksGIxoT0dVGDF6/N76CpL5VFsy4MEa9/rj6l/F98nsWEYYG 573VArmkVKVGmcns8NTLkyBEW6oAlg5weOwoH4P7dyZD4VumFNDrKKimRzGBTcwFGFeP pTmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=yGAh1vzmgzv6wp4QS1/ikJQidsUQWFaQbgsApQM/PdU=; b=KeFsVSl1cu/U/H10DcJckJKW2Ple6KPvxqotCt+oRMs7HGm5n63aiPNgIn5j6k2QBa PKekYhy6Bzp6K8JI9t90/keLyPEvXzGTrGDoso9oAVZCkSn6Eiqs9h6hUllJhc0/FS0w BIppy0D+ySJKSsBrxMBVkpis51hYq44lt24FHfFi4M8lizNT3mpZoe/J8qxBn/RzmuhU WvP1PFarV8tcDZCZGxD0d2DQVzYf9UtGDFv5GdK9XvzBXWHrny8ibYEpSrboqoqs7S4I rJsN23OD77DR0fk07qrKCz9jMKio5+JA0YFRz9tGM3eE3FwaJCVwxH1wad7K+7ckODxR KxPQ== X-Gm-Message-State: ALQs6tCa4qpuTELpRCbw0j+PUwyoKpNjknUwJj8LDshzjqcz7zEMH5NF HYpyiufoBicaN8jseEjvLMogwkyY1TKD9rAL4P31zQ== X-Received: by 2002:a81:3108:: with SMTP id x8-v6mr4365614ywx.261.1524363595988; Sat, 21 Apr 2018 19:19:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.13.213.201 with HTTP; Sat, 21 Apr 2018 19:19:55 -0700 (PDT) From: Diego Viola Date: Sat, 21 Apr 2018 23:19:55 -0300 Message-ID: Subject: 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 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