Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2898700ybd; Mon, 24 Jun 2019 14:59:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqzsJT84w04iHg7IXmglFGXBkdlBxt6ECfL3wkOpyv1f964I5gxV8wXCtJff88urra8kddOF X-Received: by 2002:a63:77c5:: with SMTP id s188mr24463706pgc.314.1561413585737; Mon, 24 Jun 2019 14:59:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561413585; cv=none; d=google.com; s=arc-20160816; b=l+AJJV75dJDROVlkn0KJlCz6n2sUFXuirZREcM96+anNksG+gzIVFCiszPMEAuX/G8 5CR+cCTMhTEaGFEhRYscBHzqzMnfmFCgQUwqhtlxGJ/ezO9Ei+8Pz7tVi96PQ6WGWqK4 KsANwZyLfCwqQEXr4DDRpPYh5QldLv+fmaiK6b7ZKVS3rA2QWo/h3r5DLm8b/xp7Xibz uwu6KeDPFunAUjznNP169NyImQnfYJxScP9AEtCtQX6lkPpKIiQX/0JyWkL3BHGZY4W0 HNSijYJpz7LZ6levs2pwpksFSdzNiDF9HWSL+BDnve0JUaecGAzTMwNBmDh8GLtBjAoU Xz8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=Q0QcUYzpRrkg9pWxPfvUVU3Rs8HMzzByn0cblozJ9x0=; b=IzJS7L6vydSUGsz6cTMJCPk3of+V16Ch1jGpVhTh4id+fFU8ZE2+0r2yoOwNubccoy yNiADGh9Jazq/XjJGPzejkrTFmpqOlpj2Vt6ejgAm5JHfFbJCaMdVan+HY8PFQHH7frw vu2nMUbIytD+2daBA5lcfGGVg0Iu0QdjHPBdW9QMYQK9ojQ9fP2ce9Age9gRqv8AQMuz yhwr+mlSjuBD08uF+2BERBvSbraNkFoHFbsRvTWePolMGAXQ9faDnUcl/vvuNJU+YvC3 +kcw5kw9fFjBE3ut+vnLHLB9j4xDmgJx/QERANtb4TsvU9ne3sjaV39SjS+DLzidY6LD GVlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=R7WMJ8FH; 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 y66si11946592pfy.197.2019.06.24.14.59.30; Mon, 24 Jun 2019 14:59:45 -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=@linux-foundation.org header.s=google header.b=R7WMJ8FH; 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 S1730107AbfFXTtG (ORCPT + 99 others); Mon, 24 Jun 2019 15:49:06 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:40844 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728473AbfFXTtF (ORCPT ); Mon, 24 Jun 2019 15:49:05 -0400 Received: by mail-lj1-f193.google.com with SMTP id a21so13798494ljh.7 for ; Mon, 24 Jun 2019 12:49:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Q0QcUYzpRrkg9pWxPfvUVU3Rs8HMzzByn0cblozJ9x0=; b=R7WMJ8FHrch3Kl42vaN6VjhTyL4k7RQ9YSaseThbyq4jINbU5qdWjzaGkplY3mdIio qMjxnZt0sIL/vKJi9ZiNJXVRRzVUt9Z4hTOj9MP/KrrV32zZbe8bAD8mT9qtRcAB+zcP rBYdvXUiBVcKEI6yFepafKp3F4gukJf8pqFH8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Q0QcUYzpRrkg9pWxPfvUVU3Rs8HMzzByn0cblozJ9x0=; b=CGJ1P+3R2kzvi7QC8xdlToouWjy9uoPloDSRp8b8qq5l8TB66TZBbfS00zyGeEcaQs C+YPmNSjdaesUVfmfEgYnVcDM4zrAWTWrx0kQB2GC4hjmwMtJTVQuAX5PDzm0z2DvGDU t8284y8M4ExgRopkvCYrK9roah+uNNn5zp7fMJ9tN5PQKJ5Nyt1COoUgORV5jUj4fUiw ygFgBBv+x7ux4F3dFjKVIOo9SzD0SrXBjBqIS8+ZTNAgAMA6r6A6X7UF7lhhqP4NMJrS PX06Zqw0X1OQE5K8k9m0FGZtTS/VLurGPoX5YZT0v3U3THu4SpglPyGY4A90Q0wBrvSE tiVg== X-Gm-Message-State: APjAAAUJsjKreB3CfTs9zD7uqIdW2mO93UGagREmXlJtCLoxfjn6kVNe Rift0/xrH3v9IiK8aRFQJ9mfN8qJqio= X-Received: by 2002:a2e:2993:: with SMTP id p19mr53220336ljp.202.1561405743303; Mon, 24 Jun 2019 12:49:03 -0700 (PDT) Received: from mail-lj1-f182.google.com (mail-lj1-f182.google.com. [209.85.208.182]) by smtp.gmail.com with ESMTPSA id t4sm575348ljh.9.2019.06.24.12.49.02 for (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Mon, 24 Jun 2019 12:49:02 -0700 (PDT) Received: by mail-lj1-f182.google.com with SMTP id x25so13837070ljh.2 for ; Mon, 24 Jun 2019 12:49:02 -0700 (PDT) X-Received: by 2002:a2e:95d5:: with SMTP id y21mr64392011ljh.84.1561405741968; Mon, 24 Jun 2019 12:49:01 -0700 (PDT) MIME-Version: 1.0 References: <2cf2f745-0e29-13a7-6364-0a981dae758c@alvarezp.org> <95539fd9-ffdb-b91c-935f-7fd54d048fdf@alvarezp.org> <098de4c3-5f71-f84d-8b49-d2f43e18ed91@alvarezp.org> In-Reply-To: <098de4c3-5f71-f84d-8b49-d2f43e18ed91@alvarezp.org> From: Linus Torvalds Date: Tue, 25 Jun 2019 03:48:45 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: PROBLEM: Marvell 88E8040 (sky2) fails after hibernation To: Octavio Alvarez Cc: Thomas Gleixner , LKML , "the arch/x86 maintainers" , 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 , Stephen Hemminger 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 Tue, Jun 25, 2019 at 1:08 AM Octavio Alvarez wrote: > > If I boot regularly (disable_msi not set) and then do modprobe -r sky2; > modprobe sky2 disable_msi=1, the problem stays (when back from > hibernation, the NIC does not work). Side note: some distros end up unloading and reloading modules over suspend. I wonder if perhaps your system does that, and then when it resumes it has reloaded the sky2 driver, but without your manual "disable_msi=1"? Because it sounds odd that it would work with the kernel command line but not manually, and so I wonder if perhaps there's a hidden module unload/load that causes that second case.. Linus