You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Andrew Morton
795d45b22c
x86: fix RTC lockdep warning: potential hardirq recursion
After disabling both CONFIG_DEBUG_LOCKING_API_SELFTESTS and netconsole
(using current mainline) I get a login prompt, and also...
[ 5.181668] SELinux: policy loaded with handle_unknown=deny
[ 5.183315] type=1403 audit(1202100038.157:3): policy loaded auid=4294967295 ses=4294967295
[ 5.822073] SELinux: initialized (dev usbfs, type usbfs), uses genfs_contexts
[ 7.819146] ------------[ cut here ]------------
[ 7.819146] WARNING: at kernel/lockdep.c:2033 trace_hardirqs_on+0x9b/0x10d()
[ 7.819146] Modules linked in: generic ext3 jbd ide_disk ide_core
[ 7.819146] Pid: 399, comm: hwclock Not tainted 2.6.24 #4
[ 7.819146] [<c011d140>] warn_on_slowpath+0x41/0x51
[ 7.819146] [<c01364a9>] ? lock_release_holdtime+0x50/0x56
[ 7.819146] [<c013770c>] ? check_usage_forwards+0x19/0x3b
[ 7.819146] [<c01390c4>] ? __lock_acquire+0xac3/0xb0b
[ 7.819146] [<c0108c98>] ? native_sched_clock+0x8b/0x9f
[ 7.819146] [<c01364a9>] ? lock_release_holdtime+0x50/0x56
[ 7.819146] [<c030ca6c>] ? _spin_unlock_irq+0x22/0x42
[ 7.819146] [<c013848b>] trace_hardirqs_on+0x9b/0x10d
[ 7.819146] [<c030ca6c>] _spin_unlock_irq+0x22/0x42
[ 7.819146] [<c011481e>] hpet_rtc_interrupt+0xdf/0x290
[ 7.819146] [<c014ea90>] handle_IRQ_event+0x1a/0x46
[ 7.819146] [<c014f8ea>] handle_edge_irq+0xbe/0xff
[ 7.819146] [<c0106e08>] do_IRQ+0x6d/0x84
[ 7.819146] [<c0105596>] common_interrupt+0x2e/0x34
[ 7.819146] [<c013007b>] ? ktime_get_ts+0x8/0x3f
[ 7.819146] [<c0139420>] ? lock_release+0x167/0x16f
[ 7.819146] [<c017974a>] ? core_sys_select+0x2c/0x327
[ 7.819146] [<c0179792>] core_sys_select+0x74/0x327
[ 7.819146] [<c0108c98>] ? native_sched_clock+0x8b/0x9f
[ 7.819146] [<c01364a9>] ? lock_release_holdtime+0x50/0x56
[ 7.819146] [<c030ca6c>] ? _spin_unlock_irq+0x22/0x42
[ 7.819146] [<c01384d6>] ? trace_hardirqs_on+0xe6/0x10d
[ 7.819146] [<c030ca77>] ? _spin_unlock_irq+0x2d/0x42
[ 7.819146] [<c023b437>] ? rtc_do_ioctl+0x11b/0x677
[ 7.819146] [<c01c487e>] ? inode_has_perm+0x5e/0x68
[ 7.819146] [<c01364a9>] ? lock_release_holdtime+0x50/0x56
[ 7.819146] [<c0108c98>] ? native_sched_clock+0x8b/0x9f
[ 7.819146] [<c01c490b>] ? file_has_perm+0x83/0x8c
[ 7.819146] [<c023ba08>] ? rtc_ioctl+0xf/0x11
[ 7.819146] [<c017898d>] ? do_ioctl+0x55/0x67
[ 7.819146] [<c0179d15>] sys_select+0x93/0x163
[ 7.819146] [<c0104b39>] ? sysenter_past_esp+0x9a/0xa5
[ 7.819146] [<c0104afe>] sysenter_past_esp+0x5f/0xa5
[ 7.819146] =======================
[ 7.819146] ---[ end trace 96540ca301ffb84c ]---
[ 7.819210] rtc: lost 6 interrupts
[ 7.870668] type=1400 audit(1202128840.794:4): avc: denied { audit_write } for pid=399 comm="hwclock" capability=29 scontext=system_u:system_r:hwclock_t:s0 tcontext=system_u:system_r:hwclock_t:s0 tclass=capability
[ 9.538866] input: PC Speaker as /class/input/input5
Because hpet_rtc_interrupt()'s call to get_rtc_time() ends up
resolving to include/asm-generic/rtc.h's (hilariously inlined)
get_rtc_time(), which does spin_unlock_irq() from hard IRQ context.
The obvious patch fixes it.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
|
17 years ago |
.. |
bitops
|
ext4: Add ext4_find_next_bit()
|
17 years ago |
4level-fixup.h
|
[PATCH] Standardize pxx_page macros
|
19 years ago |
Kbuild
|
remove include/asm-*/ipc.h
|
18 years ago |
Kbuild.asm
|
unexport asm/shmparam.h
|
18 years ago |
atomic.h
|
atomic.h: atomic_add_unless as inline. Remove system.h atomic.h circular dependency
|
18 years ago |
audit_change_attr.h
|
[PATCH] fix missing ifdefs in syscall classes hookup for generic targets
|
19 years ago |
audit_dir_write.h
|
[PATCH] fix missing ifdefs in syscall classes hookup for generic targets
|
19 years ago |
audit_read.h
|
[PATCH] audit: more syscall classes added
|
19 years ago |
audit_signal.h
|
[PATCH] add SIGNAL syscall class (v3)
|
18 years ago |
audit_write.h
|
[PATCH] audit: more syscall classes added
|
19 years ago |
bitops.h
|
forbid asm/bitops.h direct inclusion
|
18 years ago |
bug.h
|
debug: move WARN_ON() out of line
|
17 years ago |
cputime.h
|
[CPUFREQ] Remove slowdown from ondemand sampling path.
|
19 years ago |
device.h
|
Driver core: add dev_archdata to struct device
|
18 years ago |
div64.h
|
[NET]: div64_64 consolidate (rev3)
|
18 years ago |
dma-mapping-broken.h
|
dma-mapping: prevent dma dependent code from linking on !HAS_DMA archs
|
18 years ago |
dma-mapping.h
|
[PATCH] Pass struct dev pointer to dma_cache_sync()
|
18 years ago |
emergency-restart.h
|
[PATCH] Add emergency_restart()
|
20 years ago |
errno-base.h
|
…
|
|
errno.h
|
…
|
|
fcntl.h
|
Introduce O_CLOEXEC
|
18 years ago |
futex.h
|
[PATCH] mm: pagefault_{disable,enable}()
|
18 years ago |
gpio.h
|
[PATCH] GPIO core
|
18 years ago |
ide_iops.h
|
…
|
|
ioctl.h
|
[PATCH] Generic ioctl.h
|
19 years ago |
iomap.h
|
…
|
|
irq_regs.h
|
IRQ: Maintain regs pointer globally rather than passing to IRQ handlers
|
19 years ago |
kdebug.h
|
move die notifier handling to common code
|
18 years ago |
libata-portmap.h
|
libata-portmap: Remove unused definitions
|
18 years ago |
local.h
|
local_t: architecture independent extension
|
18 years ago |
memory_model.h
|
Generic Virtual Memmap support for SPARSEMEM
|
18 years ago |
mm_hooks.h
|
[PATCH] x86: PARAVIRT: add hooks to intercept mm creation and destruction
|
18 years ago |
mman.h
|
[PATCH] Remove final references to deprecated "MAP_ANON" page protection flag
|
18 years ago |
mutex-dec.h
|
fix file specification in comments
|
19 years ago |
mutex-null.h
|
fix file specification in comments
|
19 years ago |
mutex-xchg.h
|
fix file specification in comments
|
19 years ago |
page.h
|
Revert "[PATCH] LOG2: Alter get_order() so that it can make use of ilog2() on a constant"
|
18 years ago |
pci-dma-compat.h
|
…
|
|
pci.h
|
[PATCH] Make sparc64 use setup-res.c
|
20 years ago |
percpu.h
|
x86/non-x86: percpu, node ids, apic ids x86.git fixup
|
17 years ago |
pgtable-nopmd.h
|
[PATCH] Standardize pxx_page macros
|
19 years ago |
pgtable-nopud.h
|
[PATCH] Standardize pxx_page macros
|
19 years ago |
pgtable.h
|
flush icache before set_pte() on ia64: flush icache at set_pte
|
18 years ago |
poll.h
|
Consolidate asm/poll.h
|
18 years ago |
resource.h
|
sched: SCHED_FIFO/SCHED_RR watchdog timer
|
17 years ago |
rtc.h
|
x86: fix RTC lockdep warning: potential hardirq recursion
|
17 years ago |
sections.h
|
[PATCH] add __[start|end]_rodata sections to asm-generic/sections.h
|
19 years ago |
siginfo.h
|
…
|
|
signal.h
|
Add standard include guard to asm-generic/signal and use compiler.h
|
19 years ago |
statfs.h
|
…
|
|
termios.h
|
Define termios_1 functions for powerpc, s390, avr32 and frv
|
18 years ago |
tlb.h
|
asm-generic/tlb.h: remove <linux/quicklist.h>
|
17 years ago |
topology.h
|
[PATCH] x86/x86_64: pcibus_to_node
|
20 years ago |
uaccess.h
|
…
|
|
unaligned.h
|
use __val in __get_unaligned
|
18 years ago |
vmlinux.lds.h
|
x86: add testcases for RODATA and NX protections/attributes
|
17 years ago |
xor.h
|
…
|
|