Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4723479ybi; Mon, 15 Jul 2019 13:43:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqw7Xzwf6SI6SuoOL9pE4xGb5TQEWvU+nrLUXbGBibHs5+P/DRSJDolO2n6QvWqzZFSVVUdW X-Received: by 2002:a17:90a:290b:: with SMTP id g11mr31474260pjd.122.1563223403937; Mon, 15 Jul 2019 13:43:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563223403; cv=none; d=google.com; s=arc-20160816; b=Y+VOmnJ9Vhs4bsZw/FazUIkXSozFMa2QY/URO1oKQaIYIPRlz9RFN83bV8udhLvREQ ctLm37sMrKBYDj6DI8uLZUKBWAua+zIDq8dXusN1B/u8allRreKpR/hbPfeLYT4vdrxq JH9QlfbTZwSGjCE/1rlcjgdt21IV2Rk6XkuiGOr1D620F6gJ1AjBBt1lHZiE7MOLYzyO EKdzjL0QdT/YsxyYCLJnw9K1O+mvtg32G0wIUg4TlEICuMlEINvROAQ3r5pLtk9ksIPS yb8fi//m9LAukyJmCqrRV46ts+WXNj528HUKb6NREU29uNUKF1earX1HwGTtvpSRB96F GfvA== 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:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=qls07JuEYZRupXWcchkfAXNBITylKMYF1QPYPpCTq8o=; b=D0C3lItaBl5U3mbffwOQFNymg75zN8xKCIBpRgfmooaBCkaliHYLkuSel0eEp9oZHV az6Bef2LY+r2eclRqCncC9/AMxTBKIkWKMOcYC8u6R1ralpDm9HXVsk0q9vzMebjRLa6 q9uLTqeYKj87cnngB1dQ7fcpOeBFbCsH8UmLmmR04Fx4vQhwQeaDEVIn2PPQMBsf3vUN +U95IDoDqZBNMGwTzUj6H1q63KxSGOExCubJcPgF5aSWNFWQDSGEYYjZPfLipdiAfqC1 DTMVQt43DBw988RMu2SXfZ8cjlT3LepujaQJyHZXoLVXV4Qbf6wSoLdOcNNGPOnDFN+Q JLmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@networkplumber-org.20150623.gappssmtp.com header.s=20150623 header.b=s0SiX2cu; 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 67si17020219pfb.242.2019.07.15.13.43.02; Mon, 15 Jul 2019 13:43:23 -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=@networkplumber-org.20150623.gappssmtp.com header.s=20150623 header.b=s0SiX2cu; 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 S1732456AbfGOUkl (ORCPT + 99 others); Mon, 15 Jul 2019 16:40:41 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:39327 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731924AbfGOUkl (ORCPT ); Mon, 15 Jul 2019 16:40:41 -0400 Received: by mail-pg1-f195.google.com with SMTP id u17so8273116pgi.6 for ; Mon, 15 Jul 2019 13:40:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=qls07JuEYZRupXWcchkfAXNBITylKMYF1QPYPpCTq8o=; b=s0SiX2cunFOcXKRcaUD5Xjo0P+rNZWK2wsXGH4gefFaqZgwDsDLZSENfjHjWyD4DhO RE8z0IRP11Que6OE4HY4lBikNF2U87AUhWA0biN+3Q/lZcfO9ui/d25KnqFHvm6ZvUIT vB53/o1KfDcHXxOnE0u3b7Ljs7KBLBWmIbsTMQVUNWsWOkJiLGUN/IavF3ArXa0nDv9i NDXg8zYdyJ1BOS1Ahc9t723PjLucuh6ZcxaJxsju8YeGr21vdyOBvHcLhcyzDQcC4Ka5 qqOShJqUmmq/PJJQj9XBDXvkATOPQlmnr6AI3uRWElNBbiSb/OOc4j1JyZdiGXm+00P4 trMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=qls07JuEYZRupXWcchkfAXNBITylKMYF1QPYPpCTq8o=; b=hvAUqlF7PKp1M/jDoowasUGXK9wdftfhuHuAnoQS3wZjT4v7o2PaCFhPdpBUIU3eAA Y1WKX7sjQkNl+3vogJfFMlxpz2xVsThcTxDs0jJvi0D1P2NuAIcJJkoZKt3/HJkGVmue cGkeI7HR7UhBhCHL1lWGWNQXHMWiKMt979S7U3M8onEN2ml3mWfSRs5zi9nPux43swZH NkqCkrhWeNU6oYhFfdxGzNcsXxWHTgYbtE7TPZSdtudsvPTBozC9SFssiWfmw4VVrm+u SIw29AEH2KGgmiXRdSl18EQp3Ow5dWfRTGFcwus9dWxeILIZPguillvhSui46w+Q8OfN H9AQ== X-Gm-Message-State: APjAAAVv4Ww5AwUpKppEPmI8KxJxIQd4e/8EvQg4Ere+kQfffSfB31fq BkXZbWP7QZTYA9K49xILTuk= X-Received: by 2002:a17:90a:2627:: with SMTP id l36mr32141041pje.71.1563223240100; Mon, 15 Jul 2019 13:40:40 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id o12sm14692268pjr.22.2019.07.15.13.40.39 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 15 Jul 2019 13:40:39 -0700 (PDT) Date: Mon, 15 Jul 2019 13:40:32 -0700 From: Stephen Hemminger To: Thomas Gleixner Cc: Octavio Alvarez , Linus Torvalds , LKML , 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 , Mirko Lindner Subject: Re: PROBLEM: Marvell 88E8040 (sky2) fails after hibernation Message-ID: <20190715134032.5a70782f@hermes.lan> In-Reply-To: References: <2cf2f745-0e29-13a7-6364-0a981dae758c@alvarezp.org> <95539fd9-ffdb-b91c-935f-7fd54d048fdf@alvarezp.org> <098de4c3-5f71-f84d-8b49-d2f43e18ed91@alvarezp.org> <82fa0f47-ccb9-18fc-e35d-af02df37e3fb@alvarezp.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 15 Jul 2019 21:09:44 +0200 (CEST) Thomas Gleixner wrote: > Octavio, > > On Mon, 15 Jul 2019, Octavio Alvarez wrote: > > If I reboot with sky2.disable_msi=1, then I get IO-APIC and the bug does not > > occur: > > > > 19: 0 0 0 0 IO-APIC 19-fasteoi eth0 > > > > However, if I reboot without sky2.disable_msi=1 it properly starts as PCI-MSI > > and then, after re-modprobing it it goes to IO-APIC, but the bug occurs > > anyway: > > > > $ cat /proc/interrupts | grep eth > > 27: 0 1 0 0 PCI-MSI 3145728-edge > > eth0 > > > > $ sudo modprobe -r sky2 > > [sudo] password for alvarezp: > > > > $ sudo modprobe sky2 disable_msi=1 > > > > $ # hibernating and coming back hibernation > > > > $ cat /proc/interrupts | grep eth > > 19: 0 0 0 0 IO-APIC 19-fasteoi eth0 > > > > > > > Also please check Linus suspicion about the module being reloaded after > > > hibernation through some distro magic. > > > > This is not happening. Each time the driver is loaded the message "sky2: > > driver version 1.30" is shown. > > > > I confirm only 1 line for the sky2.disable_msi=1 from kernel boot and only 2 > > lines for re-modprobing. > > Odd. I still fail to make a connection to that commit you identified > which merily restores the behaviour before the big changes. > > As we cannot revert that commit by any means and as the hardware is known > to have issues with MSI, the only option we have is to avoid MSI on that > particular machine. I suspect that the fact that it is 'working' on some > older kernel version does not necessarily mean that it works by design. It > might as well be a works by chance thing. > > Thanks for all the detective work you put into that and sorry that I can't > come up with the magic cure for this. > > Thanks, > > tglx In the past, I had one ASUS motherboard with broken MSI and updating the BIOS did fix it.