From: Marc Zyngier <marc.zyngier@arm.com>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: "Thomas Gleixner" <tglx@linutronix.de>,
"John Stultz" <john.stultz@linaro.org>,
linux-kernel@vger.kernel.org, "Jon Hunter" <jonathanh@nvidia.com>,
"Björn Andersson" <bjorn.andersson@linaro.org>,
"Stephen Boyd" <sboyd@codeaurora.org>,
"Abhijeet Dharmapurikar" <adharmap@codeaurora.org>
Subject: Re: [PATCH] Revert "irqdomain: Don't set type when mapping an IRQ"
Date: Sat, 6 Aug 2016 16:13:23 +0100 [thread overview]
Message-ID: <20160806161323.742d45fe@arm.com> (raw)
In-Reply-To: <1470471483-1432-1-git-send-email-linus.walleij@linaro.org>
On Sat, 6 Aug 2016 10:18:03 +0200
Linus Walleij <linus.walleij@linaro.org> wrote:
> This reverts commit 1e2a7d78499ec8859d2b469051b7b80bad3b08aa.
>
> When using the APQ8060 Dragonboard I have lost all interrupts from
> the PMIC after this commit: power button, keypad, RTC alarm and
> all GPIOs. Reverting the commit solves the issue.
>
> The affected irqchip driver is drivers/mfd/pm8921-core.c
>
> I cannot immediately see what the problem is, so if you have a
> better solution than just reverting the patch, please suggest.
>
> Cc: Jon Hunter <jonathanh@nvidia.com>
> Cc: Marc Zyngier <marc.zyngier@arm.com>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Cc: John Stultz <john.stultz@linaro.org>
> Cc: Björn Andersson <bjorn.andersson@linaro.org>
> Cc: Stephen Boyd <sboyd@codeaurora.org>
> Cc: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
> I am pretty sure that this is the same bug that John Stultz is
> seeing on the Nexus 7, John: please confirm.
Hi Linus,
Before blindly reverting this patch (which itself is going to cause
other things to break), I'd like to understand the failure mode.
Any chance you could instrument pm8xxx_irq_set_type() and see if we get
called (and which which parameters)? A call stack would be ideal. I'm
normally expecting __irq_set_trigger() to be called from
manage.c::__setup_irq(), but your failure mode would tend to indicate
that it is not going that way. Is there any irq line sharing going on
by any chance?
Also, John has now isolated the failure to a much simpler piece of code,
so I'd hope to narrow it down pretty quickly (see the other thread).
Thanks,
M.
--
Jazz is not dead. It just smells funny.
next prev parent reply other threads:[~2016-08-06 20:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-06 8:18 [PATCH] Revert "irqdomain: Don't set type when mapping an IRQ" Linus Walleij
2016-08-06 15:13 ` Marc Zyngier [this message]
2016-08-06 23:01 ` kbuild test robot
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=20160806161323.742d45fe@arm.com \
--to=marc.zyngier@arm.com \
--cc=adharmap@codeaurora.org \
--cc=bjorn.andersson@linaro.org \
--cc=john.stultz@linaro.org \
--cc=jonathanh@nvidia.com \
--cc=linus.walleij@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sboyd@codeaurora.org \
--cc=tglx@linutronix.de \
/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