Files
ubports_kernel_google_msm/include/linux
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-01-30 23:30:42 +05:30
2009-01-30 23:32:45 +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-01-30 23:38:37 +05:30
2009-01-30 23:39:42 +05:30
2009-01-30 23:40:06 +05:30
2009-01-30 23:44:08 +05:30
2009-02-05 16:48:53 +11:00
2009-03-01 00:19:35 -08: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:48:33 +05:30
2009-01-30 23:49:07 +05:30
2009-02-18 15:37:56 -08:00
2009-01-30 23:50:37 +05:30
2009-01-30 23:51:17 +05:30
2009-01-30 23:51:41 +05:30
2009-01-30 23:52:16 +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-01-30 23:57:16 +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-03-01 00:19:36 -08:00
2009-03-05 07:25:02 -05:00
2009-01-31 00:00:35 +05:30
2009-02-18 15:37:55 -08:00
2009-01-31 00:01:11 +05:30
2009-03-20 10:48:13 -07:00
2009-03-04 23:46:25 -08:00
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-03-19 19:29:35 -07:00
2009-01-31 00:02:54 +05:30
2009-01-31 00:03:40 +05:30
2009-01-31 00:05:30 +05:30
2009-01-31 00:05:59 +05:30
2009-02-18 15:37:53 -08:00
2009-01-31 00:06:33 +05:30
2009-02-20 17:57:48 -08:00
2009-01-31 00:07:00 +05:30
2009-01-31 00:07:31 +05:30
2009-02-11 14:25:36 -08:00
2009-02-18 15:37:53 -08:00
2009-01-31 00:10:59 +05:30
2009-02-18 15:37:53 -08:00