From: viresh kumar <viresh.linux@gmail.com> To: Marc Zyngier <marc.zyngier@arm.com> Cc: "wim@iguana.be" <wim@iguana.be>, "spear-devel@list.st.com" <spear-devel@list.st.com>, "linux-watchdog@vger.kernel.org" <linux-watchdog@vger.kernel.org>, "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org>, Pawel Moll <Pawel.Moll@arm.com>, Viresh Kumar <viresh.kumar@st.com> Subject: Re: [PATCH V2] watchdog: mpcore: Add DT probing support for ARM mpcore watchdog Date: Mon, 23 Apr 2012 21:31:25 +0530 [thread overview] Message-ID: <CAOh2x=kyJ3tG3go0TQ2LXLOKDf0m9=uz1=KC7asMS0FSxtx9uA@mail.gmail.com> (raw) In-Reply-To: <4F957A0C.7060607@arm.com> On 4/23/12, Marc Zyngier <marc.zyngier@arm.com> wrote: > The TWD watchdog uses a per-cpu interrupt (usually interrupt #30), and > the GIC configuration should flag it as such. With this setup, > request_irq() should fail, and the right API is request_percpu_irq(), > together with enable_percpu_irq()/disable_percpu_irq(). request_irq() doesn't fail for me even if i pass it. > So how it works in your environment is a bit puzzling. Unless you're not > using GIC? We use GIC and are running SMP. But we don't use wdt interrupt :) We only test it for system reset/reboot. I don't have a patch for this. Can you please add that? -- Viresh
WARNING: multiple messages have this Message-ID (diff)
From: viresh.linux@gmail.com (viresh kumar) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH V2] watchdog: mpcore: Add DT probing support for ARM mpcore watchdog Date: Mon, 23 Apr 2012 21:31:25 +0530 [thread overview] Message-ID: <CAOh2x=kyJ3tG3go0TQ2LXLOKDf0m9=uz1=KC7asMS0FSxtx9uA@mail.gmail.com> (raw) In-Reply-To: <4F957A0C.7060607@arm.com> On 4/23/12, Marc Zyngier <marc.zyngier@arm.com> wrote: > The TWD watchdog uses a per-cpu interrupt (usually interrupt #30), and > the GIC configuration should flag it as such. With this setup, > request_irq() should fail, and the right API is request_percpu_irq(), > together with enable_percpu_irq()/disable_percpu_irq(). request_irq() doesn't fail for me even if i pass it. > So how it works in your environment is a bit puzzling. Unless you're not > using GIC? We use GIC and are running SMP. But we don't use wdt interrupt :) We only test it for system reset/reboot. I don't have a patch for this. Can you please add that? -- Viresh
next prev parent reply other threads:[~2012-04-23 16:01 UTC|newest] Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-04-20 14:42 [PATCH] watchdog: mpcore: Add DT bindings for ARM mpcore watchdog Viresh Kumar 2012-04-20 14:42 ` Viresh Kumar 2012-04-21 8:32 ` Pawel Moll 2012-04-21 8:32 ` Pawel Moll 2012-04-21 11:41 ` [PATCH V2] watchdog: mpcore: Add DT probing support " Viresh Kumar 2012-04-21 11:41 ` Viresh Kumar 2012-04-23 8:36 ` Marc Zyngier 2012-04-23 8:36 ` Marc Zyngier 2012-04-23 11:35 ` viresh kumar 2012-04-23 11:35 ` viresh kumar 2012-04-23 12:15 ` Marc Zyngier 2012-04-23 12:15 ` Marc Zyngier 2012-04-23 12:21 ` viresh kumar 2012-04-23 12:21 ` viresh kumar 2012-04-23 14:21 ` viresh kumar 2012-04-23 14:21 ` viresh kumar 2012-04-23 15:22 ` Marc Zyngier 2012-04-23 15:22 ` Marc Zyngier 2012-04-23 15:33 ` viresh kumar 2012-04-23 15:33 ` viresh kumar 2012-04-23 15:49 ` Marc Zyngier 2012-04-23 15:49 ` Marc Zyngier 2012-04-23 16:01 ` viresh kumar [this message] 2012-04-23 16:01 ` viresh kumar 2012-04-23 16:12 ` Marc Zyngier 2012-04-23 16:12 ` Marc Zyngier 2012-04-23 16:16 ` viresh kumar 2012-04-23 16:16 ` viresh kumar 2012-04-23 16:26 ` Marc Zyngier 2012-04-23 16:26 ` Marc Zyngier 2012-04-24 10:25 ` Viresh Kumar 2012-04-24 10:25 ` Viresh Kumar
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='CAOh2x=kyJ3tG3go0TQ2LXLOKDf0m9=uz1=KC7asMS0FSxtx9uA@mail.gmail.com' \ --to=viresh.linux@gmail.com \ --cc=Pawel.Moll@arm.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-watchdog@vger.kernel.org \ --cc=marc.zyngier@arm.com \ --cc=spear-devel@list.st.com \ --cc=viresh.kumar@st.com \ --cc=wim@iguana.be \ /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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.