From: Robert Reif <reif@earthlink.net>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] hw/sun4m.c fix power addresses
Date: Sat, 26 Jan 2008 08:01:26 -0500 [thread overview]
Message-ID: <479B2F26.2060600@earthlink.net> (raw)
In-Reply-To: <f43fc5580801252359m4771eefw2da5a1be9f34b22f@mail.gmail.com>
Blue Swirl wrote:
>On 1/25/08, Robert Reif <reif@earthlink.net> wrote:
>
>
>>Blue Swirl wrote:
>>
>>
>>
>>>On 1/24/08, Robert Reif <reif@earthlink.net> wrote:
>>>
>>>
>>>
>>>
>>>>diff -p -u -r1.81 sun4m.c
>>>>
>>>>
>>>>
>>>>
>>>This breaks my tests, so I guess a fix is also needed for OpenBIOS.
>>>
>>>
>>>
>>>
>>Probably, they were tested using ss5/170 and ss10 openboot images.
>>
>>
>
>I just noticed that we have confused the devices that OBP calls
>'power' and 'power-management'. Power or Aux 2 or Software Powerdown
>Control can be used to reset or power down the system. OBP trees
>confirm that it is located at 0x71910000 on SS-5 and 0xff1a01000 on
>SS-10/20. It does not exist on SS-600.
>
>Power-management a.k.a. APC is used to halt the CPU when idle. It is
>located at 0x6a000000 on SS-5. It does not exist on SS-x0 or SS-600.
>
>So, Aux2 on SS-10/20 and APC on SS-5 should move to the correct locations.
>
>Now, what to do with the rest? These are motherboard devices, they
>cannot be added to or removed from real life hardware. Leaving the
>devices out to improve historical accuracy would mean that the system
>can't be reset or powered down on SS-600, and on SS-10/20/600 Qemu
>will consume 100% of host CPU even when the target is idling. This
>would not be an improvement in usability for sure.
>
>
I have a patch waiting to fix the power/aux2 and also aux1. It adds a
seperate address for auxio.
power and AUX2 are the same devices on ss5,10 and 20 but at different
addresse/offsets. 600mp doesn't have it.
auxio is AUX1 and are the sort of the same devices on an ss5 and 10/20
but at different address/offsets. 600mp doesn't have it.
The AUX1 bit layout of an ss5 (SLAVIO) is also different from a 10/20 (SEC).
I'm not sure how power-management fits in there other than it's an sbus
device: ffd50130 power-management@4,a000000
prev parent reply other threads:[~2008-01-26 13:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-24 5:08 [Qemu-devel] [PATCH] hw/sun4m.c fix power addresses Robert Reif
2008-01-25 20:37 ` Blue Swirl
2008-01-25 20:53 ` Robert Reif
2008-01-26 7:59 ` Blue Swirl
2008-01-26 13:01 ` Robert Reif [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=479B2F26.2060600@earthlink.net \
--to=reif@earthlink.net \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.