qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 0d42cd: target/riscv: Do not include 'pmp.h'


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 0d42cd: target/riscv: Do not include 'pmp.h' in user emula...
Date: Tue, 08 Jun 2021 05:55:04 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 0d42cd5c1d370701c9f17367115244fbaedd2ea1
      
https://github.com/qemu/qemu/commit/0d42cd5c1d370701c9f17367115244fbaedd2ea1
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2021-06-05 (Sat, 05 Jun 2021)

  Changed paths:
    M target/riscv/cpu.h

  Log Message:
  -----------
  target/riscv: Do not include 'pmp.h' in user emulation

Physical Memory Protection is a system feature.
Avoid polluting the user-mode emulation by its definitions.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20210516205333.696094-1-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: d84451d38e9a36ff08af9b1424ecca51ba45e3ac
      
https://github.com/qemu/qemu/commit/d84451d38e9a36ff08af9b1424ecca51ba45e3ac
  Author: Dmitry Voronetskiy <vda1999@yandex.ru>
  Date:   2021-06-05 (Sat, 05 Jun 2021)

  Changed paths:
    M hw/i386/kvm/apic.c
    M hw/i386/kvm/clock.c
    M hw/i386/kvm/i8254.c
    M hw/i386/kvm/i8259.c
    M hw/i386/kvm/ioapic.c

  Log Message:
  -----------
  i386/kvm: The value passed to strerror should be positive

Signed-off-by: Dmitry Voronetskiy <vda1999@yandex.ru>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20210519113528.12474-1-davoronetskiy@gmail.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 585190902a3baae3a1609c30a9e485ec072dd72f
      
https://github.com/qemu/qemu/commit/585190902a3baae3a1609c30a9e485ec072dd72f
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2021-06-05 (Sat, 05 Jun 2021)

  Changed paths:
    M hw/gpio/aspeed_gpio.c
    M hw/i386/acpi-common.h
    M hw/intc/ppc-uic.c
    M include/monitor/monitor.h

  Log Message:
  -----------
  misc: Correct relative include path

Headers should be included from the 'include/' directory,
not from the root directory.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Message-Id: <20210516205034.694788-1-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 180d4ef3ad08f2f5073184e1fa763c230fe4750f
      
https://github.com/qemu/qemu/commit/180d4ef3ad08f2f5073184e1fa763c230fe4750f
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2021-06-05 (Sat, 05 Jun 2021)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user/syscall: Constify bitmask_transtbl fcntl/mmap flags_tlb[]

Keep bitmask_transtbl in .rodata by marking the arrays const.

Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210517055243.830491-1-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: d7878875ae09e9c59aa2bd52e6f289cb845e944e
      
https://github.com/qemu/qemu/commit/d7878875ae09e9c59aa2bd52e6f289cb845e944e
  Author: John Snow <jsnow@redhat.com>
  Date:   2021-06-05 (Sat, 05 Jun 2021)

  Changed paths:
    M include/exec/memory.h

  Log Message:
  -----------
  docs: fix broken reference

Long story short, we need a space here for the reference to work
correctly.

Longer story:

Without the space, kerneldoc generates a line like this:

