OSDN Git Service

hw/loongarch/virt: Remove unused 'loongarch_virt_pm' region
authorSong Gao <gaosong@loongson.cn>
Thu, 12 Oct 2023 06:41:23 +0000 (14:41 +0800)
committerSong Gao <gaosong@loongson.cn>
Fri, 13 Oct 2023 02:04:52 +0000 (10:04 +0800)
commit89daabe385a58f52ee902c203bb9560f8c914e8f
treecdfa50e66a064223e0b651dbde61d5acea584acc
parent3866e2f98ef4f9b84d920af31a98c4c642ff8d77
hw/loongarch/virt: Remove unused 'loongarch_virt_pm' region

The system test shutdown uses the 'loongarch_virt_pm' region.
We can use the write AcpiFadtData.sleep_clt register to realize the shutdown.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-ID: <20231012072351.1409344-1-gaosong@loongson.cn>
Signed-off-by: Song Gao <gaosong@loongson.cn>
hw/loongarch/virt.c
tests/tcg/loongarch64/system/boot.S