public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Felipe Balbi <balbi@ti.com>
To: Valentin Rothberg <valentinrothberg@gmail.com>
Cc: Nishanth Menon <nm@ti.com>,
	linux-mips@linux-mips.org, Jiri Kosina <jkosina@suse.cz>,
	Tony Lindgren <tony@atomide.com>,
	Peter Ujfalusi <peter.ujfalusi@ti.com>,
	linux-mtd@lists.infradead.org,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	Huacai Chen <chenhc@lemote.com>, Christoph Hellwig <hch@lst.de>,
	iss_storagedev@hp.com, Jonathan Corbet <corbet@lwn.net>,
	Quentin Lambert <lambert.quentin@gmail.com>,
	Ewan Milne <emilne@redhat.com>, Ingo Molnar <mingo@kernel.org>,
	Peter Zijlstra <peterz@infradead.org>,
	Felipe Balbi <balbi@ti.com>,
	Dan Carpenter <dan.carpenter@oracle.com>,
	Afzal Mohammed <afzal@ti.com>, Arnd Bergmann <arnd@arndb.de>,
	Eyal Perry <eyalpe@mellanox.com>, Hannes Reinecke <hare@suse.de>,
	Thomas Gleixner <tglx@linutronix.de>,
	Paul Bolle <pebolle@tiscali.nl>, Keerthy <j-keerthy@ti.com>,
	linux-usb@vger.kernel.org, linux-doc@vger.kernel.org,
	linux-kernel@vger.kernel.org, Ralf Baechle <ralf@linux-mips.org>,
	Zhou Wang <wangzhou1@hisilicon.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Hongliang Tao <taohl@lemote.com>,
	akpm@linux-foundation.org,
	Brian Norris <computersforpeace@gmail.com>,
	David Woodhouse <dwmw2@infradead.org>
Subject: Re: [PATCH v2] Remove deprecated IRQF_DISABLED flag entirely
Date: Mon, 9 Mar 2015 11:52:42 -0500	[thread overview]
Message-ID: <20150309165242.GK3739@saruman.tx.rr.com> (raw)
In-Reply-To: <1425565425-12604-1-git-send-email-valentinrothberg@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1742 bytes --]

Hi,

On Thu, Mar 05, 2015 at 03:23:08PM +0100, Valentin Rothberg wrote:
> The IRQF_DISABLED is a NOOP and has been scheduled for removal since
> Linux v2.6.36 by commit 6932bf37bed4 ("genirq: Remove IRQF_DISABLED from
> core code").
> 
> According to commit e58aa3d2d0cc ("genirq: Run irq handlers with
> interrupts disabled") running IRQ handlers with interrupts enabled can
> cause stack overflows when the interrupt line of the issuing device is
> still active.
> 
> This patch ends the grace period for IRQF_DISABLED (i.e., SA_INTERRUPT
> in older versions of Linux) and removes the definition and all remaining
> usages of this flag.
> 
> Signed-off-by: Valentin Rothberg <valentinrothberg@gmail.com>
> ---
> The bigger hunk in Documentation/scsi/ncr53c8xx.txt is removed entirely
> as IRQF_DISABLED is gone now; the usage in older kernel versions
> (including the old SA_INTERRUPT flag) should be discouraged.  The
> trouble of using IRQF_SHARED is a general problem and not specific to
> any driver.
> 
> I left the reference in Documentation/PCI/MSI-HOWTO.txt untouched since
> it has already been removed in linux-next by commit b0e1ee8e1405
> ("MSI-HOWTO.txt: remove reference on IRQF_DISABLED").
> 
> All remaining references are changelogs that I suggest to keep.
> 
> Changelog
> 
> v2: Correct previous change to drivers/mtd/nand/hisi504_nand.c that
> broke compilation.  Reported by Dan Carpenter.
> ---
>  drivers/usb/isp1760/isp1760-core.c   |  3 +--
>  drivers/usb/isp1760/isp1760-udc.c    |  4 ++--

I have a commit in my tree for isp1760:

https://git.kernel.org/cgit/linux/kernel/git/balbi/usb.git/commit/?h=testing/fixes&id=80b4a0f8feeb6ee7fa4430a2b4ae1155ed923bd2

-- 
balbi

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  parent reply	other threads:[~2015-03-09 16:54 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-05 12:59 [PATCH] Remove deprecated IRQF_DISABLED flag entirely Valentin Rothberg
2015-03-05 13:08 ` Dan Carpenter
2015-03-05 13:33   ` Valentin Rothberg
2015-03-05 13:11 ` Hannes Reinecke
2015-03-05 13:41   ` Valentin Rothberg
2015-03-06 19:41   ` Dmitry Torokhov
2015-03-09  8:41     ` Valentin Rothberg
2015-03-05 14:23 ` [PATCH v2] " Valentin Rothberg
2015-03-06 18:31   ` Tony Lindgren
2015-03-06 18:46   ` Brian Norris
2015-03-09 16:52   ` Felipe Balbi [this message]
2015-03-09 17:24     ` Valentin Rothberg
2015-03-09 17:29       ` Felipe Balbi

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=20150309165242.GK3739@saruman.tx.rr.com \
    --to=balbi@ti.com \
    --cc=afzal@ti.com \
    --cc=akpm@linux-foundation.org \
    --cc=arnd@arndb.de \
    --cc=chenhc@lemote.com \
    --cc=computersforpeace@gmail.com \
    --cc=corbet@lwn.net \
    --cc=dan.carpenter@oracle.com \
    --cc=dwmw2@infradead.org \
    --cc=emilne@redhat.com \
    --cc=eyalpe@mellanox.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=hare@suse.de \
    --cc=hch@lst.de \
    --cc=iss_storagedev@hp.com \
    --cc=j-keerthy@ti.com \
    --cc=jkosina@suse.cz \
    --cc=lambert.quentin@gmail.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@linux-mips.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=nm@ti.com \
    --cc=pebolle@tiscali.nl \
    --cc=peter.ujfalusi@ti.com \
    --cc=peterz@infradead.org \
    --cc=ralf@linux-mips.org \
    --cc=taohl@lemote.com \
    --cc=tglx@linutronix.de \
    --cc=tony@atomide.com \
    --cc=valentinrothberg@gmail.com \
    --cc=wangzhou1@hisilicon.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