ARM/Kernel: Problems with multiple VIC registration
Linus Walleij
linus.walleij at linaro.org
Wed Feb 6 04:15:45 EST 2013
On Wed, Feb 6, 2013 at 4:52 AM, Amit Virdi <amit.virdi at st.com> wrote:
> On 2/5/2013 9:57 PM, Linus Walleij wrote:
>>
>> On Tue, Feb 5, 2013 at 10:48 AM, Amit Virdi<amit.virdi at st.com> wrote:
>>
>>> The first controller is registered throu' irq_domain_add_linear API. As a
>>> result of this call, a new domain is allocated to the VIC device.
>>
>>
>> This is a bug. Do you have this patch in your tree:
>> http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=7611/1
>
> Yes, I have this patch (from rc2) and still the bug!
You have to post your code for your SoC board support for us to help
out.
There are several things you can do wrong. For example a common mistake
is to offset the IRQs on a new platform from zero. So that the first
parameter to vic_init() is zero. This is not legal because Linux IRQ 0
is NO_IRQ and shall not be used. If this is your problems, IRQs shall
offset from something like 64 so you can even use SPARSE_IRQ.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list