[Qemu-devel] [PATCH for 4.2 v4 0/6] target/mips: Misc patches for 4.2

Aleksandar Markovic posted 6 patches 4 years, 8 months ago
Test asan passed
Test docker-mingw@fedora passed
Test FreeBSD passed
Test docker-clang@ubuntu failed
Test checkpatch passed
Test s390x failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1564514832-29482-1-git-send-email-aleksandar.markovic@rt-rk.com
Maintainers: Aleksandar Rikalo <arikalo@wavecomp.com>, Aurelien Jarno <aurelien@aurel32.net>, Aleksandar Markovic <amarkovic@wavecomp.com>
There is a newer version of this series
default-configs/mips-softmmu-common.mak            |   1 +
disas/mips.c                                       |  10 +
hw/mips/cps.c                                      |  28 +-
hw/misc/Makefile.objs                              |   1 +
hw/misc/mips_dspram.c                              | 153 ++++
include/hw/mips/cps.h                              |   2 +
include/hw/misc/mips_dspram.h                      |  46 ++
target/mips/cpu.h                                  |  11 +-
target/mips/helper.c                               |  24 +-
target/mips/helper.h                               |   7 +
target/mips/internal.h                             |   4 +-
target/mips/machine.c                              |   6 +-
target/mips/op_helper.c                            | 181 +++-
target/mips/translate.c                            | 139 +++-
target/mips/translate_init.inc.c                   |   2 +
tests/tcg/mips/include/test_utils_128.h            |  23 +-
.../mips/user/ase/msa/test_msa_compile_32r5eb.sh   | 917 +++++++++++++++++++++
.../mips/user/ase/msa/test_msa_compile_32r5el.sh   | 917 +++++++++++++++++++++
.../mips/user/ase/msa/test_msa_compile_32r6eb.sh   | 643 ---------------
.../mips/user/ase/msa/test_msa_compile_32r6el.sh   | 643 ---------------
tests/tcg/mips/user/ase/msa/test_msa_run_32r5eb.sh | 371 +++++++++
tests/tcg/mips/user/ase/msa/test_msa_run_32r5el.sh | 371 +++++++++
tests/tcg/mips/user/ase/msa/test_msa_run_32r6eb.sh | 371 ---------
tests/tcg/mips/user/ase/msa/test_msa_run_32r6el.sh | 371 ---------
24 files changed, 3179 insertions(+), 2063 deletions(-)
create mode 100644 hw/misc/mips_dspram.c
create mode 100644 include/hw/misc/mips_dspram.h
create mode 100755 tests/tcg/mips/user/ase/msa/test_msa_compile_32r5eb.sh
create mode 100755 tests/tcg/mips/user/ase/msa/test_msa_compile_32r5el.sh
delete mode 100755 tests/tcg/mips/user/ase/msa/test_msa_compile_32r6eb.sh
delete mode 100755 tests/tcg/mips/user/ase/msa/test_msa_compile_32r6el.sh
create mode 100755 tests/tcg/mips/user/ase/msa/test_msa_run_32r5eb.sh
create mode 100755 tests/tcg/mips/user/ase/msa/test_msa_run_32r5el.sh
delete mode 100644 tests/tcg/mips/user/ase/msa/test_msa_run_32r6eb.sh
delete mode 100755 tests/tcg/mips/user/ase/msa/test_msa_run_32r6el.sh
[Qemu-devel] [PATCH for 4.2 v4 0/6] target/mips: Misc patches for 4.2
Posted by Aleksandar Markovic 4 years, 8 months ago
From: Aleksandar Markovic <amarkovic@wavecomp.com>

This series includes misc MIPS patches intended to be integrated after
4.1 release.

v3->v4:

  - fixed build error

v2->v3:

  - corrected the patch on WatchHi to include "mi" field
  - corrected the patch on WatchHi to bump VMStateDescription version

v1->v2:

  - fixed checkpatch warnings
  - added four new patches on various topics

Aleksandar Markovic (2):
  tests/tcg: target/mips: Add optional printing of more detailed failure
    info
  tests/tcg: target/mips: Fix target configurations for MSA tests

