Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754438AbcKON7R (ORCPT ); Tue, 15 Nov 2016 08:59:17 -0500 Received: from mail-by2nam03on0075.outbound.protection.outlook.com ([104.47.42.75]:3649 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752198AbcKON7O (ORCPT ); Tue, 15 Nov 2016 08:59:14 -0500 X-Greylist: delayed 5644 seconds by postgrey-1.27 at vger.kernel.org; Tue, 15 Nov 2016 08:59:14 EST Authentication-Results: spf=pass (sender IP is 149.199.60.100) smtp.mailfrom=xilinx.com; imgtec.com; dkim=none (message not signed) header.d=none;imgtec.com; dmarc=bestguesspass action=none header.from=xilinx.com; X-IncomingTopHeaderMarker: OriginalChecksum:;UpperCasedChecksum:;SizeAsReceived:1821;Count:20 Subject: Re: [Patch v7 6/7] irqchip: xilinx: Try to fall back if xlnx,kind-of-intr not provided To: Zubair Lutfullah Kakakhel , , , , References: <20161114121351.10924-1-Zubair.Kakakhel@imgtec.com> <20161114121351.10924-7-Zubair.Kakakhel@imgtec.com> CC: , , , From: Michal Simek Message-ID: Date: Tue, 15 Nov 2016 13:26:36 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20161114121351.10924-7-Zubair.Kakakhel@imgtec.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.0.0.1202-22700.004 X-TM-AS-User-Approved-Sender: Yes;Yes X-IncomingHeaderCount: 20 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:149.199.60.100;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(7916002)(2980300002)(438002)(189002)(24454002)(199003)(23746002)(229853002)(31686004)(2950100002)(63266004)(7846002)(356003)(305945005)(6666003)(76176999)(50986999)(54356999)(8676002)(106466001)(8936002)(64126003)(2906002)(36386004)(81156014)(36756003)(81166006)(50466002)(4326007)(47776003)(230700001)(65826007)(4001350100001)(65806001)(189998001)(626004)(65956001)(5660300001)(5001770100001)(33646002)(86362001)(83506001)(9786002)(31696002)(77096005)(87936001)(2201001)(230783001)(92566002)(107986001)(142933001)(5001870100001);DIR:OUT;SFP:1101;SCL:1;SRVR:MWHPR02MB2878;H:xsj-pvapsmtpgw02;FPR:;SPF:Pass;PTR:xapps1.xilinx.com,unknown-60-100.xilinx.com;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;SN1NAM02FT026;1:1n/DLcwlHPucnKUVBuEkDcBYbzNMA1bHBlph83vS3adocROXNVJ3zOEujg7zf2rmf30holdVFJ/hkw2J7BhscV8QHDnm2aCSkjuFLjx46UDoz3OeIAiV8GGtKLdm5auGoUHMPRK7EO1vLKzd3OHw2OHq+n0RK98Veu1BwgD3WrAsz0OJ0iXfvIB7PDf4E1UX9i5czM9iWipGmiGhKlX1zBtbvDzzUO3uHxjH5mJ67bLAsveGqxlD56HYcIpMCNqrQEWoxCO0o6ljhIht8ggH6oeRNZakvJDJ2DMKyCLfQYwrtP2o3YPMBszZ4ju/x5srhYBmdfpq2+AsM89KndQwjYoxir/MWKkPhO61S8fGMjy7FaI/eB6cWP6zWGnxI97NSSzYdx4dpKNYXRn0tcRdAGGrMoj+zQLAUUil2jJ/psI6lSHUTU41rvYlNjBKdA7EgTCGxA2MoKxX2m4KGzEq8bMVzExDyP7NjGdfY9d/wh6p6LIpSwZJL3KIi6XGLvdEHARF0AcZtIarkFpanZCKyPJ/Y/WsAFQXZ6tWzk/rbdzTbikwni78BRY8MjjQ5muiHzKTaEtqq19SZpO11OA5zIduFzx4PwAPZpCy9tAUPmM= X-Microsoft-Exchange-Diagnostics: 1;MWHPR02MB2878;2:rHIs9OwGQZByaz3pmy28ppTdOJjWnsIQkr8bVwl7owW9k3B5F63oJTH8/gu4sDq69HWHtUTsAgQdRaj/IpHoXpML1DE88Ci/io3MmOJ5RT7Q1LGXjfOsXN5aQuPAP3Uck/4wVZ9j1qBAXEfwHINhjhsUgybGqB3ZnYB2Xev6BtA=;3:t1ERpUF6fODxGJ1Lqhc0MmwlscbYEs7m0dmdpLHldZxOPOy558N6bE4sjqKQ2c1FmygnvOvEwKdPYeLaDww63owHukUZSx2oFObfED91hZAOItVlayBjZlaKHYN+gCLaZW2X3KgzvesLs8HI5zMA5ovtNLTbuPdeXTSLFSi7LzlgGH5UfuZkERgSWjdV0vExAJQ8e1Qn5R6MrFfaFB7HAYeMkWPIRHss1WTovQqMuJrZOUJz/WdU2WHb1ZoYx7YHHepYgzNly60fcZhHs6Uj3SD5wz2PrcKdLA2M6mkUF+U= X-MS-Office365-Filtering-Correlation-Id: 07740e4b-abe4-4e8d-ad35-08d40d52aad8 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(8251501002);SRVR:MWHPR02MB2878; X-Microsoft-Exchange-Diagnostics: 1;MWHPR02MB2878;25:turZgKSI63XHSkdxORh1GAX0Zlz8UovTR+dCGMtBn3lF/bsn8PfLvQ9pmX7zMlA9XGvckqo8qiNtK5jR8UvYMlIvWEwyhcfwLZspMbikUueGc2Qvlb+8IUm5yQJ4ol9Yt9TGJbISq5vRrsNleAf/dwb/9Q0ydO45TYnjIMGBl9DXxLmOUunSmuuzmGJgYDys4baLRjObbev1cfGmOcot4nMqmfHi286+nGMkoKqKs2wt9g4EHuNppR9gLxKfnaMS7gcdZl3nDT5dYKKR6lNtxx/hfDMLTuUbcpA3sJnOmnKnQFcT98j8+hgJMovDpf8K2ZFtXwxnmG0Krx80R0JcO4WLG+LUpiCfaA9z3+3LykR4XuHhzqenNZO3ARiaBPLDeZb9csLLMgRBwRwRH+0bpI3cazyOIBhgbRKJtdKl9R1rO/JS+Go0I+wCXouA8ZHqRH5cV5sYV5zIUwFz74s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P/7VvDotQhMDQiszg3yoUPV67QO+/oWt4ZP5VR2b1brGHKD+8VTAUcHf8FfIz4JqWdVEX8934pTkclIaG1cG6KfSxmWHZ/xFdBXKYgbuq9bbMuP7uCldGxkJ7X429swPkHlApLcG4ZKLGNOLDpYuIc2ZgbG361ZKAnrnO9pPiGu70hStUF6QxYgURas X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(192813158149592); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6060326)(601004)(2401047)(13018025)(13023025)(8121501046)(13017025)(13015025)(5005006)(13024025)(3002001)(10201501046)(6055026)(6061324);SRVR:MWHPR02MB2878;BCL:0;PCL:0;RULEID:;SRVR:MWHPR02MB2878; X-Microsoft-Exchange-Diagnostics: 1;MWHPR02MB2878;4:47wmQiSWqhWe9xZNTymQx3D8HT+NL8xLq0E11HGgQtI71fNOuKIfXVIrY1rlXXY2H6XvYvbtSOT3ThT7NG0sdr+JbEojK6C0iEGZA0Z3TUtCnpqVEjHp6nX7xqhuQDa2We3WyPpMEWEIsuLxPJVbH/FsWM8w+Bf+ofr6nDfpyXXGP3sz5H5yrA+9DTyI24CMkCTHXl4J7itBOJEimh6WxoaX7JYz7QM5jFH1hIItLjrzpLTkbq+VD434T6+b1RekpfEPYkhArdwfBRSYCXY30NGndUT0rzntU8+2MeykoEmK/Ab/NUtbbL046J6OwiNC6pakQ0zwq0F/KA9xirQmY1wcXjLZoR7I0su7ICm/MpIXbQ2TUaEIhmIiuBV5AUjy2WxgyrLKk+xHR4RyqHrmF8sNQsr5U+hLX+edMxuIhaLwUNeXSfLjKq9/Q8NOQNcBrC/1BJMFQDKBOgacyRtjsA52mMazY/4hKx7L5BJLnGPW45hqZnZC9TFGDDsDSdGTsmWs32KFpWxvsEHm4jThGzaz5FRcdFwrxQ3Un8ttpDW+7H+nhbulobg4VPpQnxQ7Y1+Pq2gpvazBVc4T0cqPcg== X-Forefront-PRVS: 012792EC17 X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1;MWHPR02MB2878;23:AeCwGIFzSrX5XYFnNcntnu5hcxBwiqgCL8nVh?= =?Windows-1252?Q?yeP+tT3bTF7/djM6R7BjqcAwiLivPikT7SZ8aWbyZs/VCH2455sshRQG?= =?Windows-1252?Q?CLRIDHmLJJRTq4ZvsHyqc9GXyf6Sai8eE8gNPLedH3SU7oDTyVjPFDZC?= =?Windows-1252?Q?oqFUYDyXgsaFvGHZxg2/rVRh/wIke2nAQ7mPE1CralZsbHKJNyPXHx8B?= =?Windows-1252?Q?eADgkghC6Ybmyq0e4J8CPWjXoZh4wa4S6pSFwRsw11ZOOb5jlS9RN1r3?= =?Windows-1252?Q?tiORykz2+/+vhEe8E5qU/s/UHz4tMFZMXcLQ4Nu/nsT/mylhVREBIoPb?= =?Windows-1252?Q?RjjB4M40EBego/bRw27cIWLBGat7vYkzr3oeDK9jKEyREjf5Ptix0Jpe?= =?Windows-1252?Q?p4UGa62OO+d6LJTjCL+vWUcx3Nuz4FROQij8SHDc/3dfMNqVPHibJEO+?= =?Windows-1252?Q?frTIABzEcanUbrXvSyTkRJDicIBZjRnhVLDdZl4Nsh13/X4D+ebiu036?= =?Windows-1252?Q?ZVgfdW9gT4ABTmuUrYx/ytLKxBzHAjTBH9vFlTxgKV+En0yK9tpuUeFL?= =?Windows-1252?Q?1gpDawNdWKnwbDwNtLbXh89oHP0tPkVuG8Q3KcaSUqFthW4co/HhPxl/?= =?Windows-1252?Q?HXCxDUkYyaBDe2+ka0/z4EqXm3A0rVKgHoTU1KFRFCvre4cQ0igQr7gK?= =?Windows-1252?Q?GixbRX0SzQvF/RTIF/YAy0hGsO4rKim7cMNzzDhlIDvl//hY7lu8NPHD?= =?Windows-1252?Q?5fbjIH7dBeziVFNBx2mkNWLbmIVr7LpxVxZ4vDmsVZEBCaauBJPJT6Gr?= =?Windows-1252?Q?QSQd5oX14Za805umrmXyS94fpCc8360wUNoxxpI5TG3U/H5ykQhGg4iQ?= =?Windows-1252?Q?2ficz2SNTPoQvmrRB6dIc59BA7rqecyHmXpswI43Gbo7Am+xExjM98/s?= =?Windows-1252?Q?6AFsxBJupspoOHHU6sU2YyBmj+kdl/tC1bxoNEavxHv/cjvxe1lC+REH?= =?Windows-1252?Q?oFWH6Tu/QpVZCuiU6dMZhkCSy41W9cVqjeJA1ErwIO843nECSxJ524+u?= =?Windows-1252?Q?3JZU+EBYJz3/kQpKl4WZhsGOHQkgotLfa/M1Dl476IjonmQ/wyRKwwET?= =?Windows-1252?Q?slDU1NxPxOBU51USvpcLE1N9Q0OyyYRZTlJmk8JwstPbQSjpxDhAezh8?= =?Windows-1252?Q?5OgTXhJvvLV9Zebj2Ml0oJMA3RsKewUBioLoMzwuE7aqCYQH9E+XZHn5?= =?Windows-1252?Q?cCpgXUXkTew/GqcFWz/Tr4l5NpTsfnV2+/h9WcXH48QIG3FT8DSPSh+z?= =?Windows-1252?Q?3waupk01v8jNwDFB1KjBxGq+URO55Z9cb69gpwbpE0Oy6b8hu0R8U3Hr?= =?Windows-1252?Q?j+iT5xzzer9?= X-Microsoft-Exchange-Diagnostics: 1;MWHPR02MB2878;6:2lpaT74RsuX6yB9NfVKPguPzVjcZQcI814eg+rqINp6meU+FlJ7Bhsjuj6pdvSmIlyhH7UW55piHMaz//pqkEgmgrMnA1ioPIcFqXof8eZZ5PSv5BMvd2Z9/Ga6lPnBt0vUycA279tHlq9/95UEOk1rN6d987k9EYFbhujjkXPxZr7kZvv+zNnnfMzYSWmGgvBZZOVl/ag/hmQx5OmqAFR7JypBMFJ+3nKt0WgkLD76TSepuEfFbMlGP3RZltSlo7OOjv8bvg3A88MG1WAqD4eUKk446cPkleBNYHcwJtH938kb+5F9JhmKK5OF53bXGqSqhzp1DglnjbTAvpU2F7umpZLggkL6n3cNrzw4SWfvL42NCtJpktjk+VTCDAJ0U;5:n770JuoYF52UrvwNcldDjP6FhxEaSQ4dKwkp73jootJh8UsFaGtwAz4t0rET22SPuIibZZNtBBUg174dbY84lt+mBmN0oV4crf7yUei1qqNbmdijvks+KrsKxoSddq47sGbeR0Qm2kXacTWmsvH3mQ==;24:H/dlQeV7X6razwROCQiZ0zk3JkQtwiswu2V0ZiGWYlN7taOj5GBlBdVEKKIU/KgcKXMi+yBWtnOP0Lr0IGK/Ic3T1SPe2lGeyyYSWXen5qU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;MWHPR02MB2878;7:V0B2HVt53w2Ix6sQAyKwo+h8yJNduz/BPAEJ8vgEA7vzMlMhsaMgduTEtiR7uJBF1N5kq7ZPqUmO96y1g8rA03SvxOQeRF6jwC77PLkineF8hRRBLviPFamGKxpRYqmsO5K1ScC2CAm54mN4M9tqYgqX9Ek4E63/2JtZbTTRn7NWyhz3Y/vZXQgmFtMFMntQRjX0hPV4z5K4hnmLJAHzPRUHiG2B4pMF8dqyR0dQ8NFl0kqqZhjgxUFqVN1NOY7cYJi9b8cvluyukk+/BAjY4ZDSgXeA+pUGooXDbEhFN+dawddqMJNKAWY8PWE2G99jWEU60fGGHSu5e9q4ubh5NFFsI80EPE6jlJrpzQ9g0og= X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Nov 2016 12:26:46.7763 (UTC) X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.60.100];Helo=[xsj-pvapsmtpgw02] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR02MB2878 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1238 Lines: 42 On 14.11.2016 13:13, Zubair Lutfullah Kakakhel wrote: > The powerpc dts file does not have the xlnx,kind-of-intr property. > Instead of erroring out, give a warning instead. And attempt to > continue to probe the interrupt controller while assuming > kind-of-intr is 0x0 as a fall back. > > Signed-off-by: Zubair Lutfullah Kakakhel > > --- > V6 -> V7 > Rebase to v4.9-rc5 > > V5 -> V6 > Rebase to v4.9-rc3 > > V5 new patch > --- > drivers/irqchip/irq-xilinx-intc.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/irqchip/irq-xilinx-intc.c b/drivers/irqchip/irq-xilinx-intc.c > index 971c141..d330917 100644 > --- a/drivers/irqchip/irq-xilinx-intc.c > +++ b/drivers/irqchip/irq-xilinx-intc.c > @@ -179,8 +179,8 @@ static int __init xilinx_intc_of_init(struct device_node *intc, > > ret = of_property_read_u32(intc, "xlnx,kind-of-intr", &irqc->intr_mask); > if (ret < 0) { > - pr_err("irq-xilinx: unable to read xlnx,kind-of-intr\n"); > - goto err_alloc; > + pr_warn("irq-xilinx: unable to read xlnx,kind-of-intr\n"); > + irqc->intr_mask = 0; > } > > if (irqc->intr_mask >> nr_irq) > Acked-by: Michal Simek Thanks, Michal