From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
To: peterz@infradead.org
Cc: a.zummo@towertech.it, rtc-linux@googlegroups.com,
linux-kernel@vger.kernel.org, tglx@linutronix.de
Subject: Re: [PATCH] rtc-ds1553: Drop IRQF_DISABLED
Date: Tue, 07 Apr 2009 21:49:23 +0900 (JST) [thread overview]
Message-ID: <20090407.214923.126142447.anemo@mba.ocn.ne.jp> (raw)
In-Reply-To: <1239046422.798.4803.camel@twins>
On Mon, 06 Apr 2009 21:33:42 +0200, Peter Zijlstra <peterz@infradead.org> wrote:
> > IRQF_DISABLED should be be used with IRQF_SHARED. Drop IRQF_DISABLED
> > and add spin_lock_irqsave/spin_unlock_irqrestore to the interrupt
> > handler.
>
> I think you should use IRQF_DISABLED if at all possible. Only broken
> hardware has an excuse not to.
>
> NAK
OK, then I will drop IRQF_SHARED instead. There is no in-tree user of
this driver and only out-of-tree user I know uses dedicated irq line
for this RTC.
---
Atsushi Nemoto
prev parent reply other threads:[~2009-04-07 12:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-06 16:50 Atsushi Nemoto
2009-04-06 19:33 ` Peter Zijlstra
2009-04-07 12:49 ` Atsushi Nemoto [this message]
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=20090407.214923.126142447.anemo@mba.ocn.ne.jp \
--to=anemo@mba.ocn.ne.jp \
--cc=a.zummo@towertech.it \
--cc=linux-kernel@vger.kernel.org \
--cc=peterz@infradead.org \
--cc=rtc-linux@googlegroups.com \
--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
all inboxes | Powered by JetHome®