ARMv7m CPU needs a link to NVIC instance for processing interrupts. Similarly ARMv8 needs a link to GICv3 for its CPU interface.
This series builds upon existing mechanism for linking irqchip and CPU, bringing the code up to date and making it reusable. Another small step towards complete GICv3 implementation. v1 => v2: - Set link to nvic after it has been initialized - Changed object type to "sys-bus-device" because GICv2 and GICv3 do not share common ancestors above that. Pavel Fedin (2): cpu_arm: Rename 'nvic' to 'irqchip' armv7m: Use irqchip property instead of direct assignment hw/arm/armv7m.c | 5 ++--- target-arm/cpu.c | 6 ++++++ target-arm/cpu.h | 5 ++++- target-arm/helper.c | 12 ++++++------ 4 files changed, 18 insertions(+), 10 deletions(-) -- 1.9.5.msysgit.0