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 to

Re: [Qemu-devel] Disabling IRQ error

2013-09-12 Thread Max Filippov
On Thu, Sep 12, 2013 at 2:51 PM, Xie Xianshan wrote: > 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. Ok, back to your original question: > I`m getting the nobo

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 Max Filippov
On Thu, Sep 12, 2013 at 11:49 AM, Xie Xianshan wrote: > Hi Max, > Thanks for your patience and help. > I`ve tried to do what you said, but the problem doesn`t go away. > And actually i cannot add a new register to the fpga device, because the > fpga device i`m emulating already exists in t

Re: [Qemu-devel] Disabling IRQ error

2013-09-12 Thread Xie Xianshan
Hi Max, Thanks for your patience and help. I`ve tried to do what you said, but the problem doesn`t go away. And actually i cannot add a new register to the fpga device, because the fpga device i`m emulating already exists in the real world. So i cannot change anything about hardware prope

Re: [Qemu-devel] Disabling IRQ error

2013-09-11 Thread 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 > while the register BB_INTR_REG which belongs to device "fpga" is wrote by > the device driver of "fpga". > For e500, IRQ3 is an external interrupt irq. > Accord

Re: [Qemu-devel] Disabling IRQ error

2013-09-11 Thread Xie Xianshan
Hi Max, Thanks for your reply. And I am sorry for my unclear description. I want to add a new device "fpga" for e500, and trigger an interrupt IRQ3 while the register BB_INTR_REG which belongs to device "fpga" is wrote by the device driver of "fpga". For e500, IRQ3 is an external interr

Re: [Qemu-devel] Disabling IRQ error

2013-09-10 Thread 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 IRQ3 to the Openpic in QEMU. > (Actually, any external interrupts irq i raised can reproduce this error, > but internal interrupts work fin

[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