qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* Re: [Qemu-devel] sparc32 counter/timer issues
@ 2007-09-21 23:10 Robert Reif
  2007-09-23 12:08 ` Blue Swirl
  0 siblings, 1 reply; 4+ messages in thread
From: Robert Reif @ 2007-09-21 23:10 UTC (permalink / raw)
  To: qemu-devel; +Cc: blauwirbel

With the patch and ss10 boot prom I get:

TIMER: write 0000000ff130000c 00000000
TIMER: write 0000000ff1310010 00000001
TIMER: write 0000000ff1300000 00000000
TIMER: write 0000000ff1300004 00000000
TIMER: write 0000000ff130000c 00000001
TIMER: write 0000000ff1300000 00000000
TIMER: write 0000000ff1300004 00000000
TIMER: get_out: limit 7ffffe00 count 000000000
TIMER: read 0000000ff1300000 = 00000000

with the last two lines repeating forever.

^ permalink raw reply	[flat|nested] 4+ messages in thread
* [Qemu-devel] sparc32 counter/timer issues
@ 2007-09-21 14:22 Robert Reif
  2007-09-21 20:19 ` Blue Swirl
  0 siblings, 1 reply; 4+ messages in thread
From: Robert Reif @ 2007-09-21 14:22 UTC (permalink / raw)
  To: qemu-devel

I'm trying to run a real ss10 openboot prom image rather than
the supplied prom image and found some issues with the way
counters and timers are implemented.  It appears that the processor
and system counter/timers are not independent.  The system
config register actually configures the processor counter/timers
and the config register is actually a bit mask of the counter/timer
to configure. 1, 2, 4, and 8 are used to as config values for each
processor counter/timer and 0xf is used for setting all of them. 
This isn't apparent in the slaveio documentation because it is
for a single cpu only.

Because the system config register configures the processor
timers, it needs access to all the processor timers (or the
processor timers need access to the system timer).  This isn't
how it's currently implemented.

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

end of thread, other threads:[~2007-09-23 12:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-21 23:10 [Qemu-devel] sparc32 counter/timer issues Robert Reif
2007-09-23 12:08 ` Blue Swirl
  -- strict thread matches above, loose matches on Subject: below --
2007-09-21 14:22 Robert Reif
2007-09-21 20:19 ` Blue Swirl

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).