Recent GIC v1 patch

Marc Zyngier marc.zyngier at arm.com
Thu Sep 17 10:49:50 PDT 2015


On 17/09/15 18:22, Mason wrote:
> On 17/09/2015 18:33, Marc Zyngier wrote:
>> Hi Mason,
>>
>> On 17/09/15 16:55, Mason wrote:
>>> Hello Thomas, Marc,
>>>
>>> Mans pointed me to a recent patch of yours.
>>> irqchip/gic: Use IRQD_FORWARDED_TO_VCPU flag
>>> Get rid of the handler_data abuse.
>>>
>>> I'm using a Cortex A9 based SoC. The platform's interrupt
>>> controller is cascaded into the GIC. I've been trying to
>>> get this to work for two weeks with no success.
>>>
>>> Details can be found here:
>>> http://thread.gmane.org/gmane.linux.ports.arm.kernel/440327
>>>
>>> Do you think your patch my help with my situation?
>>
>> Not sure. A GICv1 shouldn't use EOImode==1 at all, so I don't quite see
>> how you end-up there. Also, you seem to be using 4.2, and this code only
>> landed during the 4.3 merge window.
> 
> Sorry for being unclear. I'm having problems /without/ the patch,
> and Mans suggested I try the patch.

But that patch will only apply if you run 4.3, because it fixes an issue
in another patch that only exists in 4.3.

>>> Do you have any idea what might causing the problem?
>>
>> Not without more information, I'm afraid.
> 
> Being the unimaginative type, I provided boot log, .config,
> full port source code, and device tree description. Can you
> explain what kind of information would be required to identify
> the problem? (Maybe that would help me diagnose the problem.)

It looks likely that when you enable your ethernet interface, this ends
up calling into the GIC for some reason, screwing up something.

Can you trace things happening in the GIC for hwirq 34?

Thanks,

	M.
-- 
Jazz is not dead. It just smells funny...



More information about the linux-arm-kernel mailing list