Re: [PATCH 2/2] target/mips: Add definition of Loongson-3A3000 CPU

2020-08-20 Thread Kaige Li
On 08/14/2020 10:48 AM, Jiaxun Yang wrote: 在 2020/8/14 上午10:43, Kaige Li 写道: On 08/13/2020 06:37 PM, Jiaxun Yang wrote: 在 2020/8/13 下午5:41, Kaige Li 写道: Add definition of the Loongson-3A3000 processor in QEMU. Hi Kaige, We're not defining Loongson-3A3000 in QEMU because we

Re: [PATCH 2/2] target/mips: Add definition of Loongson-3A3000 CPU

2020-08-13 Thread Kaige Li
On 08/13/2020 06:37 PM, Jiaxun Yang wrote: 在 2020/8/13 下午5:41, Kaige Li 写道: Add definition of the Loongson-3A3000 processor in QEMU. Hi Kaige, We're not defining Loongson-3A3000 in QEMU because we have some features like Loongson-EXT2, VTLB not available currently, I'd prefer

[PATCH 2/2] target/mips: Add definition of Loongson-3A3000 CPU

2020-08-13 Thread Kaige Li
Add definition of the Loongson-3A3000 processor in QEMU. Signed-off-by: Kaige Li --- target/mips/translate_init.inc.c | 24 1 file changed, 24 insertions(+) diff --git a/target/mips/translate_init.inc.c b/target/mips/translate_init.inc.c index 0740819..2e98aff 100644

[PATCH 1/2] target/mips: Coding style update to fix checkpatch errors

2020-08-13 Thread Kaige Li
This will help ensure that style guidelines are being maintained during subsequent changes. Signed-off-by: Kaige Li --- target/mips/translate_init.inc.c | 61 1 file changed, 31 insertions(+), 30 deletions(-) diff --git a/target/mips

Re: [PATCH v3] target/arm: Fix compile error in gcc 4.9.4.

2020-07-31 Thread Kaige Li
On 07/31/2020 05:20 PM, Peter Maydell wrote: On Fri, 31 Jul 2020 at 10:07, Kaige Li wrote: Error log: /home/LiKaige/qemu/target/arm/translate-a64.c: In function ‘disas_ldst’: /home/LiKaige/qemu/target/arm/translate-a64.c:3392:5: error: ‘fn’ may be used uninitialized in this function

[PATCH v3] target/arm: Fix compile error in gcc 4.9.4.

2020-07-31 Thread Kaige Li
), ^ /home/LiKaige/qemu/target/arm/translate-a64.c:3318:22: note: ‘fn’ was declared here AtomicThreeOpFn *fn; ^ cc1: all warnings being treated as errors Add an initiallization value NULL for fn to fix this. Signed-off-by: Kaige Li --- target/arm/translate-a64.c | 2 +- 1 file

Re: [PATCH v2 1/2] virtio-mem: Change PRIx32 to PRIXPTR to fix compile error.

2020-07-30 Thread Kaige Li
On 07/30/2020 09:15 PM, Philippe Mathieu-Daudé wrote: On 7/30/20 1:57 PM, Kaige Li wrote: When I compile qemu with such as: git clone https://git.qemu.org/git/qemu.git cd qemu git submodule init git submodule update --recursive ./configure make ^ this timeless description is pointless

Re: [PATCH v2 2/2] target/arm: Fix compile error.

2020-07-30 Thread Kaige Li
On 07/31/2020 04:45 AM, Peter Maydell wrote: On Thu, 30 Jul 2020 at 12:58, Kaige Li wrote: When I compile qemu with such as: git clone https://git.qemu.org/git/qemu.git cd qemu git submodule init git submodule update --recursive ./configure make There is error log: /home/LiKaige/qemu

[PATCH v2 1/2] virtio-mem: Change PRIx32 to PRIXPTR to fix compile error.

2020-07-30 Thread Kaige Li
ge/qemu/rules.mak:69: recipe for target 'hw/virtio/virtio-mem.o' failed So, change PRIx32 to PRIXPTR to fix this. Signed-off-by: Kaige Li --- hw/virtio/virtio-mem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/virtio/virtio-mem.c b/hw/virtio/virtio-mem.c index c1

[PATCH v2 2/2] target/arm: Fix compile error.

2020-07-30 Thread Kaige Li
: all warnings being treated as errors So, add an initiallization value NULL for fn to fix this. Signed-off-by: Kaige Li --- target/arm/translate-a64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/arm/translate-a64.c b/target/arm/translate-a64.c index 8c07649

Re: [PATCH 2/2] target/arm: Fix compile error.

2020-07-30 Thread Kaige Li
On 07/30/2020 07:21 PM, Peter Maydell wrote: On Thu, 30 Jul 2020 at 12:19, Kaige Li wrote: On 07/30/2020 04:44 PM, Peter Maydell wrote: On Thu, 30 Jul 2020 at 02:56, Kaige Li wrote: When I compile qemu with such as: git clone https://git.qemu.org/git/qemu.git cd qemu git submodule init

Re: [PATCH 2/2] target/arm: Fix compile error.

2020-07-30 Thread Kaige Li
On 07/30/2020 04:44 PM, Peter Maydell wrote: On Thu, 30 Jul 2020 at 02:56, Kaige Li wrote: When I compile qemu with such as: git clone https://git.qemu.org/git/qemu.git cd qemu git submodule init git submodule update --recursive ./configure make There is error log: /home/LiKaige/qemu

[PATCH 2/2] target/arm: Fix compile error.

2020-07-29 Thread Kaige Li
: all warnings being treated as errors So, add an initiallization value for fn to fix this. Signed-off-by: Kaige Li --- target/arm/translate-a64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/arm/translate-a64.c b/target/arm/translate-a64.c index 8c07649..910a91f

[PATCH 1/2] virtio-mem: Change PRIx32 to PRIXPTR to fix compile error.

2020-07-29 Thread Kaige Li
ge/qemu/rules.mak:69: recipe for target 'hw/virtio/virtio-mem.o' failed So, change PRIx32 to PRIXPTR to fix this. Signed-off-by: Kaige Li --- hw/virtio/virtio-mem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/virtio/virtio-mem.c b/hw/virtio/virtio-mem.c index c1