Guilherme G. Piccoli
22b6839b91
PCI: Make pci_msi_setup_pci_dev() non-static for use by arch code
...
Commit 1851617cd2 ("PCI/MSI: Disable MSI at enumeration even if kernel
doesn't support MSI") changed the location of the code that initialises
dev->msi_cap/msix_cap and then disables MSI/MSI-X interrupts at PCI
probe time in devices that have this flag set. It moved the code from
pci_msi_init_pci_dev() to a new function named pci_msi_setup_pci_dev(),
called by pci_setup_device().
The pseries PCI probing code does not call pci_setup_device(), so since
the aforementioned commit the function pci_msi_setup_pci_dev() is not
called and MSI/MSI-X interrupts are left enabled. Additionally because
dev->msi_cap/msix_cap are not initialised no driver can ever enable
MSI/MSI-X.
To fix this, the pseries PCI probe should manually call
pci_msi_setup_pci_dev(), so this patch makes it non-static.
Fixes: 1851617cd2 ("PCI/MSI: Disable MSI at enumeration even if kernel doesn't support MSI")
[mpe: Update change log to mention dev->msi_cap/msix_cap]
Signed-off-by: Guilherme G. Piccoli <gpiccoli@linux.vnet.ibm.com >
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au >
2015-08-26 21:40:49 +10:00
..
2015-07-17 16:39:53 -07:00
2015-07-12 21:13:22 +02:00
2015-07-09 20:30:34 +03:00
2015-04-22 09:24:55 -07:00
2015-07-16 00:12:24 +02:00
2015-06-27 12:44:34 -07:00
2015-06-26 14:51:15 -07:00
2015-07-07 13:03:25 -07:00
2015-07-31 17:10:56 -07:00
2015-07-02 11:32:23 -07:00
2015-07-09 14:58:31 -07:00
2014-08-07 14:40:09 -04:00
2015-07-07 22:48:25 +02:00
2005-04-16 15:20:36 -07:00
2012-12-14 13:06:41 +10:30
2013-12-02 11:24:18 +00:00
2015-04-22 08:00:42 +10:00
2015-08-03 12:01:54 -04:00
2014-10-27 14:16:19 -04:00
2012-12-02 00:05:12 +00:00
2015-07-02 08:46:00 -06:00
2015-07-02 08:46:00 -06:00
2015-07-09 14:41:11 -06:00
2015-06-26 12:35:01 -07:00
2013-11-08 09:04:30 -07:00
2009-01-04 13:33:20 -08:00
2013-02-15 18:52:45 -08:00
2015-06-24 17:49:41 -07:00
2015-06-10 23:33:58 -07:00
2015-07-02 01:32:44 -04:00
2015-06-26 19:50:04 -07:00
2015-07-17 16:39:53 -07:00
2015-05-19 16:12:32 +02:00
2014-01-21 20:18:26 -08:00
2013-03-20 13:23:21 -04:00
2013-02-13 06:00:53 -08:00
2014-09-29 14:36:26 -04:00
2015-07-17 16:39:53 -07:00
2015-07-11 20:44:31 -07:00
2008-04-30 08:29:54 -07:00
2015-07-17 16:39:53 -07:00
2015-05-10 19:15:52 +02:00
2008-06-04 14:56:12 +01:00
2015-05-07 12:02:51 +02:00
2015-07-15 13:30:38 +01:00
2011-09-23 12:05:29 +05:30
2015-07-17 16:39:53 -07:00
2015-07-28 17:19:26 +02:00
2005-09-12 08:48:08 -07:00
2015-04-15 16:35:22 -07:00
2009-09-10 10:00:05 -07:00
2015-07-17 16:39:53 -07:00
2015-03-23 16:52:26 -04:00
2015-05-10 22:18:24 -04:00
2013-08-18 17:39:55 -07:00
2015-03-30 17:09:41 +09:00
2014-12-19 22:55:06 +01:00
2015-07-17 16:39:53 -07:00
2012-10-13 10:46:48 +01:00
2014-01-09 12:43:40 +01:00
2011-10-14 16:48:08 +02:00
2013-07-06 14:09:38 -07:00
2015-06-29 10:34:42 -07:00
2015-06-10 08:01:20 -06:00
2012-10-16 18:49:15 -07:00
2014-11-24 07:45:02 +01:00
2013-05-07 18:38:27 -07:00
2014-01-16 10:23:02 +10:30
2012-10-13 10:46:48 +01:00
2015-07-01 02:30:09 -04:00
2014-12-31 13:06:50 -05:00
2014-12-10 17:41:10 -08:00
2014-07-08 15:28:16 -07:00
2009-12-17 10:58:17 -05:00
2015-08-07 04:39:40 +03:00
2015-07-24 13:58:14 -04:00
2009-06-18 13:04:05 -07:00
2015-06-30 19:45:01 -07:00
2014-04-18 14:20:48 +02:00
2015-06-30 19:44:56 -07:00
2015-05-31 11:40:14 +09:00
2014-11-04 21:58:23 +01:00
2014-12-10 15:17:46 -05:00
2013-04-30 10:09:06 +02:00
2015-07-13 14:18:07 -07:00
2015-05-19 08:39:14 +02:00
2006-04-26 12:56:16 +01:00
2015-07-17 16:39:52 -07:00
2015-03-16 21:45:54 +11:00
2015-06-01 10:56:31 +09:00
2012-10-13 10:46:48 +01:00
2008-07-09 12:09:28 -04:00
2015-06-26 19:50:04 -07:00
2015-07-05 23:59:14 -04:00
2012-11-10 00:40:24 -08:00
2012-10-09 16:22:39 +09:00
2015-07-17 16:39:53 -07:00
2015-04-15 16:35:22 -07:00
2015-08-20 00:25:25 +02:00
2015-07-02 22:34:38 +02:00
2015-07-08 11:32:25 +02:00
2012-10-13 10:46:48 +01:00
2015-04-03 12:52:29 -04:00
2007-07-31 15:39:40 -07:00
2014-12-13 13:33:07 +01:00
2013-11-13 12:09:07 +09:00
2015-07-17 16:39:53 -07:00
2015-07-03 15:20:57 -07:00
2012-10-13 10:46:48 +01:00
2014-10-22 16:14:04 -06:00
2015-07-17 16:39:53 -07:00
2015-07-10 13:25:26 +02:00
2015-05-04 11:05:55 -07:00
2015-07-15 11:47:24 -04:00
2014-05-05 16:07:37 -07:00
2015-06-27 13:26:03 -07:00
2015-05-12 09:18:16 +05:30
2014-03-18 19:19:41 -04:00
2015-05-28 12:21:08 +02:00
2015-06-30 19:44:55 -07:00
2015-04-15 16:35:18 -07:00
2015-08-21 14:30:10 -07:00
2015-08-21 14:30:10 -07:00
2015-07-17 16:39:53 -07:00
2015-06-30 19:44:56 -07:00
2015-07-07 01:55:20 +02:00
2015-07-05 23:59:14 -04:00
2015-07-01 10:49:25 -07:00
2009-04-01 07:38:54 -04:00
2013-01-21 13:55:14 -05:00
2014-01-27 21:02:39 -08:00
2014-11-23 17:14:43 +01:00
2015-02-14 11:32:59 -08:00
2015-05-12 18:43:55 -04:00
2015-06-15 17:23:03 -07:00
2014-03-29 17:58:37 -04:00
2015-06-24 10:17:37 -04:00
2015-07-22 17:15:54 -04:00
2015-07-22 17:15:54 -04:00
2012-12-11 17:22:27 -08:00
2013-04-29 15:54:36 -07:00
2015-07-04 14:05:49 -04:00
2015-07-04 14:04:44 -04:00
2009-01-08 16:25:18 +11:00
2015-07-27 08:23:27 -05:00
2015-07-01 19:40:18 -07:00
2015-07-01 19:40:18 -07:00
2015-07-17 16:39:54 -07:00
2015-08-07 04:39:42 +03:00
2015-07-04 19:36:06 -07:00
2015-07-17 16:39:53 -07:00
2015-08-26 21:40:49 +10:00
2011-08-19 21:03:22 +04:00
2014-07-09 14:58:37 +01:00
2014-01-23 20:17:18 +00:00
2015-01-06 10:26:10 -05:00
2012-12-17 17:15:18 -08:00
2015-06-26 14:02:43 -07:00
2014-04-12 14:49:50 -07:00
2015-06-16 14:12:37 -04:00
2015-05-12 23:55:37 +02:00
2015-03-18 15:54:27 +01:00
2015-06-19 01:18:14 +02:00
2015-06-29 10:34:42 -07:00
2012-10-13 10:46:48 +01:00
2011-12-08 10:22:07 -08:00
2013-10-17 00:36:06 +02:00
2013-08-19 21:22:34 -07:00
2015-07-03 18:55:00 +02:00
2015-07-17 16:39:53 -07:00
2014-12-10 21:30:20 -05:00
2014-06-25 11:22:03 -07:00
2015-07-01 10:49:25 -07:00
2014-10-20 10:11:29 +02:00
2014-11-10 16:45:43 -05:00
2013-07-03 16:08:05 -07:00
2015-05-26 15:23:23 +02:00
2015-06-23 06:56:18 -07:00
2015-06-30 19:44:59 -07:00
2015-07-18 03:42:51 +02:00
2014-01-19 19:55:50 -08:00
2006-10-04 07:55:14 -07:00
2012-10-13 10:46:48 +01:00
2014-09-03 14:58:17 -07:00
2012-10-13 10:46:48 +01:00
2015-06-27 13:26:03 -07:00
2015-02-13 21:21:39 -08:00
2015-07-01 10:49:25 -07:00
2015-08-21 14:30:10 -07:00
2015-02-12 18:54:09 -08:00
2015-06-29 10:49:51 -07:00
2015-04-11 15:53:35 -04:00
2008-05-26 16:15:32 +02:00
2015-04-16 19:02:04 -04:00
2015-06-25 17:00:40 -07:00
2012-02-10 11:42:25 -08:00
2015-06-26 14:02:43 -07:00
2015-07-01 10:36:39 -05:00
2015-07-01 10:36:45 -05:00
2012-09-13 16:47:34 +02:00
2014-06-04 16:53:56 -07:00
2010-05-27 09:12:51 -07:00
2015-07-07 21:56:34 +02:00
2015-06-12 11:15:49 +02:00
2015-07-09 10:51:46 +02:00
2015-06-19 15:18:28 +02:00
2013-10-10 12:31:43 -07:00
2014-09-16 13:41:06 -07:00
2014-04-24 16:16:33 -07:00
2013-04-15 21:23:03 +01:00
2014-11-07 10:09:07 -08:00
2005-04-16 15:20:36 -07:00
2012-10-13 10:46:48 +01:00
2015-01-23 14:57:10 +10:30
2013-03-08 12:24:48 -05:00
2015-03-12 18:46:08 -07:00
2013-05-27 10:57:53 +09:00
2015-06-29 11:10:56 -07:00
2015-06-29 11:51:06 +02:00
2014-08-08 15:57:26 -07:00
2015-06-25 17:00:37 -07:00
2006-06-22 15:05:58 -07:00