From patchwork Thu Dec 18 14:28:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Tomar X-Patchwork-Id: 422596 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 30ABC1400F1 for ; Fri, 19 Dec 2014 03:03:00 +1100 (AEDT) Received: from localhost ([::1]:54565 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1dXW-0008Uj-6e for incoming@patchwork.ozlabs.org; Thu, 18 Dec 2014 11:02:58 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53810) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1dX3-00087b-CJ for qemu-devel@nongnu.org; Thu, 18 Dec 2014 11:02:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y1dWy-0007tH-RX for qemu-devel@nongnu.org; Thu, 18 Dec 2014 11:02:29 -0500 Received: from mail-bl2on0120.outbound.protection.outlook.com ([65.55.169.120]:27033 helo=na01-bl2-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1dWy-0007tD-Mo; Thu, 18 Dec 2014 11:02:24 -0500 Received: from BL2PR03MB449.namprd03.prod.outlook.com (10.141.92.11) by BL2PR03MB449.namprd03.prod.outlook.com (10.141.92.11) with Microsoft SMTP Server (TLS) id 15.1.49.12; Thu, 18 Dec 2014 14:28:48 +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; Thu, 18 Dec 2014 14:28:48 +0000 From: Amit Tomar To: Alexander Graf , "qemu-devel@nongnu.org" , "qemu-ppc@nongnu.org" Thread-Topic: [PATCH] hw/ppc/e500.c : Fix GPIO IRQ Number. Thread-Index: AQHQGs7vcACwEHWoq0ST4oJc2R5BMg== Date: Thu, 18 Dec 2014 14:28:48 +0000 Message-ID: References: <54914B22.5080209@suse.de> In-Reply-To: <54914B22.5080209@suse.de> 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:BL2PR03MB449; x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:;SRVR:BL2PR03MB449; x-forefront-prvs: 042957ACD7 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(13464003)(24454002)(189002)(377454003)(199003)(51704005)(106356001)(106116001)(99286002)(101416001)(40100003)(122556002)(99396003)(120916001)(229853001)(107046002)(107886001)(105586002)(76576001)(31966008)(33656002)(21056001)(92566001)(2656002)(2201001)(74316001)(19580395003)(87936001)(86362001)(19580405001)(64706001)(20776003)(76176999)(54356999)(66066001)(50986999)(54606007)(62966003)(2900100001)(2950100001)(77156002)(46102003)(15975445007)(68736005)(77096005)(1720100001)(102836002)(97736003)(54206007)(4396001)(217873001); DIR:OUT; SFP:1102; SCL:1; SRVR:BL2PR03MB449; 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: 18 Dec 2014 14:28:48.0435 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2PR03MB449 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 X-Received-From: 65.55.169.120 Subject: [Qemu-devel] [PATCH] hw/ppc/e500.c : Fix GPIO IRQ 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 Provided appropriate subject line. Signed-off-by: Amit Singh Tomar --- hw/ppc/e500.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.7.9.5 -----Original Message----- From: Alexander Graf [mailto:agraf@suse.de] Sent: Wednesday, December 17, 2014 2:52 PM To: Tomar Amit-B51888; qemu-devel@nongnu.org; qemu-ppc@nongnu.org Subject: Re: [PATCH] QEMU:Change the IRQ number for GPIO Controller On 17.12.14 10:18, Amit Tomar wrote: > Ping :) > > -----Original Message----- > From: Tomar Amit-B51888 > Sent: Monday, December 08, 2014 3:03 PM > To: 'qemu-devel@nongnu.org'; 'qemu-ppc@nongnu.org' > Cc: 'agraf@suse.de' > Subject: [PATCH] QEMU:Change the IRQ number for GPIO Controller > > As per RM and following links IRQ 43 is for I2C controller and IRQ 47 is for GPIO controller. > > https://lists.ozlabs.org/pipermail/linuxppc-dev/2011-January/087924.ht > ml > http://lxr.free-electrons.com/source/arch/powerpc/boot/dts/fsl/pq3-gpi > o-0.dtsi?v=3.4 > > > Signed-off-by: Amit Singh Tomar Please change the subject line to something that allows people skimming through the patches to know that it modifies ppc e500 code. Otherwise looks good to me. Alex 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 {