* [PATCH 33/55] infiniband: irq: Remove IRQF_DISABLED
[not found] ` <1316681962-8217-1-git-send-email-yong.zhang0-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2011-09-22 8:59 ` Yong Zhang
2011-09-22 16:56 ` Roland Dreier
0 siblings, 1 reply; 5+ messages in thread
From: Yong Zhang @ 2011-09-22 8:59 UTC (permalink / raw)
To: linux-kernel-u79uwXL29TY76Z2rM5mHXA,
linux-arch-u79uwXL29TY76Z2rM5mHXA
Cc: tglx-hfZtesqFncYOwBW4kG4KsQ, yong.zhang0-Re5JQEeQqe8AvxtiuMwx3w,
Hoang-Nam Nguyen, Christoph Raisch, Roland Dreier, Sean Hefty,
Hal Rosenstock, linux-rdma-u79uwXL29TY76Z2rM5mHXA
Since commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled],
We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
Signed-off-by: Yong Zhang <yong.zhang0-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
drivers/infiniband/hw/ehca/ehca_eq.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/infiniband/hw/ehca/ehca_eq.c b/drivers/infiniband/hw/ehca/ehca_eq.c
index d9b1bb4..818d721 100644
--- a/drivers/infiniband/hw/ehca/ehca_eq.c
+++ b/drivers/infiniband/hw/ehca/ehca_eq.c
@@ -125,7 +125,7 @@ int ehca_create_eq(struct ehca_shca *shca,
tasklet_init(&eq->interrupt_task, ehca_tasklet_eq, (long)shca);
ret = ibmebus_request_irq(eq->ist, ehca_interrupt_eq,
- IRQF_DISABLED, "ehca_eq",
+ 0, "ehca_eq",
(void *)shca);
if (ret < 0)
ehca_err(ib_dev, "Can't map interrupt handler.");
@@ -133,7 +133,7 @@ int ehca_create_eq(struct ehca_shca *shca,
tasklet_init(&eq->interrupt_task, ehca_tasklet_neq, (long)shca);
ret = ibmebus_request_irq(eq->ist, ehca_interrupt_neq,
- IRQF_DISABLED, "ehca_neq",
+ 0, "ehca_neq",
(void *)shca);
if (ret < 0)
ehca_err(ib_dev, "Can't map interrupt handler.");
--
1.7.4.1
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 33/55] infiniband: irq: Remove IRQF_DISABLED
2011-09-22 8:59 ` [PATCH 33/55] infiniband: irq: Remove IRQF_DISABLED Yong Zhang
@ 2011-09-22 16:56 ` Roland Dreier
2011-09-23 1:40 ` Yong Zhang
0 siblings, 1 reply; 5+ messages in thread
From: Roland Dreier @ 2011-09-22 16:56 UTC (permalink / raw)
To: Yong Zhang
Cc: linux-kernel, linux-arch, tglx, Hoang-Nam Nguyen,
Christoph Raisch, Sean Hefty, Hal Rosenstock, linux-rdma
Is someone taking this whole series, or should I take the ehca part?
(I know the ehca guys already acked this)
- R.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 33/55] infiniband: irq: Remove IRQF_DISABLED
2011-09-22 16:56 ` Roland Dreier
@ 2011-09-23 1:40 ` Yong Zhang
2011-09-23 1:48 ` Yong Zhang
0 siblings, 1 reply; 5+ messages in thread
From: Yong Zhang @ 2011-09-23 1:40 UTC (permalink / raw)
To: Roland Dreier
Cc: linux-kernel, linux-arch, tglx, Hoang-Nam Nguyen,
Christoph Raisch, Sean Hefty, Hal Rosenstock, linux-rdma
On Thu, Sep 22, 2011 at 09:56:07AM -0700, Roland Dreier wrote:
> Is someone taking this whole series, or should I take the ehca part?
You could take it and Thomas will take the leftovers.
> (I know the ehca guys already acked this)
Yeah, so I mentioned it in the cover letter :)
Thanks,
Yong
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 33/55] infiniband: irq: Remove IRQF_DISABLED
2011-09-23 1:40 ` Yong Zhang
@ 2011-09-23 1:48 ` Yong Zhang
2011-09-23 18:09 ` Roland Dreier
0 siblings, 1 reply; 5+ messages in thread
From: Yong Zhang @ 2011-09-23 1:48 UTC (permalink / raw)
To: Roland Dreier
Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA,
linux-arch-u79uwXL29TY76Z2rM5mHXA, tglx-hfZtesqFncYOwBW4kG4KsQ,
Hoang-Nam Nguyen, Christoph Raisch, Sean Hefty, Hal Rosenstock,
linux-rdma-u79uwXL29TY76Z2rM5mHXA
On Fri, Sep 23, 2011 at 9:40 AM, Yong Zhang <yong.zhang0-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> On Thu, Sep 22, 2011 at 09:56:07AM -0700, Roland Dreier wrote:
>> Is someone taking this whole series, or should I take the ehca part?
>
> You could take it and Thomas will take the leftovers.
>
>> (I know the ehca guys already acked this)
>
> Yeah, so I mentioned it in the cover letter :)
Seems I still don't wake up yet. Sorry for my misreading.
So like I said above, you could take it if you want to.
Otherwise Thomas will take it.
Thanks,
Yong
--
Only stand for myself
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 33/55] infiniband: irq: Remove IRQF_DISABLED
2011-09-23 1:48 ` Yong Zhang
@ 2011-09-23 18:09 ` Roland Dreier
0 siblings, 0 replies; 5+ messages in thread
From: Roland Dreier @ 2011-09-23 18:09 UTC (permalink / raw)
To: Yong Zhang
Cc: linux-kernel, linux-arch, tglx, Hoang-Nam Nguyen,
Christoph Raisch, Sean Hefty, Hal Rosenstock, linux-rdma
On Thu, Sep 22, 2011 at 6:48 PM, Yong Zhang <yong.zhang0@gmail.com> wrote:
> So like I said above, you could take it if you want to.
Great, I queued this up for 3.2, thanks.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-09-23 18:09 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1316681962-8217-1-git-send-email-yong.zhang0@gmail.com>
[not found] ` <1316681962-8217-1-git-send-email-yong.zhang0-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-09-22 8:59 ` [PATCH 33/55] infiniband: irq: Remove IRQF_DISABLED Yong Zhang
2011-09-22 16:56 ` Roland Dreier
2011-09-23 1:40 ` Yong Zhang
2011-09-23 1:48 ` Yong Zhang
2011-09-23 18:09 ` Roland Dreier
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).