[PATCH] ARM: arch_timer: Don't expect both secure and nonsecure PPI IRQ info

Marc Zyngier marc.zyngier at arm.com
Fri Jan 18 08:13:44 EST 2013


On 18/01/13 12:23, Rajendra Nayak wrote:

Hi Rajendra,

> The current logic expects platforms to pass information about *both*
> secure and nonsecure PPI IRQ. Make arch_timer work even when either one
> of those are provided instead.

I'm afraid this patch doesn't really solve the problem. The DT binding
cannot express having only the virtual interrupt, or only the non-secure
physical interrupt. This patch only works in the case where you only
have the secure physical interrupt.

I think the real fix should be to make all the interrupts mandatory in
the DT (they do exist in the HW), and make the code less tolerant of
broken DTs.

Cheers,

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




More information about the linux-arm-kernel mailing list