Matthew Wilcox
f2440d9acb
PCI MSI: Refactor interrupt masking code
...
Since most of the callers already know whether they have an MSI or
an MSI-X capability, split msi_set_mask_bits() into msi_mask_irq()
and msix_mask_irq(). The only callers which don't (mask_msi_irq()
and unmask_msi_irq()) can share code in msi_set_mask_bit(). This then
becomes the only caller of msix_flush_writes(), so we can inline it.
The flushing read can be to any address that belongs to the device,
so we can eliminate the calculation too.
We can also get rid of maskbits_mask from struct msi_desc and simply
recalculate it on the rare occasion that we need it. The single-bit
'masked' element is replaced by a copy of the 32-bit 'masked' register,
so this patch does not affect the size of msi_desc.
Signed-off-by: Matthew Wilcox <willy@linux.intel.com >
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org >
2009-03-20 10:48:13 -07:00
..
2009-01-30 19:50:25 +05:30
2009-01-30 19:59:53 +05:30
2009-03-10 20:33:19 -04:00
2009-02-18 15:29:23 +01:00
2009-01-30 23:30:42 +05:30
2009-01-30 23:32:45 +05:30
2009-02-20 17:57:49 -08:00
2009-01-30 23:34:34 +05:30
2009-01-30 23:36:36 +05:30
2009-01-30 23:37:37 +05:30
2009-03-19 19:29:33 -07:00
2009-01-30 23:38:03 +05:30
2009-02-08 09:56:11 -08:00
2009-03-05 17:20:55 +01:00
2009-01-30 23:38:37 +05:30
2009-01-30 23:39:08 +05:30
2009-01-30 23:39:42 +05:30
2009-01-30 23:40:06 +05:30
2009-03-14 21:06:51 +01:00
2009-02-26 10:45:48 +01:00
2009-02-18 10:32:00 +01:00
2009-03-17 14:55:55 -04:00
2009-01-30 23:44:08 +05:30
2009-02-11 14:25:36 -08:00
2009-01-30 23:44:41 +05:30
2009-01-30 22:35:29 +01:00
2009-03-12 21:33:03 +00:00
2009-03-09 15:07:33 -04:00
2009-02-05 16:48:53 +11:00
2009-03-01 00:19:35 -08:00
2009-02-21 14:17:17 -08:00
2009-01-30 23:45:32 +05:30
2009-03-08 10:23:05 -07:00
2009-01-28 07:50:14 -08:00
2009-01-30 23:46:03 +05:30
2009-01-30 23:46:40 +05:30
2009-01-30 23:47:07 +05:30
2009-01-30 23:47:59 +05:30
2009-01-30 23:48:33 +05:30
2009-01-30 23:49:07 +05:30
2009-02-05 12:56:46 -08:00
2009-02-18 15:37:56 -08:00
2009-02-18 18:33:04 -08:00
2009-01-30 23:49:39 +05:30
2009-01-30 23:50:12 +05:30
2009-03-05 16:10:59 +01:00
2009-01-30 23:50:37 +05:30
2009-01-30 23:51:17 +05:30
2009-02-10 14:56:59 -08:00
2009-02-24 19:19:49 +01:00
2009-02-24 19:19:49 +01:00
2009-01-30 23:51:41 +05:30
2009-03-13 21:16:13 +01:00
2009-01-30 23:52:16 +05:30
2009-01-30 23:52:41 +05:30
2009-01-30 23:53:12 +05:30
2009-01-30 23:53:40 +05:30
2009-01-30 23:54:53 +05:30
2009-01-30 23:55:45 +05:30
2009-01-30 23:56:13 +05:30
2009-01-30 23:56:48 +05:30
2009-02-02 13:27:44 -08:00
2009-02-18 23:31:11 -08:00
2009-01-30 23:57:16 +05:30
2009-01-30 23:57:43 +05:30
2009-02-05 13:04:33 +01:00
2009-02-09 11:03:17 +00:00
2009-03-02 09:43:32 +01:00
2009-01-30 23:58:12 +05:30
2009-01-30 23:59:12 +05:30
2009-01-30 23:58:41 +05:30
2009-01-30 23:59:44 +05:30
2009-01-31 00:00:06 +05:30
2009-02-10 11:15:34 -05:00
2009-03-01 00:19:36 -08:00
2009-02-05 12:56:46 -08:00
2009-01-29 18:04:43 -08:00
2009-02-15 02:47:36 +02:00
2009-02-15 02:47:35 +02:00
2009-03-05 07:25:02 -05:00
2009-01-31 00:00:35 +05:30
2009-03-12 14:35:44 +10:30
2009-02-18 15:37:55 -08:00
2009-02-18 15:37:55 -08:00
2009-01-27 16:06:21 -08:00
2009-02-07 08:33:01 -08:00
2009-01-31 00:01:11 +05:30
2009-03-20 10:48:13 -07:00
2009-01-31 00:01:42 +05:30
2009-03-04 23:46:25 -08:00
2009-01-31 00:02:27 +05:30
2009-03-10 20:33:18 -04:00
2009-03-10 20:33:18 -04:00
2009-01-31 00:15:24 +05:30
2009-02-20 17:57:50 -08:00
2009-03-20 10:48:08 -07:00
2009-03-20 10:47:57 -07:00
2009-03-19 19:29:35 -07:00
2009-03-20 10:47:49 -07:00
2009-01-31 00:02:54 +05:30
2009-01-31 00:03:40 +05:30
2009-02-10 17:18:17 -08:00
2009-02-22 10:33:44 -08:00
2009-01-31 00:05:30 +05:30
2009-01-31 00:05:59 +05:30
2009-02-26 04:08:14 +01:00
2009-02-26 04:08:14 +01:00
2009-02-26 04:08:14 +01:00
2009-02-26 04:08:14 +01:00
2009-01-31 00:15:57 +05:30
2009-03-12 14:35:44 +10:30
2009-02-18 15:37:53 -08:00
2009-02-20 17:57:50 -08:00
2009-03-07 18:41:38 -08:00
2009-01-31 00:06:33 +05:30
2009-02-17 21:24:05 -08:00
2009-01-27 23:48:59 +02:00
2009-02-20 17:57:48 -08:00
2009-01-31 00:07:00 +05:30
2009-02-10 00:02:54 +01:00
2009-02-09 08:15:39 -08:00
2009-01-31 00:07:31 +05:30
2009-02-11 14:25:36 -08:00
2009-01-31 00:08:18 +05:30
2009-02-18 15:37:53 -08:00
2009-01-27 16:15:36 -08:00
2009-02-27 16:26:21 -08:00
2009-01-31 00:09:13 +05:30
2009-01-31 00:10:11 +05:30
2009-01-31 00:10:59 +05:30
2009-01-31 00:11:25 +05:30
2009-01-31 00:12:44 +05:30
2009-01-31 00:13:08 +05:30
2009-02-18 15:37:53 -08:00
2009-02-05 12:56:48 -08:00