Re: [Qemu-devel] Disabling IRQ error

2013-10-22 Thread Xie Xianshan
Dear Max, Sorry for the late reply. Thanks for your advice about lowering the irqs after raising them, and that fixed my problem. Thanks again for your kindness. Thanks, Simen 于 2013/09/11 17:29, Max Filippov 写道: On Wed, Sep 11, 2013 at 12:12 PM, Xie Xianshan wrote: I want

Re: [Qemu-devel] Disabling IRQ error

2013-09-12 Thread Xie Xianshan
Dear Max, > Does it mean an IRQ to be edge-triggered? No, it is a level-sensitive and active-high interrupt. This is why i tried to use qemu_irq_raise() to trigger IRQ. Thanks, Simen Hi Max, Thanks for your patience and help. I`ve tried to do what you said, but the problem doe

Re: [Qemu-devel] Disabling IRQ error

2013-09-12 Thread Xie Xianshan
properties and linux driver for this device. By the way, how did you finally fix your problem? Thanks, Simen 于 2013/09/11 17:29, Max Filippov 写道: On Wed, Sep 11, 2013 at 12:12 PM, Xie Xianshan wrote: I want to add a new device "fpga" for e500, and trigger an interrupt IRQ3

Re: [Qemu-devel] Disabling IRQ error

2013-09-11 Thread Xie Xianshan
sysbus_mmio_get_region(s, 0)); sysbus_connect_irq(s, 0, mpic[3]); } Thanks Simen 于 2013/09/10 16:23, Max Filippov 写道: On Tue, Sep 10, 2013 at 11:25 AM, Xie Xianshan wrote: hi everyone, I`m getting the nobody cared disabling IRQ error, when i raised external interrupts I

[Qemu-devel] Disabling IRQ error

2013-09-10 Thread Xie Xianshan
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