qemu-riscv
[Top][All Lists]
Advanced

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

Re: [PATCH for-8.0 00/19] Convert most CPU classes to 3-phase reset


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH for-8.0 00/19] Convert most CPU classes to 3-phase reset
Date: Thu, 24 Nov 2022 14:46:29 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.5.0

On 24/11/22 12:50, Peter Maydell wrote:
This patchset converts the TYPE_CPU base class and most subclasses
to use 3-phase reset. (The exception is s390, which is doing
something a bit odd with its reset, so the conversion there isn't
going to be simple like these others. So I'll do that one
separately.)

The rationale here is that we should be able to get rid of
all the remaining uses of device_class_set_parent_reset()
and remove/simplify some of the transitional code that's
currently bridging between "legacy" reset and 3-phase reset.

NB: even with this series, it's not possible to usefully do
anything requiring 3-phase reset of a CPU yet, because all
CPU objects get ad-hoc reset by some code somewhere doing
a cpu_reset() call on them, which will just do all 3 phases
in order. I would like to try to address that eventually,
but it's not trivial.

thanks
-- PMM

Peter Maydell (19):
   hw/core/cpu-common: Convert TYPE_CPU class to 3-phase reset
   target/arm: Convert to 3-phase reset
   target/avr: Convert to 3-phase reset
   target/cris: Convert to 3-phase reset
   target/hexagon: Convert to 3-phase reset
   target/i386: Convert to 3-phase reset
   target/loongarch: Convert to 3-phase reset
   target/m68k: Convert to 3-phase reset
   target/microblaze: Convert to 3-phase reset
   target/mips: Convert to 3-phase reset
   target/nios2: Convert to 3-phase reset
   target/openrisc: Convert to 3-phase reset
   target/ppc: Convert to 3-phase reset
   target/riscv: Convert to 3-phase reset
   target/rx: Convert to 3-phase reset
   target/sh4: Convert to 3-phase reset
   target/sparc: Convert to 3-phase reset
   target/tricore: Convert to 3-phase reset
   target/xtensa: Convert to 3-phase reset

Series:
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>




reply via email to

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