[Qemu-devel] [PULL 00/15] late linux-user fixes for 2.11

riku.voipio@linaro.org posted 15 patches 6 years, 5 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/cover.1511212753.git.riku.voipio@linaro.org
Test checkpatch failed
Test docker passed
Test ppc failed
Test s390x passed
linux-user/elfload.c         |  11 +++++++--
linux-user/hppa/syscall_nr.h |   2 +-
linux-user/hppa/target_cpu.h |   4 ++++
linux-user/main.c            |   8 +++++--
linux-user/signal.c          |   4 ++--
linux-user/syscall.c         | 102 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------
linux-user/syscall_defs.h    |  40 ++++++++++++++++++++++++++++++++-
target/sparc/mmu_helper.c    |   8 +++++++
8 files changed, 144 insertions(+), 35 deletions(-)
[Qemu-devel] [PULL 00/15] late linux-user fixes for 2.11
Posted by riku.voipio@linaro.org 6 years, 5 months ago
From: Riku Voipio <riku.voipio@linaro.org>

The following changes since commit b0fbe46ad82982b289a44ee2495b59b0bad8a842:

  Update version for v2.11.0-rc0 release (2017-11-07 16:05:28 +0000)

are available in the git repository at:

  git://git.linaro.org/people/riku.voipio/qemu.git tags/pull-linux-user-20171120

for you to fetch changes up to f516511ea84d8bb3395d6ea95a7c7b80dc2a05e9:

  linux-user: Fix calculation of auxv length (2017-11-20 16:15:41 +0200)

----------------------------------------------------------------
late linux-user fixes for Qemu 2.11

----------------------------------------------------------------
Emilio G. Cota (1):
      linux-user: fix 'finshed' typo in comment

Helge Deller (5):
      linux-user/hppa: Fix TARGET_SA_* defines
      linux-user/hppa: Fix typo for TARGET_NR_epoll_wait
      linux-user/hppa: Fix TARGET_MAP_TYPE
      linux-user/hppa: Fix TARGET_F_RDLCK, TARGET_F_WRLCK, TARGET_F_UNLCK
      linux-user: Handle TARGET_MAP_STACK and TARGET_MAP_HUGETLB

James Clarke (1):
      linux-user/syscall.c: Handle SH4's exceptional alignment for p{read, write}64

James Cowgill (1):
      linux-user: return EINVAL from prctl(PR_*_SECCOMP)

Peter Maydell (5):
      linux-user/s390x: Mask si_addr for SIGSEGV
      linux-user/ppc: Report correct fault address for data faults
      linux-user/sparc: Put address for data faults where linux-user expects it
      linux-user: Handle rt_sigaction correctly for SPARC
      linux-user: Fix calculation of auxv length

Richard Henderson (2):
      linux-user: Restrict usage of sa_restorer
      linux-user/hppa: Fix cpu_clone_regs

 linux-user/elfload.c         |  11 +++++++--
 linux-user/hppa/syscall_nr.h |   2 +-
 linux-user/hppa/target_cpu.h |   4 ++++
 linux-user/main.c            |   8 +++++--
 linux-user/signal.c          |   4 ++--
 linux-user/syscall.c         | 102 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------
 linux-user/syscall_defs.h    |  40 ++++++++++++++++++++++++++++++++-
 target/sparc/mmu_helper.c    |   8 +++++++
 8 files changed, 144 insertions(+), 35 deletions(-)


Re: [Qemu-devel] [PULL 00/15] late linux-user fixes for 2.11
Posted by no-reply@patchew.org 6 years, 5 months ago
Hi,

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

Type: series
Subject: [Qemu-devel] [PULL 00/15] late linux-user fixes for 2.11
Message-id: cover.1511212753.git.riku.voipio@linaro.org

=== 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 ==="
INSTALL=$PWD/install
BUILD=$PWD/build
mkdir -p $BUILD $INSTALL
SRC=$PWD
cd $BUILD
$SRC/configure --prefix=$INSTALL
make -j100
# XXX: we need reliable clean up
# make check -j100 V=1
make install
=== TEST SCRIPT END ===

Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384
error: RPC failed; result=18, HTTP code = 200
fatal: The remote end hung up unexpectedly
error: Could not fetch 3c8cf5a9c21ff8782164d1def7f44bd888713384
Traceback (most recent call last):
  File "/home/patchew/patchew/patchew-cli", line 504, in test_one
    git_clone_repo(clone, r["repo"], r["head"], logf)
  File "/home/patchew/patchew/patchew-cli", line 48, in git_clone_repo
    stdout=logf, stderr=logf)
  File "/usr/lib64/python3.4/subprocess.py", line 558, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['git', 'remote', 'add', '-f', '--mirror=fetch', '3c8cf5a9c21ff8782164d1def7f44bd888713384', 'https://github.com/patchew-project/qemu']' returned non-zero exit status 1