Yongbok Kim (4):
  target/mips: Add support for DSPRAM
  target/mips: Amend CP0 WatchHi register implementation
  target/mips: Implement Global Invalidate TLB instruction
  target/mips: Add emulation of CRC32 instructions

 default-configs/mips-softmmu-common.mak            |   1 +
 disas/mips.c                                       |  10 +
 hw/mips/cps.c                                      |  28 +-
 hw/misc/Makefile.objs                              |   1 +
 hw/misc/mips_dspram.c                              | 153 ++++
 include/hw/mips/cps.h                              |   2 +
 include/hw/misc/mips_dspram.h                      |  46 ++
 target/mips/cpu.h                                  |  11 +-
 target/mips/helper.c                               |  24 +-
 target/mips/helper.h                               |   7 +
 target/mips/internal.h                             |   4 +-
 target/mips/machine.c                              |   6 +-
 target/mips/op_helper.c                            | 181 +++-
 target/mips/translate.c                            | 139 +++-
 target/mips/translate_init.inc.c                   |   2 +
 tests/tcg/mips/include/test_utils_128.h            |  23 +-
 .../mips/user/ase/msa/test_msa_compile_32r5eb.sh   | 917 +++++++++++++++++++++
 .../mips/user/ase/msa/test_msa_compile_32r5el.sh   | 917 +++++++++++++++++++++
 .../mips/user/ase/msa/test_msa_compile_32r6eb.sh   | 643 ---------------
 .../mips/user/ase/msa/test_msa_compile_32r6el.sh   | 643 ---------------
 tests/tcg/mips/user/ase/msa/test_msa_run_32r5eb.sh | 371 +++++++++
 tests/tcg/mips/user/ase/msa/test_msa_run_32r5el.sh | 371 +++++++++
 tests/tcg/mips/user/ase/msa/test_msa_run_32r6eb.sh | 371 ---------
 tests/tcg/mips/user/ase/msa/test_msa_run_32r6el.sh | 371 ---------
 24 files changed, 3179 insertions(+), 2063 deletions(-)
 create mode 100644 hw/misc/mips_dspram.c
 create mode 100644 include/hw/misc/mips_dspram.h
 create mode 100755 tests/tcg/mips/user/ase/msa/test_msa_compile_32r5eb.sh
 create mode 100755 tests/tcg/mips/user/ase/msa/test_msa_compile_32r5el.sh
 delete mode 100755 tests/tcg/mips/user/ase/msa/test_msa_compile_32r6eb.sh
 delete mode 100755 tests/tcg/mips/user/ase/msa/test_msa_compile_32r6el.sh
 create mode 100755 tests/tcg/mips/user/ase/msa/test_msa_run_32r5eb.sh
 create mode 100755 tests/tcg/mips/user/ase/msa/test_msa_run_32r5el.sh
 delete mode 100644 tests/tcg/mips/user/ase/msa/test_msa_run_32r6eb.sh
 delete mode 100755 tests/tcg/mips/user/ase/msa/test_msa_run_32r6el.sh

-- 
2.7.4


Re: [Qemu-devel] [PATCH for 4.2 v4 0/6] target/mips: Misc patches for 4.2
Posted by no-reply@patchew.org 4 years, 8 months ago
Patchew URL: https://patchew.org/QEMU/1564514832-29482-1-git-send-email-aleksandar.markovic@rt-rk.com/



Hi,

This series failed build test on s390x host. Please find the details below.

=== TEST SCRIPT BEGIN ===
#!/bin/bash
# Testing script will be invoked under the git checkout with
# HEAD pointing to a commit that has the patches applied on top of "base"
# branch
set -e

echo
echo "=== ENV ==="
env

echo
echo "=== PACKAGES ==="
rpm -qa

echo
echo "=== UNAME ==="
uname -a

CC=$HOME/bin/cc
INSTALL=$PWD/install
BUILD=$PWD/build
mkdir -p $BUILD $INSTALL
SRC=$PWD
cd $BUILD
$SRC/configure --cc=$CC --prefix=$INSTALL
make -j4
# XXX: we need reliable clean up
# make check -j4 V=1
make install
=== TEST SCRIPT END ===




The full log is available at
http://patchew.org/logs/1564514832-29482-1-git-send-email-aleksandar.markovic@rt-rk.com/testing.s390x/?type=message.
---
Email generated automatically by Patchew [https://patchew.org/].
Please send your feedback to patchew-devel@redhat.com
Re: [Qemu-devel] [PATCH for 4.2 v4 0/6] target/mips: Misc patches for 4.2
Posted by Philippe Mathieu-Daudé 4 years, 7 months ago
Hi Aleksandar,

On 7/30/19 9:27 PM, Aleksandar Markovic wrote:
> From: Aleksandar Markovic <amarkovic@wavecomp.com>
> 
> This series includes misc MIPS patches intended to be integrated after
> 4.1 release.
> 
> Yongbok Kim (4):
>   target/mips: Add support for DSPRAM
>   target/mips: Amend CP0 WatchHi register implementation
>   target/mips: Implement Global Invalidate TLB instruction
>   target/mips: Add emulation of CRC32 instructions

I'm interested in reviewing Yongbok's work but I won't have time before
next week.

Regards,

Phil.

Re: [Qemu-devel] [EXTERNAL]Re: [PATCH for 4.2 v4 0/6] target/mips: Misc patches for 4.2
Posted by Aleksandar Markovic 4 years, 7 months ago

________________________________________
From: Philippe Mathieu-Daudé <philmd@redhat.com>
Sent: Thursday, August 1, 2019 6:18 PM
To: Aleksandar Markovic; qemu-devel@nongnu.org
Cc: Aleksandar Rikalo; sw@weilnetz.de; Aleksandar Markovic
Subject: [EXTERNAL]Re: [Qemu-devel] [PATCH for 4.2 v4 0/6] target/mips: Misc patches for 4.2

Hi Aleksandar,

On 7/30/19 9:27 PM, Aleksandar Markovic wrote:
> From: Aleksandar Markovic <amarkovic@wavecomp.com>
>
> This series includes misc MIPS patches intended to be integrated after
> 4.1 release.
> >
> > Yongbok Kim (4):
> >   target/mips: Add support for DSPRAM
> >   target/mips: Amend CP0 WatchHi register implementation
> >   target/mips: Implement Global Invalidate TLB instruction
> >   target/mips: Add emulation of CRC32 instructions
> 
> I'm interested in reviewing Yongbok's work but I won't have time before
> next week.

Pas de problème.

I will anyway send new versions (with some, mostly minor, corrections) in
next few days.

Unfortunately, there is still ample room for improvements. :(

Yours,
Aleksandar

> Regards,
> 
> Phil.