Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2715011imj; Mon, 18 Feb 2019 10:47:41 -0800 (PST) X-Google-Smtp-Source: AHgI3IbnCsTpe9nl5/gVGKMpL/qqNmooq3H6zgRaC2dhAMV9j5n6P72cLx1HihNg6pKspfw5UoWi X-Received: by 2002:a65:6549:: with SMTP id a9mr19549001pgw.21.1550515661416; Mon, 18 Feb 2019 10:47:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550515661; cv=none; d=google.com; s=arc-20160816; b=zjJwbdf41hXWULX1niHOocGD0f+x+sLqsY6QmkwVcRGPGHuaAJrGST0BIvELx9jfOp 2DEJEE+jLmYHD9NuxatIA7VrXTRQEhtM6smB7R4VBwzTScD6t+8VBMG0IOxhrs1KAYE+ nFfwqCCqYJ4aTkecXfcHoURYf8JTMRxoePJiNXebkd4XOrMWkB740+XPJ5zGiJTqCbsV QzYZYuLmmWnhnJIDpS7YCoNvatcynLqQBD96ruLeBRWj8nKkZoF5rZ9DfSLkKWz8ukCV eIpc58M13xeV1lgvjZANXpJPWh6DC1803gwco13B9Nr1c/TMNAyoCyZnMntqngrp5/sc v/0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=M00bMczFbtxYX9X2051kgTZkexv60WBFQTG7FgtMObU=; b=dpZgNNU9zWHKljF4n8hTX94pW38mNd354jxF0UMY+7GBZkXa1pR/FE0BMKn504q3iQ pV6DboQFyaH81E/e8v4k5/i5GmPi7QxcatSZrpgQcP0XwTOey5sEgD5AjbMLOgUQvGGj gI0RMjUk7AUkwNrZHWrBqOkCGrMinFu5fjOvP2OriwEeJZkyA7P1GPZrhp9AjV7AkwdM glLns/eLGX5LRhdAQxGNLbW0hL90/HNnv4Ym55Tm4t8Rc5CsUnV73DH51AYFqSKxCc5f As4Ejr1EBDpminZJu4w5sSNRHxH0MmZ8+ABTY7ArXtsq1cL65Pyc0pbB4HXg0OSu8Uyu cMBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MbeZ+vxE; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d34si10204843pld.290.2019.02.18.10.47.25; Mon, 18 Feb 2019 10:47:41 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=MbeZ+vxE; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732554AbfBRPeW (ORCPT + 99 others); Mon, 18 Feb 2019 10:34:22 -0500 Received: from mail-qk1-f194.google.com ([209.85.222.194]:39498 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731123AbfBRPeV (ORCPT ); Mon, 18 Feb 2019 10:34:21 -0500 Received: by mail-qk1-f194.google.com with SMTP id x6so10191713qki.6; Mon, 18 Feb 2019 07:34:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=M00bMczFbtxYX9X2051kgTZkexv60WBFQTG7FgtMObU=; b=MbeZ+vxEYwbIY8KHEwCOG6i7mT3Yk4H5gw1KSLnX2TXCjvgrZpa5IJn2JVJ+tuQpaV fsYePoW5OquVKHpI56rkoYLOS2vu6H+EFSZIPc7gwf9j49VNEgUTbspBCV0kwTZhmP77 TuCnK6qkvrK5LeLlR+PM0qSXbBMNhG04E89anwsICQyxMft8AzKwfLveGwHol+XdaKme xPoOij5EtX3YDW+jQV8hIprskPZKdjHQlNTkgqDF1C4ll9PWFNJRcFKvInkTaSs8Wjdv +iCrrMWWsHKa6BKEtuINLrLCHNHydG8dHTsE/cal8VRwXP8e75rhksTFlnSpZ6mE9U5Z Rbyw== 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:references :mime-version:content-disposition:in-reply-to:user-agent; bh=M00bMczFbtxYX9X2051kgTZkexv60WBFQTG7FgtMObU=; b=YEUD/siQ0bFGm0wqfIH4/Y9czl60GouFuXhDYo0auf4qLSyYOD+XLj8WOWLkyV5HOp QiYMpYnTSizkm/imaT/1DdROeIwKA1kkIdNJnDlBGyjwQtHFsf/ndu6vBd2/JJkYhL+v T0aDOtysFXBnKx/k9ebQxOp/eSPmnE8u6OOAz5Fed9yUurqawDLh5BnA6sgI0E3RNcJH JhVOUd2BrVJnhIMgWgb+pOYG58+PliV5LfEeuGTUdGoN9NrD85apt6VcXyisXlKaqZHh aP6oIcE0zlb7/95oLssaVSQdTS4O6003wBhvlWFT5oGq5p7g8wEmj0lFghAIsrO0rz/I SSVA== X-Gm-Message-State: AHQUAua9QN6MaKECW0i3cPDE5jb0i4SJRkwfHiSlrlKQFPIAnyWglpy+ OpWRWLAiFWyF1uZD52ePGH4= X-Received: by 2002:a37:d409:: with SMTP id l9mr17468302qki.211.1550504059797; Mon, 18 Feb 2019 07:34:19 -0800 (PST) Received: from rani.riverdale.lan ([2001:470:1f07:5f3::b55f]) by smtp.gmail.com with ESMTPSA id 132sm2503195qke.0.2019.02.18.07.34.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Feb 2019 07:34:19 -0800 (PST) Date: Mon, 18 Feb 2019 10:34:17 -0500 From: niveditas98@gmail.com To: niveditas98@gmail.com Cc: linux-kernel , Kai-Heng Feng , intel-wired-lan@lists.osuosl.org, linux-pm@vger.kernel.org Subject: Re: [PATCH 4.20 237/352] igb: Fix an issue that PME is not enabled during runtime suspend Message-ID: <20190218153416.GA23089@rani.riverdale.lan> References: <20190216180332.GA51434@rani.riverdale.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190216180332.GA51434@rani.riverdale.lan> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Looking at the warning, is it getting triggered because pci_set_power_state is now going to be called twice, once in igb_runtime_suspend and then again in pci_finish_runtime_suspend? On Sat, Feb 16, 2019 at 01:03:32PM -0500, niveditas98@gmail.com wrote: > Bugzilla https://bugzilla.kernel.org/show_bug.cgi?id=202571 > > The igb commit is commit fb29f76cc5668d8fc9e2b04ebfaf4de4f62e1866 > > > On Tue, Feb 12, 2019 at 7:21 PM Arvind Sankar wrote: > > > > After upgrading to 4.20.8, I got a WARN in my dmesg and I suspect this > > change. Reverting it removes this warning. > > > > I am not subscribed to the list, please Cc me if any follup questions. > > > > [ 12.457238] ------------[ cut here ]------------ > > [ 12.457251] PCI PM: State of device not saved by igb_runtime_suspend+0x0/0x80 > > [ 12.457275] WARNING: CPU: 1 PID: 175 at > > drivers/pci/pci-driver.c:1280 pci_pm_runtime_suspend+0x127/0x130 > > [ 12.457277] Modules linked in: 8021q zfs(PO) zunicode(PO) zlua(PO) > > zcommon(PO) znvpair(PO) zavl(PO) icp(PO) spl(O) zlib_inflate > > x86_pkg_temp_thermal kvm_intel kvm coretemp hwmon irqbypass > > crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel aes_x86_64 > > crypto_simd cryptd glue_helper intel_cstate intel_uncore > > intel_rapl_perf intel_pch_thermal i2c_i801 ipmi_si ipmi_devintf > > ipmi_msghandler > > [ 12.457318] CPU: 1 PID: 175 Comm: kworker/1:1 Tainted: P > > O T 4.20.8 #16 > > [ 12.457320] Hardware name: Supermicro Super Server/X10SDV-7TP8F, > > BIOS 2.0 06/13/2018 > > [ 12.457329] Workqueue: pm pm_runtime_work > > [ 12.457337] RIP: 0010:pci_pm_runtime_suspend+0x127/0x130 > > [ 12.457340] Code: f7 0f 00 8b 44 24 04 eb a1 44 39 e8 74 9a 80 3d > > cb 7b d0 00 00 75 91 48 c7 c7 d8 b3 75 a2 c6 05 bb 7b d0 00 01 e8 fe > > 37 cf ff <0f> 0b 31 c0 e9 77 ff ff ff 41 55 41 54 45 31 e4 55 53 48 89 > > fb 48 > > [ 12.457343] RSP: 0018:ffffb300406abd88 EFLAGS: 00010282 > > [ 12.457347] RAX: 0000000000000000 RBX: ffff965fc6ff20b0 RCX: ffffffffa2829cb8 > > [ 12.457350] RDX: 0000000000000001 RSI: 0000000000000082 RDI: ffffffffa3755d88 > > [ 12.457353] RBP: ffffffffa24a7980 R08: 0000000000000001 R09: 0000000000000442 > > [ 12.457355] R10: 0000000000000003 R11: 0000000000000000 R12: ffff965fc6ff2000 > > [ 12.457358] R13: 0000000000000000 R14: ffffffffa1b62550 R15: 0000000000000000 > > [ 12.457361] FS: 0000000000000000(0000) GS:ffff96671f440000(0000) > > knlGS:0000000000000000 > > [ 12.457365] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > > [ 12.457368] CR2: 00007fff7670c11c CR3: 00000002c7c0a004 CR4: 00000000003606e0 > > [ 12.457370] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 > > [ 12.457373] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 > > [ 12.457374] Call Trace: > > [ 12.457387] ? __switch_to_asm+0x34/0x70 > > [ 12.457395] __rpm_callback+0x70/0x1b0 > > [ 12.457401] ? __switch_to_asm+0x34/0x70 > > [ 12.457406] ? pci_dev_put+0x20/0x20 > > [ 12.457412] rpm_callback+0x66/0x90 > > [ 12.457418] ? pci_dev_put+0x20/0x20 > > [ 12.457424] rpm_suspend+0x15a/0x570 > > [ 12.457431] pm_runtime_work+0x8c/0xa0 > > [ 12.457439] process_one_work+0x1d2/0x350 > > [ 12.457446] worker_thread+0x28/0x3d0 > > [ 12.457453] ? wq_calc_node_cpumask.constprop.50+0x20/0x20 > > [ 12.457457] kthread+0x103/0x120 > > [ 12.457462] ? kthread_create_on_node+0x90/0x90 > > [ 12.457468] ret_from_fork+0x35/0x40 > > [ 12.457472] ---[ end trace aa262aac85ec967a ]---