qemu-ppc
[Top][All Lists]
Advanced

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

Re: [Qemu-ppc] Subject: [PATCH] target-ppc: Add global timer group A to


From: David Gibson
Subject: Re: [Qemu-ppc] Subject: [PATCH] target-ppc: Add global timer group A to open-pic.
Date: Wed, 3 May 2017 15:14:52 +1000
User-agent: Mutt/1.8.0 (2017-02-23)

On Tue, May 02, 2017 at 08:37:09PM -0500, address@hidden wrote:
> David Gibson <address@hidden> wrote on 04/25/2017 11:34:41 
> PM:
> 
> Thanks for the review David.  I'll send an updated patch soon with all
> your comments addressed and all other s/0/NULL or false/ as
> appropriate and a better commit message.
> 
> Just to clarify my concern; the patch causes the QEMU openpic timer to
> be hard coded at 100MHZ.  This is common, but the openpic spec has
> numerous ways the clock could be driven and the actual frequency
> depends on target board configuration.  Given that no other users are
> apparently using the QEMU openpic timer, it is probably ok, but I did
> want to point out the deficiency.

Ah, ok.  The usual way to handle this is to have the frequency as a
property on the device.  The board code which constructs the openPIC
value can then set it to the appropriate value.

Having an interim step where its hardcoded to 100 MHz is perfectly ok
though.

-- 
David Gibson                    | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au  | minimalist, thank you.  NOT _the_ _other_
                                | _way_ _around_!
http://www.ozlabs.org/~dgibson

Attachment: signature.asc
Description: PGP signature


reply via email to

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