[patch 2/4] [ARM] mmp: support marvell ARMADA610

Haojian Zhuang haojian.zhuang at gmail.com
Sun Jan 3 22:29:26 EST 2010


>>> It really hurt performance a lot. While the difference between MMP series
>>> is just the offset of the IRQ_NUM register, it could be calculated in
>>> get_irqnr_preamble, which doesn't have to be executed each time
>>> in the IRQ handling loop. See arch/arm/kernel/entry-armv.S
>>
>> get_irqnr_preamble can only carries one base parameter and one tmp
>> parameter. base parameter is already used for interrupt control
>> register. Only one tmp parameter is left for use. If we want to check
>> chip id, one parameter is not enought.
>>
>
> I'm a bit confused, but those are just registers that the macro is able to use,
> not something as parameters??
>

I could totaly use two parameters / registers. One is already used for
irq controller. Loading the value from irq controller register needs
one register. Storing camparison needs another register. At least, I
need two registers except irq controller register. But there's no
enough parameter / register in get_irqnr_preamble.

Thanks
Haojian



More information about the linux-arm-kernel mailing list