From patchwork Fri Dec 19 14:20:37 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Tomar X-Patchwork-Id: 422888 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 8ED9414009B for ; Sat, 20 Dec 2014 01:21:29 +1100 (AEDT) Received: from localhost ([::1]:58823 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1yQp-0003fp-O7 for incoming@patchwork.ozlabs.org; Fri, 19 Dec 2014 09:21:27 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42028) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1yQH-0002vJ-Hy for qemu-devel@nongnu.org; Fri, 19 Dec 2014 09:20:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y1yQ9-0001u4-NL for qemu-devel@nongnu.org; Fri, 19 Dec 2014 09:20:53 -0500 Received: from mail-bn1bon0132.outbound.protection.outlook.com ([157.56.111.132]:9653 helo=na01-bn1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1yQ9-0001sT-GB; Fri, 19 Dec 2014 09:20:45 -0500 Received: from BL2PR03MB449.namprd03.prod.outlook.com (10.141.92.11) by BL2PR03MB452.namprd03.prod.outlook.com (10.141.92.21) with Microsoft SMTP Server (TLS) id 15.1.49.12; Fri, 19 Dec 2014 14:20:38 +0000 Received: from BL2PR03MB449.namprd03.prod.outlook.com ([10.141.92.11]) by BL2PR03MB449.namprd03.prod.outlook.com ([10.141.92.11]) with mapi id 15.01.0049.002; Fri, 19 Dec 2014 14:20:38 +0000 From: Amit Tomar To: "qemu-devel@nongnu.org" , "qemu-ppc@nongnu.org" Thread-Topic: [PATCH] PPC: e500: Fix GPIO controller interrupt number Thread-Index: AdAblvRiI/o5JlBZS9av4VdVSv9WIw== Date: Fri, 19 Dec 2014 14:20:37 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.88.169.1] authentication-results: spf=none (sender IP is ) smtp.mailfrom=Amit.Tomar@freescale.com; x-microsoft-antispam: BCL:0;PCL:0;RULEID:;SRVR:BL2PR03MB452; x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:;SRVR:BL2PR03MB452; x-forefront-prvs: 0430FA5CB7 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(189002)(199003)(2656002)(87936001)(2900100001)(76576001)(86362001)(54356999)(77096005)(50986999)(92566001)(62966003)(77156002)(68736005)(102836002)(4396001)(99396003)(120916001)(101416001)(21056001)(122556002)(40100003)(31966008)(33656002)(97736003)(105586002)(99286002)(229853001)(107046002)(106356001)(46102003)(74316001)(19580395003)(19580405001)(64706001)(20776003)(66066001); DIR:OUT; SFP:1102; SCL:1; SRVR:BL2PR03MB452; H:BL2PR03MB449.namprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: freescale.com does not designate permitted sender hosts) MIME-Version: 1.0 X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Dec 2014 14:20:37.8025 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2PR03MB452 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 X-Received-From: 157.56.111.132 Cc: Alexander Graf Subject: [Qemu-devel] [PATCH] PPC: e500: Fix GPIO controller interrupt number 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 This patch sets the GPIO controller interrupt number to 47,not 43 (and the Device tree agrees). Signed-off-by: Amit Singh Tomar Signed-off-by: Amit Singh Tomar Signed-off-by: Alexander Graf --- hw/ppc/e500.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.7.9.5 diff --git a/hw/ppc/e500.c b/hw/ppc/e500.c index 2832fc0..2cd69a9 100644 --- a/hw/ppc/e500.c +++ b/hw/ppc/e500.c @@ -65,7 +65,7 @@ #define MPC8544_UTIL_OFFSET 0xe0000ULL #define MPC8544_SPIN_BASE 0xEF000000ULL #define MPC8XXX_GPIO_OFFSET 0x000FF000ULL -#define MPC8XXX_GPIO_IRQ 43 +#define MPC8XXX_GPIO_IRQ 47 struct boot_info {