diff options
Diffstat (limited to 'patches/boot_time_opt/0123-igb-no-runtime-pm-to-fix-reboot-oops.patch')
-rw-r--r-- | patches/boot_time_opt/0123-igb-no-runtime-pm-to-fix-reboot-oops.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/patches/boot_time_opt/0123-igb-no-runtime-pm-to-fix-reboot-oops.patch b/patches/boot_time_opt/0123-igb-no-runtime-pm-to-fix-reboot-oops.patch new file mode 100644 index 0000000..ce4964e --- /dev/null +++ b/patches/boot_time_opt/0123-igb-no-runtime-pm-to-fix-reboot-oops.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From 10f0c995ce6aaf6b3ffa78377f1a12ad0477057a Mon Sep 17 00:00:00 2001 | ||
2 | From: Arjan van de Ven <arjan@linux.intel.com> | ||
3 | Date: Thu, 12 Jan 2017 18:17:14 +0000 | ||
4 | Subject: [PATCH 123/124] igb: no runtime pm to fix reboot oops | ||
5 | |||
6 | Causes oops on reboot due to a race between runtime resume and shutdown | ||
7 | --- | ||
8 | drivers/net/ethernet/intel/igb/igb_main.c | 3 --- | ||
9 | 1 file changed, 3 deletions(-) | ||
10 | |||
11 | diff --git a/drivers/net/ethernet/intel/igb/igb_main.c b/drivers/net/ethernet/intel/igb/igb_main.c | ||
12 | index 9affd7c198bd..8ade77e75b36 100644 | ||
13 | --- a/drivers/net/ethernet/intel/igb/igb_main.c | ||
14 | +++ b/drivers/net/ethernet/intel/igb/igb_main.c | ||
15 | @@ -238,9 +238,6 @@ static struct pci_driver igb_driver = { | ||
16 | .id_table = igb_pci_tbl, | ||
17 | .probe = igb_probe, | ||
18 | .remove = igb_remove, | ||
19 | -#ifdef CONFIG_PM | ||
20 | - .driver.pm = &igb_pm_ops, | ||
21 | -#endif | ||
22 | .shutdown = igb_shutdown, | ||
23 | .sriov_configure = igb_pci_sriov_configure, | ||
24 | .err_handler = &igb_err_handler | ||
25 | -- | ||
26 | 2.11.1 | ||
27 | |||