qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 2/2] hw/hppa: Fix booting Linux kernel with initrd


From: Richard Henderson
Subject: Re: [PATCH 2/2] hw/hppa: Fix booting Linux kernel with initrd
Date: Fri, 24 Jan 2025 09:49:21 -0800
User-agent: Mozilla Thunderbird

On 1/22/25 10:09, deller@kernel.org wrote:
From: Helge Deller<deller@gmx.de>

Commit 20f7b890173b ("hw/hppa: Reset vCPUs calling resettable_reset()")
broke booting the Linux kernel with initrd which may have been provided
on the command line. The problem is, that the mentioned commit zeroes
out initial registers which were preset with addresses for the Linux
kernel and initrd.

Fix it by adding proper variables which are set shortly before starting
the firmware.

Signed-off-by: Helge Deller<deller@gmx.de>
Fixes: 20f7b890173b ("hw/hppa: Reset vCPUs calling resettable_reset()")
Cc: Philippe Mathieu-Daudé<philmd@linaro.org>
---
  hw/hppa/machine.c | 48 +++++++++++++++++++----------------------------
  target/hppa/cpu.h |  4 ++++
  2 files changed, 23 insertions(+), 29 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

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