Re: [PATCH] target/loongarch: Add compatible support about VM reboot

2024-09-08 Thread gaosong
在 2024/8/27 上午11:58, Bibo Mao 写道: 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 re

[PATCH] target/loongarch: Add compatible support about VM reboot

2024-08-26 Thread Bibo Mao
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_c