Re: m68k: [v3] Convert to genirq (WIP)

From: Geert Uytterhoeven
Date: Sat Aug 13 2011 - 16:09:17 EST


On Sat, Aug 13, 2011 at 20:50, Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote:
> I rebased and updated my m68k-genirq branch at
>
> git://git.kernel.org:/pub/scm/linux/kernel/git/geert/linux-m68k.git m68k-genirq
> http://git.kernel.org/?p=linux/kernel/git/geert/linux-m68k.git;a=shortlog;h=refs/heads/m68k-genirq
>
> [PATCH 01/16] ide-{cd,floppy,tape}, keyboard: Do not include <linux/irq.>
> [PATCH 02/16] m68k/irq: Rename irq_controller to irq_chip
> [PATCH 03/16] m68k/irq: Kill irq_node_t typedef, always use struct irq_node
> [PATCH 04/16] m68k/irq: Rename irq_node to irq_data
> [PATCH 05/16] m68k/irq: Switch irq_chip methods to "struct irq_data *data"
> [PATCH 06/16] m68k/irq: Rename setup_irq() to m68k_setup_irq() and
> make it static
> [PATCH 07/16] m68k/irq: Extract irq_set_chip()
> [PATCH 08/16] m68k/irq: Add m68k_setup_irq_controller()
> [PATCH 09/16] m68k/irq: Rename {,__}m68k_handle_int()
> [PATCH 10/16] m68k/irq: Remove obsolete IRQ_FLG_* definitions and users
> [PATCH 11/16] m68k/irq: Add genirq support
> [PATCH 12/16] m68k/atari: Convert Atari to genirq
> [PATCH 13/16] m68k/amiga: Refactor amiints.c
> [PATCH 14/16] m68k/amiga: Convert Amiga to genirq
> [PATCH 15/16] m68k/amiga: Optimize interrupts using chain handlers
> [PATCH 16/16] m68k/mac: Convert Mac to genirq
>
> Changes:
> Â- Some more refactoring to ease the conversion,
> Â- (now trivial) Conversion of Mac, which is still untested.

> Remaining platforms to convert:
> - HP300: Just autovectored interrupts, should be trivial to convert
> - VME: vectored user interrupts, should be trivial to convert

As HP300 and VME turned out to be really easy (but untested due to lack of
hardware), I added two more commits:

[PATCH 17/18] m68k/hp300: Convert HP9000/300 and HP9000/400 to genirq
[PATCH 18/18] m68k/vme: Convert VME to genirq

> Remaining platforms to convert:
> Â- Apollo: ISA interrupts, mapped to vectored user interrupts
> Â- Q40: weirdest of all m68k platforms?
> Â- Sun3/3x: autovector and vectored user interrupts, overriding of standard
> Â Â Â Â Â Â interrupt handlers

These all pass non-NULL handlers to m68k_setup_{auto,user}_interrupt().

Gr{oetje,eeting}s,

            Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
             Â Â -- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/