[PATCH 0/2] target/xtensa: Replace CPUXtensa:runstall by CPUState:start_powered_off

Philippe Mathieu-Daudé posted 2 patches 3 days, 21 hours ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20250924174045.54241-1-philmd@linaro.org
Maintainers: Eduardo Habkost <eduardo@habkost.net>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Yanan Wang <wangyanan55@huawei.com>, Zhao Liu <zhao1.liu@intel.com>, Max Filippov <jcmvbkbc@gmail.com>
include/hw/core/cpu.h  | 2 +-
target/xtensa/cpu.h    | 1 -
target/xtensa/cpu.c    | 8 ++++++--
target/xtensa/helper.c | 6 ++++--
4 files changed, 11 insertions(+), 6 deletions(-)
[PATCH 0/2] target/xtensa: Replace CPUXtensa:runstall by CPUState:start_powered_off
Posted by Philippe Mathieu-Daudé 3 days, 21 hours ago
CPUXtensa::runstall and CPUState::start_powered_off are
semantically equivalent. Replace the target specific field
by the generic one.

Philippe Mathieu-Daudé (2):
  hw/core/cpu: Expose CPUState::start_powered_off docstring
  target/xtensa: Replace CPUXtensa:runstall by
    CPUState:start_powered_off

 include/hw/core/cpu.h  | 2 +-
 target/xtensa/cpu.h    | 1 -
 target/xtensa/cpu.c    | 8 ++++++--
 target/xtensa/helper.c | 6 ++++--
 4 files changed, 11 insertions(+), 6 deletions(-)

-- 
2.51.0


Re: [PATCH 0/2] target/xtensa: Replace CPUXtensa:runstall by CPUState:start_powered_off
Posted by Max Filippov 3 days, 20 hours ago
On Wed, Sep 24, 2025 at 10:40 AM Philippe Mathieu-Daudé
<philmd@linaro.org> wrote:
> CPUXtensa::runstall and CPUState::start_powered_off are
> semantically equivalent. Replace the target specific field
> by the generic one.

xtensa runstall is not about powering on the CPU, it's about stalling
its pipeline. Also it can be applied at any time to a running CPU
to hold it, deasserting it will let the CPU continue running.

-- 
Thanks.
-- Max