[Top][All Lists]

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

Re: [Qemu-devel] [Qemu-arm] [PATCH] hw/arm/bcm2836: Wire up CPU timer in

From: Peter Maydell
Subject: Re: [Qemu-devel] [Qemu-arm] [PATCH] hw/arm/bcm2836: Wire up CPU timer interrupts correctly
Date: Thu, 17 Mar 2016 13:46:18 +0000

On 17 March 2016 at 13:37, Thomas Hanson <address@hidden> wrote:
> On Mar 17, 2016 4:33 AM, "Peter Maydell" <address@hidden> wrote:
>> Wire up the CPU timer interrupts in the right order, with the
>> nonsecure physical timer on cntpnsirq, the hyp timer on cnthpirq,
>> and the secure physical timer on cntpsirq. (We did get the
>> virt timer right, at least.)

> What drives the order?

This is modelling the hardware:

The interrupt controller has 4 lines named CNTPSIRQ, CNTPNSIRQ, etc,
and we need to hook the lines from the CPU up to the interrupt
controller appropriately. The names we ended up with in QEMU's
CPU model (GTIMER_PHYS, etc) don't match the signal names that
a hardware A7 uses, which is slightly irritating, but not a big deal.

The A7 TRM lists which timer is which signal:
(though you can pretty much guess from the signal names).

-- PMM

reply via email to

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