aboutsummaryrefslogtreecommitdiff
path: root/hw/m68k/next-cube.c
diff options
context:
space:
mode:
authorBibo Mao <maobibo@loongson.cn>2024-08-27 11:58:07 +0800
committerSong Gao <gaosong@loongson.cn>2024-09-12 20:51:18 +0800
commita840d70ee474c514b939f6f16fd51396c73d01c7 (patch)
treea4016a107823ba4b8f4bd25a734590266eb08fc4 /hw/m68k/next-cube.c
parent4b7ea33074450bc6148c8e1545d78f179e64adb4 (diff)
downloadqemu-a840d70ee474c514b939f6f16fd51396c73d01c7.zip
qemu-a840d70ee474c514b939f6f16fd51396c73d01c7.tar.gz
qemu-a840d70ee474c514b939f6f16fd51396c73d01c7.tar.bz2
target/loongarch: Add compatible support about VM reboot
With edk2-stable202408 LoongArch UEFI bios, CSR PGD register is set only if its value is equal to zero for boot cpu, it causes reboot issue. Since CSR PGD register is changed with linux kernel, UEFI BIOS cannot use it. Add workaround to clear CSR registers relative with TLB in function loongarch_cpu_reset_hold(), so that VM can reboot with edk2-stable202408 UEFI bios. Signed-off-by: Bibo Mao <maobibo@loongson.cn> Reviewed-by: Song Gao <gaosong@loongson.cn> Message-Id: <20240827035807.3326293-1-maobibo@loongson.cn> Signed-off-by: Song Gao <gaosong@loongson.cn>
Diffstat (limited to 'hw/m68k/next-cube.c')
0 files changed, 0 insertions, 0 deletions