[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v4 3/4] target-arm: Extend the gic node properti

From: Christoffer Dall
Subject: Re: [Qemu-devel] [PATCH v4 3/4] target-arm: Extend the gic node properties
Date: Thu, 9 Jul 2015 20:54:09 +0200

On Thu, Jul 9, 2015 at 6:28 PM, Peter Maydell <address@hidden> wrote:
> On 9 July 2015 at 17:03, Christoffer Dall <address@hidden> wrote:
>> [whoops, re-adding qemu-devel]
>> On Thu, Jul 9, 2015 at 5:07 PM, Alexander Graf <address@hidden> wrote:
>>> On 07/09/15 16:44, Christoffer Dall wrote:
>>>> I'll be honest and say that I don't fully understand the details of the
>>>> interrupt-map specification, and I cannot seem to find it online either
>>>> (the working link I had before gives me a 404 these days).
> Try http://www.firmware.org/1275/practice/imap/imap0_9d.pdf

that's the one, thanks for the working url.

>> It explains it conceptually, yes, but it's hardly a spec.  At least I
>> can't understand from that page why the entries in the map have to be
>> changed based on size-cells and address-cells in the interrupt
>> controller...
> The interrupt map entries are:
>  * child unit interrupt specifier [4 cells for PCI, determined
>    by #address-cells + #interrupt-cells for the PCI controller node]
>  * interrupt parent phandle
>  * parent unit interrupt specifier [number of cells determined
>    by #address-cells + #interrupt-cells for the interrupt controller]
> So the extra two zeroes aren't part of the phandle, they're
> the result of the parent unit-interrupt-specifier now being
> 5 cells because of #address-cells being defined in the GIC node.

Thanks for clearing this up!

I owe you a cup of your favorite poison then:)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]