Received: by 10.192.165.148 with SMTP id m20csp2636675imm; Sun, 22 Apr 2018 11:25:43 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/MAsnrmUctnfs/fVL/gdMJ32bnSnXM1Uh7kwBZHGR+bYpTpJuBpamrfJ5Eshp1PTpUCydQ X-Received: by 2002:a17:902:228:: with SMTP id 37-v6mr17833183plc.141.1524421543076; Sun, 22 Apr 2018 11:25:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524421543; cv=none; d=google.com; s=arc-20160816; b=YUCTLj2qV11sb3ps03PYQB3v0343nlZaoATnjpYndM15mr4ALOUPCc4doynAPY14tt l1mo9tJi0KF+KjNldpiFOcjMirpWR4Pa+p7rZiRGqQjtPzaXn+oaznVWHUmgoxlXAwkY 1QHnFJHWlQPjoYJ3Qa9F2cm2yzqskS6Mj+a/ZqV60QKQLhV5fNjiIanT7ZSW5PCOCWiE DRzGLaaXISqH4Wy+giE+6/RhIB5H8xKgVEVOyEkbj+7FDz860hel+/gqmgRP43enywCw ps3+8pW4RIwfgm0VWm+1supOCMdod2vufZKIUwKr8XCt0qxa5YSoN1+EhJ7mAoMOEAL/ pI8w== 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=JWETGeTk6IjSuKnNauYqWdUstuRf1sRDjuq6hWpVEuM=; b=h6TiVpKBqb2MHeu/yHmOKYKIrQ00VI/6M4orulE3kZ7pF1xU4R18urb93w2RjpnnRT B/dFfzhbUNRtDE0Kq/Ph1RdXxgMbTbmXzYCGVh34Pahgl9XbIwnR4iLnKM4OG/xLuie9 I0EpRECd12q+21JgsuLI3MuONKeBYbmfXLUQmZUFiuy2WoUuZTtt3Cd35ldxWEAZH/UL roZOYBy44zwPnNZIHeWZcguDvV5j+FeSPeM+YV1DTAuVuYm8H9juE0qJtKl1+lRhraiw 7Eqrtz98LZgDCwfKMlVx2G9L6H/0Mu4bAt6dDusSN1Dj1LNzABoJ9YJpnom97HIpxEXj TCLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=m+RC1gxA; 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 94-v6si10141957plb.475.2018.04.22.11.25.28; Sun, 22 Apr 2018 11:25:43 -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=m+RC1gxA; 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 S1753453AbeDVSYQ (ORCPT + 99 others); Sun, 22 Apr 2018 14:24:16 -0400 Received: from mail-yw0-f194.google.com ([209.85.161.194]:35667 "EHLO mail-yw0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753365AbeDVSYN (ORCPT ); Sun, 22 Apr 2018 14:24:13 -0400 Received: by mail-yw0-f194.google.com with SMTP id q17-v6so828631ywg.2 for ; Sun, 22 Apr 2018 11:24:13 -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=JWETGeTk6IjSuKnNauYqWdUstuRf1sRDjuq6hWpVEuM=; b=m+RC1gxA7PmxWT/QpCdr33O8wviZOWggkwFwHnYxoPTyRS/R/MjfJEbpjKseAipwr5 Lxan97zLD2ZpE7pqsk9oF79lyqTn0jgDgaB5EZFtj7RV97MJuEbCMBgQxR4obn04uUMg wZr+qfICB7yV8c6P2++0NOXfFcIWlRXIDlwyJIB1QpnpQXFmYiNNShCXco6taIi82OpR V16c+N/ZQTTJZG7j7rRUoqGFZB7FPgwmVOkvZL7dNUeNcwUl30hYS1EBhvfd/SaU5FH/ TQOTv35eIjnAAWRpNSQ1G4+B5XsPJ6ZbnTWGyfN9QCcCpCzGhtwRYo2A964U1MyM7Ch9 pQhQ== 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=JWETGeTk6IjSuKnNauYqWdUstuRf1sRDjuq6hWpVEuM=; b=iflBK2yvlxm0Y8BGDwl/Z5FMcp7a0CTHImsgwbDNzum0SkD7JpTjHAY5e0WImY+AFi Z08BF+1CNSXWxA604a98hQvVc61Ws3LMIyn0De6q4Bh3F5LASoJvwk4O/bdGCfB2bDqe HIg8nXTekR0XfdURQCv+b4/Odn4ZmordB2psBInpltaeAwNFKvbrnAW9Nes4HuRR6B/E Fs+Y06zOL7XE3qWYja7ODobMJD+XHOnTlJPX7aqhUfo9/JU8n3C7w5+9cwpiMwyLdk61 YeRffNI1GQF6/FglMAtaYvqfPU1NgwTnecZYY4lmEEF6P3uvXzI8DllmbSllmJ47PY9e HLlQ== X-Gm-Message-State: ALQs6tAWaV7BnDEnIVRrroZXsCuk0MS5MuhTkI9Fm0i00HloXf6JnnL9 4Q+3ZLooVt67Fk31FM38daU0ijiFFbLJS/xv4Z6tfw== X-Received: by 2002:a0d:d58a:: with SMTP id x132-v6mr3908759ywd.36.1524421452580; Sun, 22 Apr 2018 11:24:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.13.213.201 with HTTP; Sun, 22 Apr 2018 11:24:12 -0700 (PDT) In-Reply-To: References: From: Diego Viola Date: Sun, 22 Apr 2018 15:24:12 -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 Sun, Apr 22, 2018 at 2:47 PM, Diego Viola wrote: > 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. I can reproduce the freeze with clocksource=tsc as well.