[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC] multi phase reset
From: |
Edgar E. Iglesias |
Subject: |
Re: [Qemu-devel] [RFC] multi phase reset |
Date: |
Mon, 4 Mar 2019 11:29:12 +0100 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
Hi Damien and others,
A few questions from my side.
We sometimes see that wires from generic GPIO blocks get connected to reset
inputs.
This happens both to off-chip perihperals but we also see it on-chip.
To avoid having GPIO modules know that some of their outputs are being used as
reset signals it would be nice to have a reset proxy that allows any qemu_irq to
drive resets for a given device. Perhaps even with built-in options for both
interpreting
"active-low" and "active-high". I think it would even be useful to have this
in qdev but that may be pushing it too far. Any thoughts on that?
Have you thought about what happens if someone does an MMIO access to a device
while
its reset is active? Were you planning to have some "default" SysBus level
handling to
block MMIO while in reset or anything like that? Or would that be handled
individually
by each device model?
Another question is regarding reset of CPUs. It would be nice to be able to
expose
similar interfaces and have some defined behaviour for CPUs that are in reset.
E.g,
if reset is active the CPU does not execute etc.
Cheers,
Edgar