Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1701338

Re: [RFC/RFT PATCH 2/3] gpio: pxa: remove gpio_to_irq() from hw irq handlers

Path csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Robert Jarzmik <robert.jarzmik@free.fr>
Newsgroups linux.kernel
Subject Re: [RFC/RFT PATCH 2/3] gpio: pxa: remove gpio_to_irq() from hw irq handlers
Date Tue, 01 Aug 2017 20:50:02 +0200
Message-ID <u9KoW-7AC-7@gated-at.bofh.it> (permalink)
References <u16I2-840-11@gated-at.bofh.it> <u16I3-840-17@gated-at.bofh.it> <u9A6d-mj-9@gated-at.bofh.it>
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
X-URL http://belgarath.falguerolles.org/
User-Agent Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.5 (gnu/linux)
MIME-Version 1.0
Content-Type text/plain
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 27
Organization linux.* mail to news gateway
X-Original-Cc Grygorii Strashko <grygorii.strashko@ti.com>, Thierry Reding <thierry.reding@gmail.com>, Jonathan Hunter <jonathanh@nvidia.com>, "linux-gpio\@vger.kernel.org" <linux-gpio@vger.kernel.org>, "linux-kernel\@vger.kernel.org" <linux-kernel@vger.kernel.org>, "linux-tegra\@vger.kernel.org" <linux-tegra@vger.kernel.org>, Jerome Brunet <jbrunet@baylibre.com>
X-Original-Date Tue, 01 Aug 2017 20:41:51 +0200
X-Original-Message-ID <871sovqgeo.fsf@belgarion.home>
X-Original-References <20170708224413.18281-1-grygorii.strashko@ti.com> <20170708224413.18281-3-grygorii.strashko@ti.com> <CACRpkdZMgd7hSc6LwO5MbPb3vetd+qZ_5mXB1P9SM-HR+h_Pqg@mail.gmail.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1701338

Show key headers only | View raw


Linus Walleij <linus.walleij@linaro.org> writes:

> On Sun, Jul 9, 2017 at 12:44 AM, Grygorii Strashko
> <grygorii.strashko@ti.com> 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 <grygorii.strashko@ti.com>
>
> 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

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: [RFC/RFT PATCH 2/3] gpio: pxa: remove gpio_to_irq() from hw irq handlers Linus Walleij <linus.walleij@linaro.org> - 2017-08-01 09:50 +0200
  Re: [RFC/RFT PATCH 2/3] gpio: pxa: remove gpio_to_irq() from hw irq handlers Robert Jarzmik <robert.jarzmik@free.fr> - 2017-08-01 20:50 +0200

csiph-web