From: Alexander Graf <agraf@suse.de>
To: Cormac O'Brien <i.am.cormac.obrien@gmail.com>,
mark.cave-ayland@ilande.co.uk, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] macio: remove nonexistent interrupt on pin 1
Date: Tue, 09 Jun 2015 09:45:50 +0200 [thread overview]
Message-ID: <557699AE.5080601@suse.de> (raw)
In-Reply-To: <1433805832-31863-1-git-send-email-i.am.cormac.obrien@gmail.com>
On 09.06.15 01:23, Cormac O'Brien wrote:
> The current macio device implementation declares an interrupt that doesn't
> seem to exist in the actual hardware or any other emulators. Mac OS 9 counts
> the presence of this interrupt as a fatal error and progresses further without
> it.
This is only half of the problem unfortunately :). The reason the
existence of an interrupt pin is a problem is that OpenBIOS
automatically generates an interrupt property in the device tree for the
macio device.
Please mention this in the patch description as well. Also, please make
sure to CC qemu-ppc@nongnu.org on v2 :).
Thanks!
Alex
>
> Signed-off-by: Cormac O'Brien <i.am.cormac.obrien@gmail.com>
>
> ---
> hw/misc/macio/macio.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/hw/misc/macio/macio.c b/hw/misc/macio/macio.c
> index 063ad80..306c95e 100644
> --- a/hw/misc/macio/macio.c
> +++ b/hw/misc/macio/macio.c
> @@ -132,8 +132,6 @@ static int macio_common_initfn(PCIDevice *d)
> SysBusDevice *sysbus_dev;
> int ret;
>
> - d->config[0x3d] = 0x01; // interrupt on pin 1
> -
> ret = qdev_init(DEVICE(&s->cuda));
> if (ret < 0) {
> return ret;
>
prev parent reply other threads:[~2015-06-09 7:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-08 23:23 [Qemu-devel] [PATCH] macio: remove nonexistent interrupt on pin 1 Cormac O'Brien
2015-06-09 7:45 ` Alexander Graf [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=557699AE.5080601@suse.de \
--to=agraf@suse.de \
--cc=i.am.cormac.obrien@gmail.com \
--cc=mark.cave-ayland@ilande.co.uk \
--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 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).