qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Expose GT CNTFRQ as a CPU property to support AST2600
@ 2019-11-28  5:45 Andrew Jeffery
  2019-11-28  5:45 ` [PATCH 1/4] target/arm: Remove redundant scaling of nexttick Andrew Jeffery
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Andrew Jeffery @ 2019-11-28  5:45 UTC (permalink / raw)
  To: qemu-arm; +Cc: qemu-devel, peter.maydell, clg, joel

Hello,

This is a belated follow-up from a few of my earlier attempts to fix up the
ARM generic timer for correct behaviour on the ASPEED AST2600 SoC. The AST2600
clocks the generic timer at the rate of HPLL, which is configured to 1125MHz.
This is significantly quicker than the currently hard-coded generic timer rate
of 62.5MHz and so we see "sticky" behaviour in the guest.

Please review.

Andrew

Andrew Jeffery (4):
  target/arm: Remove redundant scaling of nexttick
  target/arm: Abstract the generic timer frequency
  target/arm: Prepare generic timer for per-platform CNTFRQ
  ast2600: Configure CNTFRQ at 1125MHz

 hw/arm/aspeed_ast2600.c |  3 +++
 target/arm/cpu.c        | 41 +++++++++++++++++++++++++++++++++--------
 target/arm/cpu.h        | 28 ++++++++++++++++++++++++++++
 target/arm/helper.c     | 24 ++++++++++++++++++------
 4 files changed, 82 insertions(+), 14 deletions(-)

-- 
2.20.1



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2019-12-02 23:49 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-28  5:45 [PATCH 0/4] Expose GT CNTFRQ as a CPU property to support AST2600 Andrew Jeffery
2019-11-28  5:45 ` [PATCH 1/4] target/arm: Remove redundant scaling of nexttick Andrew Jeffery
2019-11-28  8:47   ` Cédric Le Goater
2019-11-28  5:45 ` [PATCH 2/4] target/arm: Abstract the generic timer frequency Andrew Jeffery
2019-11-28  8:46   ` Cédric Le Goater
2019-11-28 22:29     ` Andrew Jeffery
2019-12-02 18:12   ` Peter Maydell
2019-12-02 23:48     ` Andrew Jeffery
2019-11-28  5:45 ` [PATCH 3/4] target/arm: Prepare generic timer for per-platform CNTFRQ Andrew Jeffery
2019-11-28  5:45 ` [PATCH 4/4] ast2600: Configure CNTFRQ at 1125MHz Andrew Jeffery
2019-11-28  8:47   ` Cédric Le Goater
2019-12-02 18:09 ` [PATCH 0/4] Expose GT CNTFRQ as a CPU property to support AST2600 Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).