Mark McLoughlin
64a6682b93
Allow PM reset on multi-function PCI devices
...
It turns out that a PCI Power Management reset only affects individual
functions, and not the whole device.
The PCI Power Management spec talks about resetting the 'device' rather
than the 'function', but Intel's Dexuan Cui informs me that it is
actually a per-function reset.
Also, Yu Zhao has added pci_pm_reset() to the kernel, and it doesn't
reject multi-function devices, so it must be true! :-)
(A side issue is that we could defer the PM reset to the kernel if we
could detect that the kernel has PM reset support, but barring version
number checks we don't have a way to detect that support)
* src/pci.c: remove the pciDeviceContainsOtherFunctions() check from
pciTryPowerManagementReset() and prefer PM reset over bus reset
where both are available
Cc: Cui, Dexuan <dexuan.cui@intel.com>
Cc: Yu Zhao <yu.zhao@intel.com>
2009-08-14 08:31:11 +01:00
..
2009-08-07 13:50:32 +02:00
2009-08-11 13:31:04 +02:00
2009-08-11 13:32:03 +02:00
2009-07-24 18:12:16 +02:00
2009-05-19 10:17:17 +00:00
2009-07-30 17:28:44 +02:00
2009-06-03 11:13:33 +00:00
2009-08-04 18:13:09 +01:00
2009-07-23 16:07:32 +01:00
2009-08-13 12:11:41 +01:00
2009-07-27 15:30:35 +01:00
2009-07-24 16:11:00 +01:00
2009-07-23 17:38:06 +01:00
2009-07-27 14:21:17 +02:00
2009-06-22 11:54:49 +00:00
2009-08-11 13:30:19 +02:00
2009-07-23 18:27:47 +02:00
2009-05-29 14:29:22 +00:00
2009-08-14 08:31:10 +01:00
2009-08-14 08:31:10 +01:00
2008-12-04 21:09:20 +00:00
2008-12-04 21:09:20 +00:00
2009-05-08 10:05:56 +00:00
2009-07-24 16:17:06 +02:00
2008-11-19 16:24:01 +00:00
2008-11-19 16:24:01 +00:00
2009-08-11 13:29:59 +02:00
2009-07-23 18:27:47 +02:00
2009-07-22 19:18:19 +02:00
2009-07-21 16:15:39 +02:00
2009-07-21 16:02:16 +02:00
2009-08-05 11:19:34 +02:00
2009-03-03 11:40:08 +00:00
2008-11-07 16:43:23 +00:00
2009-06-03 11:13:33 +00:00
2009-01-05 14:06:41 +00:00
2009-07-22 11:34:05 +01:00
2009-01-05 14:08:26 +00:00
2009-08-14 08:31:10 +01:00
2009-07-16 17:49:50 +02:00
2008-10-15 18:39:34 +00:00
2008-10-15 18:39:34 +00:00
2008-10-15 18:39:34 +00:00
2008-10-15 18:39:34 +00:00
2009-08-11 13:27:54 +02:00
2009-08-06 15:55:07 +02:00
2009-08-06 15:55:07 +02:00
2009-08-13 12:11:41 +01:00
2009-07-23 17:38:06 +01:00
2009-06-29 17:09:42 +00:00
2009-04-22 14:26:50 +00:00
2009-08-05 12:01:04 +01:00
2009-08-05 12:01:04 +01:00
2009-07-24 18:12:16 +02:00
2008-11-17 11:03:25 +00:00
2008-11-17 11:03:25 +00:00
2009-07-16 15:06:42 +02:00
2009-07-16 15:06:42 +02:00
2009-08-10 11:19:42 +01:00
2008-10-10 13:57:13 +00:00
2009-06-25 14:51:21 +00:00
2009-06-12 13:12:55 +00:00
2009-06-12 13:20:13 +00:00
2009-06-26 14:09:01 +00:00
2009-06-12 13:20:13 +00:00
2009-06-26 14:09:01 +00:00
2009-07-08 12:01:35 +02:00
2009-06-17 08:38:17 +00:00
2009-07-16 15:06:42 +02:00
2009-06-03 13:28:02 +00:00
2009-08-11 13:31:32 +02:00
2009-03-24 10:59:13 +00:00
2009-08-03 11:42:39 +01:00
2009-07-16 12:52:51 -04:00
2009-08-14 08:31:11 +01:00
2009-03-02 16:18:11 +00:00
2009-05-11 13:50:38 +00:00
2008-11-28 15:25:04 +00:00
2009-08-14 08:31:11 +01:00
2009-08-14 08:31:11 +01:00
2009-08-14 08:31:10 +01:00
2008-11-21 12:16:08 +00:00
2009-07-23 17:38:06 +01:00
2009-01-28 16:13:46 +00:00
2009-07-29 15:25:18 +01:00
2008-11-28 12:03:20 +00:00
2009-07-23 16:26:25 +01:00
2009-03-03 10:06:49 +00:00
2009-04-03 14:10:17 +00:00
2009-07-23 16:07:32 +01:00
2009-01-29 12:10:32 +00:00
2009-07-23 16:07:32 +01:00
2009-01-29 12:10:32 +00:00
2009-07-16 12:52:52 -04:00
2009-07-21 12:49:44 -04:00
2009-04-01 16:03:22 +00:00
2009-07-16 12:52:52 -04:00
2009-04-07 12:50:17 +00:00
2009-04-07 12:50:17 +00:00
2009-08-05 14:35:17 +02:00
2009-07-16 12:52:52 -04:00
2009-08-05 11:19:34 +02:00
2009-07-08 11:46:25 +02:00
2009-07-16 12:52:52 -04:00
2009-07-26 17:26:15 -04:00
2009-01-15 19:56:05 +00:00
2009-01-15 19:56:05 +00:00
2009-07-23 16:07:32 +01:00
2009-01-15 19:56:05 +00:00
2009-01-15 19:56:05 +00:00
2009-01-15 19:56:05 +00:00
2009-08-13 12:11:41 +01:00
2009-06-12 13:20:13 +00:00
2009-06-29 17:00:52 +00:00
2008-11-19 16:58:23 +00:00
2009-07-31 17:06:44 +01:00
2009-07-23 17:38:06 +01:00
2009-03-03 11:40:08 +00:00
2009-07-22 19:18:19 +02:00
2009-07-22 19:18:19 +02:00
2008-10-15 18:39:34 +00:00
2009-07-23 17:38:06 +01:00
2009-07-23 16:07:32 +01:00
2009-07-24 16:17:06 +02:00
2009-03-31 15:47:16 +00:00
2008-12-17 21:26:16 +00:00
2009-08-11 13:32:26 +02:00
2009-01-22 17:49:41 +00:00
2009-06-19 12:34:30 +00:00
2009-05-21 14:14:01 +00:00
2009-08-11 13:32:26 +02:00
2009-04-24 12:17:50 +00:00
2009-08-11 13:32:50 +02:00
2009-01-20 17:34:56 +00:00
2009-03-03 09:44:41 +00:00
2009-03-03 09:44:41 +00:00
2009-03-31 15:47:16 +00:00
2009-01-21 18:11:14 +00:00