Re: [Qemu-devel] [PULL 0/8] target-mips queue

2017-08-04 Thread Peter Maydell
On 3 August 2017 at 15:45, Yongbok Kim  wrote:
> The following changes since commit aaaec6acad7cf97372d48c1b09126a09697519c8:
>
>   Update version for v2.10.0-rc1 release (2017-08-02 16:36:32 +0100)
>
> are available in the git repository at:
>
>   git://github.com/yongbok/upstream-qemu.git tags/mips-20170803
>
> for you to fetch changes up to d673a68db6963e86536b125af464bb6ed03eba33:
>
>   target/mips: Fix RDHWR CC with icount (2017-08-02 22:18:13 +0100)
>
> 
> MIPS patches 2017-08-03
>
> Changes:
> KVM T segment support for TCG
> malta: leave space for the bootmap after the initrd
> Apply CP0.PageMask before writing into TLB entry
> Fix fallout from indirect branch optimisation
>

Applied, thanks.

-- PMM



[Qemu-devel] [PULL 0/8] target-mips queue

2017-08-03 Thread Yongbok Kim
The following changes since commit aaaec6acad7cf97372d48c1b09126a09697519c8:

  Update version for v2.10.0-rc1 release (2017-08-02 16:36:32 +0100)

are available in the git repository at:

  git://github.com/yongbok/upstream-qemu.git tags/mips-20170803

for you to fetch changes up to d673a68db6963e86536b125af464bb6ed03eba33:

  target/mips: Fix RDHWR CC with icount (2017-08-02 22:18:13 +0100)


MIPS patches 2017-08-03

Changes:
KVM T segment support for TCG
malta: leave space for the bootmap after the initrd
Apply CP0.PageMask before writing into TLB entry
Fix fallout from indirect branch optimisation



Aurelien Jarno (1):
  mips/malta: leave space for the bootmap after the initrd

James Hogan (6):
  target-mips: Don't stop on [d]mtc0 DESAVE/KScratch
  mips: Improve segment defs for KVM T guests
  mips: Add KVM T segment support for TCG
  target/mips: Use BS_EXCP where interrupts are expected
  target/mips: Drop redundant gen_io_start/stop()
  target/mips: Fix RDHWR CC with icount

Leon Alrae (1):
  target-mips: apply CP0.PageMask before writing into TLB entry

 hw/mips/addr.c| 12 
 hw/mips/mips_malta.c  | 24 +++
 include/hw/mips/cpudevs.h |  5 ++--
 target/mips/helper.c  | 27 +
 target/mips/op_helper.c   |  5 ++--
 target/mips/translate.c   | 74 ++-
 6 files changed, 90 insertions(+), 57 deletions(-)

-- 
2.7.4




Re: [Qemu-devel] [PULL 0/8] target-mips queue

2017-02-21 Thread Peter Maydell
On 20 February 2017 at 20:30, Yongbok Kim  wrote:
> Hi,
>
> This is pull-req for target-mips.
>
> Regards,
> Yongbok
>
> The following changes since commit 56f9e46b841c7be478ca038d8d4085d776ab4b0d:
>
>   Merge remote-tracking branch 'remotes/armbru/tags/pull-qapi-2017-02-20' 
> into staging (2017-02-20 17:42:47 +)
>
> are available in the git repository at:
>
>   git://github.com/yongbok/upstream-qemu.git tags/mips-20170220
>
> for you to fetch changes up to 0a1fdcc94338ea12f7deba71e795c01989152752:
>
>   hw/mips: MIPS Boston board support (2017-02-20 19:37:28 +)
>
> 
> MIPS patches 2017-02-20
>
> Changes:
> * Add MIPS Boston board support

Hi. This fails to build (all platforms):

