[PATCH 01/10] MCDE: Add hardware abstraction layer

Arnd Bergmann arnd at arndb.de
Tue Nov 16 11:16:44 EST 2010


sent out too early...

On Tuesday 16 November 2010, Arnd Bergmann wrote:
> > > This looks a bit like you actually have multiple interrupt lines
> > > multiplexed
> > > through a private interrupt controller. Have you considered making this
> > > controller
> > > a separate device to multiplex the interrupt numbers?
> > 
> > MCDE contains several pipelines, each of them can generate interrupts.
> > Since each interrupt comes from the same device there is no need for
> > separate devices for interrupt controller.
> 
> Right, so this one and the one above is really a question of how to describe
> a pipeline:
 
It may be good to have a source file that only deals with the pipelines
and all that they have in common. If you use the same basic pipeline
logic for doing multiple different things, this can be used to structure
the code more logically. Not sure if this is worth trying, since it might
not actually gain all that much in the end

	Arnd



More information about the linux-arm-kernel mailing list