[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: completion timeouts with pin-based interrupts in QEMU hw/nvme
From: |
Keith Busch |
Subject: |
Re: completion timeouts with pin-based interrupts in QEMU hw/nvme |
Date: |
Wed, 18 Jan 2023 21:03:39 -0700 |
On Thu, Jan 19, 2023 at 01:10:57PM +1000, Alistair Francis wrote:
> On Thu, Jan 19, 2023 at 12:44 PM Keith Busch <kbusch@kernel.org> wrote:
> >
> > Further up, it says the "interrupt gateway" is responsible for
> > forwarding new interrupt requests while the level remains asserted, but
> > it doesn't look like anything is handling that, which essentially turns
> > this into an edge interrupt. Am I missing something, or is this really
> > not being handled?
>
> Yeah, that wouldn't be handled. In QEMU the PLIC relies on QEMUs
> internal GPIO lines to trigger an interrupt. So with the current setup
> we only support edge triggered interrupts.
Thanks for confirming!
Klaus,
I think we can justify introducing a work-around in the emulated device
now. My previous proposal with pci_irq_pulse() is no good since it does
assert+deassert, but it needs to be the other way around, so please
don't considert that one.
Also, we ought to revisit the intms/intmc usage in the linux driver for
threaded interrupts.
- Re: completion timeouts with pin-based interrupts in QEMU hw/nvme, (continued)
- Re: completion timeouts with pin-based interrupts in QEMU hw/nvme, Keith Busch, 2023/01/16
- Re: completion timeouts with pin-based interrupts in QEMU hw/nvme, Guenter Roeck, 2023/01/17
- Re: completion timeouts with pin-based interrupts in QEMU hw/nvme, Peter Maydell, 2023/01/17
- Re: completion timeouts with pin-based interrupts in QEMU hw/nvme, Guenter Roeck, 2023/01/17
- Re: completion timeouts with pin-based interrupts in QEMU hw/nvme, Peter Maydell, 2023/01/18
- Re: completion timeouts with pin-based interrupts in QEMU hw/nvme, Keith Busch, 2023/01/18
- Re: completion timeouts with pin-based interrupts in QEMU hw/nvme, Keith Busch, 2023/01/18
- Re: completion timeouts with pin-based interrupts in QEMU hw/nvme, Alistair Francis, 2023/01/18
- Re: completion timeouts with pin-based interrupts in QEMU hw/nvme, Keith Busch, 2023/01/18
- Re: completion timeouts with pin-based interrupts in QEMU hw/nvme, Alistair Francis, 2023/01/18
- Re: completion timeouts with pin-based interrupts in QEMU hw/nvme,
Keith Busch <=
- Re: completion timeouts with pin-based interrupts in QEMU hw/nvme, Klaus Jensen, 2023/01/19
- Re: completion timeouts with pin-based interrupts in QEMU hw/nvme, Klaus Jensen, 2023/01/19
- Re: completion timeouts with pin-based interrupts in QEMU hw/nvme, Guenter Roeck, 2023/01/19
- Re: completion timeouts with pin-based interrupts in QEMU hw/nvme, Peter Maydell, 2023/01/19
Re: completion timeouts with pin-based interrupts in QEMU hw/nvme, Guenter Roeck, 2023/01/17
Re: completion timeouts with pin-based interrupts in QEMU hw/nvme, Keith Busch, 2023/01/17
Re: completion timeouts with pin-based interrupts in QEMU hw/nvme, Keith Busch, 2023/01/18