Hi, Alex, On 06/29/2021 07:13 PM, Alex Bennée wrote: > > Song Gao <gaos...@loongson.cn> writes: > >> This patch give an introduction to the LoongArch target. >> >> Signed-off-by: Song Gao <gaos...@loongson.cn> >> --- >> MAINTAINERS | 5 +++++ >> target/loongarch/README | 16 ++++++++++++++++ >> 2 files changed, 21 insertions(+) >> create mode 100644 target/loongarch/README >> >> diff --git a/MAINTAINERS b/MAINTAINERS >> index 3ff56f5..f207805 100644 >> --- a/MAINTAINERS >> +++ b/MAINTAINERS >> @@ -209,6 +209,11 @@ F: disas/hppa.c >> F: hw/net/*i82596* >> F: include/hw/net/lasi_82596.h >> >> +LoongArch TCG CPUS >> +M: Song Gao <gaos...@loongson.cn> >> +S: Maintained >> +F: target/loongarch/ >> + >> M68K TCG CPUs >> M: Laurent Vivier <laur...@vivier.eu> >> S: Maintained >> diff --git a/target/loongarch/README b/target/loongarch/README >> new file mode 100644 >> index 0000000..0addfc7 >> --- /dev/null >> +++ b/target/loongarch/README >> @@ -0,0 +1,16 @@ >> +LoongArch is the general processor architecture of Loongson. >> + >> +The following versions of the LoongArch core are supported >> + core: 3A5000 >> + >> https://github.com/loongson/LoongArch-Documentation/releases/download/LoongArch-Vol1-v3/LoongArch-Vol1-v1.00-EN.pdf > > This part, perhaps slightly expanded is probably better aimed at > docs/system/target-loongarch.rst so it can be included in the generated > manual. Bonus points for something along the lines of > docs/system/arm/versatile.rst where you give a quick breakdown of the > kernel config and an example command line. > >> + >> +There are several code directories >> + >> + 1 qemu/target/loongarch >> + This is the instruction emulation directory >> + 2 qemu/linux-user/loongarch64 >> + Linux-user simulation >> + 3 qemu/hw/loongarch >> + System simulation >> + 4 qemu/tests/tcg/loongarch >> + Linux-user test > > This is a good suggestion, I‘ll do it.
thanks.