Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752053AbdHASl7 (ORCPT ); Tue, 1 Aug 2017 14:41:59 -0400 Received: from smtp01.smtpout.orange.fr ([80.12.242.123]:30712 "EHLO smtp.smtpout.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751980AbdHASl5 (ORCPT ); Tue, 1 Aug 2017 14:41:57 -0400 X-ME-Helo: belgarion X-ME-Auth: amFyem1pay5yb2JlcnRAb3JhbmdlLmZy X-ME-Date: Tue, 01 Aug 2017 20:41:54 +0200 X-ME-IP: 37.160.124.193 From: Robert Jarzmik To: Linus Walleij Cc: Grygorii Strashko , Thierry Reding , Jonathan Hunter , "linux-gpio\@vger.kernel.org" , "linux-kernel\@vger.kernel.org" , "linux-tegra\@vger.kernel.org" , Jerome Brunet Subject: Re: [RFC/RFT PATCH 2/3] gpio: pxa: remove gpio_to_irq() from hw irq handlers References: <20170708224413.18281-1-grygorii.strashko@ti.com> <20170708224413.18281-3-grygorii.strashko@ti.com> X-URL: http://belgarath.falguerolles.org/ Date: Tue, 01 Aug 2017 20:41:51 +0200 In-Reply-To: (Linus Walleij's message of "Tue, 1 Aug 2017 09:47:56 +0200") Message-ID: <871sovqgeo.fsf@belgarion.home> User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 699 Lines: 27 Linus Walleij writes: > On Sun, Jul 9, 2017 at 12:44 AM, Grygorii Strashko > wrote: > >> gpio_to_irq() API expected to be used by GPIO consumers and >> not drivers and there are no guarantee that its gpiolib implementation >> is irq safe. >> >> Signed-off-by: Grygorii Strashko > > Patch applied. > > This is the right thing to do. > > PXA developers: please test. Hi Linus, Currently pxa25x and pxa27x are broken because of a .data section misalignment (issue cross arm architectures), so testing is a bit hard for me right now. I'll wait to have a working again tree to test, and then report. Cheers. -- Robert