[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [Qemu-devel] [PATCH 3/7] pseries: Use new method to corre
From: |
Andreas Färber |
Subject: |
Re: [Qemu-ppc] [Qemu-devel] [PATCH 3/7] pseries: Use new method to correct reset sequence |
Date: |
Mon, 10 Sep 2012 15:47:11 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120825 Thunderbird/15.0 |
Am 10.09.2012 08:38, schrieb David Gibson:
> A number of things need to occur during reset of the PAPR
> paravirtualized platform in a specific order. For example, the hash
> table needs to be cleared before the CPUs are reset, so that they
> initialize their register state correctly, and the CPUs need to have
> their main reset called before we set up the entry point state on the
> boot cpu. We also need to have the main qdev reset happen before the
> creation and installation of the device tree for the new boot, because
> we need the state of the devices settled to correctly construct the
> device tree.
>
> We currently do the pseries once-per-reset initializations done from a
> reset handler. However we can't adequately control when this handler
> is called during the reset - in particular we can't guarantee it
> happens after all the qdev resets (since qdevs might be registered
> after the machine init function has executed).
>
> This patch uses the new QEMUMachine reset method to to fix this
> problem, ensuring the various order dependent reset steps happen in
> the correct order.
>
> Signed-off-by: David Gibson <address@hidden>
Reviewed-by: Andreas Färber <address@hidden>
Andreas
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
- [Qemu-ppc] [0/7] System reset fixes for pseries, David Gibson, 2012/09/10
- [Qemu-ppc] [PATCH 7/7] pseries: Fix XICS reset, David Gibson, 2012/09/10
- [Qemu-ppc] [PATCH 5/7] pseries: Clear TCE and signal state when resetting PAPR VIO devices, David Gibson, 2012/09/10
- [Qemu-ppc] [PATCH 3/7] pseries: Use new method to correct reset sequence, David Gibson, 2012/09/10
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 3/7] pseries: Use new method to correct reset sequence,
Andreas Färber <=
- [Qemu-ppc] [PATCH 1/7] ppc: Make kvm_arch_put_registers() put *all* the registers, David Gibson, 2012/09/10
- [Qemu-ppc] [PATCH 6/7] pseries: Reset emulated PCI TCE tables on system reset, David Gibson, 2012/09/10
- [Qemu-ppc] [PATCH 4/7] pseries: Add support for new KVM hash table control call, David Gibson, 2012/09/10
- [Qemu-ppc] [PATCH 2/7] pseries: Fix and cleanup CPU initialization and reset, David Gibson, 2012/09/10