On Thu, Aug 9, 2012 at 5:53 PM, Lee Jones [off-list ref] wrote:
irq_find_host() currently ignores the 'interrupt-parent' property
even if it's specified in the Device Tree. Meaning that a node can
match to a domain in its hierarchy even if it doesn't belong to it.
By searching for the parent first using of_irq_find_parent() we
insist that the 'interrupt-parent' property is taken into account
ensuring a greater chance of returning the correct domain.
CC: Benjamin Herrenschmidt <benh@kernel.crashing.org>
CC: Grant Likely <redacted>
Signed-off-by: Lee Jones <redacted>
This (with 1/8) is the right solution. Thanks, and I think
Mark may want to look at this too since I recognize he asked
you to work in this direction.
Acked-by: Linus Walleij <redacted>
Yours,
Linus Walleij