[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 11/22] i8259: Update IRQ state after reset
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH 11/22] i8259: Update IRQ state after reset |
Date: |
Fri, 30 Sep 2011 10:14:17 +0100 |
On 30 September 2011 07:47, Jan Kiszka <address@hidden> wrote:
> There is no difference between system reset after power-up or later on.
> And there should be no difference between per device, per group of
> devices or system-wide reset. A device model cannot tell these apart.
I think it's also useful to distinguish "system reset" meaning 'simulated
reset button was pressed, causing the reset line to be asserted on various
devices' from "simulation reset" meaning 'qemu effectively tore down the
whole simulation and put it into the same state it would be when qemu
initially starts'. I don't think you can usefully reset a single device
except by asserting its simulated reset signal, except possibly for
hotplug type situations where you're simulating applying power to it.
> My series does not depend on this cleanup/fix, but the reason not to
> apply remains wrong IMHO.
(just to be clear) I'm not arguing against your patch, just more
generally that I'm not sure our current model of reset is entirely
coherent.
-- PMM
- Re: [Qemu-devel] [PATCH 17/22] i8259: Eliminate PicState2, (continued)
- Re: [Qemu-devel] [PATCH 11/22] i8259: Update IRQ state after reset, Jan Kiszka, 2011/09/28
- Re: [Qemu-devel] [PATCH 11/22] i8259: Update IRQ state after reset, Blue Swirl, 2011/09/29
- Re: [Qemu-devel] [PATCH 11/22] i8259: Update IRQ state after reset, Jan Kiszka, 2011/09/30
- Re: [Qemu-devel] [PATCH 11/22] i8259: Update IRQ state after reset,
Peter Maydell <=
- Re: [Qemu-devel] [PATCH 11/22] i8259: Update IRQ state after reset, Blue Swirl, 2011/09/30
- Re: [Qemu-devel] [PATCH 11/22] i8259: Update IRQ state after reset, Blue Swirl, 2011/09/30
[Qemu-devel] [PATCH 15/22] i8259: PREP: Replace pic_intack_read with pic_read_irq, Jan Kiszka, 2011/09/28
[Qemu-devel] [PATCH 09/22] i8259: Do not update IRQ output after spurious pic_poll_read, Jan Kiszka, 2011/09/28
[Qemu-devel] [PATCH 02/22] pc: Generalize ISA IRQs to GSIs, Jan Kiszka, 2011/09/28
[Qemu-devel] [PATCH 13/22] i8259: Fix poll command, Jan Kiszka, 2011/09/28
[Qemu-devel] [PATCH 12/22] i8259: Switch to per-PIC IRQ update, Jan Kiszka, 2011/09/28
Re: [Qemu-devel] [PATCH 00/22] Rework i8259 and PC interrupt models, Richard Henderson, 2011/09/28