[Qemu-devel] [PULL 00/12] ppc-for-2.12 queue 20180129

David Gibson posted 12 patches 6 years, 2 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20180129032826.16876-1-david@gibson.dropbear.id.au
Test checkpatch failed
Test docker-build@min-glib passed
Test docker-mingw@fedora passed
Test docker-quick@centos6 passed
Test ppc passed
Test s390x passed
hw/input/trace-events      |   1 +
hw/pci-host/grackle.c      |  13 +----
hw/pci-host/trace-events   |   9 ++++
hw/pci-host/uninorth.c     |  24 ++-------
hw/ppc/ppc405_boards.c     |  14 +++++
hw/ppc/ppc440_bamboo.c     |   9 ++++
hw/ppc/spapr.c             |   6 +++
hw/ppc/spapr_caps.c        | 124 +++++++++++++++++++++++++++++++++++++++++++++
hw/ppc/spapr_hcall.c       |  58 +++++++++++++++++++++
hw/ppc/spapr_pci.c         |  61 +++++++++++++++-------
hw/ppc/virtex_ml507.c      |   8 +++
include/hw/ppc/pnv_xscom.h |   2 -
include/hw/ppc/spapr.h     |  28 +++++++++-
qemu-doc.texi              |   6 +++
target/ppc/kvm.c           |  58 +++++++++++++++++++++
target/ppc/kvm_ppc.h       |  18 +++++++
16 files changed, 387 insertions(+), 52 deletions(-)
[Qemu-devel] [PULL 00/12] ppc-for-2.12 queue 20180129
Posted by David Gibson 6 years, 2 months ago
The following changes since commit e607bbee553cfe73072870cef458cfa4e78133e2:

  Merge remote-tracking branch 'remotes/edgar/tags/edgar/xilinx-next-2018-01-26.for-upstream' into staging (2018-01-26 14:24:25 +0000)

are available in the Git repository at:

  git://github.com/dgibson/qemu.git tags/ppc-for-2.12-20180129

for you to fetch changes up to c59704b254734182c3202e0c261589ea2ccf485e:

  target/ppc/spapr: Add H-Call H_GET_CPU_CHARACTERISTICS (2018-01-29 14:24:55 +1100)

----------------------------------------------------------------
ppc patch queue 2018-01-29

Here's another batch of patches for ppc, spapr and related things.
Higlights:

  * Implement (with a bunch of necessary infrastructure) a hypercall
    to let guests properly apply Spectre and Meltdown workarounds.
  * Convert a number of old devices to trace events
  * Fix some bugs

----------------------------------------------------------------
Cédric Le Goater (1):
      ppc/pnv: fix PnvChip redefinition in <hw/ppc/pnv_xscom.h>

Greg Kurz (1):
      spapr_pci: fix MSI/MSIX selection

Mark Cave-Ayland (3):
      grackle: convert to trace-events
      uninorth: convert to trace-events
      input: add missing newline from trace-events

Suraj Jitindar Singh (6):
      target/ppc/kvm: Add cap_ppc_safe_[cache/bounds_check/indirect_branch]
      target/ppc/spapr_caps: Add support for tristate spapr_capabilities
      target/ppc/spapr_caps: Add new tristate cap safe_cache
      target/ppc/spapr_caps: Add new tristate cap safe_bounds_check
      target/ppc/spapr_caps: Add new tristate cap safe_indirect_branch
      target/ppc/spapr: Add H-Call H_GET_CPU_CHARACTERISTICS

thuth@redhat.com (1):
      ppc: Deprecate qemu-system-ppcemb

 hw/input/trace-events      |   1 +
 hw/pci-host/grackle.c      |  13 +----
 hw/pci-host/trace-events   |   9 ++++
 hw/pci-host/uninorth.c     |  24 ++-------
 hw/ppc/ppc405_boards.c     |  14 +++++
 hw/ppc/ppc440_bamboo.c     |   9 ++++
 hw/ppc/spapr.c             |   6 +++
 hw/ppc/spapr_caps.c        | 124 +++++++++++++++++++++++++++++++++++++++++++++
 hw/ppc/spapr_hcall.c       |  58 +++++++++++++++++++++
 hw/ppc/spapr_pci.c         |  61 +++++++++++++++-------
 hw/ppc/virtex_ml507.c      |   8 +++
 include/hw/ppc/pnv_xscom.h |   2 -
 include/hw/ppc/spapr.h     |  28 +++++++++-
 qemu-doc.texi              |   6 +++
 target/ppc/kvm.c           |  58 +++++++++++++++++++++
 target/ppc/kvm_ppc.h       |  18 +++++++
 16 files changed, 387 insertions(+), 52 deletions(-)

Re: [Qemu-devel] [PULL 00/12] ppc-for-2.12 queue 20180129
Posted by no-reply@patchew.org 6 years, 2 months ago
Hi,

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

Type: series
Message-id: 20180129032826.16876-1-david@gibson.dropbear.id.au
Subject: [Qemu-devel] [PULL 00/12] ppc-for-2.12 queue 20180129

=== 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
 * [new tag]               patchew/20180129032826.16876-1-david@gibson.dropbear.id.au -> patchew/20180129032826.16876-1-david@gibson.dropbear.id.au
