qemu icon indicating copy to clipboard operation
qemu copied to clipboard

segfault in xlinx_intc_fdt_auto_parent

Open w1cmc opened this issue 5 years ago • 0 comments

If the interrupt controller is "realized" before the cpu, then DEVICE(first_cpu) returns NULL and we abort when we dereference it.

Not sure if some devicetree trickery can ensure that cpus are realized before interrupt controllers, but an example dts that exhibits the issue is at

https://forums.xilinx.com/xlnx/board/message?board.id=ELINUX&message.id=39127#M39127

w1cmc avatar Jan 01 '20 18:01 w1cmc