John Baldwin
1ee1b68792
Add a MI intr_event_handle() routine for the non-INTR_FILTER case. This
...
allows all the INTR_FILTER #ifdef's to be removed from the MD interrupt
code.
- Rename the intr_event 'eoi', 'disable', and 'enable' hooks to
'post_filter', 'pre_ithread', and 'post_ithread' to be less x86-centric.
Also, add a comment describe what the MI code expects them to do.
- On amd64, i386, and powerpc this is effectively a NOP.
- On arm, don't bother masking the interrupt unless the ithread is
scheduled in the non-INTR_FILTER case to match what INTR_FILTER did.
Also, don't bother unmasking the interrupt in the post_filter case if
we never masked it. The INTR_FILTER case had been doing this by having
arm_unmask_irq for the post_filter (formerly 'eoi') hook.
- On ia64, stray interrupts are now masked for the non-INTR_FILTER case.
They were already masked in the INTR_FILTER case.
- On sparc64, use the a NULL pre_ithread hook and use intr_enable_eoi() for
both the 'post_filter' and 'post_ithread' hooks to match what the
non-INTR_FILTER code did.
- On sun4v, retire the ithread wrapper hack by using an appropriate
'post_ithread' hook instead (it's what 'post_ithread'/'enable' was
designed to do even in 5.x).
Glanced at by: piso
Reviewed by: marius
Requested by: marius [1], [5]
Tested on: amd64, i386, arm, sparc64
2008-04-05 19:58:30 +00:00
..
2008-03-20 21:24:32 +00:00
2008-01-18 17:02:14 +00:00
2008-01-13 14:44:15 +00:00
2008-03-12 10:12:01 +00:00
2008-01-13 14:44:15 +00:00
2008-03-16 10:58:09 +00:00
2008-03-31 12:12:27 +00:00
2008-01-13 14:44:15 +00:00
2008-03-16 10:58:09 +00:00
2008-04-02 11:20:30 +00:00
2008-03-12 06:31:06 +00:00
2008-04-02 11:11:58 +00:00
2007-03-05 13:10:58 +00:00
2008-01-16 01:05:21 +00:00
2008-04-04 01:22:04 +00:00
2008-03-26 15:23:12 +00:00
2007-10-24 19:04:04 +00:00
2008-04-02 11:21:42 +00:00
2008-03-31 12:05:52 +00:00
2008-03-22 16:32:52 +00:00
2008-03-20 15:24:49 +00:00
2008-03-16 10:58:09 +00:00
2008-04-05 19:58:30 +00:00
2008-03-31 12:01:21 +00:00
2008-03-19 06:19:01 +00:00
2006-09-09 16:09:01 +00:00
2008-02-23 01:01:49 +00:00
2008-03-16 10:58:09 +00:00
2008-03-01 19:47:50 +00:00
2008-04-01 16:07:01 +00:00
2008-03-16 10:58:09 +00:00
2008-04-04 18:41:12 +00:00
2008-02-17 16:44:48 +00:00
2008-03-16 10:58:09 +00:00
2007-05-27 20:50:23 +00:00
2008-02-13 23:39:05 +00:00
2008-03-16 10:58:09 +00:00
2007-12-07 08:20:17 +00:00
2008-03-16 10:58:09 +00:00
2008-03-07 15:27:08 +00:00
2008-03-19 06:19:01 +00:00
2007-10-24 19:04:04 +00:00
2008-03-19 07:52:07 +00:00
2007-11-18 14:43:53 +00:00
2008-04-04 10:00:46 +00:00
2008-03-16 10:58:09 +00:00
2008-03-21 08:23:25 +00:00
2007-06-05 00:00:57 +00:00
2008-03-20 05:51:16 +00:00
2008-03-12 06:31:06 +00:00
2008-03-16 18:59:21 +00:00
2006-08-01 16:32:20 +00:00
2007-11-30 21:29:08 +00:00
2008-03-16 10:58:09 +00:00
2008-03-23 02:03:06 +00:00
2008-03-21 08:23:25 +00:00
2008-01-18 13:00:28 +00:00
2008-04-02 11:20:30 +00:00
2008-04-03 11:49:20 +00:00
2007-04-23 12:53:00 +00:00
2007-03-05 13:10:58 +00:00
2007-06-05 00:00:57 +00:00
2008-03-15 17:40:18 +00:00
2008-03-15 17:40:18 +00:00
2007-11-18 00:23:31 +00:00
2007-07-05 08:55:14 +00:00
2007-12-14 21:30:51 +00:00
2008-03-27 01:53:44 +00:00
2008-03-12 10:12:01 +00:00
2006-11-12 03:34:03 +00:00
2008-03-20 05:51:16 +00:00
2008-04-04 01:16:18 +00:00
2007-06-12 00:12:01 +00:00
2008-03-16 10:58:09 +00:00
2008-03-20 21:24:32 +00:00
2008-03-16 10:58:09 +00:00
2007-07-23 09:42:32 +00:00
2006-10-31 21:11:21 +00:00
2008-03-16 10:58:09 +00:00
2006-10-24 10:27:23 +00:00
2007-02-15 17:21:31 +00:00
2006-07-09 21:42:58 +00:00
2007-12-25 17:52:02 +00:00
2008-02-06 00:04:09 +00:00
2008-03-16 10:58:09 +00:00
2007-05-27 17:38:36 +00:00
2008-03-25 09:39:02 +00:00
2007-10-16 10:40:53 +00:00
2007-11-14 06:21:24 +00:00
2007-03-08 06:44:34 +00:00
2008-03-16 10:58:09 +00:00
2007-04-28 07:37:49 +00:00
2006-10-02 18:23:37 +00:00
2008-04-02 11:21:42 +00:00
2008-03-16 10:58:09 +00:00
2007-12-03 14:44:35 +00:00
2008-03-25 22:38:45 +00:00
2008-03-21 08:23:25 +00:00
2008-02-07 06:55:38 +00:00
2007-07-04 06:56:58 +00:00
2008-03-17 11:48:40 +00:00
2008-03-19 07:33:16 +00:00
2008-01-07 20:05:19 +00:00
2008-03-19 06:19:01 +00:00
2008-01-07 20:05:19 +00:00
2008-03-31 12:12:27 +00:00
2008-03-31 12:06:55 +00:00
2008-03-31 12:12:27 +00:00
2007-06-12 00:12:01 +00:00
2007-10-24 19:04:04 +00:00
2007-10-24 19:04:04 +00:00
2008-02-12 20:55:03 +00:00
2008-03-26 20:09:21 +00:00
2008-03-16 10:58:09 +00:00
2008-03-16 10:58:09 +00:00
2008-03-16 10:58:09 +00:00
2008-03-16 10:58:09 +00:00
2008-03-19 06:19:01 +00:00
2008-02-01 19:36:27 +00:00
2008-01-03 15:19:31 +00:00
2008-03-16 10:58:09 +00:00
2007-10-24 19:04:04 +00:00
2008-03-25 09:39:02 +00:00
2008-03-29 23:30:40 +00:00
2008-01-07 22:03:19 +00:00
2008-02-07 05:55:16 +00:00
2008-02-04 12:25:13 +00:00
2008-03-25 09:39:02 +00:00
2008-03-25 09:39:02 +00:00
2008-01-18 19:16:03 +00:00
2008-03-31 12:01:21 +00:00
2008-02-01 11:59:14 +00:00
2008-03-28 12:30:12 +00:00
2008-03-31 11:53:03 +00:00
2008-03-22 09:15:16 +00:00
2008-03-22 09:15:16 +00:00
2007-02-15 22:08:35 +00:00
2008-03-31 12:01:21 +00:00
2008-03-16 10:58:09 +00:00
2007-02-16 17:32:41 +00:00
2008-03-31 12:01:21 +00:00
2008-03-31 12:01:21 +00:00
2008-04-02 10:40:03 +00:00
2008-03-31 12:04:20 +00:00
2008-03-31 11:57:18 +00:00
2008-03-26 15:23:12 +00:00