Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp3935320imc; Thu, 14 Mar 2019 08:30:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqyiYsOp9odJNSdWY1b9KWbuaZRyvMVPepYGycpG7st4BNkoZxZVDH+MBpWESu7uORLKkfVk X-Received: by 2002:a17:902:ba8c:: with SMTP id k12mr52642354pls.193.1552577445001; Thu, 14 Mar 2019 08:30:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552577444; cv=none; d=google.com; s=arc-20160816; b=ZV6DIOOfdiyn/JrPcZ8r1kQr9S6LVDUtua22sSCwx8dTta3METy25Mvp/Ueb8Us8/D qeA0zmbLE5AvhyxTnEj3fzPWGRoux0zOo7Yr4z2VkmUpbUIegzlVpiM2iwoDiEaDV6WX YQmgiGnUc08LWxPapLfXr1/EItP0gGn4OALiBsrNN2OaNKZMmoGHlGgPdLzqkOZj+HTX akToypC69QRxW0cZ7LiTPSp4lzHX3MN98qpiF8hOUyRidbHSY6BH8gX2CWj6XxSE6lkP O5RypLQpsQMn5qj9w/+kpD0CPvBA8hhHS94JZLmyoDPoBTpHS83KXq6J1sdwL95SH+k8 q/sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:mime-version:user-agent:date:message-id:autocrypt :openpgp:subject:from:to:dkim-signature; bh=+qCoVkBUNb7Qtjbr7Xoeoygsd8IzlvK03GshbbNEq5Y=; b=kpiuMqsyH/F1IcWx9qFfyzF+uup5pgDjJMyWBFuye2aUKJNm7gcABVAkM2UtgzzsVa PyjROdZQn2g1+i3bIVveTmovSgDYYNWLOEYAI6tSTKrcgfTekw5fDMXjdJegWpxK0ar0 B9u1v4VRfp9TV3wJuZSGzNc5xixWMz11JX7pUyWJL5xafjpdhzdoZNED2u3c9SunhM+4 ByNuDpJTKtPB2SdUWtAWMMI1WVdxgXNFKmk8Tb2GlOMUVT+0o6UH+sGo023tI94Ev0rR OoWOhUsgvOmLgqfTvZa4J/zo60X+wuRMUIUIwDZYhRicIL69fAYUikLGTH6yiJ9F9FwI Ui3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mathtm.de header.s=strato-dkim-0002 header.b=cmNMzxUp; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q189si13258597pgq.240.2019.03.14.08.30.29; Thu, 14 Mar 2019 08:30:44 -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=fail header.i=@mathtm.de header.s=strato-dkim-0002 header.b=cmNMzxUp; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726888AbfCNP3q (ORCPT + 99 others); Thu, 14 Mar 2019 11:29:46 -0400 Received: from mo4-p00-ob.smtp.rzone.de ([85.215.255.23]:23449 "EHLO mo4-p00-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726501AbfCNP3q (ORCPT ); Thu, 14 Mar 2019 11:29:46 -0400 X-Greylist: delayed 361 seconds by postgrey-1.27 at vger.kernel.org; Thu, 14 Mar 2019 11:29:44 EDT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1552577382; s=strato-dkim-0002; d=mathtm.de; h=Date:Message-ID:Subject:From:To:X-RZG-CLASS-ID:X-RZG-AUTH:From: Subject:Sender; bh=+qCoVkBUNb7Qtjbr7Xoeoygsd8IzlvK03GshbbNEq5Y=; b=cmNMzxUpDqg+/4V0thtRxP6inEqSn+kwFhZ94NAg+XibpDVh802qzGQwtlT2BCY7bP zkQYs4y8OxhOeRWFHosk3etgJGv5s1l48qXxeJHpcyjF/e+ZKsOoJhyC+V0nDR32LAPp X5sOlpHnPvLI4SNaL6/tZdis6Zhl4nc51O66UbrbaTPvCXoePGeC2peqYNhWmp8gp70h wWW1zC6NDBX2n8+KxPthenZiHA/80EWY3rTkOsf2dFyoJQ4GArKPSWGsrUGNOik2N5z8 HleI4Ou415RmD6N+mnoF5Qx4mz7XFhC6OyFKFT1UAwP41f6I7+hfRb4y/pwNzN66p0lV GPTA== X-RZG-AUTH: ":OGQLeEG7W/KAXU7xLV2hdHgxFRdqbfEqQfblTbv8grSYpDW1Ean4C8uHphsoybv57wpo" X-RZG-CLASS-ID: mo00 Received: from [10.9.21.31] by smtp.strato.de (RZmta 44.16 AUTH) with ESMTPSA id N09c5bv2EFHS17m (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Thu, 14 Mar 2019 16:17:28 +0100 (CET) To: peterz@infradead.org, linux-kernel@vger.kernel.org From: =?UTF-8?Q?Thomas_M=c3=bcller?= Subject: disabling secondary CPU hangs / system fails to suspend with kernel 4.19+ Openpgp: preference=signencrypt Autocrypt: addr=thomas@mathtm.de; prefer-encrypt=mutual; keydata= mQINBFBAwwQBEAD6UqItxt6H5dgJChVeNlJNyIiyhLrtzpM6ZEpKpbVwewYRvVjeZMXH+Roj r+1jEK3CkeGH4hBo2VxJSZBF1J6iyD6NhJ2tpQ5/kXR91hG+QHoyqlVvbZHeP9syKE0EdPzY 1bekSSjccn3l862NDht7OBZq9i4efi5K9SxkvLYZDzGLFFXdltT3ULs7IHPJxMqZozXRqzCT eKhLc8ur34VFak72dx5nqZfmudgtTKypxvh9NN9ndyoj95COTS+e0ClUEui2pgeiWrA+tZ5H 67G/eUH7zK6aiK5pLOT1vuToBeYq0zjD3Y644ih5g9fNemxSxBbkywa0V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sLAtcgPmp6OfhXGpCmf9tnCPCREBPkQKG43jI5A 8s2YWQvNBiuNQeLY4Bz+ivBVdO6oJCXmY/9nx2x8YojbU7TXHpeVVtzTHsyGKcJ836d27oWL m8Yd/Zqbj19AAegAup5Po/M9dI4VqjKcCQKErJc+eu35obEk4ns+vkI9LfXRTVvto9Fc2mbB ca5svD5zeV6yOTY/lr9wHEAAmkXXg3Qt0QmfSPeeJ3/3zGlHOQzU0LKPZ1ld6fEzLMvP7XbH Efrcr9Nvu2KwQl5+dkVHxIZbJF0PQm4TctAChZ2/goxqTaRFb5kajk1HtYZPu3rUgNxgDfvF YFAvk8wePA/gGXZ6JhLwo3AoNXwM4pKFuGEDb3JiKwdctrw0QNqDa4bgia4AyvDZbn5S+h0o Vlsd/Dj2GMPP+MXYWtEruPcwdB4GZKTGWS/hPXtjB8sUllyamYNfSWkNpjpxph/7Xlg= Message-ID: <5c48095e-028a-404f-aaa1-964f83c83817@mathtm.de> Date: Thu, 14 Mar 2019 16:17:28 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, starting with kernel 4.19 my Lenovo ThinkPad X1 Carbon 5th no longer properly suspends. This is 100% reproducible and git bisect points to the following commit: > [be45bf5395e0886a93fc816bbe41a008ec2e42e2] watchdog/softlockup: Fix cpu_stop_queue_work() double-queue bug > be45bf5395e0886a93fc816bbe41a008ec2e42e2 is the first bad commit > commit be45bf5395e0886a93fc816bbe41a008ec2e42e2 > Author: Peter Zijlstra > Date: Fri Jul 13 12:42:08 2018 +0200 > > watchdog/softlockup: Fix cpu_stop_queue_work() double-queue bug > > When scheduling is delayed for longer than the softlockup interrupt > period it is possible to double-queue the cpu_stop_work, causing list > corruption. > > Cure this by adding a completion to track the cpu_stop_work's > progress. > > Reported-by: kernel test robot > Tested-by: Rong Chen > Signed-off-by: Peter Zijlstra (Intel) > Cc: Linus Torvalds > Cc: Peter Zijlstra > Cc: Thomas Gleixner > Fixes: 9cf57731b63e ("watchdog/softlockup: Replace "watchdog/%u" threads with cpu_stop_work") > Link: http://lkml.kernel.org/r/20180713104208.GW2494@hirez.programming.kicks-ass.net > Signed-off-by: Ingo Molnar > > :040000 040000 6aca2dbb84bc33fe442b18b3d0a135c27adff7b9 2710af12d32e4b98df07768716689b213bce45fc M kernel The bugzilla reports have some additional details: * https://bugzilla.redhat.com/show_bug.cgi?id=1671504 * https://bugzilla.kernel.org/show_bug.cgi?id=202679 * https://bugzilla.kernel.org/show_bug.cgi?id=202137 I'm happy to provide additional information or test a patch or two (as long as it doesn't eat up my notebook ;)) Best regards Thomas