one of :c:type:`MemoryListener.region_add\(\) 
<MemoryListener>`,:c:type:`MemoryListener.region_del\(\)

Sphinx does not process the role information correctly, so we get this
(my pseudo-notation) construct:

<text>,:c:type:</text>
<reference target="MemoryListener">MemoryListener.region_del()</reference>

which does not reference the desired entity, and leaves some extra junk
in the rendered output. See
https://qemu-project.gitlab.io/qemu/devel/memory.html#c.MemoryListener
member log_start for an example of the broken output as it looks today.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20210511192950.2061326-1-jsnow@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: dd6921894905c8ce0664a77f9dac78408bc3b52d
      
https://github.com/qemu/qemu/commit/dd6921894905c8ce0664a77f9dac78408bc3b52d
  Author: Pavel Dovgalyuk <pavel.dovgalyuk@ispras.ru>
  Date:   2021-06-05 (Sat, 05 Jun 2021)

  Changed paths:
    M target/nios2/translate.c

  Log Message:
  -----------
  target/nios2: fix page-fit instruction count

This patch fixes calculation of number of the instructions
that fit the current page. It prevents creation of the translation
blocks that cross the page boundaries. It is required for deterministic
exception generation in icount mode.

Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <162072241046.823357.10485774346114851009.stgit@pasha-ThinkPad-X280>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 69b66e49779bb87edb6c6bb5bac2b3527f7dbb71
      
https://github.com/qemu/qemu/commit/69b66e49779bb87edb6c6bb5bac2b3527f7dbb71
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2021-06-05 (Sat, 05 Jun 2021)

  Changed paths:
    M hw/display/macfb.c

  Log Message:
  -----------
  hw/display/macfb: Classify the "nubus-macfb" as display device

The "nubus-macfb" currently shows up as uncategorized device in
the output of "-device help". Put it into the display category
to fix this ugliness.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210531073255.46286-1-thuth@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 8daec64be9a5346da17ddba47aadb33617755478
      
https://github.com/qemu/qemu/commit/8daec64be9a5346da17ddba47aadb33617755478
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2021-06-05 (Sat, 05 Jun 2021)

  Changed paths:
    M target/hppa/cpu.h

  Log Message:
  -----------
  target/hppa: Remove unused 'memory.h' header

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210517101558.1040191-1-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 639785601963af82eefa656ca41360e7266e73d6
      
https://github.com/qemu/qemu/commit/639785601963af82eefa656ca41360e7266e73d6
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2021-06-05 (Sat, 05 Jun 2021)

  Changed paths:
    M target/mips/tcg/translate.c

  Log Message:
  -----------
  target/mips: Fix 'Uncoditional' typo

Fix Uncoditional -> Unconditional typo.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Message-Id: <20210602170759.2500248-3-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: eeae5466c47ef06e8cc59e2cb114e094e722e389
      
https://github.com/qemu/qemu/commit/eeae5466c47ef06e8cc59e2cb114e094e722e389
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2021-06-05 (Sat, 05 Jun 2021)

  Changed paths:
    M scripts/oss-fuzz/reorder_fuzzer_qtest_trace.py

  Log Message:
  -----------
  scripts/oss-fuzz: Fix typo in documentation

While we only use stdin, the chardev is named 'stdio'.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alexander Bulekov <alxndr@bu.edu>
Message-Id: <20210602170759.2500248-4-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: df77d45a51412ca84abd7f1490b48c1bccf07057
      
https://github.com/qemu/qemu/commit/df77d45a51412ca84abd7f1490b48c1bccf07057
  Author: Xie Yongji <xieyongji@bytedance.com>
  Date:   2021-06-05 (Sat, 05 Jun 2021)

  Changed paths:
    M hw/virtio/vhost-vdpa.c
    M include/hw/virtio/vhost-vdpa.h

  Log Message:
  -----------
  vhost-vdpa: Remove redundant declaration of address_space_memory

The symbol address_space_memory are already declared in
include/exec/address-spaces.h. So let's add this header file
and remove the redundant declaration in include/hw/virtio/vhost-vdpa.h.

Signed-off-by: Xie Yongji <xieyongji@bytedance.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Message-Id: <20210517123246.999-1-xieyongji@bytedance.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 81c4edc39e550efd639f7730dd94029e04cf7b96
      
https://github.com/qemu/qemu/commit/81c4edc39e550efd639f7730dd94029e04cf7b96
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-06-07 (Mon, 07 Jun 2021)

  Changed paths:
    M tests/tcg/multiarch/Makefile.target
    A tests/tcg/multiarch/signals.c

  Log Message:
  -----------
  tests/tcg: add a multiarch signals test to stress test signal delivery

This adds a simple signal test that combines the POSIX timer_create
with signal delivery across multiple threads. The aim is to provide a
bit more of a stress test to flush out signal handling issues for
easily than the occasional random crash we sometimes see in linux-test
or threadcount.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210527160319.19834-2-alex.bennee@linaro.org>


  Commit: 63de93530fe7d56dc0ba8b95f1dc8ba43ec237f3
      
https://github.com/qemu/qemu/commit/63de93530fe7d56dc0ba8b95f1dc8ba43ec237f3
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-06-07 (Mon, 07 Jun 2021)

  Changed paths:
    M meson.build

  Log Message:
  -----------
  meson.build: fix cosmetics of compiler display

If you specify something like --cc="ccache gcc" on your configure line
the summary output misses the rest of the cmd_array. Do some string
joining to make it complete.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210527160319.19834-3-alex.bennee@linaro.org>


  Commit: 31fa83bd2b3293227c50a646ee74ded6b70b87f4
      
https://github.com/qemu/qemu/commit/31fa83bd2b3293227c50a646ee74ded6b70b87f4
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-06-07 (Mon, 07 Jun 2021)

  Changed paths:
    M tests/tcg/configure.sh

  Log Message:
  -----------
  tests/tcg/configure.sh: tweak quoting of target_compiler

If you configure the host compiler with a multi-command stanza like:

  --cc="ccache gcc"

then the configure.sh machinery falls over with confusion. Work around
this by ensuring we correctly quote so where we need a complete
evaluation we get it. Of course the has() check needs single variable
so we need to unquote that. This does mean it essentially checks that
just the ccache command exits but if we got past that step we still
check the compiler actually does something.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Cc: Thomas Huth <thuth@redhat.com>
Message-Id: <20210527160319.19834-4-alex.bennee@linaro.org>


  Commit: e2ff831462d8783d5ba822db971c0d91380cc7c7
      
https://github.com/qemu/qemu/commit/e2ff831462d8783d5ba822db971c0d91380cc7c7
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-06-07 (Mon, 07 Jun 2021)

  Changed paths:
    M tests/acceptance/boot_linux_console.py

  Log Message:
  -----------
  tests/acceptance: tag various arm tests as TCG only

We should never be trying to run most of these models under a KVM
environment.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Willian Rampazzo <willianr@redhat.com>
Message-Id: <20210527160319.19834-7-alex.bennee@linaro.org>


  Commit: b114a0b94338ea36be2e3a8efb36a82c7b298cc4
      
https://github.com/qemu/qemu/commit/b114a0b94338ea36be2e3a8efb36a82c7b298cc4
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-06-07 (Mon, 07 Jun 2021)

  Changed paths:
    M .gitlab-ci.d/static_checks.yml

  Log Message:
  -----------
  gitlab: work harder to avoid false positives in checkpatch

This copies the behaviour of patchew's configuration to make the diff
algorithm generate a minimal diff.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Message-Id: <20210602153247.27651-1-alex.bennee@linaro.org>


  Commit: e2d301780953dea5f0065bcfccf261c2bf3f7e98
      
https://github.com/qemu/qemu/commit/e2d301780953dea5f0065bcfccf261c2bf3f7e98
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2021-06-07 (Mon, 07 Jun 2021)

  Changed paths:
    M .gitlab-ci.d/buildtest.yml

  Log Message:
  -----------
  gitlab-ci: Split gprof-gcov job

This job is hitting the 70min limit, so split it in 2 tasks.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Message-Id: <20210525082556.4011380-7-f4bug@amsat.org>


  Commit: 7bb17a9263665c7cb0b93e6889e66bb62b9f71c1
      
https://github.com/qemu/qemu/commit/7bb17a9263665c7cb0b93e6889e66bb62b9f71c1
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-06-07 (Mon, 07 Jun 2021)

  Changed paths:
    M tests/vm/Makefile.include
    M tests/vm/basevm.py
    M tests/vm/centos.aarch64

  Log Message:
  -----------
  tests/vm: expose --source-path to scripts to find extra files

Currently the centos8 image expects to run an in-src build to find the
kick starter file. Fix this.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210602103527.32021-1-alex.bennee@linaro.org>


  Commit: 72205289a0799c6d0a73107198098b830dbea2f9
      
https://github.com/qemu/qemu/commit/72205289a0799c6d0a73107198098b830dbea2f9
  Author: Matheus Ferst <matheus.ferst@eldorado.org.br>
  Date:   2021-06-07 (Mon, 07 Jun 2021)

  Changed paths:
    M scripts/checkpatch.pl

  Log Message:
  -----------
  scripts/checkpatch.pl: process .c.inc and .h.inc files as C source

Change the regex used to determine whether a file should be processed as
C source to include .c.inc and .h.inc extensions.

Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Message-Id: <20210520195142.941261-1-matheus.ferst@eldorado.org.br>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>


  Commit: a35947f15c0ee695eba3c55248ec8ac3e4e23cca
      
https://github.com/qemu/qemu/commit/a35947f15c0ee695eba3c55248ec8ac3e4e23cca
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2021-06-07 (Mon, 07 Jun 2021)

  Changed paths:
    M .gitlab-ci.d/buildtest.yml
    M .gitlab-ci.d/static_checks.yml
    M meson.build
    M scripts/checkpatch.pl
    M tests/acceptance/boot_linux_console.py
    M tests/tcg/configure.sh
    M tests/tcg/multiarch/Makefile.target
    A tests/tcg/multiarch/signals.c
    M tests/vm/Makefile.include
    M tests/vm/basevm.py
    M tests/vm/centos.aarch64

  Log Message:
  -----------
  Merge remote-tracking branch 
'remotes/stsquad/tags/pull-testing-updates-070621-2' into staging

A few testing and configure updates:

  - add the multiarch signals stress test
  - fix display of multi-word compiler stanzas in meson
  - fix quoting of multi-word compiler stazas in configure.sh
  - tag some acceptance tests as TCG only
  - make checkpatch test work harder to find clean diffs
  - split gprof/gconv job to avoid timeouts
  - fix centos8 VM build by adding --source-path
  - make checkpatch aware of .h.inc and .c.inc paths

# gpg: Signature made Mon 07 Jun 2021 14:51:12 BST
# gpg:                using RSA key 6685AE99E75167BCAFC8DF35FBD0DB095A9E2A44
# gpg: Good signature from "Alex Bennée (Master Work Key) 
<alex.bennee@linaro.org>" [full]
# Primary key fingerprint: 6685 AE99 E751 67BC AFC8  DF35 FBD0 DB09 5A9E 2A44

* remotes/stsquad/tags/pull-testing-updates-070621-2:
  scripts/checkpatch.pl: process .c.inc and .h.inc files as C source
  tests/vm: expose --source-path to scripts to find extra files
  gitlab-ci: Split gprof-gcov job
  gitlab: work harder to avoid false positives in checkpatch
  tests/acceptance: tag various arm tests as TCG only
  tests/tcg/configure.sh: tweak quoting of target_compiler
  meson.build: fix cosmetics of compiler display
  tests/tcg: add a multiarch signals test to stress test signal delivery

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: 33ba8b0adc91482dd4247a0773cfe7def011933f
      
https://github.com/qemu/qemu/commit/33ba8b0adc91482dd4247a0773cfe7def011933f
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2021-06-07 (Mon, 07 Jun 2021)

  Changed paths:
    M hw/display/macfb.c
    M hw/gpio/aspeed_gpio.c
    M hw/i386/acpi-common.h
    M hw/i386/kvm/apic.c
    M hw/i386/kvm/clock.c
    M hw/i386/kvm/i8254.c
    M hw/i386/kvm/i8259.c
    M hw/i386/kvm/ioapic.c
    M hw/intc/ppc-uic.c
    M hw/virtio/vhost-vdpa.c
    M include/exec/memory.h
    M include/hw/virtio/vhost-vdpa.h
    M include/monitor/monitor.h
    M linux-user/syscall.c
    M scripts/oss-fuzz/reorder_fuzzer_qtest_trace.py
    M target/hppa/cpu.h
    M target/mips/tcg/translate.c
    M target/nios2/translate.c
    M target/riscv/cpu.h

  Log Message:
  -----------
  Merge remote-tracking branch 
'remotes/vivier2/tags/trivial-branch-for-6.1-pull-request' into staging

Trivial branch pull request 20210607

# gpg: Signature made Mon 07 Jun 2021 19:56:43 BST
# gpg:                using RSA key CD2F75DDC8E3A4DC2E4F5173F30C38BD3F2FBE3C
# gpg:                issuer "laurent@vivier.eu"
# gpg: Good signature from "Laurent Vivier <lvivier@redhat.com>" [full]
# gpg:                 aka "Laurent Vivier <laurent@vivier.eu>" [full]
# gpg:                 aka "Laurent Vivier (Red Hat) <lvivier@redhat.com>" 
[full]
# Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F  5173 F30C 38BD 3F2F BE3C

* remotes/vivier2/tags/trivial-branch-for-6.1-pull-request:
  vhost-vdpa: Remove redundant declaration of address_space_memory
  scripts/oss-fuzz: Fix typo in documentation
  target/mips: Fix 'Uncoditional' typo
  target/hppa: Remove unused 'memory.h' header
  hw/display/macfb: Classify the "nubus-macfb" as display device
  target/nios2: fix page-fit instruction count
  docs: fix broken reference
  linux-user/syscall: Constify bitmask_transtbl fcntl/mmap flags_tlb[]
  misc: Correct relative include path
  i386/kvm: The value passed to strerror should be positive
  target/riscv: Do not include 'pmp.h' in user emulation

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/6f398e533f5e...33ba8b0adc91



reply via email to

[Prev in Thread] Current Thread [Next in Thread]