On 12/10/23 09:23, Song Gao wrote:
The system test shutdown uses the 'loongarch_virt_pm' region.
We can use the write AcpiFadtData.sleep_clt register to realize the shutdown.

Signed-off-by: Song Gao <[email protected]>
---
  hw/loongarch/virt.c                 | 48 +----------------------------
  tests/tcg/loongarch64/system/boot.S |  7 +++--
  2 files changed, 5 insertions(+), 50 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>


Reply via email to