From: sadoon Date: Fri, 25 Aug 2023 13:48:21 +0000 (+0100) Subject: fixed formatting errors X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d7020c10c7af3b4c521923fd43df2b85d846692a;p=libreriscv.git fixed formatting errors --- diff --git a/SFFS/qemu.mdwn b/SFFS/qemu.mdwn index bd4227292..e90f8e5ac 100644 --- a/SFFS/qemu.mdwn +++ b/SFFS/qemu.mdwn @@ -21,19 +21,19 @@ The goal is to add a CPU definition in QEMU that specifically emulates an OpenPO ### We have first tried using POWER7 which is available on QEMU - POWER7 runs little endian without VSX, but is only ISA 2.06 compliant. --- The assumption was that Any additions from ISA 3.0 would be emulated by the Linux kernel, that however did not work. --- We tried booting [Gentoo SFFS](https://libre-soc.org/SFFS/gentoo_bootstrap/) with a kernel compiled for POWER9, POWER8, and POWER7, all seem to fail with a kernel panic due to missing instructions. --- We also tried booting it with a kernel built for all three POWER versions mentioned earlier and also disabling VSX and/or AltiVec, still fails with a kernel panic due to missing instructions. +* The assumption was that Any additions from ISA 3.0 would be emulated by the Linux kernel, that however did not work. +* We tried booting [Gentoo SFFS](https://libre-soc.org/SFFS/gentoo_bootstrap/) with a kernel compiled for POWER9, POWER8, and POWER7, all seem to fail with a kernel panic due to missing instructions. +* We also tried booting it with a kernel built for all three POWER versions mentioned earlier and also disabling VSX and/or AltiVec, still fails with a kernel panic due to missing instructions. ### We have tried patching QEMU's definition for POWER9 to exclude VSX and AltiVec - This did not work and needs considerable amounts of patching. -- The relevant files are `tcg/ppc/tcg-target.h` and `target/ppc/{compat.c,cpu.c,cpu.h,cpu_init.c,cpu_models.c,cpu_models.h,cpu-qom.h,cpu-param.h}` none worked. +* The relevant files are `tcg/ppc/tcg-target.h` and `target/ppc/{compat.c,cpu.c,cpu.h,cpu_init.c,cpu_models.c,cpu_models.h,cpu-qom.h,cpu-param.h}` none worked. ### We have researched in length if the CPU capabilities feature of QEMU is available on POWER -- It is not available and needs to be added in, unlike x86* and some other architectures that QEMU supports. -- However, it being a feature of QEMU to start means patching it in will be simpler than adding a fresh feature that was not available in the code before. +* It is not available and needs to be added in, unlike x86* and some other architectures that QEMU supports. +* However, it being a feature of QEMU to start means patching it in will be simpler than adding a fresh feature that was not available in the code before. ## Conclusion as of 25 Aug 2023: This task will need a considerable amount of research and work