From patchwork Mon Jan 7 19:21:39 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Graf X-Patchwork-Id: 210059 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 791382C0098 for ; Tue, 8 Jan 2013 06:22:12 +1100 (EST) Received: from localhost ([::1]:46947 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TsIGw-0004oK-EX for incoming@patchwork.ozlabs.org; Mon, 07 Jan 2013 14:22:10 -0500 Received: from eggs.gnu.org ([208.118.235.92]:39171) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TsIGY-0004aB-OZ for qemu-devel@nongnu.org; Mon, 07 Jan 2013 14:21:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TsIGW-0000sJ-2r for qemu-devel@nongnu.org; Mon, 07 Jan 2013 14:21:46 -0500 Received: from cantor2.suse.de ([195.135.220.15]:49691 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TsIGV-0000s1-TE; Mon, 07 Jan 2013 14:21:44 -0500 Received: from relay2.suse.de (unknown [195.135.220.254]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 7329BA51B8; Mon, 7 Jan 2013 20:21:43 +0100 (CET) From: Alexander Graf To: qemu-devel@nongnu.org Date: Mon, 7 Jan 2013 20:21:39 +0100 Message-Id: <1357586499-11463-4-git-send-email-agraf@suse.de> X-Mailer: git-send-email 1.6.0.2 In-Reply-To: <1357586499-11463-1-git-send-email-agraf@suse.de> References: <1357586499-11463-1-git-send-email-agraf@suse.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x X-Received-From: 195.135.220.15 Cc: Scott Wood , qemu-ppc@nongnu.org Subject: [Qemu-devel] [PATCH ppc-next 3/3] openpic: set mixed mode as supported X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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 --- 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;