qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Xie Xianshan <xiexs@cn.fujitsu.com>
To: qemu-devel@nongnu.org
Cc: qemu-ppc@nongnu.org
Subject: [Qemu-devel] Disabling IRQ error
Date: Tue, 10 Sep 2013 15:25:36 +0800	[thread overview]
Message-ID: <522EC970.2000804@cn.fujitsu.com> (raw)

hi everyone,

I`m getting the nobody cared disabling IRQ error, when i raised external 
interrupts IRQ3 to the Openpic in QEMU.
(Actually, any external interrupts irq i raised can reproduce this 
error, but internal interrupts work fine)

And this IRQ3 is sharing irq with usb card.

I have tried to resolve this issue as follows, but nothing changed.
  1)tried to boot with "irqpoll" option.
  2)tried to stop raising the irq for usb card.
  3)tried to boot with "kernel_irqchip" option

Related log from dmesg:
[ 2079.800787] irq 19: nobody cared (try booting with the "irqpoll" option)
[ 2079.800891] Call Trace:
[ 2079.801303] [d7ff3f40] [c0007780] show_stack+0x7c/0x1a0 (unreliable)
[ 2079.801398] [d7ff3f80] [c007ad48] __report_bad_irq+0x5c/0xe0
[ 2079.801439] [d7ff3fa0] [c007af58] note_interrupt+0x18c/0x240
[ 2079.801466] [d7ff3fd0] [c007be04] handle_fasteoi_irq+0xf8/0x158
[ 2079.801492] [d7ff3ff0] [c000d9d4] call_handle_irq+0x18/0x28
[ 2079.801582] [d7ff5ec0] [c0004df0] do_IRQ+0xf0/0x16c
[ 2079.801609] [d7ff5ee0] [c000e9bc] ret_from_except+0x0/0x18
[ 2079.801652] --- Exception: 501 at __do_softirq+0x94/0x18c
[ 2079.801664]     LR = __do_softirq+0x54/0x18c
[ 2079.801698] [d7ff5ff0] [c000d9ac] call_do_softirq+0x14/0x24
[ 2079.801725] [d788fc50] [c0004bc0] do_softirq+0x74/0xa0
[ 2079.801751] [d788fc70] [c004350c] irq_exit+0x3c/0x8c
[ 2079.801775] [d788fc80] [c0004e3c] do_IRQ+0x13c/0x16c
[ 2079.801800] [d788fca0] [c000e9bc] ret_from_except+0x0/0x18
[ 2079.802566] --- Exception: 501 at bbc_dma_exec+0xa08/0xef4 [bbc_driver]
[ 2079.802580]     LR = bbc_dma_exec+0x970/0xef4 [bbc_driver]
[ 2079.802620] [d788fdf0] [d94d4f28] 
bbc_ioctl_dma_read_write+0x2bc/0x464 [bbc_driver]
[ 2079.802661] [d788fe70] [d94cae84] bbc_ioctl+0x2a0/0x36c [bbc_driver]
[ 2079.802754] [d788feb0] [c00d1f04] do_vfs_ioctl+0x6b8/0x760
[ 2079.802782] [d788ff10] [c00d2014] sys_ioctl+0x68/0xa8
[ 2079.802807] [d788ff40] [c000e368] ret_from_syscall+0x0/0x3c
[ 2079.802891] --- Exception: c01 at 0xfaffda8
[ 2079.802901]     LR = 0xfb8ec20
[ 2079.802936] handlers:
[ 2079.803034] [<c0268d70>] (usb_hcd_irq+0x0/0xac)
[ 2079.803120] [<d94cc1bc>] (bbc_interrupt_handler+0x0/0x65c [bbc_driver])
[ 2079.803181] Disabling IRQ #19

And interrupt information from /proc/interrupts and stat:
# cat /proc/interrupts
            CPU0
  18:       6923    OpenPIC         Level        ohci_hcd:usb2, 
ohci_hcd:usb3, drvbbc_ldc
  19:     100001    OpenPIC         Level        ehci_hcd:usb1, drvbbc
  20:          0    OpenPIC         Edge         internal_error
  21:          0    OpenPIC         Level        NMI
  22:          0    OpenPIC         Level        SP_I2C_Handler
  42:       1148    OpenPIC         Level        serial
  43:        174    OpenPIC         Level        i2c-mpc, i2c-mpc
  59:          0    OpenPIC         Level        fsl_espi
  72:      51888    OpenPIC         Level        mmc0
LOC:     143330   Local timer interrupts
SPU:          0   Spurious interrupts
CNT:          0   Performance monitoring interrupts
MCE:          0   Machine check exceptions

#cat /proc/stat
cpu  4929 0 5784 353692 736 0 460 0 0 0
cpu0 4929 0 5784 353692 736 0 460 0 0 0
intr 394342 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 6929 100001 0 0 0 0 0 0 
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1574 174 0 0 0 0 0 0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ix it.
Do you have experience to this?

Thanks in advance for any advice.


Simen

             reply	other threads:[~2013-09-10  7:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-10  7:25 Xie Xianshan [this message]
2013-09-10  8:23 ` [Qemu-devel] Disabling IRQ error Max Filippov
2013-09-11  8:12   ` Xie Xianshan
2013-09-11  9:29     ` Max Filippov
2013-09-12  7:49       ` Xie Xianshan
2013-09-12  7:59         ` Max Filippov
2013-09-12 10:51           ` Xie Xianshan
2013-09-12 11:10             ` Max Filippov
2013-10-23  2:38       ` Xie Xianshan

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=522EC970.2000804@cn.fujitsu.com \
    --to=xiexs@cn.fujitsu.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    /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;
as well as URLs for NNTP newsgroup(s).