Switched to a new branch 'test'
e97ef6619e target/ppc/spapr: Add H-Call H_GET_CPU_CHARACTERISTICS
c0621c17ea target/ppc/spapr_caps: Add new tristate cap safe_indirect_branch
b6c8789419 target/ppc/spapr_caps: Add new tristate cap safe_bounds_check
b22a9bd48e target/ppc/spapr_caps: Add new tristate cap safe_cache
036fb5c77b target/ppc/spapr_caps: Add support for tristate spapr_capabilities
28e72609ce target/ppc/kvm: Add cap_ppc_safe_[cache/bounds_check/indirect_branch]
3548fac8a4 spapr_pci: fix MSI/MSIX selection
240cedb459 input: add missing newline from trace-events
6383b32ebf uninorth: convert to trace-events
b0d722a778 grackle: convert to trace-events
2cde689c8e ppc: Deprecate qemu-system-ppcemb
c7edeccf59 ppc/pnv: fix PnvChip redefinition in <hw/ppc/pnv_xscom.h>

=== OUTPUT BEGIN ===
Checking PATCH 1/12: ppc/pnv: fix PnvChip redefinition in <hw/ppc/pnv_xscom.h>...
Checking PATCH 2/12: ppc: Deprecate qemu-system-ppcemb...
Checking PATCH 3/12: grackle: convert to trace-events...
Checking PATCH 4/12: uninorth: convert to trace-events...
Checking PATCH 5/12: input: add missing newline from trace-events...
Checking PATCH 6/12: spapr_pci: fix MSI/MSIX selection...
Checking PATCH 7/12: target/ppc/kvm: Add cap_ppc_safe_[cache/bounds_check/indirect_branch]...
Checking PATCH 8/12: target/ppc/spapr_caps: Add support for tristate spapr_capabilities...
Checking PATCH 9/12: target/ppc/spapr_caps: Add new tristate cap safe_cache...
ERROR: line over 90 characters
#75: FILE: hw/ppc/spapr_caps.c:188:
+        error_setg(errp, "Requested safe cache capability level not supported by tcg, try a different value for cap-cfpc");

ERROR: line over 90 characters
#77: FILE: hw/ppc/spapr_caps.c:190:
+        error_setg(errp, "Requested safe cache capability level not supported by kvm, try a different value for cap-cfpc");

total: 2 errors, 0 warnings, 98 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 10/12: target/ppc/spapr_caps: Add new tristate cap safe_bounds_check...
ERROR: line over 90 characters
#47: FILE: hw/ppc/spapr_caps.c:199:
+        error_setg(errp, "Requested safe bounds check capability level not supported by tcg, try a different value for cap-sbbc");

ERROR: line over 90 characters
#49: FILE: hw/ppc/spapr_caps.c:201:
+        error_setg(errp, "Requested safe bounds check capability level not supported by kvm, try a different value for cap-sbbc");

WARNING: line over 80 characters
#62: FILE: hw/ppc/spapr_caps.c:246:
+        .description = "Speculation Barrier Bounds Checking" VALUE_DESC_TRISTATE,

total: 2 errors, 1 warnings, 71 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 11/12: target/ppc/spapr_caps: Add new tristate cap safe_indirect_branch...
ERROR: line over 90 characters
#48: FILE: hw/ppc/spapr_caps.c:210:
+        error_setg(errp, "Requested safe indirect branch capability level not supported by tcg, try a different value for cap-ibs");

ERROR: line over 90 characters
#50: FILE: hw/ppc/spapr_caps.c:212:
+        error_setg(errp, "Requested safe indirect branch capability level not supported by kvm, try a different value for cap-ibs");

total: 2 errors, 0 warnings, 71 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 12/12: target/ppc/spapr: Add H-Call H_GET_CPU_CHARACTERISTICS...
=== 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
Re: [Qemu-devel] [PULL 00/12] ppc-for-2.12 queue 20180129
Posted by Peter Maydell 6 years, 2 months ago
On 29 January 2018 at 03:28, David Gibson <david@gibson.dropbear.id.au> wrote:
> The following changes since commit e607bbee553cfe73072870cef458cfa4e78133e2:
>
>   Merge remote-tracking branch 'remotes/edgar/tags/edgar/xilinx-next-2018-01-26.for-upstream' into staging (2018-01-26 14:24:25 +0000)
>
> are available in the Git repository at:
>
>   git://github.com/dgibson/qemu.git tags/ppc-for-2.12-20180129
>
> for you to fetch changes up to c59704b254734182c3202e0c261589ea2ccf485e:
>
>   target/ppc/spapr: Add H-Call H_GET_CPU_CHARACTERISTICS (2018-01-29 14:24:55 +1100)
>
> ----------------------------------------------------------------
> ppc patch queue 2018-01-29
>
> Here's another batch of patches for ppc, spapr and related things.
> Higlights:
>
>   * Implement (with a bunch of necessary infrastructure) a hypercall
>     to let guests properly apply Spectre and Meltdown workarounds.
>   * Convert a number of old devices to trace events
>   * Fix some bugs

Applied, thanks.

-- PMM