Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp774066ybl; Thu, 22 Aug 2019 04:49:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqwAIVR7nihdcAVsiIX/ZtDpkooP1YNkRQYP3auAi2FtBj9VbjuoFZarkr6/gj7XuvHyN/Kq X-Received: by 2002:a17:902:be01:: with SMTP id r1mr37287496pls.229.1566474540671; Thu, 22 Aug 2019 04:49:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566474540; cv=none; d=google.com; s=arc-20160816; b=il2d47cPcqM7G9fP2tm4/SWNXbo6ZjLgOUm6IdAn5OIv6BLUCSNZoQg5krucHjqufm JttEV7VJEwWBCeA9WieMes5aR8bqZj4kixmPvpXtSt2P7G1XVfzAOP1122/E7//PA3QM v/ZKvIgxFsdMTvdGdSinbKo5LMLREcmo7o0KQr5a70RPb7zXE9r+CMKbw9ZoTEkjBVhz stPDvsRrmRetXxDBmlzWiiHN+43oyRHpCFlXA1l70hAFFW7NmYYMC49AqnvF7qcMUNx0 tBapJv5IWiL2yKVIJWI8o4JoioJKeREK4xy2317ssaGGaBgiqEOS7zbaPrJCjLOiFSUC QWSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=U82pLc0rH04rH8leOn5tTWyZ4VeqPL24VqcsEyy0yks=; b=zqMMf1zGBI1JvIqj9zxYdq0bosnISVhFSQvHz4e6frUAf+WzKiQSCvrV3JnrkNkewS OzaVZZXKG/QNpgrO1oZPKqtsCCxeocoNqWrlv/kqiTbC0XIW1mZlFdetQARY6mnvSCYs UkykTHc0CZsq3+Es55ZhHzEtk0i8vfk4DBRx5srwdJ+3OxS8sQo/gdwlq6Oc9iew5shf SiyKnK56NX0d2sg0IObbF2UDVXWo3S3s6CQ5UbULi+EELfqHpVDdiSmjo9jtqZDaipXw ItuKuWxasuDgTQm0yZGAwQwOdx9DQ/ILMGg5jE78hvWSj17RcQ3Reg4ttOtvNEGm4CoY mLJg== ARC-Authentication-Results: i=1; mx.google.com; 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 f4si13619164plf.318.2019.08.22.04.48.45; Thu, 22 Aug 2019 04:49:00 -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; 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 S1732823AbfHVI5p (ORCPT + 99 others); Thu, 22 Aug 2019 04:57:45 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:59411 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729109AbfHVI5p (ORCPT ); Thu, 22 Aug 2019 04:57:45 -0400 Received: from p5de0b6c5.dip0.t-ipconnect.de ([93.224.182.197] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1i0iuc-0005yi-0z; Thu, 22 Aug 2019 10:57:42 +0200 Date: Thu, 22 Aug 2019 10:57:40 +0200 (CEST) From: Thomas Gleixner To: Chris Clayton cc: LKML , vincenzo.frascino@arm.com, catalin.marinas@arm.com, Will Deacon , Arnd Bergmann , Daniel Lezcano , Andy Lutomirski Subject: Re: Regression in 5.3-rc1 and later In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Chris, On Thu, 22 Aug 2019, Chris Clayton wrote: Trimmed cc list > I've found a problem that isn't present in 5.2 series or 4.19 series > kernels, and seems to have arrived in 5.3-rc1. The problem is that if I > suspend (to ram) my laptop, on resume 14 minutes or more after > suspending, I have no networking functionality. If I resume the laptop > after 13 minutes or less, networking works fine. I haven't tried to get > finer grained timings between 13 and 14 minutes, but can do if it would > help. > > ifconfig shows that wlan0 is still up and still has its assigned ip > address but, for instance, a ping of any other device on my network, > fails as does pinging, say, kernel.org. I've tried "downing" the network > with (/sbin/ifdown) and unloading the iwlmvm module and then reloading > the module and "upping" (/sbin/ifup) the network, but my network is still > unusable. I should add that the problem also manifests if I hibernate the > laptop, although my testing of this has been minimal. I can do more if > required. What happens if you restart the network manager and/or wpa_supplicant or whatever your distro uses for that. > As I say, the problem first appears in 5.3-rc1, so I've bisected between > 5.2.0 and 5.3-rc1 and that concluded with: Just for confirmation, it's still broken as of 5.3-rc5, right? We had fixes post rc1. > x86/vdso: Switch to generic vDSO implementation > To confirm my bisection was correct, I did a git checkout of > 7ac8707479886c75f353bfb6a8273f423cfccb2. As expected, the kernel > exhibited the problem I've described. However, a kernel built at the > immediately preceding (parent?) commit > (bfe801ebe84f42b4666d3f0adde90f504d56e35b) has a working network after a > (>= 14minute) suspend/resume cycle. ~14 minutes is odd. I can't come up with anything which rolls over, wraps or overflows at that point. Can you please provide the output of: dmesg | grep -i TSC Thanks, tglx