From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756708AbcIRJey (ORCPT ); Sun, 18 Sep 2016 05:34:54 -0400 Received: from foss.arm.com ([217.140.101.70]:46072 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754427AbcIRJep (ORCPT ); Sun, 18 Sep 2016 05:34:45 -0400 Date: Sun, 18 Sep 2016 10:34:36 +0100 From: Marc Zyngier To: Krzysztof Kozlowski Cc: Alim Akhtar , Kukjin Kim , Javier Martinez Canillas , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-samsung-soc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Marek Szyprowski , Bartlomiej Zolnierkiewicz , Geert Uytterhoeven , Alban Browaeys Subject: Re: [RFC PATCH 00/10] ARM: dts: exynos: Fix invalid GIC interrupt flags Message-ID: <20160918103436.6af07ee9@arm.com> In-Reply-To: <20160917175553.GA9499@kozik-lap> References: <1474054971-16831-1-git-send-email-krzk@kernel.org> <20160917175553.GA9499@kozik-lap> Organization: ARM Ltd X-Mailer: Claws Mail 3.14.0 (GTK+ 2.24.30; arm-unknown-linux-gnueabihf) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 17 Sep 2016 19:55:53 +0200 Krzysztof Kozlowski wrote: > On Sat, Sep 17, 2016 at 11:05:39PM +0530, Alim Akhtar wrote: > > Hi Krzysztof, > > > > On Sat, Sep 17, 2016 at 1:12 AM, Krzysztof Kozlowski wrote: > > > Hi, > > > > > > Marek (internally), Geert and Alban reported errors like: > > > genirq: Setting trigger mode 0 for irq 16 failed (gic_set_type+0x0/0x68) > > > The patchset fixes this issue. > > > > > > Tested on: > > > 1. Exynos4412: Odroid U3, > > > 2. Exynos5410: Odroid XU, > > > 3. Exynos5422: Odroid XU3. > > > > > > > Tested on Exynos5800 based peach-pi board, so fpr patch 06/10 > > > > Tested-by: Alim Akhtar > > > > > > > Other platforms not tested so testing would be highly appreciated. > > > > > > Best regards, > > > Krzysztof > > > > > > Krzysztof Kozlowski (10): > > > ARM: dts: exynos: Fix invalid GIC interrupt flags in exynos4 > > > ARM: dts: exynos: Fix invalid GIC interrupt flags in exynos4210 > > > ARM: dts: exynos: Fix invalid GIC interrupt flags in exynos4x12 > > > ARM: dts: exynos: Fix invalid GIC interrupt flags in exynos4415 > > > ARM: dts: exynos: Fix invalid GIC interrupt flags in exynos3250 > > > ARM: dts: exynos: Fix invalid GIC interrupt flags in exynos5 > > > ARM: dts: exynos: Fix invalid GIC interrupt flags in exynos5250 > > > ARM: dts: exynos: Fix invalid GIC interrupt flags in > > > exynos5410/exynos542x > > > ARM: dts: exynos: Fix invalid GIC interrupt flags in exynos5260 > > > ARM: dts: exynos: Fix invalid GIC interrupt flags in exynos5440 > > > > > > > In general these patches looks good, feel free to add my review-by tag > > for this series. > > > > Reviewed-by: Alim Akhtar > > > > Thanks, I'll add your reviewed-by to all patches. There is a couple of things that I don't like about these patches: - Are you sure that all your interrupts are level? I appreciate that's a very common setting, but you seem to have simply decided that there wasn't any edge interrupt. Is that a "Let's see what breaks" situation? If so, It'd be good to state it. - You've used the IRQ_TYPE_LEVEL_HIGH macro everywhere, but didn't use the GIC_SPI macro as the first argument of each interrupt specifier. I'm by no mean a fan of these macros, but you should at least have some consistency inside an interrupt specifier. Thanks, M. -- Jazz is not dead. It just smells funny. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marc Zyngier Subject: Re: [RFC PATCH 00/10] ARM: dts: exynos: Fix invalid GIC interrupt flags Date: Sun, 18 Sep 2016 10:34:36 +0100 Message-ID: <20160918103436.6af07ee9@arm.com> References: <1474054971-16831-1-git-send-email-krzk@kernel.org> <20160917175553.GA9499@kozik-lap> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20160917175553.GA9499@kozik-lap> Sender: linux-samsung-soc-owner@vger.kernel.org To: Krzysztof Kozlowski Cc: Alim Akhtar , Kukjin Kim , Javier Martinez Canillas , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-samsung-soc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Marek Szyprowski , Bartlomiej Zolnierkiewicz , Geert Uytterhoeven , Alban Browaeys List-Id: devicetree@vger.kernel.org On Sat, 17 Sep 2016 19:55:53 +0200 Krzysztof Kozlowski wrote: > On Sat, Sep 17, 2016 at 11:05:39PM +0530, Alim Akhtar wrote: > > Hi Krzysztof, > > > > On Sat, Sep 17, 2016 at 1:12 AM, Krzysztof Kozlowski wrote: > > > Hi, > > > > > > Marek (internally), Geert and Alban reported errors like: > > > genirq: Setting trigger mode 0 for irq 16 failed (gic_set_type+0x0/0x68) > > > The patchset fixes this issue. > > > > > > Tested on: > > > 1. Exynos4412: Odroid U3, > > > 2. Exynos5410: Odroid XU, > > > 3. Exynos5422: Odroid XU3. > > > > > > > Tested on Exynos5800 based peach-pi board, so fpr patch 06/10 > > > > Tested-by: Alim Akhtar > > > > > > > Other platforms not tested so testing would be highly appreciated. > > > > > > Best regards, > > > Krzysztof > > > > > > Krzysztof Kozlowski (10): > > > ARM: dts: exynos: Fix invalid GIC interrupt flags in exynos4 > > > ARM: dts: exynos: Fix invalid GIC interrupt flags in exynos4210 > > > ARM: dts: exynos: Fix invalid GIC interrupt flags in exynos4x12 > > > ARM: dts: exynos: Fix invalid GIC interrupt flags in exynos4415 > > > ARM: dts: exynos: Fix invalid GIC interrupt flags in exynos3250 > > > ARM: dts: exynos: Fix invalid GIC interrupt flags in exynos5 > > > ARM: dts: exynos: Fix invalid GIC interrupt flags in exynos5250 > > > ARM: dts: exynos: Fix invalid GIC interrupt flags in > > > exynos5410/exynos542x > > > ARM: dts: exynos: Fix invalid GIC interrupt flags in exynos5260 > > > ARM: dts: exynos: Fix invalid GIC interrupt flags in exynos5440 > > > > > > > In general these patches looks good, feel free to add my review-by tag > > for this series. > > > > Reviewed-by: Alim Akhtar > > > > Thanks, I'll add your reviewed-by to all patches. There is a couple of things that I don't like about these patches: - Are you sure that all your interrupts are level? I appreciate that's a very common setting, but you seem to have simply decided that there wasn't any edge interrupt. Is that a "Let's see what breaks" situation? If so, It'd be good to state it. - You've used the IRQ_TYPE_LEVEL_HIGH macro everywhere, but didn't use the GIC_SPI macro as the first argument of each interrupt specifier. I'm by no mean a fan of these macros, but you should at least have some consistency inside an interrupt specifier. Thanks, M. -- Jazz is not dead. It just smells funny. From mboxrd@z Thu Jan 1 00:00:00 1970 From: marc.zyngier@arm.com (Marc Zyngier) Date: Sun, 18 Sep 2016 10:34:36 +0100 Subject: [RFC PATCH 00/10] ARM: dts: exynos: Fix invalid GIC interrupt flags In-Reply-To: <20160917175553.GA9499@kozik-lap> References: <1474054971-16831-1-git-send-email-krzk@kernel.org> <20160917175553.GA9499@kozik-lap> Message-ID: <20160918103436.6af07ee9@arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Sat, 17 Sep 2016 19:55:53 +0200 Krzysztof Kozlowski wrote: > On Sat, Sep 17, 2016 at 11:05:39PM +0530, Alim Akhtar wrote: > > Hi Krzysztof, > > > > On Sat, Sep 17, 2016 at 1:12 AM, Krzysztof Kozlowski wrote: > > > Hi, > > > > > > Marek (internally), Geert and Alban reported errors like: > > > genirq: Setting trigger mode 0 for irq 16 failed (gic_set_type+0x0/0x68) > > > The patchset fixes this issue. > > > > > > Tested on: > > > 1. Exynos4412: Odroid U3, > > > 2. Exynos5410: Odroid XU, > > > 3. Exynos5422: Odroid XU3. > > > > > > > Tested on Exynos5800 based peach-pi board, so fpr patch 06/10 > > > > Tested-by: Alim Akhtar > > > > > > > Other platforms not tested so testing would be highly appreciated. > > > > > > Best regards, > > > Krzysztof > > > > > > Krzysztof Kozlowski (10): > > > ARM: dts: exynos: Fix invalid GIC interrupt flags in exynos4 > > > ARM: dts: exynos: Fix invalid GIC interrupt flags in exynos4210 > > > ARM: dts: exynos: Fix invalid GIC interrupt flags in exynos4x12 > > > ARM: dts: exynos: Fix invalid GIC interrupt flags in exynos4415 > > > ARM: dts: exynos: Fix invalid GIC interrupt flags in exynos3250 > > > ARM: dts: exynos: Fix invalid GIC interrupt flags in exynos5 > > > ARM: dts: exynos: Fix invalid GIC interrupt flags in exynos5250 > > > ARM: dts: exynos: Fix invalid GIC interrupt flags in > > > exynos5410/exynos542x > > > ARM: dts: exynos: Fix invalid GIC interrupt flags in exynos5260 > > > ARM: dts: exynos: Fix invalid GIC interrupt flags in exynos5440 > > > > > > > In general these patches looks good, feel free to add my review-by tag > > for this series. > > > > Reviewed-by: Alim Akhtar > > > > Thanks, I'll add your reviewed-by to all patches. There is a couple of things that I don't like about these patches: - Are you sure that all your interrupts are level? I appreciate that's a very common setting, but you seem to have simply decided that there wasn't any edge interrupt. Is that a "Let's see what breaks" situation? If so, It'd be good to state it. - You've used the IRQ_TYPE_LEVEL_HIGH macro everywhere, but didn't use the GIC_SPI macro as the first argument of each interrupt specifier. I'm by no mean a fan of these macros, but you should at least have some consistency inside an interrupt specifier. Thanks, M. -- Jazz is not dead. It just smells funny.