Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2833774ybd; Mon, 24 Jun 2019 13:36:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqzSibMByULz5egO2wa2KM9Wc7i/5hcZBUSl/ROth3RiXoQTen1c+V32lrXsUlaFV61t02uc X-Received: by 2002:a17:902:44a4:: with SMTP id l33mr70207003pld.174.1561408600342; Mon, 24 Jun 2019 13:36:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561408600; cv=none; d=google.com; s=arc-20160816; b=w3aFj1nLVrLdvd3xg8xechTd3osnabGhOCiPHVr57yor+vk1tXpHjibiGRH4lsvx6H QDclNiTVRyKNdYDWsf8/jve0Qqos0Ah3Su55wmrqifHzW9coDJbrPv1cupYcUxeaBNJ0 3IjygB/L1sQnvnPnouciej5MyMkRwwcKPErH92wIyaqlxTv2HqNv6w4fc2EBo9cANdaN xxEEWF1IToTAJbDddg8ip5JSf4oGcMZ6WcHid5LofXEsxuyHZspgcWzwBAUt7E8wYaoo Qx+CgcQReM5fqAABxeDFbQ4WWP4oQ8eMmO1MmQJDRpZkzBT1jWxrgMlCLaljM/711jcN /Nzw== 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:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:subject:from; bh=2fov5mKmrMvSpY4xKvTWQvdlKaORdS6hs3TEFo7ofKk=; b=oJJ28ET/lJDwsJmghQbk8au/TYNXfmu7HKvkWouTe426zuAm/m5A888a1lfpH+c0na EwrWXxAYoy14qOSdhN5Yj4tSC3dgQxI8b8hblGwY93yzax4fi8/Fw/DlgVZL543ukyLy kuP155Bzx+GZWQNhqyTPbSnnA9r1QYX0UmBsUEhScrta/rU3vonnzn9YAm3t+UpvfL7+ S6Y5RGlkOJ7KLgaRQnf30Y2dhWfeQzRLTwye8Dhluo3l6iWoxQCv8E7JwYThoIlAjc9r 4svC1z4J0Lbzfpu1WWZHVB67cyszjXbHX7jDNOL7yTKbZSYK49TdIj2PnnYzUr1mHhco F5WQ== 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 k15si11921048pga.99.2019.06.24.13.36.24; Mon, 24 Jun 2019 13:36:40 -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 S1731205AbfFXRI4 (ORCPT + 99 others); Mon, 24 Jun 2019 13:08:56 -0400 Received: from sobre.alvarezp.com ([173.230.155.94]:36230 "EHLO sobre.alvarezp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729008AbfFXRI4 (ORCPT ); Mon, 24 Jun 2019 13:08:56 -0400 Received: from [192.168.15.4] (187-177-154-156.dynamic.axtel.net [187.177.154.156]) by sobre.alvarezp.com (Postfix) with ESMTPSA id 8D9F221CBC; Mon, 24 Jun 2019 12:08:54 -0500 (CDT) From: Octavio Alvarez Subject: Re: PROBLEM: Marvell 88E8040 (sky2) fails after hibernation To: Thomas Gleixner Cc: 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 , Stephen Hemminger References: <2cf2f745-0e29-13a7-6364-0a981dae758c@alvarezp.org> <95539fd9-ffdb-b91c-935f-7fd54d048fdf@alvarezp.org> Message-ID: <098de4c3-5f71-f84d-8b49-d2f43e18ed91@alvarezp.org> Date: Mon, 24 Jun 2019 12:08:52 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: es-MX Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/23/19 7:54 AM, Thomas Gleixner wrote: >>> I will keep trying 4.14, unless you say otherwise. >> >> It would be interesting though I don't expect too much data. >> >> So all of the above use PCI/MSI. That's at least a data point. I need to >> stare into that driver again to figure out why this might make a >> difference, but right now I'm lost. > > One other data point you could provide please: > > Load the driver on Linus master with the following module parameter: > > disable_msi=1 > > That switches to INTx usage. Does the machine resume proper with that? Hi, Thomas, I did two tests: If I boot with sky2.disable_msi=1 on the kernel cmdline then the problem goes away (when back from hibernation, the NIC works OK). 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). Tested on master (5.2-rc6). Thanks, Octavio.