From patchwork Fri Jun 14 07:15:58 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Minghuan Lian X-Patchwork-Id: 251246 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from ozlabs.org (localhost [IPv6:::1]) by ozlabs.org (Postfix) with ESMTP id 061AB2C084E for ; Fri, 14 Jun 2013 17:19:06 +1000 (EST) Received: from tx2outboundpool.messaging.microsoft.com (tx2ehsobe001.messaging.microsoft.com [65.55.88.11]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client CN "mail.global.frontbridge.com", Issuer "MSIT Machine Auth CA 2" (not verified)) by ozlabs.org (Postfix) with ESMTPS id A72962C031E for ; Fri, 14 Jun 2013 17:15:55 +1000 (EST) Received: from mail169-tx2-R.bigfish.com (10.9.14.243) by TX2EHSOBE014.bigfish.com (10.9.40.34) with Microsoft SMTP Server id 14.1.225.23; Fri, 14 Jun 2013 07:15:50 +0000 Received: from mail169-tx2 (localhost [127.0.0.1]) by mail169-tx2-R.bigfish.com (Postfix) with ESMTP id 878DC400CE for ; Fri, 14 Jun 2013 07:15:50 +0000 (UTC) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-SpamScore: 11 X-BigFish: VS11(z3335szzz1f42h1ee6h1de0h1fdah1202h1e76h1d1ah1d2ah1fc6hzz8275bhz2dh2a8h668h839he5bhf0ah1288h12a5h12a9h12bdh12e5h137ah139eh13b6h1441h1504h1537h162dh1631h1758h1898h18e1h1946h19b5h1ad9h1b0ah1d0ch1d2eh1d3fh1dfeh1dffh1e23h1155h) Received: from mail169-tx2 (localhost.localdomain [127.0.0.1]) by mail169-tx2 (MessageSwitch) id 1371194147714789_25683; Fri, 14 Jun 2013 07:15:47 +0000 (UTC) Received: from TX2EHSMHS019.bigfish.com (unknown [10.9.14.228]) by mail169-tx2.bigfish.com (Postfix) with ESMTP id A13361E004A for ; Fri, 14 Jun 2013 07:15:47 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by TX2EHSMHS019.bigfish.com (10.9.99.119) with Microsoft SMTP Server (TLS) id 14.1.225.23; Fri, 14 Jun 2013 07:15:47 +0000 Received: from az84smr01.freescale.net (10.64.34.197) by 039-SN1MMR1-002.039d.mgd.msft.net (10.84.1.15) with Microsoft SMTP Server (TLS) id 14.2.328.11; Fri, 14 Jun 2013 07:15:46 +0000 Received: from lmh.ap.freescale.net (lmh.ap.freescale.net [10.193.20.35]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id r5E7FbJp018550; Fri, 14 Jun 2013 00:15:44 -0700 From: Minghuan Lian To: Subject: [PATCH 4/5] powerpc/dts: remove msi-available-ranges property Date: Fri, 14 Jun 2013 15:15:58 +0800 Message-ID: <1371194159-17332-4-git-send-email-Minghuan.Lian@freescale.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1371194159-17332-1-git-send-email-Minghuan.Lian@freescale.com> References: <1371194159-17332-1-git-send-email-Minghuan.Lian@freescale.com> MIME-Version: 1.0 X-OriginatorOrg: freescale.com Cc: Scott Wood , Minghuan Lian , Zang Roy-R61911 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" For MPIC v4.3 MSIIR supports 8 MSI registers and MSIIR1 supports 16 MSI registers, but uses different IBS and SRS shift. For the first register, when using MSIIR we will get the irqs 0x0 0x1 0x2 ...0x1f, but when using MSIIR1, the irqs are 0x0 0x10 0x20 ... 0x1f0 It is hard to describe the available irqs using property 'msi-available-ranges'. The patch removes this property. Signed-off-by: Minghuan Lian --- arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi | 1 - arch/powerpc/boot/dts/fsl/qoriq-mpic.dtsi | 3 --- arch/powerpc/boot/dts/fsl/qoriq-mpic4.3.dtsi | 4 ---- 3 files changed, 8 deletions(-) diff --git a/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi b/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi index 71c30eb..1ac4f23 100644 --- a/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi +++ b/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi @@ -66,7 +66,6 @@ message@41400 { msi@41600 { compatible = "fsl,mpic-msi"; reg = <0x41600 0x80>; - msi-available-ranges = <0 0x100>; interrupts = < 0xe0 0 0 0 0xe1 0 0 0 diff --git a/arch/powerpc/boot/dts/fsl/qoriq-mpic.dtsi b/arch/powerpc/boot/dts/fsl/qoriq-mpic.dtsi index 08f4227..cf7355c 100644 --- a/arch/powerpc/boot/dts/fsl/qoriq-mpic.dtsi +++ b/arch/powerpc/boot/dts/fsl/qoriq-mpic.dtsi @@ -54,7 +54,6 @@ timer@41100 { msi0: msi@41600 { compatible = "fsl,mpic-msi"; reg = <0x41600 0x200 0x44140 4>; - msi-available-ranges = <0 0x100>; interrupts = < 0xe0 0 0 0 0xe1 0 0 0 @@ -69,7 +68,6 @@ msi0: msi@41600 { msi1: msi@41800 { compatible = "fsl,mpic-msi"; reg = <0x41800 0x200 0x45140 4>; - msi-available-ranges = <0 0x100>; interrupts = < 0xe8 0 0 0 0xe9 0 0 0 @@ -84,7 +82,6 @@ msi1: msi@41800 { msi2: msi@41a00 { compatible = "fsl,mpic-msi"; reg = <0x41a00 0x200 0x46140 4>; - msi-available-ranges = <0 0x100>; interrupts = < 0xf0 0 0 0 0xf1 0 0 0 diff --git a/arch/powerpc/boot/dts/fsl/qoriq-mpic4.3.dtsi b/arch/powerpc/boot/dts/fsl/qoriq-mpic4.3.dtsi index e2665b8..8a997ea 100644 --- a/arch/powerpc/boot/dts/fsl/qoriq-mpic4.3.dtsi +++ b/arch/powerpc/boot/dts/fsl/qoriq-mpic4.3.dtsi @@ -54,7 +54,6 @@ timer@41100 { msi0: msi@41600 { compatible = "fsl,mpic-msi", "fsl,mpic-msi-v4.3"; reg = <0x41600 0x200 0x44148 4>; - msi-available-ranges = <0 0x200>; interrupts = < 0xe0 0 0 0 0xe1 0 0 0 @@ -77,7 +76,6 @@ msi0: msi@41600 { msi1: msi@41800 { compatible = "fsl,mpic-msi", "fsl,mpic-msi-v4.3"; reg = <0x41800 0x200 0x45148 4>; - msi-available-ranges = <0 0x200>; interrupts = < 0xe8 0 0 0 0xe9 0 0 0 @@ -100,7 +98,6 @@ msi1: msi@41800 { msi2: msi@41a00 { compatible = "fsl,mpic-msi", "fsl,mpic-msi-v4.3"; reg = <0x41a00 0x200 0x46148 4>; - msi-available-ranges = <0 0x200>; interrupts = < 0xf0 0 0 0 0xf1 0 0 0 @@ -123,7 +120,6 @@ msi2: msi@41a00 { msi3: msi@41c00 { compatible = "fsl,mpic-msi", "fsl,mpic-msi-v4.3"; reg = <0x41c00 0x200 0x47148 4>; - msi-available-ranges = <0 0x200>; interrupts = < 0xf8 0 0 0 0xf9 0 0 0