/home/petmay01/linaro/qemu-for-merges/hw/core/loader-fit.c: In
function ‘load_fit’:
/home/petmay01/linaro/qemu-for-merges/hw/core/loader-fit.c:215:8:
error: ‘load_data’ may be used uninitialized in this function
[-Werror=maybe-uninitialized]
 if (data != load_data) {
^
/home/petmay01/linaro/qemu-for-merges/hw/core/loader-fit.c:179:17:
note: ‘load_data’ was declared here
 const void *load_data;
 ^
/home/petmay01/linaro/qemu-for-merges/hw/core/loader-fit.c:168:9:
error: ‘load_data’ may be used uninitialized in this function
[-Werror=maybe-uninitialized]
 g_free((void *) load_data);
 ^
/home/petmay01/linaro/qemu-for-merges/hw/core/loader-fit.c:121:17:
note: ‘load_data’ was declared here
 const void *load_data;
 ^
cc1: all warnings being treated as errors

thanks
-- PMM



Re: [Qemu-devel] [PULL 0/8] target-mips queue

2017-02-20 Thread Yongbok Kim
Ok. I will fix the warning and isolate the file for mips64el only as it is
only used for that.

Regards,
Yongbok

On 20/02/2017 20:47, no-re...@patchew.org wrote:
> Hi,
> 
> This series failed build test on s390x host. Please find the details below.
> 
> Subject: [Qemu-devel] [PULL 0/8] target-mips queue
> Message-id: 1487622662-62984-1-git-send-email-yongbok@imgtec.com
> Type: series
> 
> === 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 "=== ENV ==="
> env
> echo "=== PACKAGES ==="
> rpm -qa
> echo "=== TEST BEGIN ==="
> CC=$HOME/bin/cc
> INSTALL=$PWD/install
> BUILD=/var/tmp/patchew-qemu-build
> echo -n "Using CC: "
> realpath $CC
> test -e $BUILD && rm -rf $BUILD
> mkdir -p $BUILD $INSTALL
> SRC=$PWD
> cd $BUILD
> $SRC/configure --cc=$CC --prefix=$INSTALL
> make -j4
> make check -j4
> make install
> === TEST SCRIPT END ===
> 
> Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384
> From https://github.com/patchew-project/qemu
>  - [tag update]  
> patchew/1487067971-10443-1-git-send-email-arm...@redhat.com -> 
> patchew/1487067971-10443-1-git-send-email-arm...@redhat.com
>  - [tag update]  
> patchew/1487585521-19445-1-git-send-email-nik...@linux.vnet.ibm.com -> 
> patchew/1487585521-19445-1-git-send-email-nik...@linux.vnet.ibm.com
>  - [tag update]  patchew/1487614915-18710-1-git-send-email-...@openvz.org 
> -> patchew/1487614915-18710-1-git-send-email-...@openvz.org
>  * [new tag] 
> patchew/1487622662-62984-1-git-send-email-yongbok@imgtec.com -> 
> patchew/1487622662-62984-1-git-send-email-yongbok@imgtec.com
>  - [tag update]  patchew/20170220165204.1980-1-stefa...@redhat.com -> 
> patchew/20170220165204.1980-1-stefa...@redhat.com
> Switched to a new branch 'test'
> 0645df1 hw/mips: MIPS Boston board support
> 04f5bec hw: xilinx-pcie: Add support for Xilinx AXI PCIe Controller
> 6c3d656 loader: Support Flattened Image Trees (FIT images)
> 9275ec8 dtc: Update requirement to v1.4.2
> aa8e11a target-mips: Provide function to test if a CPU supports an ISA
> 0ea1cba hw/mips_gic: Update pin state on mask changes
> e84e2ee hw/mips_gictimer: provide API for retrieving frequency
> 65bddf5 hw/mips_cmgcr: allow GCR base to be moved
> 
> === OUTPUT BEGIN ===
> === ENV ===
> XDG_SESSION_ID=28414
> SHELL=/bin/sh
> USER=fam
> PATCHEW=/home/fam/patchew/patchew-cli -s http://patchew.org --nodebug
> PATH=/usr/bin:/bin
> PWD=/var/tmp/patchew-tester-tmp-i2k78q7z/src
> LANG=en_US.UTF-8
> HOME=/home/fam
> SHLVL=2
> LOGNAME=fam
> DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1012/bus
> XDG_RUNTIME_DIR=/run/user/1012
> _=/usr/bin/env
> === PACKAGES ===
> gpg-pubkey-873529b8-54e386ff
> xz-libs-5.2.2-2.fc24.s390x
> libacl-2.2.52-11.fc24.s390x
> libxshmfence-1.2-3.fc24.s390x
> cdparanoia-libs-10.2-21.fc24.s390x
> ustr-1.0.4-21.fc24.s390x
> giflib-4.1.6-15.fc24.s390x
> libusb-0.1.5-7.fc24.s390x
> trousers-lib-0.3.13-6.fc24.s390x
> readline-devel-6.3-8.fc24.s390x
> python-srpm-macros-3-10.fc25.noarch
> ncurses-base-6.0-6.20160709.fc25.noarch
> gmp-6.1.1-1.fc25.s390x
> chkconfig-1.8-1.fc25.s390x
> libidn-1.33-1.fc25.s390x
> file-5.28-4.fc25.s390x
> slang-2.3.0-7.fc25.s390x
> avahi-libs-0.6.32-4.fc25.s390x
> libsemanage-2.5-8.fc25.s390x
> perl-Unicode-Normalize-1.25-365.fc25.s390x
> perl-libnet-3.10-1.fc25.noarch
> perl-Thread-Queue-3.11-1.fc25.noarch
> perl-podlators-4.09-1.fc25.noarch
> jasper-libs-1.900.13-1.fc25.s390x
> graphite2-1.3.6-1.fc25.s390x
> libblkid-2.28.2-1.fc25.s390x
> pkgconfig-0.29.1-1.fc25.s390x
> dbus-python-1.2.4-2.fc25.s390x
> alsa-lib-1.1.1-2.fc25.s390x
> libgnome-keyring-3.12.0-7.fc25.s390x
> yum-metadata-parser-1.1.4-17.fc25.s390x
> python3-3.5.2-4.fc25.s390x
> python3-slip-dbus-0.6.4-4.fc25.noarch
> python2-cssselect-0.9.2-1.fc25.noarch
> python-backports-1.0-8.fc25.s390x
> python-magic-5.28-4.fc25.noarch
> python-pycparser-2.14-7.fc25.noarch
> python-fedora-0.8.0-2.fc25.noarch
> createrepo_c-libs-0.10.0-6.fc25.s390x
> initscripts-9.69-1.fc25.s390x
> plymouth-scripts-0.9.3-0.6.20160620git0e65b86c.fc25.s390x
> cronie-1.5.1-2.fc25.s390x
> python2-librepo-1.7.18-3.fc25.s390x
> wget-1.18-2.fc25.s390x
> python3-dnf-plugins-core-0.1.21-4.fc25.noarch
> at-spi2-core-2.22.0-1.fc25.s390x
> libXv-1.0.11-1.fc25.s390x
> dhcp-client-4.3.5-1.fc25.s390x
> python2-dnf-plugins-core-0.1.21-4.fc25.noarch
> parted-3.2-21.fc25.s390x
> python2-ndg_httpsclient-0.4.0-4.fc25.noarch
> bash-compl

Re: [Qemu-devel] [PULL 0/8] target-mips queue

2017-02-20 Thread no-reply
Hi,

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

Subject: [Qemu-devel] [PULL 0/8] target-mips queue
Message-id: 1487622662-62984-1-git-send-email-yongbok@imgtec.com
Type: series

=== 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 "=== ENV ==="
env
echo "=== PACKAGES ==="
rpm -qa
echo "=== TEST BEGIN ==="
CC=$HOME/bin/cc
INSTALL=$PWD/install
BUILD=/var/tmp/patchew-qemu-build
echo -n "Using CC: "
realpath $CC
test -e $BUILD && rm -rf $BUILD
mkdir -p $BUILD $INSTALL
SRC=$PWD
cd $BUILD
$SRC/configure --cc=$CC --prefix=$INSTALL
make -j4
make check -j4
make install
=== TEST SCRIPT END ===

Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384
From https://github.com/patchew-project/qemu
 - [tag update]  
patchew/1487067971-10443-1-git-send-email-arm...@redhat.com -> 
patchew/1487067971-10443-1-git-send-email-arm...@redhat.com
 - [tag update]  
patchew/1487585521-19445-1-git-send-email-nik...@linux.vnet.ibm.com -> 
patchew/1487585521-19445-1-git-send-email-nik...@linux.vnet.ibm.com
 - [tag update]  patchew/1487614915-18710-1-git-send-email-...@openvz.org 
-> patchew/1487614915-18710-1-git-send-email-...@openvz.org
 * [new tag] 
patchew/1487622662-62984-1-git-send-email-yongbok@imgtec.com -> 
patchew/1487622662-62984-1-git-send-email-yongbok@imgtec.com
 - [tag update]  patchew/20170220165204.1980-1-stefa...@redhat.com -> 
patchew/20170220165204.1980-1-stefa...@redhat.com
Switched to a new branch 'test'
0645df1 hw/mips: MIPS Boston board support
04f5bec hw: xilinx-pcie: Add support for Xilinx AXI PCIe Controller
6c3d656 loader: Support Flattened Image Trees (FIT images)
9275ec8 dtc: Update requirement to v1.4.2
aa8e11a target-mips: Provide function to test if a CPU supports an ISA
0ea1cba hw/mips_gic: Update pin state on mask changes
e84e2ee hw/mips_gictimer: provide API for retrieving frequency
65bddf5 hw/mips_cmgcr: allow GCR base to be moved

=== OUTPUT BEGIN ===
=== ENV ===
XDG_SESSION_ID=28414
SHELL=/bin/sh
USER=fam
PATCHEW=/home/fam/patchew/patchew-cli -s http://patchew.org --nodebug
PATH=/usr/bin:/bin
PWD=/var/tmp/patchew-tester-tmp-i2k78q7z/src
LANG=en_US.UTF-8
HOME=/home/fam
SHLVL=2
LOGNAME=fam
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1012/bus
XDG_RUNTIME_DIR=/run/user/1012
_=/usr/bin/env
=== PACKAGES ===
gpg-pubkey-873529b8-54e386ff
xz-libs-5.2.2-2.fc24.s390x
libacl-2.2.52-11.fc24.s390x
libxshmfence-1.2-3.fc24.s390x
cdparanoia-libs-10.2-21.fc24.s390x
ustr-1.0.4-21.fc24.s390x
giflib-4.1.6-15.fc24.s390x
libusb-0.1.5-7.fc24.s390x
trousers-lib-0.3.13-6.fc24.s390x
readline-devel-6.3-8.fc24.s390x
python-srpm-macros-3-10.fc25.noarch
ncurses-base-6.0-6.20160709.fc25.noarch
gmp-6.1.1-1.fc25.s390x
chkconfig-1.8-1.fc25.s390x
libidn-1.33-1.fc25.s390x
file-5.28-4.fc25.s390x
slang-2.3.0-7.fc25.s390x
avahi-libs-0.6.32-4.fc25.s390x
libsemanage-2.5-8.fc25.s390x
perl-Unicode-Normalize-1.25-365.fc25.s390x
perl-libnet-3.10-1.fc25.noarch
perl-Thread-Queue-3.11-1.fc25.noarch
perl-podlators-4.09-1.fc25.noarch
jasper-libs-1.900.13-1.fc25.s390x
graphite2-1.3.6-1.fc25.s390x
libblkid-2.28.2-1.fc25.s390x
pkgconfig-0.29.1-1.fc25.s390x
dbus-python-1.2.4-2.fc25.s390x
alsa-lib-1.1.1-2.fc25.s390x
libgnome-keyring-3.12.0-7.fc25.s390x
yum-metadata-parser-1.1.4-17.fc25.s390x
python3-3.5.2-4.fc25.s390x
python3-slip-dbus-0.6.4-4.fc25.noarch
python2-cssselect-0.9.2-1.fc25.noarch
python-backports-1.0-8.fc25.s390x
python-magic-5.28-4.fc25.noarch
python-pycparser-2.14-7.fc25.noarch
python-fedora-0.8.0-2.fc25.noarch
createrepo_c-libs-0.10.0-6.fc25.s390x
initscripts-9.69-1.fc25.s390x
plymouth-scripts-0.9.3-0.6.20160620git0e65b86c.fc25.s390x
cronie-1.5.1-2.fc25.s390x
python2-librepo-1.7.18-3.fc25.s390x
wget-1.18-2.fc25.s390x
python3-dnf-plugins-core-0.1.21-4.fc25.noarch
at-spi2-core-2.22.0-1.fc25.s390x
libXv-1.0.11-1.fc25.s390x
dhcp-client-4.3.5-1.fc25.s390x
python2-dnf-plugins-core-0.1.21-4.fc25.noarch
parted-3.2-21.fc25.s390x
python2-ndg_httpsclient-0.4.0-4.fc25.noarch
bash-completion-2.4-1.fc25.noarch
btrfs-progs-4.6.1-1.fc25.s390x
texinfo-6.1-3.fc25.s390x
perl-Filter-1.55-366.fc25.s390x
flex-2.6.0-3.fc25.s390x
libgcc-6.3.1-1.fc25.s390x
glib2-2.50.2-1.fc25.s390x
dbus-libs-1.11.8-1.fc25.s390x
libgomp-6.3.1-1.fc25.s390x
colord-libs-1.3.4-1.fc25.s390x
perl-Encode-2.88-5.fc25.s390x
gstreamer1-1.10.2-1.fc25.s390x
cracklib-2.9.6-4.fc25.s390x
rpm-build-libs-4.13.0-6.fc25.s390x
libobjc-6.3.1-1.fc25.s390x
pcre-devel-8.40-1.fc25.s390x
mariadb-config-10.1.20-1.fc25.s390x
gcc-6.3.1-1.fc25.s390x
mesa-libGL-13.0.3-1.fc25.s390x
python3-dnf-plugin-system-upgrade-0.7.1-4.fc25.noarch
bind-libs-9.10.4-4.P5.fc25.s390x
python-osbs-client-0.33-3.fc25.noarch
NetworkManager-1.4.4-3.fc25.s390x
audit-2.7.1-1.fc25.s390x
glibc-static-2.24-4.fc25.s390x
perl-Pod-Simple-3.35-1.fc25.noarch
gdb-7.1

[Qemu-devel] [PULL 0/8] target-mips queue

2017-02-20 Thread Yongbok Kim
Hi,

This is pull-req for target-mips.

Regards,
Yongbok

The following changes since commit 56f9e46b841c7be478ca038d8d4085d776ab4b0d:

  Merge remote-tracking branch 'remotes/armbru/tags/pull-qapi-2017-02-20' into 
staging (2017-02-20 17:42:47 +)

are available in the git repository at:

  git://github.com/yongbok/upstream-qemu.git tags/mips-20170220

for you to fetch changes up to 0a1fdcc94338ea12f7deba71e795c01989152752:

  hw/mips: MIPS Boston board support (2017-02-20 19:37:28 +)


MIPS patches 2017-02-20

Changes:
* Add MIPS Boston board support



Paul Burton (8):
  hw/mips_cmgcr: allow GCR base to be moved
  hw/mips_gictimer: provide API for retrieving frequency
  hw/mips_gic: Update pin state on mask changes
  target-mips: Provide function to test if a CPU supports an ISA
  dtc: Update requirement to v1.4.2
  loader: Support Flattened Image Trees (FIT images)
  hw: xilinx-pcie: Add support for Xilinx AXI PCIe Controller
  hw/mips: MIPS Boston board support

 configure|   8 +-
 default-configs/mips64el-softmmu.mak |   2 +
 dtc  |   2 +-
 hw/core/Makefile.objs|   1 +
 hw/core/loader-fit.c | 325 
 hw/core/loader.c |   7 +-
 hw/intc/mips_gic.c   |  56 ++--
 hw/mips/Makefile.objs|   1 +
 hw/mips/boston.c | 576 +++
 hw/misc/mips_cmgcr.c |  17 ++
 hw/pci-host/Makefile.objs|   1 +
 hw/pci-host/xilinx-pcie.c| 328 
 hw/timer/mips_gictimer.c |   5 +
 include/hw/loader-fit.h  |  41 +++
 include/hw/loader.h  |   6 +
 include/hw/misc/mips_cmgcr.h |   3 +
 include/hw/pci-host/xilinx-pcie.h|  68 +
 include/hw/timer/mips_gictimer.h |   1 +
 target/mips/cpu.h|   1 +
 target/mips/translate.c  |  10 +
 20 files changed, 1423 insertions(+), 36 deletions(-)
 create mode 100644 hw/core/loader-fit.c
 create mode 100644 hw/mips/boston.c
 create mode 100644 hw/pci-host/xilinx-pcie.c
 create mode 100644 include/hw/loader-fit.h
 create mode 100644 include/hw/pci-host/xilinx-pcie.h

-- 
2.7.4




Re: [Qemu-devel] [PULL 0/8] target-mips queue

2016-02-26 Thread Peter Maydell
On 26 February 2016 at 11:16, Leon Alrae  wrote:
> Hi,
>
> MIPS pull request containing support for FPU and MSA in KVM and R6 VPs.
>
> Thanks,
> Leon
>
> Cc: Peter Maydell 
> Cc: Aurelien Jarno 
>
> The following changes since commit 0c6940d086f39bbf725d96104abe46da87429cb6:
>
>   build: [bsd-user] Rename "syscall.h" to "target_syscall.h" in target 
> directories (2016-02-25 16:41:08 +)
>
> are available in the git repository at:
>
>   git://github.com/lalrae/qemu.git tags/mips-20160226
>
> for you to fetch changes up to 01bc435b44b8802cc4697faa07d908684afbce4e:
>
>   target-mips: implement R6 multi-threading (2016-02-26 08:59:17 +)
>
> 
> MIPS patches 2016-02-26
>
> Changes:
> * support for FPU and MSA in KVM guest
> * support for R6 Virtual Processors
>

Applied, thanks.

-- PMM



[Qemu-devel] [PULL 0/8] target-mips queue

2016-02-26 Thread Leon Alrae
Hi,

MIPS pull request containing support for FPU and MSA in KVM and R6 VPs.

Thanks,
Leon

Cc: Peter Maydell 
Cc: Aurelien Jarno 

The following changes since commit 0c6940d086f39bbf725d96104abe46da87429cb6:

  build: [bsd-user] Rename "syscall.h" to "target_syscall.h" in target 
directories (2016-02-25 16:41:08 +)

are available in the git repository at:

  git://github.com/lalrae/qemu.git tags/mips-20160226

for you to fetch changes up to 01bc435b44b8802cc4697faa07d908684afbce4e:

  target-mips: implement R6 multi-threading (2016-02-26 08:59:17 +)


MIPS patches 2016-02-26

Changes:
* support for FPU and MSA in KVM guest
* support for R6 Virtual Processors


James Hogan (7):
  mips/kvm: Remove a couple of noisy DPRINTFs
  mips/kvm: Implement PRid CP0 register
  mips/kvm: Implement Config CP0 registers
  mips/kvm: Support unsigned KVM registers
  mips/kvm: Support signed 64-bit KVM registers
  mips/kvm: Support FPU in MIPS KVM guests
  mips/kvm: Support MSA in MIPS KVM guests

Yongbok Kim (1):
  target-mips: implement R6 multi-threading

 disas/mips.c |   4 +
 target-mips/cpu.c|   9 +
 target-mips/cpu.h|  25 +++
 target-mips/helper.h |   4 +
 target-mips/kvm.c| 387 +--
 target-mips/op_helper.c  |  48 ++
 target-mips/translate.c  |  59 +++
 target-mips/translate_init.c |   3 +-
 8 files changed, 525 insertions(+), 14 deletions(-)