From: Michal Simek <monstr@monstr.eu>
To: Lars-Peter Clausen <lars@metafoo.de>,
Linus Walleij <linus.walleij@linaro.org>
Cc: "Alexandre Courbot" <gnurou@gmail.com>,
"Michal Simek" <michal.simek@xilinx.com>,
"Harini Katakam" <harini.katakam@xilinx.com>,
"Sören Brinkmann" <soren.brinkmann@xilinx.com>,
"linux-gpio@vger.kernel.org" <linux-gpio@vger.kernel.org>
Subject: Re: [PATCH v2 2/2] gpio: zynq: Take bank offset into account when reporting a IRQ
Date: Fri, 29 Aug 2014 11:33:31 +0200 [thread overview]
Message-ID: <540048EB.7000801@monstr.eu> (raw)
In-Reply-To: <54002D0B.8080509@metafoo.de>
[-- Attachment #1: Type: text/plain, Size: 2060 bytes --]
Hi Lars and Linus,
On 08/29/2014 09:34 AM, Lars-Peter Clausen wrote:
> On 08/29/2014 09:20 AM, Linus Walleij wrote:
>> On Thu, Aug 21, 2014 at 3:30 PM, Lars-Peter Clausen <lars@metafoo.de> wrote:
>>> On 08/21/2014 02:40 PM, Linus Walleij wrote:
>>>>
>>>> On Mon, Aug 18, 2014 at 4:54 AM, Lars-Peter Clausen <lars@metafoo.de>
>>>> wrote:
>>>>
>>>>> When looking up the IRQ the bank offset needs to be taken into account.
>>>>> Otherwise interrupts for banks other than bank 0 get incorrectly reported
>>>>> as
>>>>> interrupts for bank 0.
>>>>>
>>>>> Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
>>>>> ---
>>>>> Changes since v1:
>>>>> * Use lookup table instead of switch-case.
>>>>
>>>>
>>>> I tried to apply this, but it doesn't apply on top of the other patch
>>>> "gpio: zynq: Fix IRQ handlers" that I have queued for fixes.
>>>
>>>
>>> Works fine for me. Did you try to apply both patch 1 and 2 of this series or
>>> just patch 2?
>>
>> Yes, and on my fixes branch, as well as on Torvald's master (which now
>> has patch 1/2) this happens:
>>
>> ]$ git am --signoff zynq2.patch
>> Applying: gpio: zynq: Take bank offset into account when reporting a IRQ
>> error: patch failed: drivers/gpio/gpio-zynq.c:461
>> error: drivers/gpio/gpio-zynq.c: patch does not apply
>> Patch failed at 0001 gpio: zynq: Take bank offset into account when
>> reporting a IRQ
>>
>> Can you please test applying this patch only on upstream this and figure
>> out what is wrong?
>
> I think there is some confusion here, maybe two different series got mixed up. Patch 1 of this series is "gpio: zynq: Reduce level of indention in zynq_gpio_irqhandler()", which you just applied, but which is not in Linus' tree or the public gpio tree yet.
I have no problem to apply that patches on the top of Linus tree.
Here is the branch with that two patches.
http://git.monstr.eu/?p=linux-2.6-microblaze.git;a=shortlog;h=refs/heads/xnext/zynq-gpio
Feel free to cherry pick them from this branch.
Thanks,
Michal
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2014-08-29 9:33 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-18 9:54 [PATCH 1/2] gpio: zynq: Reduce level of indention in zynq_gpio_irqhandler() Lars-Peter Clausen
2014-08-18 9:54 ` [PATCH v2 2/2] gpio: zynq: Take bank offset into account when reporting a IRQ Lars-Peter Clausen
2014-08-18 16:28 ` Alexandre Courbot
2014-08-18 18:54 ` Sören Brinkmann
2014-08-18 19:04 ` Harini Katakam
2014-08-21 12:40 ` Linus Walleij
2014-08-21 13:30 ` Lars-Peter Clausen
2014-08-29 7:20 ` Linus Walleij
2014-08-29 7:34 ` Lars-Peter Clausen
2014-08-29 9:33 ` Michal Simek [this message]
2014-09-03 11:57 ` Linus Walleij
2014-08-29 6:33 ` [PATCH 1/2] gpio: zynq: Reduce level of indention in zynq_gpio_irqhandler() Linus Walleij
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=540048EB.7000801@monstr.eu \
--to=monstr@monstr.eu \
--cc=gnurou@gmail.com \
--cc=harini.katakam@xilinx.com \
--cc=lars@metafoo.de \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=michal.simek@xilinx.com \
--cc=soren.brinkmann@xilinx.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).