GIC - interrupts interpretation in DTS/FDT

Mihai Carabas mihai.carabas at gmail.com
Fri Aug 28 08:41:00 UTC 2015


On Fri, Aug 28, 2015 at 11:35 AM, Zbigniew Bodek <zbodek at gmail.com> wrote:

> Hello Mihai,
>
> This documents may be helpful:
>
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/arm/gic.txt
>
> The meaning of each interrupt cell (for ARM GIC) is described there.
>
> Thank you for pointing me out that document.

The problem I was asking was specific to the FreeBSD gic code:
"""
165 >------->------- * The hardware only supports active-high-level or
rising-edge.
166 >------->------- */
167 >------->-------if (fdt32_to_cpu(intr[2]) & 0x0a) {
168 >------->------->-------printf("unsupported trigger/polarity
configuration "
169 >------->------->-------    "0x%2x\n", fdt32_to_cpu(intr[2]) & 0x0f);
170 >------->------->-------return (ENOTSUP);
171 >------->-------}
 """

It is verified the not supported bits in both cases (PPIs and SPIs) and I
didn't understand why. Probably a bug.

Thank you,
Mihai


More information about the freebsd-arm mailing list