Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp175046ybi; Thu, 13 Jun 2019 13:47:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqyojDxOQ9fF3P8rvmuo3Kf8wF9V1uMvLvgHPOLdV84J5VZIXY0U6D3ufoBXqJxVxbTJMoBQ X-Received: by 2002:aa7:934f:: with SMTP id 15mr15332091pfn.238.1560458841364; Thu, 13 Jun 2019 13:47:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560458841; cv=none; d=google.com; s=arc-20160816; b=l7q5pcx9KliVXb3CHcbnRWvmDVvIhYUql4pz4tyw+e5/fOqh2hUA+gr6tFAHVfsygG 1X6wng40cQAZ39j5zTF68/WOzCy45Dhu2olmMfvREfOk3H4hH6yOrN8WFLMljGdBSmrx mLZrnRJEwkSRILI2uxfv3vbB6swrPIiZJ3uVpldrqMg+gDC/ESqOfdaiCJVpVCTP67oP Ya/Um6fz2GcH+WX3COUo3CbP+ydenLRzbKwjnxQU+DJBR1cYZrYTM8Ec1MShgiwcmDwa uKXN8khaXPt83/1caCZDvphV9dMAP8jcg+w58ZxGxn6rRscFxWFPifzAQYRx8R4PePdE wZnA== 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=x4svXZ4lKycuFy7EJuKjvVWvOKoARK2xDGtKszcEUX0=; b=r8UYuYdCbruyht+EqOPPLStWkxYiws09geIQ0i5ZPn6Ll7AsK0rvR/YAEOP+pgln2B dqwAikbwJhkVxPThqD741ffdiMVLXS/LNWrtPxg1MkQ7PgfR4kMA6jQNYaEmecD3cZNd 3YyuOvq7nJ7ka796zqFXxIDYGrSl61AMJBWTsDWSNE1N2/lmldctBFLdYcJNN5/YBsR0 sdZORRdpc5R9Llhe/duUU8narpgUTyyV7Sih7+R2k4kEwa3oFvrWOPy0WdSDg0JVsHYU RwbAAq18fwE0P2ed5LDzDqSufkYRRVFYFWqCmPwFXumc7U8Cb4v8eSrl4IOV++ALh3gR Pbtg== 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 f59si454572plf.220.2019.06.13.13.47.05; Thu, 13 Jun 2019 13:47:21 -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 S1729642AbfFMUpc (ORCPT + 99 others); Thu, 13 Jun 2019 16:45:32 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:36517 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725747AbfFMUpc (ORCPT ); Thu, 13 Jun 2019 16:45:32 -0400 Received: from p5b06daab.dip0.t-ipconnect.de ([91.6.218.171] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1hbWb3-00044F-Il; Thu, 13 Jun 2019 22:45:21 +0200 Date: Thu, 13 Jun 2019 22:45:20 +0200 (CEST) From: Thomas Gleixner To: Octavio Alvarez cc: Linus Torvalds , linux-kernel@vger.kernel.org, x86@kernel.org, Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , Marc Zyngier , "Rafael J. Wysocki" , "Steven Rostedt (VMware)" , Jiang Biao , Yi Wang , Dou Liyang , Nicolai Stange Subject: Re: PROBLEM: Marvell 88E8040 (sky2) fails after hibernation In-Reply-To: <2cf2f745-0e29-13a7-6364-0a981dae758c@alvarezp.org> Message-ID: References: <2cf2f745-0e29-13a7-6364-0a981dae758c@alvarezp.org> 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 Octavio, On Thu, 13 Jun 2019, Octavio Alvarez wrote: > I reported this to different people but I have not received a response [1] > [2]. I am following the reporting procedure described in the kernel admin > guide [3] so now I am escalating to you. What am I missing? > > I noticed that Thomas' mailbox is filtering my mail because of some RBL and > have not figured out why that is yet so maybe he has not gotten any e-mails > from me. However, I already tried conacting using a different mail provider. I got your mail from June 1st via LKML and this one directly and via LKML. It's in the pile of the other ~1000 mails in my backlog as I was out on vacation and travel. Just because people do not reply immediately does not mean they ignore you. > Hibernating the machine and bringing it back does not properly bring back the > Marvell NIC. Most of the time a module reload does not help. > > Problem starts on the following commit, which if I revert over a recent > master, the problem goes away: > > $ PAGER= git show bc976233a872c0f20f018fb1e89264a541584e25 > commit bc976233a872c0f20f018fb1e89264a541584e25 > Author: Thomas Gleixner > Date: Fri Dec 29 10:47:22 2017 +0100 > > genirq/msi, x86/vector: Prevent reservation mode for non maskable MSI That does not make sense. This brings the MSI code back to the state which it had _BEFORE_ I reworked the vector allocation and MSI code. It rather looks like this patch unearths some other weird issue in that Marvell NIC (or the driver) which was not visible before. And looking at the code the hardware has known problems with MSI interrupts and uses a magic probe function to verify whether they work at all. Can you please provide the content of /proc/interrupts with the driver loaded and working after boot (don't hibernate) for the following kernels: Linus upstream Linus upstream + revert 4.14 stable (that's before the big overhaul of the vector/msi code) Thanks, tglx