hw/loongarch/virt: Get physical entry address with elf fileWith load_elf() api, image load low address and high address is convertedto physical address if parameter translate_fn is provided. Howev
hw/loongarch/virt: Get physical entry address with elf fileWith load_elf() api, image load low address and high address is convertedto physical address if parameter translate_fn is provided. Howeverexecuting entry address is still virtual address. Here convert entryaddress into physical address, since MMU is disabled when system power on,the first PC instruction should be physical address.Signed-off-by: Bibo Mao <maobibo@loongson.cn>Reviewed-by: Richard Henderson <richard.henderson@linaro.org>Tested-by: Song Gao <gaosong@loongson.cn>
show more ...
license: Update deprecated SPDX tag GPL-2.0 to GPL-2.0-onlyThe 'GPL-2.0' license identifier has been deprecated since licenselist version 3.0 [1] and replaced by the 'GPL-2.0-only' tag [2].[1] h
license: Update deprecated SPDX tag GPL-2.0 to GPL-2.0-onlyThe 'GPL-2.0' license identifier has been deprecated since licenselist version 3.0 [1] and replaced by the 'GPL-2.0-only' tag [2].[1] https://spdx.org/licenses/GPL-2.0.html[2] https://spdx.org/licenses/GPL-2.0-only.htmlMechanical patch running: $ sed -i -e s/GPL-2.0/GPL-2.0-only/ \ $(git grep -l 'SPDX-License-Identifier: GPL-2.0[ $]' \ | egrep -v '^linux-headers|^include/standard-headers')Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>Reviewed-by: Thomas Huth <thuth@redhat.com>Reviewed-by: Richard Henderson <richard.henderson@linaro.org>Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/loongarch/virt: Remove unused 'loongarch_virt_pm' regionThe system test shutdown uses the 'loongarch_virt_pm' region.We can use the write AcpiFadtData.sleep_clt register to realize the shutdown
hw/loongarch/virt: Remove unused 'loongarch_virt_pm' regionThe 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>
tests/tcg/loongarch64: Add hello/memory test in loongarch64 system- We write a very minimal softmmu harness.- This is a very simple smoke test with no need to run a full Linux/kernel.- The Makefi
tests/tcg/loongarch64: Add hello/memory test in loongarch64 system- We write a very minimal softmmu harness.- This is a very simple smoke test with no need to run a full Linux/kernel.- The Makefile.softmmu-target record the rule to run.Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>Signed-off-by: Song Gao <gaosong@loongson.cn>Reviewed-by: Richard Henderson <richard.henderson@linaro.org>Message-Id: <20220606124333.2060567-43-yangxiaojuan@loongson.cn>Signed-off-by: Richard Henderson <richard.henderson@linaro.org>