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

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 2017-08-01 20:50 +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>
Organization linux.* mail to news gateway

Show all headers | 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