---
Email generated automatically by Patchew [http://patchew.org/].
Please send your feedback to patchew-devel@freelists.org
Re: [Qemu-devel] [PULL 00/15] late linux-user fixes for 2.11
Posted by Peter Maydell 6 years, 5 months ago
On 20 November 2017 at 21:21,  <riku.voipio@linaro.org> wrote:
> From: Riku Voipio <riku.voipio@linaro.org>
>
> The following changes since commit b0fbe46ad82982b289a44ee2495b59b0bad8a842:
>
>   Update version for v2.11.0-rc0 release (2017-11-07 16:05:28 +0000)
>
> are available in the git repository at:
>
>   git://git.linaro.org/people/riku.voipio/qemu.git tags/pull-linux-user-20171120
>
> for you to fetch changes up to f516511ea84d8bb3395d6ea95a7c7b80dc2a05e9:
>
>   linux-user: Fix calculation of auxv length (2017-11-20 16:15:41 +0200)
>
> ----------------------------------------------------------------
> late linux-user fixes for Qemu 2.11
>
> ----------------------------------------------------------------

Applied, thanks.

-- PMM

Re: [Qemu-devel] [PULL 00/15] late linux-user fixes for 2.11
Posted by no-reply@patchew.org 6 years, 5 months ago
Hi,

This series seems to have some coding style problems. See output below for
more information:

Subject: [Qemu-devel] [PULL 00/15] late linux-user fixes for 2.11
Type: series
Message-id: cover.1511212753.git.riku.voipio@linaro.org

=== TEST SCRIPT BEGIN ===
#!/bin/bash

BASE=base
n=1
total=$(git log --oneline $BASE.. | wc -l)
failed=0

git config --local diff.renamelimit 0
git config --local diff.renames True

commits="$(git log --format=%H --reverse $BASE..)"
for c in $commits; do
    echo "Checking PATCH $n/$total: $(git log -n 1 --format=%s $c)..."
    if ! git show $c --format=email | ./scripts/checkpatch.pl --mailback -; then
        failed=1
        echo
    fi
    n=$((n+1))
done

exit $failed
=== TEST SCRIPT END ===

Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384
From https://github.com/patchew-project/qemu
 t [tag update]            patchew/1511201308-23580-1-git-send-email-peter.maydell@linaro.org -> patchew/1511201308-23580-1-git-send-email-peter.maydell@linaro.org
 t [tag update]            patchew/20171117190422.23626-1-eblake@redhat.com -> patchew/20171117190422.23626-1-eblake@redhat.com
 * [new tag]               patchew/cover.1511212753.git.riku.voipio@linaro.org -> patchew/cover.1511212753.git.riku.voipio@linaro.org
Switched to a new branch 'test'
788f1bba45 linux-user: Fix calculation of auxv length
052a0df24b linux-user: Handle rt_sigaction correctly for SPARC
f604e7242e linux-user/sparc: Put address for data faults where linux-user expects it
72147cb49c linux-user/ppc: Report correct fault address for data faults
e463bfe01b linux-user/s390x: Mask si_addr for SIGSEGV
453566e577 linux-user: return EINVAL from prctl(PR_*_SECCOMP)
fa4841c61b linux-user: fix 'finshed' typo in comment
8c79f00a62 linux-user/syscall.c: Handle SH4's exceptional alignment for p{read, write}64
00aa6fca9b linux-user: Handle TARGET_MAP_STACK and TARGET_MAP_HUGETLB
0404230a13 linux-user/hppa: Fix TARGET_F_RDLCK, TARGET_F_WRLCK, TARGET_F_UNLCK
843644155e linux-user/hppa: Fix TARGET_MAP_TYPE
928786ff34 linux-user/hppa: Fix typo for TARGET_NR_epoll_wait
244abacff6 linux-user/hppa: Fix cpu_clone_regs
63e9a64d06 linux-user/hppa: Fix TARGET_SA_* defines
46e4119671 linux-user: Restrict usage of sa_restorer

=== OUTPUT BEGIN ===
Checking PATCH 1/15: linux-user: Restrict usage of sa_restorer...
Checking PATCH 2/15: linux-user/hppa: Fix TARGET_SA_* defines...
Checking PATCH 3/15: linux-user/hppa: Fix cpu_clone_regs...
Checking PATCH 4/15: linux-user/hppa: Fix typo for TARGET_NR_epoll_wait...
Checking PATCH 5/15: linux-user/hppa: Fix TARGET_MAP_TYPE...
ERROR: code indent should never use tabs
#25: FILE: linux-user/syscall_defs.h:1340:
+#define TARGET_MAP_TYPE         0x03^I^I/* Mask for type of mapping */$

ERROR: code indent should never use tabs
#27: FILE: linux-user/syscall_defs.h:1342:
+#define TARGET_MAP_TYPE         0x0f^I^I/* Mask for type of mapping */$

total: 2 errors, 0 warnings, 12 lines checked

Your patch has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.

Checking PATCH 6/15: linux-user/hppa: Fix TARGET_F_RDLCK, TARGET_F_WRLCK, TARGET_F_UNLCK...
Checking PATCH 7/15: linux-user: Handle TARGET_MAP_STACK and TARGET_MAP_HUGETLB...
Checking PATCH 8/15: linux-user/syscall.c: Handle SH4's exceptional alignment for p{read, write}64...
Checking PATCH 9/15: linux-user: fix 'finshed' typo in comment...
Checking PATCH 10/15: linux-user: return EINVAL from prctl(PR_*_SECCOMP)...
Checking PATCH 11/15: linux-user/s390x: Mask si_addr for SIGSEGV...
Checking PATCH 12/15: linux-user/ppc: Report correct fault address for data faults...
Checking PATCH 13/15: linux-user/sparc: Put address for data faults where linux-user expects it...
Checking PATCH 14/15: linux-user: Handle rt_sigaction correctly for SPARC...
Checking PATCH 15/15: linux-user: Fix calculation of auxv length...
=== OUTPUT END ===

Test command exited with code: 1


---
Email generated automatically by Patchew [http://patchew.org/].
Please send your feedback to patchew-devel@freelists.org