Project

General

Profile

Actions

Feature #2785

open

113: Do not allow enabling interrupts while in an interrupt handler

Added by Alexey Khoroshilov over 12 years ago. Updated almost 12 years ago.

Status:
New
Priority:
Normal
Assignee:
Start date:
04/25/2012
Due date:
% Done:

0%

Estimated time:
Published in build:

Description

Can't allow enabling interrupts while in an interrupt handler, that's general bad form and such.

spin_unlock_irq() cannot be called in IRQ context
as well as
local_irq_enable()
rwlock:
read_unlock_irq()
write_unlock_irq()
seqlock:
write_sequnlock_irq()
on_each_cpu()
and may be others.

[specific:context:interrupt:enable_irq]

As an example of fix see:
PM / Runtime: Don't enable interrupts while running in_interrupt
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=commitdiff;h=c3810c88788d505d4ffd786addd111b745e42161
https://bugzilla.kernel.org/show_bug.cgi?id=27482

Actions

Also available in: Atom PDF