mbox series

[0/7] TCG misc patches

Message ID 20171215170732.31125-1-richard.henderson@linaro.org
Headers show
Series TCG misc patches | expand

Message

Richard Henderson Dec. 15, 2017, 5:07 p.m. UTC
Two reviewed patches from the 2.11 soft-freeze era, and five
preparatory patches extract from my host vector patch set.

One more post for review...


r~


Alex Bennée (1):
  target/*helper: don't check retaddr before calling cpu_restore_state

Richard Henderson (6):
  target/moxie: Fix tlb_fill
  tcg: Remove TCGV_UNUSED* and TCGV_IS_UNUSED*
  tcg: Dynamically allocate TCGOps
  tcg: Generalize TCGOp parameters
  tcg: Add tcg_signed_cond
  tcg: Allow 6 arguments to TCG helpers

 include/exec/gen-icount.h                  |   9 +-
 include/exec/helper-gen.h                  |  11 +++
 include/exec/helper-head.h                 |   2 +
 include/exec/helper-proto.h                |   5 +
 include/exec/helper-tcg.h                  |   7 ++
 include/qemu/queue.h                       |   5 +
 target/arm/translate.h                     |  10 +-
 tcg/tcg-op.h                               |   4 -
 tcg/tcg.h                                  |  60 +++++-------
 target/alpha/mem_helper.c                  |  13 +--
 target/alpha/translate.c                   |  22 ++---
 target/arm/op_helper.c                     |  18 ++--
 target/arm/translate-a64.c                 |  37 ++++---
 target/arm/translate.c                     |  31 +++---
 target/cris/translate.c                    |   4 +-
 target/hppa/translate.c                    |  63 ++++++------
 target/i386/svm_helper.c                   |   4 +-
 target/i386/translate.c                    |  13 ++-
 target/lm32/op_helper.c                    |   7 +-
 target/lm32/translate.c                    |   2 -
 target/m68k/op_helper.c                    |   7 +-
 target/m68k/translate.c                    |  14 +--
 target/microblaze/op_helper.c              |   7 +-
 target/microblaze/translate.c              |   4 -
 target/mips/translate.c                    |   2 +-
 target/moxie/helper.c                      |   5 +-
 target/nios2/mmu.c                         |   7 +-
 target/nios2/translate.c                   |   6 +-
 target/openrisc/mmu_helper.c               |   6 +-
 target/ppc/translate.c                     |   2 +-
 target/s390x/translate.c                   |  42 ++++----
 target/sh4/translate.c                     |   2 +-
 target/sparc/translate.c                   |   2 +-
 target/tilegx/translate.c                  |  10 +-
 target/tricore/op_helper.c                 |  13 +--
 target/unicore32/op_helper.c               |   7 +-
 target/unicore32/translate.c               |   4 +-
 tcg/optimize.c                             |  20 +---
 tcg/tcg-op.c                               |  24 -----
 tcg/tcg.c                                  | 149 +++++++++++------------------
 tcg/tci.c                                  |  12 ++-
 tcg/tci/tcg-target.inc.c                   |   6 +-
 scripts/coccinelle/cpu_restore_state.cocci |  19 ++++
 43 files changed, 305 insertions(+), 392 deletions(-)
 create mode 100644 scripts/coccinelle/cpu_restore_state.cocci

-- 
2.14.3

Comments

no-reply@patchew.org Dec. 15, 2017, 6:13 p.m. UTC | #1
Hi,

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

Type: series
Message-id: 20171215170732.31125-1-richard.henderson@linaro.org
Subject: [Qemu-devel] [PATCH 0/7] TCG misc patches

=== 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/20171215150659.1811-1-marcandre.lureau@redhat.com -> patchew/20171215150659.1811-1-marcandre.lureau@redhat.com
 t [tag update]            patchew/20171215170732.31125-1-richard.henderson@linaro.org -> patchew/20171215170732.31125-1-richard.henderson@linaro.org
Switched to a new branch 'test'
0f3e6cd784 tcg: Allow 6 arguments to TCG helpers
2db8c41624 tcg: Add tcg_signed_cond
8a3f01b0dc tcg: Generalize TCGOp parameters
ce23558fc9 tcg: Dynamically allocate TCGOps
3e926c3bf9 tcg: Remove TCGV_UNUSED* and TCGV_IS_UNUSED*
d312cd9375 target/moxie: Fix tlb_fill
8186363e41 target/*helper: don't check retaddr before calling cpu_restore_state

=== OUTPUT BEGIN ===
Checking PATCH 1/7: target/*helper: don't check retaddr before calling cpu_restore_state...
Checking PATCH 2/7: target/moxie: Fix tlb_fill...
Checking PATCH 3/7: tcg: Remove TCGV_UNUSED* and TCGV_IS_UNUSED*...
Checking PATCH 4/7: tcg: Dynamically allocate TCGOps...
ERROR: line over 90 characters
#64: FILE: include/qemu/queue.h:430:
+             (var) && ((prev_var) = (*(((struct headname *)((var)->field.tqe_prev))->tqh_last)), 1); \

ERROR: spaces prohibited around that ':' (ctx:WxW)
#538: FILE: tcg/tcg.h:575:
+    unsigned life   : 16;       /* 32 */
                     ^

total: 2 errors, 0 warnings, 520 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 5/7: tcg: Generalize TCGOp parameters...
ERROR: spaces prohibited around that ':' (ctx:WxW)
#114: FILE: tcg/tcg.h:570:
+    unsigned param1 : 4;        /* 12 */
                     ^

ERROR: spaces prohibited around that ':' (ctx:WxW)
#115: FILE: tcg/tcg.h:571:
+    unsigned param2 : 4;        /* 16 */
                     ^

ERROR: Macros with complex values should be enclosed in parenthesis
#123: FILE: tcg/tcg.h:583:
+#define TCGOP_CALLI(X)    (X)->param1

ERROR: Macros with complex values should be enclosed in parenthesis
#124: FILE: tcg/tcg.h:584:
+#define TCGOP_CALLO(X)    (X)->param2

total: 4 errors, 0 warnings, 92 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/7: tcg: Add tcg_signed_cond...
Checking PATCH 7/7: tcg: Allow 6 arguments to TCG helpers...
=== 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