qemu-ppc
[Top][All Lists]
Advanced

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

Re: [Qemu-ppc] [RFC PATCH v2 18/21] ppc/xive: add device tree support


From: Cédric Le Goater
Subject: Re: [Qemu-ppc] [RFC PATCH v2 18/21] ppc/xive: add device tree support
Date: Thu, 28 Sep 2017 10:51:32 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

On 09/28/2017 10:43 AM, Benjamin Herrenschmidt wrote:
> On Thu, 2017-09-21 at 13:21 +0200, Cédric Le Goater wrote:
>> Let me be more precise. I am saying that the interrupt-controller 
>> and #interrupt-cells properties are not needed under the main interrupt 
>> controller node. They can be removed from the tree and the Linux guest 
>> kernel will boot perfectly well.
> 
> No they are needed. They are the parents of PCI interrupts for example.
> There's something fishy here.

probably, I just removed the properties under QEMU and could 
boot the guest, with disks and network.

 
> Do you have a DT snapshot from pHyp for me to look at ?


# lsprop /proc/device-tree/address@hidden/
compatible       "ibm,power-ivpe"
device_type      "power-ivpe"
ibm,xive-eq-sizes
                 00000007 00000009 0000000c 0000000e
                 00000010 00000012 00000015 00000016
                 00000018
reg              00000002 00010000 00000000 00010000
                 00000002 00000000 00000000 00010000
linux,phandle    00dce438 (14476344)
ibm,xive-lisn-ranges
                 00094000 00000030
name             "interrupt-controller"


Cheers,

C. 

> 
>> These properties still are needed under the sub nodes like :
>>
>> /proc/device-tree/vdevice/interrupt-controller
>> /proc/device-tree/event-sources/interrupt-controller




reply via email to

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