qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-ppc] [Qemu-devel] Disabling IRQ error


From: Xie Xianshan
Subject: Re: [Qemu-ppc] [Qemu-devel] Disabling IRQ error
Date: Thu, 12 Sep 2013 18:51:32 +0800
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.2.28) Gecko/20120306 Thunderbird/3.1.20

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 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 properties and linux driver for
this device.

Then I don't get its IRQ logic. Does it mean an IRQ to be edge-triggered?
Its model should use qemu_irq_pulse then instead of qemu_irq_raise and
its IRQ line should be connected to edge-sensing input of interrupt controller.
Input that you have used is also used to sense PCI IRQ and is level-sensing.

     By the way, how did you finally fix your problem?

I didn't have any. (:







reply via email to

[Prev in Thread] Current Thread [Next in Thread]