From: Alexander Graf <agraf@suse.de>
To: qemu-devel@nongnu.org
Cc: Scott Wood <scottwood@freescale.com>, qemu-ppc@nongnu.org
Subject: [Qemu-devel] [PATCH ppc-next 3/3] openpic: set mixed mode as supported
Date: Mon, 7 Jan 2013 20:21:39 +0100 [thread overview]
Message-ID: <1357586499-11463-4-git-send-email-agraf@suse.de> (raw)
In-Reply-To: <1357586499-11463-1-git-send-email-agraf@suse.de>
The Raven MPIC implementation supports the "Mixed" mode to work with
an i8259. While we don't implement mixed mode, we should mark it as
a supported mode in the mode bitmap.
Signed-off-by: Alexander Graf <agraf@suse.de>
---
hw/openpic.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/hw/openpic.c b/hw/openpic.c
index 713322b..aeee479 100644
--- a/hw/openpic.c
+++ b/hw/openpic.c
@@ -1467,6 +1467,7 @@ static int openpic_init(SysBusDevice *dev)
opp->irq_ipi0 = RAVEN_IPI_IRQ;
opp->irq_tim0 = RAVEN_TMR_IRQ;
opp->brr1 = -1;
+ opp->mpic_mode_mask = GCR_MODE_MIXED;
list = list_le;
/* Don't map MSI region */
list[2].map = false;
--
1.6.0.2
prev parent reply other threads:[~2013-01-07 19:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-07 19:21 [Qemu-devel] [PATCH ppc-next 0/3] openpic: improve GCR register handling Alexander Graf
2013-01-07 19:21 ` [Qemu-devel] [PATCH ppc-next 1/3] openpic: move gcr write into a function Alexander Graf
2013-01-07 19:21 ` [Qemu-devel] [PATCH ppc-next 2/3] openpic: unify gcr mode mask updates Alexander Graf
2013-01-07 19:21 ` 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=1357586499-11463-4-git-send-email-agraf@suse.de \
--to=agraf@suse.de \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
--cc=scottwood@freescale.com \
/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).