topic/e1000e-fix
Subsystems (3)
Hi Dave (both of them),
topic/e1000e-fix-2017-05-30:
Just an e1000e crash fix that somehow got stuck in a trivial bikeshed, see
https://patchwork.ozlabs.org/patch/729312/
Sending this your way since not even the intel-internal escalation seems to have worked out. If the e1000e maintainer wants to coalesce or not return statements this simple way, that's imo on him to change the color as needed. Also, it reliable spams dmesg, why does this take forever ... we've carried this patch for a while no in our local fixup branch to keep our CI happy. Pls make sure it reaches Linus' tree asap.
Thanks, Daniel
The following changes since commit 5ed02dbb497422bf225783f46e6eadd237d23d6b:
Linux 4.12-rc3 (2017-05-28 17:20:53 -0700)
are available in the git repository at:
git://anongit.freedesktop.org/git/drm-intel tags/topic/e1000e-fix-2017-05-30
for you to fetch changes up to 4e5684f930587bd22565f404eb3c5e417a994ccc:
e1000e: Undo e1000e_pm_freeze if __e1000_shutdown fails (2017-05-30 09:47:28 +0200)
----------------------------------------------------------------
Just an e1000e crash fix that somehow got stuck in a trivial bikeshed, see
https://patchwork.ozlabs.org/patch/729312/
----------------------------------------------------------------
Chris Wilson (1):
e1000e: Undo e1000e_pm_freeze if __e1000_shutdown fails
drivers/net/ethernet/intel/e1000e/netdev.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
David Miller
maintainerFrom: Daniel Vetter <[email protected]>
Date: Tue, 30 May 2017 22:15:42 +0200
Quoted 2 lines
If the e1000e maintainer wants to coalesce or not return statements this simple way, that's imo on him to change the color as needed.
That's not how things work.
If the maintainer wants you to style things a certain way, either you do it that way or your patch isn't accepted.
Thanks.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 10 lines · David Miller
From: Daniel Vetter <[email protected]>
Date: Tue, 30 May 2017 22:15:42 +0200Quoted 2 lines
If the e1000e maintainer wants to coalesce or not return statements this simple way, that's imo on him to change the color as needed.
That's not how things work.
If the maintainer wants you to style things a certain way, either you do it that way or your patch isn't accepted.
I'm not really sure why Chris just couldn't respin already.
Though really I think Chris should have just asked for a revert of the original patch that broke stuff, instead of trying to patch a driver if he doesn't have time to get the patch right for the maintainer.
Dave.
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 11 lines · Dave Airlie
Quoted 10 lines · David Miller
From: Daniel Vetter <[email protected]>
Date: Tue, 30 May 2017 22:15:42 +0200Quoted 2 lines
If the e1000e maintainer wants to coalesce or not return statements this simple way, that's imo on him to change the color as needed.
That's not how things work.
If the maintainer wants you to style things a certain way, either you do it that way or your patch isn't accepted.
Consider this pull a regression report, pls handle it.
Quoted 5 lines
I'm not really sure why Chris just couldn't respin already.
Though really I think Chris should have just asked for a revert of the original patch that broke stuff, instead of trying to patch a driver if he doesn't have time to get the patch right for the maintainer.
Ok, can we pls revert 2800209994f8 ("e1000e: Refactor PM flows") then?
Thanks, Daniel
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 8 lines · Daniel Vetter
Quoted 7 lines · Dave Airlie
Quoted 6 lines · David Miller
From: Daniel Vetter <[email protected]>
Date: Tue, 30 May 2017 22:15:42 +0200Quoted 2 lines
If the e1000e maintainer wants to coalesce or not return statements this simple way, that's imo on him to change the color as needed.
Quoted 6 lines
Quoted 4 lines
Quoted 4 lines
That's not how things work.
If the maintainer wants you to style things a certain way, either you do it that way or your patch isn't accepted.
Consider this pull a regression report, pls handle it.
And I guess I pile of more cc, to make this regression report complete. I mean you got the backtrace, bisect and a proposed fix, and the almost-whitespace change demanded is something gcc does in its sleep. I'd understand a request to retest if it would be a real functional change, but in this situation I have no idea why this regression just can't be fixed already.
Not sure if it's really preferred if regression reports come incomplete, without bugfix and bisect attached. -Daniel
Quoted 13 lines
Quoted 5 lines
I'm not really sure why Chris just couldn't respin already.
Though really I think Chris should have just asked for a revert of the original patch that broke stuff, instead of trying to patch a driver if he doesn't have time to get the patch right for the maintainer.
Ok, can we pls revert
2800209994f8("e1000e: Refactor PM flows") then?Thanks, Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
David Miller
maintainerFrom: Daniel Vetter <[email protected]>
Date: Wed, 31 May 2017 08:10:45 +0200
Quoted 14 lines · Daniel Vetter
Quoted 13 lines · Dave Airlie
Quoted 11 lines · David Miller
Quoted 10 lines
From: Daniel Vetter <[email protected]>
Date: Tue, 30 May 2017 22:15:42 +0200Quoted 2 lines
If the e1000e maintainer wants to coalesce or not return statements this simple way, that's imo on him to change the color as needed.
That's not how things work.
If the maintainer wants you to style things a certain way, either you do it that way or your patch isn't accepted.
Quoted 8 lines
Quoted 1 line
Consider this pull a regression report, pls handle it.
And I guess I pile of more cc, to make this regression report complete. I mean you got the backtrace, bisect and a proposed fix, and the almost-whitespace change demanded is something gcc does in its sleep. I'd understand a request to retest if it would be a real functional change, but in this situation I have no idea why this regression just can't be fixed already.
And we can't understand why respinning with the requested change is less work than making several postings such as this one.
Quoted 2 lines · David Miller
And we can't understand why respinning with the requested change is less work than making several postings such as this one.
When our CI hits tons of non-drm issues every merge window, I imagine our developers can start to get a little frustrated trying to get them fixed. Especially so when valid fixes like this get blocked by silly bikesheds from developers who don't even seem to have very many contributions upstream, and the maintainers don't respond. We have enough on our plates trying to get our own stuff fixed.
While I understand why our developers aren't willing to jump through all the hoops, updated patch follows. Please let's move on.
BR,
Jani.
Chris Wilson (1):
e1000e: Undo e1000e_pm_freeze if __e1000_shutdown fails
drivers/net/ethernet/intel/e1000e/netdev.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
Signature · 1 line
2.11.0
PATCH v2 1/1 e1000e: Undo e1000e_pm_freeze if __e1000_shutdown fails
From: Chris Wilson <[email protected]>
An error during suspend (e100e_pm_suspend),
[ 429.994338] ACPI : EC: event blocked [ 429.994633] e1000e: EEE TX LPI TIMER: 00000011 [ 430.955451] pci_pm_suspend(): e1000e_pm_suspend+0x0/0x30 [e1000e] returns -2 [ 430.955454] dpm_run_callback(): pci_pm_suspend+0x0/0x140 returns -2 [ 430.955458] PM: Device 0000:00:19.0 failed to suspend async: error -2 [ 430.955581] PM: Some devices failed to suspend, or early wake event detected [ 430.957709] ACPI : EC: event unblocked
lead to complete failure:
[ 432.585002] ------------[ cut here ]------------ [ 432.585013] WARNING: CPU: 3 PID: 8372 at kernel/irq/manage.c:1478 __free_irq+0x9f/0x280 [ 432.585015] Trying to free already-free IRQ 20 [ 432.585016] Modules linked in: cdc_ncm usbnet x86_pkg_temp_thermal intel_powerclamp coretemp mii crct10dif_pclmul crc32_pclmul ghash_clmulni_intel snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hwdep lpc_ich snd_hda_core snd_pcm mei_me mei sdhci_pci sdhci i915 mmc_core e1000e ptp pps_core prime_numbers [ 432.585042] CPU: 3 PID: 8372 Comm: kworker/u16:40 Tainted: G U 4.10.0-rc8-CI-Patchwork_3870+ #1 [ 432.585044] Hardware name: LENOVO 2356GCG/2356GCG, BIOS G7ET31WW (1.13 ) 07/02/2012 [ 432.585050] Workqueue: events_unbound async_run_entry_fn [ 432.585051] Call Trace: [ 432.585058] dump_stack+0x67/0x92 [ 432.585062] __warn+0xc6/0xe0 [ 432.585065] warn_slowpath_fmt+0x4a/0x50 [ 432.585070] ? _raw_spin_lock_irqsave+0x49/0x60 [ 432.585072] __free_irq+0x9f/0x280 [ 432.585075] free_irq+0x34/0x80 [ 432.585089] e1000_free_irq+0x65/0x70 [e1000e] [ 432.585098] e1000e_pm_freeze+0x7a/0xb0 [e1000e] [ 432.585106] e1000e_pm_suspend+0x21/0x30 [e1000e] [ 432.585113] pci_pm_suspend+0x71/0x140 [ 432.585118] dpm_run_callback+0x6f/0x330 [ 432.585122] ? pci_pm_freeze+0xe0/0xe0 [ 432.585125] __device_suspend+0xea/0x330 [ 432.585128] async_suspend+0x1a/0x90 [ 432.585132] async_run_entry_fn+0x34/0x160 [ 432.585137] process_one_work+0x1f4/0x6d0 [ 432.585140] ? process_one_work+0x16e/0x6d0 [ 432.585143] worker_thread+0x49/0x4a0 [ 432.585145] kthread+0x107/0x140 [ 432.585148] ? process_one_work+0x6d0/0x6d0 [ 432.585150] ? kthread_create_on_node+0x40/0x40 [ 432.585154] ret_from_fork+0x2e/0x40 [ 432.585156] ---[ end trace 6712df7f8c4b9124 ]---
The unwind failures stems from commit 2800209994f8 ("e1000e: Refactor PM flows"), but it may be a later patch that introduced the non-recoverable behaviour.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99847
--- drivers/net/ethernet/intel/e1000e/netdev.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
drivers/net/ethernet/intel/e1000e/netdev.c +6 -1
@@ -6630,12 +6630,17 @@ static int e1000e_pm_thaw(struct device *dev)static int e1000e_pm_suspend (struct device *dev) {struct pci_dev *pdev =to_pci_dev (dev); +int rc;e1000e_flush_lpic (pdev);e1000e_pm_freeze (dev); -return __e1000_shutdown (pdev, false); + rc =__e1000_shutdown (pdev, false); +if (rc) +e1000e_pm_thaw (dev); + +return rc; }static int e1000e_pm_resume (struct device *dev)
Signature · 1 line
2.11.0
David Miller
maintainerRe: [PATCH v2 1/1] e1000e: Undo e1000e_pm_freeze if __e1000_shutdown fails
From: Jani Nikula <[email protected]>
Date: Wed, 31 May 2017 18:50:43 +0300
Quoted 3 lines
From: Chris Wilson <[email protected]>
An error during suspend (
e100e_pm_suspend),
...
Quoted 1 line
lead to complete failure:
...
Quoted 6 lines
The unwind failures stems from commit
2800209994f8("e1000e: Refactor PM flows"), but it may be a later patch that introduced the non-recoverable behaviour.Fixes 2800209994f8 ("e1000e: Refactor PM flows")Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99847
Quoted 9 lines
Cc Tvrtko Ursulin <[email protected]>Cc Jeff Kirsher <[email protected]>Cc Dave Ertman <[email protected]>Cc Bruce Allan <[email protected]>Signed-off-by Chris Wilson <[email protected]>[Jani: bikeshed repainted]Signed-off-by Jani Nikula <[email protected]>
Jeff, please make sure this gets submitted to me soon.
Thanks.
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH v2 1/1] e1000e: Undo e1000e_pm_freeze if __e1000_shutdown fails
Quoted 29 lines · David Miller
From: Jani Nikula <[email protected]>
Date: Wed, 31 May 2017 18:50:43 +0300Quoted 3 lines
From: Chris Wilson <[email protected]>
An error during suspend (
e100e_pm_suspend),...
Quoted 1 line
lead to complete failure:
...
Quoted 8 lines
The unwind failures stems from commit
2800209994f8("e1000e:
Refactor PM
flows"), but it may be a later patch that introduced the non- recoverable
behaviour.Fixes 2800209994f8 ("e1000e: Refactor PM flows")Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99847
Quoted 9 lines
Cc Tvrtko Ursulin <[email protected]>Cc Jeff Kirsher <[email protected]>Cc Dave Ertman <[email protected]>Cc Bruce Allan <[email protected]>Signed-off-by Chris Wilson <[email protected]>[Jani: bikeshed repainted]Signed-off-by Jani Nikula <[email protected]>
Quoted 1 line
Jeff, please make sure this gets submitted to me soon.
Expect it later tonight, just finishing up testing.
Brown, Aaron F
Tested-byRE: [Intel-wired-lan] [PATCH v2 1/1] e1000e: Undo e1000e_pm_freeze if __e1000_shutdown fails
Quoted 43 lines
From: Intel-wired-lan [mailto:[email protected]] On Behalf Of Jeff Kirsher
Sent: Tuesday, June 6, 2017 1:46 PM
To: David Miller <[email protected]>; Nikula, Jani <[email protected]>
Cc: Ursulin, Tvrtko <[email protected]>; [email protected]; intel- [email protected]; [email protected]; [email protected]; [email protected]; Ertman, David M <[email protected]>; [email protected]; dri- [email protected]; [email protected]; [email protected]
Subject: Re: [Intel-wired-lan] [PATCH v2 1/1] e1000e: Undoe1000e_pm_freezeif__e1000_shutdownfailsQuoted 29 lines · David Miller
From: Jani Nikula <[email protected]>
Date: Wed, 31 May 2017 18:50:43 +0300Quoted 3 lines
From: Chris Wilson <[email protected]>
An error during suspend (
e100e_pm_suspend),...
Quoted 1 line
lead to complete failure:
...
Quoted 17 lines
The unwind failures stems from commit
2800209994f8("e1000e:
Refactor PM
flows"), but it may be a later patch that introduced the non- recoverable
behaviour.Fixes 2800209994f8 ("e1000e: Refactor PM flows")Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99847
Cc Tvrtko Ursulin <[email protected]>Cc Jeff Kirsher <[email protected]>Cc Dave Ertman <[email protected]>Cc Bruce Allan <[email protected]>Signed-off-by Chris Wilson <[email protected]>[Jani: bikeshed repainted]Signed-off-by Jani Nikula <[email protected]>
Quoted 3 lines
Quoted 1 line
Jeff, please make sure this gets submitted to me soon.
Expect it later tonight, just finishing up testing.
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [Intel-wired-lan] [PATCH v2 1/1] e1000e: Undo e1000e_pm_freeze if __e1000_shutdown fails
Quoted 43 lines · Aaron F
Quoted 43 lines
From: Intel-wired-lan [mailto:[email protected]] On Behalf Of Jeff Kirsher
Sent: Tuesday, June 6, 2017 1:46 PM
To: David Miller <[email protected]>; Nikula, Jani <[email protected]>
Cc: Ursulin, Tvrtko <[email protected]>; [email protected]; intel- [email protected]; [email protected]; [email protected]; [email protected]; Ertman, David M <[email protected]>; [email protected]; dri- [email protected]; [email protected]; [email protected]
Subject: Re: [Intel-wired-lan] [PATCH v2 1/1] e1000e: Undoe1000e_pm_freezeif__e1000_shutdownfailsQuoted 29 lines · David Miller
From: Jani Nikula <[email protected]>
Date: Wed, 31 May 2017 18:50:43 +0300Quoted 3 lines
From: Chris Wilson <[email protected]>
An error during suspend (
e100e_pm_suspend),...
Quoted 1 line
lead to complete failure:
...
Quoted 17 lines
The unwind failures stems from commit
2800209994f8("e1000e:
Refactor PM
flows"), but it may be a later patch that introduced the non- recoverable
behaviour.Fixes 2800209994f8 ("e1000e: Refactor PM flows")Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99847
Cc Tvrtko Ursulin <[email protected]>Cc Jeff Kirsher <[email protected]>Cc Dave Ertman <[email protected]>Cc Bruce Allan <[email protected]>Signed-off-by Chris Wilson <[email protected]>[Jani: bikeshed repainted]Signed-off-by Jani Nikula <[email protected]>
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Jeff, please make sure this gets submitted to me soon.
Expect it later tonight, just finishing up testing.
Tested-by Aaron Brown <[email protected]>
Hm, I seem to be blind, but I can't find it anywhere in -rc6. Does someone have the sha1 from Linus' git for this patch?
Thanks, Daniel
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [Intel-wired-lan] [PATCH v2 1/1] e1000e: Undo e1000e_pm_freeze if __e1000_shutdown fails
Quoted 44 lines · Daniel Vetter
Quoted 43 lines · Aaron F
Quoted 43 lines
From: Intel-wired-lan [mailto:[email protected]] On Behalf Of Jeff Kirsher
Sent: Tuesday, June 6, 2017 1:46 PM
To: David Miller <[email protected]>; Nikula, Jani <[email protected]>
Cc: Ursulin, Tvrtko <[email protected]>; [email protected]; intel- [email protected]; [email protected]; [email protected]; [email protected]; Ertman, David M <[email protected]>; [email protected]; dri- [email protected]; [email protected]; [email protected]
Subject: Re: [Intel-wired-lan] [PATCH v2 1/1] e1000e: Undoe1000e_pm_freezeif__e1000_shutdownfailsQuoted 29 lines · David Miller
From: Jani Nikula <[email protected]>
Date: Wed, 31 May 2017 18:50:43 +0300Quoted 3 lines
From: Chris Wilson <[email protected]>
An error during suspend (
e100e_pm_suspend),...
Quoted 1 line
lead to complete failure:
...
Quoted 17 lines
The unwind failures stems from commit
2800209994f8("e1000e:
Refactor PM
flows"), but it may be a later patch that introduced the non- recoverable
behaviour.Fixes 2800209994f8 ("e1000e: Refactor PM flows")Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99847
Cc Tvrtko Ursulin <[email protected]>Cc Jeff Kirsher <[email protected]>Cc Dave Ertman <[email protected]>Cc Bruce Allan <[email protected]>Signed-off-by Chris Wilson <[email protected]>[Jani: bikeshed repainted]Signed-off-by Jani Nikula <[email protected]>
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Jeff, please make sure this gets submitted to me soon.
Expect it later tonight, just finishing up testing.
Tested-by Aaron Brown <[email protected]>Hm, I seem to be blind, but I can't find it anywhere in -rc6. Does someone have the sha1 from Linus' git for this patch?
Guys this is a pretty serious regression, just left blowing in the wind, is anyone responsible for e1000e?
Dave.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Re: [Intel-wired-lan] [PATCH v2 1/1] e1000e: Undo e1000e_pm_freeze if __e1000_shutdown fails
Quoted 53 lines · Dave Airlie
Quoted 52 lines · Daniel Vetter
Quoted 51 lines · Aaron F
Quoted 50 lines
From: Intel-wired-lan [mailto:[email protected]] On Behalf
Of Jeff Kirsher
Sent: Tuesday, June 6, 2017 1:46 PM
To: David Miller <[email protected]>; Nikula, Jani <[email protected]>
Cc: Ursulin, Tvrtko <[email protected]>; daniel.vetter@ffwll .ch; intel-
[email protected]; [email protected]; [email protected]; [email protected]; Ertman, David M
<[email protected]>; [email protected]; dri- [email protected]; [email protected]; airlied@gmail. com
Subject: Re: [Intel-wired-lan] [PATCH v2 1/1] e1000e: Undoe1000e_pm_freezeif__e1000_shutdownfailsQuoted 29 lines · David Miller
From: Jani Nikula <[email protected]>
Date: Wed, 31 May 2017 18:50:43 +0300Quoted 3 lines
From: Chris Wilson <[email protected]>
An error during suspend (
e100e_pm_suspend),...
Quoted 1 line
lead to complete failure:
...
Quoted 8 lines
The unwind failures stems from commit
2800209994f8("e1000e:
Refactor PM
flows"), but it may be a later patch that introduced the non- recoverable
behaviour.Fixes 2800209994f8 ("e1000e: Refactor PM flows")Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99847
Quoted 9 lines
Cc Tvrtko Ursulin <[email protected]>Cc Jeff Kirsher <[email protected]>Cc Dave Ertman <[email protected]>Cc Bruce Allan <[email protected]>Signed-off-by Chris Wilson <[email protected]>[Jani: bikeshed repainted]Signed-off-by Jani Nikula <[email protected]>Quoted 1 line
Jeff, please make sure this gets submitted to me soon.
Expect it later tonight, just finishing up testing.
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
Tested-by Aaron Brown <[email protected]>Hm, I seem to be blind, but I can't find it anywhere in -rc6. Does someone
have the sha1 from Linus' git for this patch?Guys this is a pretty serious regression, just left blowing in the wind, is anyone responsible for e1000e?
This was submitted and accepted into David Miller's net-next tree. I can see if Dave can pull it into his net tree. DOes stable need to pick this up as well?
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Re: [Intel-wired-lan] [PATCH v2 1/1] e1000e: Undo e1000e_pm_freeze if __e1000_shutdown fails
Quoted 3 lines · Jeff Kirsher
This was submitted and accepted into David Miller's net-next tree. I can see if Dave can pull it into his net tree. DOes stable need to pick this up as well?
Nah if it landed somewhere at least I'm happy, we can carry the fixup for a while longer locally.
Thanks, Daniel
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Re: [Intel-wired-lan] [PATCH v2 1/1] e1000e: Undo e1000e_pm_freeze if __e1000_shutdown fails
In reply to Jani NikulaQuoted 78 lines · Jani Nikula
From: Chris Wilson <[email protected]>
An error during suspend (
e100e_pm_suspend),[ 429.994338] ACPI : EC: event blocked [ 429.994633] e1000e: EEE TX LPI TIMER: 00000011 [ 430.955451] pci_pm_suspend(): e1000e_pm_suspend+0x0/0x30 [e1000e] returns -2 [ 430.955454] dpm_run_callback(): pci_pm_suspend+0x0/0x140 returns -2 [ 430.955458] PM: Device 0000:00:19.0 failed to suspend async: error -2 [ 430.955581] PM: Some devices failed to suspend, or early wake event detected [ 430.957709] ACPI : EC: event unblockedlead to complete failure:
[ 432.585002] ------------[ cut here ]------------ [ 432.585013] WARNING: CPU: 3 PID: 8372 at kernel/irq/manage.c:1478 __free_irq+0x9f/0x280 [ 432.585015] Trying to free already-free IRQ 20 [ 432.585016] Modules linked in: cdc_ncm usbnet x86_pkg_temp_thermal intel_powerclamp coretemp mii crct10dif_pclmul crc32_pclmul ghash_clmulni_intel snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hwdep lpc_ich snd_hda_core snd_pcm mei_me mei sdhci_pci sdhci i915 mmc_core e1000e ptp pps_core prime_numbers [ 432.585042] CPU: 3 PID: 8372 Comm: kworker/u16:40 Tainted: G U 4.10.0-rc8-CI-Patchwork_3870+ #1 [ 432.585044] Hardware name: LENOVO 2356GCG/2356GCG, BIOS G7ET31WW (1.13 ) 07/02/2012 [ 432.585050] Workqueue: events_unbound async_run_entry_fn [ 432.585051] Call Trace: [ 432.585058] dump_stack+0x67/0x92 [ 432.585062] __warn+0xc6/0xe0 [ 432.585065] warn_slowpath_fmt+0x4a/0x50 [ 432.585070] ? _raw_spin_lock_irqsave+0x49/0x60 [ 432.585072] __free_irq+0x9f/0x280 [ 432.585075] free_irq+0x34/0x80 [ 432.585089] e1000_free_irq+0x65/0x70 [e1000e] [ 432.585098] e1000e_pm_freeze+0x7a/0xb0 [e1000e] [ 432.585106] e1000e_pm_suspend+0x21/0x30 [e1000e] [ 432.585113] pci_pm_suspend+0x71/0x140 [ 432.585118] dpm_run_callback+0x6f/0x330 [ 432.585122] ? pci_pm_freeze+0xe0/0xe0 [ 432.585125] __device_suspend+0xea/0x330 [ 432.585128] async_suspend+0x1a/0x90 [ 432.585132] async_run_entry_fn+0x34/0x160 [ 432.585137] process_one_work+0x1f4/0x6d0 [ 432.585140] ? process_one_work+0x16e/0x6d0 [ 432.585143] worker_thread+0x49/0x4a0 [ 432.585145] kthread+0x107/0x140 [ 432.585148] ? process_one_work+0x6d0/0x6d0 [ 432.585150] ? kthread_create_on_node+0x40/0x40 [ 432.585154] ret_from_fork+0x2e/0x40 [ 432.585156] ---[ end trace 6712df7f8c4b9124 ]---The unwind failures stems from commit
2800209994f8("e1000e: Refactor PM flows"), but it may be a later patch that introduced the non-recoverable behaviour.Fixes 2800209994f8 ("e1000e: Refactor PM flows")Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99847
Cc Tvrtko Ursulin <[email protected]>Cc Jeff Kirsher <[email protected]>Cc Dave Ertman <[email protected]>Cc Bruce Allan <[email protected]>Signed-off-by Chris Wilson <[email protected]>[Jani: bikeshed repainted]Signed-off-by Jani Nikula <[email protected]>--- drivers/net/ethernet/intel/e1000e/netdev.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)drivers/net/ethernet/intel/e1000e/netdev.c +1
-0@@ -6630,12 +6630,17 @@ static int e1000e_pm_thaw(struct device *dev)static int e1000e_pm_suspend (struct device *dev) {struct pci_dev *pdev =to_pci_dev (dev); +int rc;e1000e_flush_lpic (pdev);e1000e_pm_freeze (dev);
drivers/net/ethernet/intel/e1000e/netdev.c static int e1000e_pm_thaw(struct device *dev) · line 6646
Quoted 10 lines
drivers/net/ethernet/intel/e1000e/netdev.c +5
-1-return __e1000_shutdown (pdev, false); + rc =__e1000_shutdown (pdev, false); +if (rc) +e1000e_pm_thaw (dev); + +return rc; }static int e1000e_pm_resume (struct device *dev)
Good. Let's pick up this patch.
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 26 lines · David Miller
From: Daniel Vetter <[email protected]>
Date: Wed, 31 May 2017 08:10:45 +0200Quoted 14 lines · Daniel Vetter
Quoted 13 lines · Dave Airlie
Quoted 11 lines · David Miller
Quoted 10 lines
From: Daniel Vetter <[email protected]>
Date: Tue, 30 May 2017 22:15:42 +0200Quoted 2 lines
If the e1000e maintainer wants to coalesce or not return statements this simple way, that's imo on him to change the color as needed.
That's not how things work.
If the maintainer wants you to style things a certain way, either you do it that way or your patch isn't accepted.
Quoted 8 lines
Quoted 1 line
Consider this pull a regression report, pls handle it.
And I guess I pile of more cc, to make this regression report complete. I mean you got the backtrace, bisect and a proposed fix, and the almost-whitespace change demanded is something gcc does in its sleep. I'd understand a request to retest if it would be a real functional change, but in this situation I have no idea why this regression just can't be fixed already.
Quoted 2 lines
And we can't understand why respinning with the requested change is less work than making several postings such as this one.
I guess next time around we should do even less, i.e. report the regression + bisect and then escalate this until the netdev folks fix it on their own?
Like Jani said every -rc1 a pile of our CI machines keel over, and unfortunately this patch here isn't the only one which seems to not really move anywhere.
-Daniel
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel