[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:00 -0700 |
Branch: refs/heads/staging
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>
Commit: cb53b283b5adf4123273d07eee5e186e2e0a1b5b
https://github.com/qemu/qemu/commit/cb53b283b5adf4123273d07eee5e186e2e0a1b5b
Author: Bin Meng <bin.meng@windriver.com>
Date: 2021-06-08 (Tue, 08 Jun 2021)
Changed paths:
M hw/riscv/sifive_u.c
Log Message:
-----------
hw/riscv: sifive_u: Switch to use qemu_fdt_setprop_string_array() helper
Since commit 78da6a1bca22 ("device_tree: add qemu_fdt_setprop_string_array
helper"),
we can use the new helper to set the clock name for the ethernet
controller node.
Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20210430071302.1489082-1-bmeng.cn@gmail.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Commit: 2cc04550ac222237b979b5a45679ff746fc99a46
https://github.com/qemu/qemu/commit/2cc04550ac222237b979b5a45679ff746fc99a46
Author: Bin Meng <bin.meng@windriver.com>
Date: 2021-06-08 (Tue, 08 Jun 2021)
Changed paths:
M hw/riscv/virt.c
Log Message:
-----------
hw/riscv: virt: Switch to use qemu_fdt_setprop_string_array() helper
Since commit 78da6a1bca22 ("device_tree: add qemu_fdt_setprop_string_array
helper"),
we can use the new helper to set the compatible strings for the
SiFive test device node.
Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20210430071302.1489082-2-bmeng.cn@gmail.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Commit: 7cfbb17f023dc014d366b2f30af852aa62a5c3b1
https://github.com/qemu/qemu/commit/7cfbb17f023dc014d366b2f30af852aa62a5c3b1
Author: Bin Meng <bin.meng@windriver.com>
Date: 2021-06-08 (Tue, 08 Jun 2021)
Changed paths:
M hw/riscv/sifive_u.c
M hw/riscv/spike.c
M hw/riscv/virt.c
Log Message:
-----------
hw/riscv: Support the official CLINT DT bindings
Linux kernel commit a2770b57d083 ("dt-bindings: timer: Add CLINT bindings")
adds the official DT bindings for CLINT, which uses "sifive,clint0"
as the compatible string. "riscv,clint0" is now legacy and has to
be kept for backward compatibility of legacy systems.
Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20210430071302.1489082-3-bmeng.cn@gmail.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Commit: 60bb5407f02b9d7cf7078ff339cbae961b7e98cc
https://github.com/qemu/qemu/commit/60bb5407f02b9d7cf7078ff339cbae961b7e98cc
Author: Bin Meng <bin.meng@windriver.com>
Date: 2021-06-08 (Tue, 08 Jun 2021)
Changed paths:
M hw/riscv/sifive_u.c
M hw/riscv/virt.c
Log Message:
-----------
hw/riscv: Support the official PLIC DT bindings
The official DT bindings of PLIC uses "sifive,plic-1.0.0" as the
compatible string in the upstream Linux kernel. "riscv,plic0" is
now legacy and has to be kept for backward compatibility of legacy
systems.
Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20210430071302.1489082-4-bmeng.cn@gmail.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Commit: 3ede8967c8a586c226da21d04283c72e24a2385e
https://github.com/qemu/qemu/commit/3ede8967c8a586c226da21d04283c72e24a2385e
Author: Bin Meng <bin.meng@windriver.com>
Date: 2021-06-08 (Tue, 08 Jun 2021)
Changed paths:
M docs/system/riscv/microchip-icicle-kit.rst
M docs/system/riscv/sifive_u.rst
Log Message:
-----------
docs/system/riscv: Correct the indentation level of supported devices
The supported device bullet list has an additional space before each
entry, which makes a wrong indentation level. Correct it.
Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20210430071302.1489082-5-bmeng.cn@gmail.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Commit: 0147af69abb17a1ab5780821659c2e71d081c1e2
https://github.com/qemu/qemu/commit/0147af69abb17a1ab5780821659c2e71d081c1e2
Author: Bin Meng <bin.meng@windriver.com>
Date: 2021-06-08 (Tue, 08 Jun 2021)
Changed paths:
M docs/system/riscv/sifive_u.rst
Log Message:
-----------
docs/system/riscv: sifive_u: Document '-dtb' usage
Update the 'sifive_u' machine documentation to mention the '-dtb'
option that can be used to pass a custom DTB to QEMU.
Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20210430071302.1489082-6-bmeng.cn@gmail.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Commit: a0acd0a175891afe554c907c4ecc941abbd98602
https://github.com/qemu/qemu/commit/a0acd0a175891afe554c907c4ecc941abbd98602
Author: Bin Meng <bin.meng@windriver.com>
Date: 2021-06-08 (Tue, 08 Jun 2021)
Changed paths:
M hw/riscv/sifive_u.c
M hw/riscv/spike.c
M hw/riscv/virt.c
M include/hw/riscv/boot.h
Log Message:
-----------
hw/riscv: Use macros for BIOS image names
The OpenSBI BIOS image names are used by many RISC-V machines.
Let's define macros for them.
Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20210430071302.1489082-7-bmeng.cn@gmail.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Commit: 143897b50140cfd7540f867edca5d658e76aa9bf
https://github.com/qemu/qemu/commit/143897b50140cfd7540f867edca5d658e76aa9bf
Author: Bin Meng <bin.meng@windriver.com>
Date: 2021-06-08 (Tue, 08 Jun 2021)
Changed paths:
M docs/system/riscv/microchip-icicle-kit.rst
M hw/riscv/microchip_pfsoc.c
Log Message:
-----------
hw/riscv: microchip_pfsoc: Support direct kernel boot
At present the Microchip Icicle Kit machine only supports using
'-bios' to load the HSS, and does not support '-kernel' for direct
kernel booting just like other RISC-V machines do. One has to use
U-Boot which is chain-loaded by HSS, to load a kernel for testing.
This is not so convenient.
Adding '-kernel' support together with the existing '-bios', we
follow the following table to select which payload we execute:
-bios | -kernel | payload
------+------------+--------
N | N | HSS
Y | don't care | HSS
N | Y | kernel
This ensures backwards compatibility with how we used to expose
'-bios' to users. When '-kernel' is used for direct boot, '-dtb'
must be present to provide a valid device tree for the board,
as we don't generate device tree.
When direct kernel boot is used, the OpenSBI fw_dynamic BIOS image
is used to boot a payload like U-Boot or OS kernel directly.
Documentation is updated to describe the direct kernel boot. Note
as of today there is still no PolarFire SoC support in the upstream
Linux kernel hence the document does not include instructions for
that. It will be updated in the future.
Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20210430071302.1489082-8-bmeng.cn@gmail.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Commit: 719f0f603c2289f438b8d6ef4358d9407b4c2905
https://github.com/qemu/qemu/commit/719f0f603c2289f438b8d6ef4358d9407b4c2905
Author: Jose Martins <josemartins90@gmail.com>
Date: 2021-06-08 (Tue, 08 Jun 2021)
Changed paths:
M target/riscv/cpu_bits.h
M target/riscv/op_helper.c
Log Message:
-----------
target/riscv: fix wfi exception behavior
The wfi exception trigger behavior should take into account user mode,
hstatus.vtw, and the fact the an wfi might raise different types of
exceptions depending on various factors:
If supervisor mode is not present:
- an illegal instruction exception should be generated if user mode
executes and wfi instruction and mstatus.tw = 1.
If supervisor mode is present:
- when a wfi instruction is executed, an illegal exception should be triggered
if either the current mode is user or the mode is supervisor and mstatus.tw is
set.
Plus, if the hypervisor extensions are enabled:
- a virtual instruction exception should be raised when a wfi is executed from
virtual-user or virtual-supervisor and hstatus.vtw is set.
Signed-off-by: Jose Martins <josemartins90@gmail.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20210420213656.85148-1-josemartins90@gmail.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Commit: 6debd840c8fedee6a378b05800d3382864e3564d
https://github.com/qemu/qemu/commit/6debd840c8fedee6a378b05800d3382864e3564d
Author: Alistair Francis <alistair.francis@wdc.com>
Date: 2021-06-08 (Tue, 08 Jun 2021)
Changed paths:
M docs/system/deprecated.rst
M docs/system/removed-features.rst
M docs/system/target-riscv.rst
Log Message:
-----------
docs/system: Move the RISC-V -bios information to removed
QEMU 5.1 changed the behaviour of the default boot for the RISC-V virt
and sifive_u machines. This patch moves that change from the
deprecated.rst file to the removed-features.rst file and the
target-riscv.rst.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Message-id:
4f1c261e7f69045ab8bb8926d85fe1d35e48ea5b.1620081256.git.alistair.francis@wdc.com
Commit: bbf3d1b48fe170c0220a2267117d8a1ea9c2c2a3
https://github.com/qemu/qemu/commit/bbf3d1b48fe170c0220a2267117d8a1ea9c2c2a3
Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
Date: 2021-06-08 (Tue, 08 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>
Message-id: 20210516205333.696094-1-f4bug@amsat.org
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Commit: 9a575d33fba497db48cda36273bde8710651888e
https://github.com/qemu/qemu/commit/9a575d33fba497db48cda36273bde8710651888e
Author: Bin Meng <bmeng.cn@gmail.com>
Date: 2021-06-08 (Tue, 08 Jun 2021)
Changed paths:
M target/riscv/cpu.c
M target/riscv/cpu.h
Log Message:
-----------
target/riscv: Remove unnecessary riscv_*_names[] declaration
riscv_excp_names[] and riscv_intr_names[] are only referenced by
target/riscv/cpu.c locally.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20210514052435.2203156-1-bmeng.cn@gmail.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Commit: a722701dd364b82dc115e94a29d767949f796000
https://github.com/qemu/qemu/commit/a722701dd364b82dc115e94a29d767949f796000
Author: Changbin Du <changbin.du@gmail.com>
Date: 2021-06-08 (Tue, 08 Jun 2021)
Changed paths:
M target/riscv/cpu.c
Log Message:
-----------
target/riscv: Dump CSR mscratch/sscratch/satp
This dumps the CSR mscratch/sscratch/satp and meanwhile aligns
the output of CSR mtval/stval.
Signed-off-by: Changbin Du <changbin.du@gmail.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Message-id: 20210519155738.20486-1-changbin.du@gmail.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Commit: 787a4baf91fa2ff36b901c0b31ea73f3f0739415
https://github.com/qemu/qemu/commit/787a4baf91fa2ff36b901c0b31ea73f3f0739415
Author: Alistair Francis <alistair.francis@wdc.com>
Date: 2021-06-08 (Tue, 08 Jun 2021)
Changed paths:
M target/riscv/pmp.c
Log Message:
-----------
target/riscv/pmp: Add assert for ePMP operations
Although we construct epmp_operation in such a way that it can only be
between 0 and 15 Coverity complains that we don't handle the other
possible cases. To fix Coverity and make it easier for humans to read
add a default case to the switch statement that calls
g_assert_not_reached().
Fixes: CID 1453108
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: LIU Zhiwei <zhiwei_liu@c-sky.com>
Message-id:
ec5f225928eec448278c82fcb1f6805ee61dde82.1621550996.git.alistair.francis@wdc.com
Commit: eee2d61e202b5bd49a5eb211e347e02c86287ef4
https://github.com/qemu/qemu/commit/eee2d61e202b5bd49a5eb211e347e02c86287ef4
Author: LIU Zhiwei <zhiwei_liu@c-sky.com>
Date: 2021-06-08 (Tue, 08 Jun 2021)
Changed paths:
M target/riscv/insn_trans/trans_rvv.c.inc
Log Message:
-----------
target/riscv: Pass the same value to oprsz and maxsz.
Since commit e2e7168a214b0ed98dc357bba96816486a289762, if oprsz
is still zero(as we don't use this field), simd_desc will trigger an
assert.
Besides, tcg_gen_gvec_*_ptr calls simd_desc in it's implementation.
Here we pass the value to maxsz and oprsz to bypass the assert.
Signed-off-by: LIU Zhiwei <zhiwei_liu@c-sky.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210521054816.1784297-1-zhiwei_liu@c-sky.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Commit: 00718208c127315d82f1f1f8383ef29bc478628e
https://github.com/qemu/qemu/commit/00718208c127315d82f1f1f8383ef29bc478628e
Author: Kito Cheng <kito.cheng@sifive.com>
Date: 2021-06-08 (Tue, 08 Jun 2021)
Changed paths:
M target/riscv/insn32.decode
Log Message:
-----------
target/riscv: reformat @sh format encoding for B-extension
Signed-off-by: Kito Cheng <kito.cheng@sifive.com>
Signed-off-by: Frank Chang <frank.chang@sifive.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20210505160620.15723-2-frank.chang@sifive.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Commit: 438240185a9456747b19a29290018316271a3762
https://github.com/qemu/qemu/commit/438240185a9456747b19a29290018316271a3762
Author: Kito Cheng <kito.cheng@sifive.com>
Date: 2021-06-08 (Tue, 08 Jun 2021)
Changed paths:
M target/riscv/cpu.h
M target/riscv/insn32.decode
A target/riscv/insn_trans/trans_rvb.c.inc
M target/riscv/translate.c
Log Message:
-----------
target/riscv: rvb: count leading/trailing zeros
Signed-off-by: Kito Cheng <kito.cheng@sifive.com>
Signed-off-by: Frank Chang <frank.chang@sifive.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20210505160620.15723-3-frank.chang@sifive.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Commit: 1e16310ca1bd368f20eb93683cc37389d5db185d
https://github.com/qemu/qemu/commit/1e16310ca1bd368f20eb93683cc37389d5db185d
Author: Frank Chang <frank.chang@sifive.com>
Date: 2021-06-08 (Tue, 08 Jun 2021)
Changed paths:
M target/riscv/insn32.decode
M target/riscv/insn_trans/trans_rvb.c.inc
M target/riscv/translate.c
Log Message:
-----------
target/riscv: rvb: count bits set
Signed-off-by: Kito Cheng <kito.cheng@sifive.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Frank Chang <frank.chang@sifive.com>
Message-id: 20210505160620.15723-4-frank.chang@sifive.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Commit: 0bcdb686e586d8f5bfa2b2f9261d75a76b15e3cb
https://github.com/qemu/qemu/commit/0bcdb686e586d8f5bfa2b2f9261d75a76b15e3cb
Author: Kito Cheng <kito.cheng@sifive.com>
Date: 2021-06-08 (Tue, 08 Jun 2021)
Changed paths:
M target/riscv/insn32.decode
M target/riscv/insn_trans/trans_rvb.c.inc
Log Message:
-----------
target/riscv: rvb: logic-with-negate
Signed-off-by: Kito Cheng <kito.cheng@sifive.com>
Signed-off-by: Frank Chang <frank.chang@sifive.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20210505160620.15723-5-frank.chang@sifive.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Commit: 6ef5843182382f6a84995590ad91047b0f2bc1fa
https://github.com/qemu/qemu/commit/6ef5843182382f6a84995590ad91047b0f2bc1fa
Author: Kito Cheng <kito.cheng@sifive.com>
Date: 2021-06-08 (Tue, 08 Jun 2021)
Changed paths:
M target/riscv/insn32.decode
M target/riscv/insn_trans/trans_rvb.c.inc
M target/riscv/translate.c
Log Message:
-----------
target/riscv: rvb: pack two words into one register
Signed-off-by: Kito Cheng <kito.cheng@sifive.com>
Signed-off-by: Frank Chang <frank.chang@sifive.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20210505160620.15723-6-frank.chang@sifive.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Commit: 82655d8115f022a0132a74e0229dc7fa9b623b87
https://github.com/qemu/qemu/commit/82655d8115f022a0132a74e0229dc7fa9b623b87
Author: Kito Cheng <kito.cheng@sifive.com>
Date: 2021-06-08 (Tue, 08 Jun 2021)
Changed paths:
M target/riscv/insn32.decode
M target/riscv/insn_trans/trans_rvb.c.inc
Log Message:
-----------
target/riscv: rvb: min/max instructions
Signed-off-by: Kito Cheng <kito.cheng@sifive.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Frank Chang <frank.chang@sifive.com>
Message-id: 20210505160620.15723-7-frank.chang@sifive.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Commit: 2a81973829d0e77bbfdcf9ca217de8fde5cff88f
https://github.com/qemu/qemu/commit/2a81973829d0e77bbfdcf9ca217de8fde5cff88f
Author: Kito Cheng <kito.cheng@sifive.com>
Date: 2021-06-08 (Tue, 08 Jun 2021)
Changed paths:
M target/riscv/insn32.decode
M target/riscv/insn_trans/trans_rvb.c.inc
Log Message:
-----------
target/riscv: rvb: sign-extend instructions
Signed-off-by: Kito Cheng <kito.cheng@sifive.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Frank Chang <frank.chang@sifive.com>
Message-id: 20210505160620.15723-8-frank.chang@sifive.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Commit: 981d3568dfa8b5180de1719fa590db558e9720b7
https://github.com/qemu/qemu/commit/981d3568dfa8b5180de1719fa590db558e9720b7
Author: Frank Chang <frank.chang@sifive.com>
Date: 2021-06-08 (Tue, 08 Jun 2021)
Changed paths:
M target/riscv/insn_trans/trans_rvi.c.inc
M target/riscv/translate.c
Log Message:
-----------
target/riscv: add gen_shifti() and gen_shiftiw() helper functions
Add gen_shifti() and gen_shiftiw() helper functions to reuse the same
interfaces for immediate shift instructions.
Signed-off-by: Frank Chang <frank.chang@sifive.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20210505160620.15723-9-frank.chang@sifive.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Commit: 23cd17773bdc559877cc81b7129c4dd41ae53e4f
https://github.com/qemu/qemu/commit/23cd17773bdc559877cc81b7129c4dd41ae53e4f
Author: Frank Chang <frank.chang@sifive.com>
Date: 2021-06-08 (Tue, 08 Jun 2021)
Changed paths:
M target/riscv/insn32.decode
M target/riscv/insn_trans/trans_rvb.c.inc
M target/riscv/translate.c
Log Message:
-----------
target/riscv: rvb: single-bit instructions
Signed-off-by: Kito Cheng <kito.cheng@sifive.com>
Signed-off-by: Frank Chang <frank.chang@sifive.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20210505160620.15723-10-frank.chang@sifive.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Commit: 91d8fc676819eff4ffcb7a8038e6de7d1dd381d3
https://github.com/qemu/qemu/commit/91d8fc676819eff4ffcb7a8038e6de7d1dd381d3
Author: Kito Cheng <kito.cheng@sifive.com>
Date: 2021-06-08 (Tue, 08 Jun 2021)
Changed paths:
M target/riscv/insn32.decode
M target/riscv/insn_trans/trans_rvb.c.inc
M target/riscv/translate.c
Log Message:
-----------
target/riscv: rvb: shift ones
Signed-off-by: Kito Cheng <kito.cheng@sifive.com>
Signed-off-by: Frank Chang <frank.chang@sifive.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20210505160620.15723-11-frank.chang@sifive.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Commit: e58529a8d03ab8e9127f3e7cdf757ff84af75698
https://github.com/qemu/qemu/commit/e58529a8d03ab8e9127f3e7cdf757ff84af75698
Author: Kito Cheng <kito.cheng@sifive.com>
Date: 2021-06-08 (Tue, 08 Jun 2021)
Changed paths:
M target/riscv/insn32.decode
M target/riscv/insn_trans/trans_rvb.c.inc
M target/riscv/translate.c
Log Message:
-----------
target/riscv: rvb: rotate (left/right)
Signed-off-by: Kito Cheng <kito.cheng@sifive.com>
Signed-off-by: Frank Chang <frank.chang@sifive.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20210505160620.15723-12-frank.chang@sifive.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Commit: 831ec7f3d1ede387eca225ccaccb2845cbbca85e
https://github.com/qemu/qemu/commit/831ec7f3d1ede387eca225ccaccb2845cbbca85e
Author: Frank Chang <frank.chang@sifive.com>
Date: 2021-06-08 (Tue, 08 Jun 2021)
Changed paths:
A target/riscv/bitmanip_helper.c
M target/riscv/helper.h
M target/riscv/insn32.decode
M target/riscv/insn_trans/trans_rvb.c.inc
M target/riscv/meson.build
M target/riscv/translate.c
Log Message:
-----------
target/riscv: rvb: generalized reverse
Signed-off-by: Frank Chang <frank.chang@sifive.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210505160620.15723-13-frank.chang@sifive.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Commit: c24f0422fbc0924389c1345ee30d8f87730ae633
https://github.com/qemu/qemu/commit/c24f0422fbc0924389c1345ee30d8f87730ae633
Author: Frank Chang <frank.chang@sifive.com>
Date: 2021-06-08 (Tue, 08 Jun 2021)
Changed paths:
M target/riscv/bitmanip_helper.c
M target/riscv/helper.h
M target/riscv/insn32.decode
M target/riscv/insn_trans/trans_rvb.c.inc
M target/riscv/translate.c
Log Message:
-----------
target/riscv: rvb: generalized or-combine
Signed-off-by: Frank Chang <frank.chang@sifive.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210505160620.15723-14-frank.chang@sifive.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Commit: 920a1f9955c528f2be3ff9c9e1cbf40ddad1b192
https://github.com/qemu/qemu/commit/920a1f9955c528f2be3ff9c9e1cbf40ddad1b192
Author: Kito Cheng <kito.cheng@sifive.com>
Date: 2021-06-08 (Tue, 08 Jun 2021)
Changed paths:
M target/riscv/insn32.decode
M target/riscv/insn_trans/trans_rvb.c.inc
M target/riscv/translate.c
Log Message:
-----------
target/riscv: rvb: address calculation
Signed-off-by: Kito Cheng <kito.cheng@sifive.com>
Signed-off-by: Frank Chang <frank.chang@sifive.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210505160620.15723-15-frank.chang@sifive.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Commit: 3a4a43e4e213a18d1ee4ed97090a5e86401c85bc
https://github.com/qemu/qemu/commit/3a4a43e4e213a18d1ee4ed97090a5e86401c85bc
Author: Kito Cheng <kito.cheng@sifive.com>
Date: 2021-06-08 (Tue, 08 Jun 2021)
Changed paths:
M target/riscv/insn32.decode
M target/riscv/insn_trans/trans_rvb.c.inc
M target/riscv/translate.c
Log Message:
-----------
target/riscv: rvb: add/shift with prefix zero-extend
Signed-off-by: Kito Cheng <kito.cheng@sifive.com>
Signed-off-by: Frank Chang <frank.chang@sifive.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210505160620.15723-16-frank.chang@sifive.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Commit: d52e94081e626b6b4b181dc7a6fc8f0b98e7d403
https://github.com/qemu/qemu/commit/d52e94081e626b6b4b181dc7a6fc8f0b98e7d403
Author: Kito Cheng <kito.cheng@sifive.com>
Date: 2021-06-08 (Tue, 08 Jun 2021)
Changed paths:
M target/riscv/cpu.c
M target/riscv/cpu.h
Log Message:
-----------
target/riscv: rvb: support and turn on B-extension from command line
B-extension is default off, use cpu rv32 or rv64 with x-b=true to
enable B-extension.
Signed-off-by: Kito Cheng <kito.cheng@sifive.com>
Signed-off-by: Frank Chang <frank.chang@sifive.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210505160620.15723-17-frank.chang@sifive.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Commit: d2c1a177b138be35cb96216baa870c3564b123e4
https://github.com/qemu/qemu/commit/d2c1a177b138be35cb96216baa870c3564b123e4
Author: Frank Chang <frank.chang@sifive.com>
Date: 2021-06-08 (Tue, 08 Jun 2021)
Changed paths:
M target/riscv/cpu.c
M target/riscv/cpu.h
Log Message:
-----------
target/riscv: rvb: add b-ext version cpu option
Default b-ext version is v0.93.
Signed-off-by: Frank Chang <frank.chang@sifive.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20210505160620.15723-18-frank.chang@sifive.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Commit: a4716fd8d7c877185652f5f8e25032dc7699d51b
https://github.com/qemu/qemu/commit/a4716fd8d7c877185652f5f8e25032dc7699d51b
Author: Peter Maydell <peter.maydell@linaro.org>
Date: 2021-06-08 (Tue, 08 Jun 2021)
Changed paths:
M docs/system/deprecated.rst
M docs/system/removed-features.rst
M docs/system/riscv/microchip-icicle-kit.rst
M docs/system/riscv/sifive_u.rst
M docs/system/target-riscv.rst
M hw/riscv/microchip_pfsoc.c
M hw/riscv/sifive_u.c
M hw/riscv/spike.c
M hw/riscv/virt.c
M include/hw/riscv/boot.h
A target/riscv/bitmanip_helper.c
M target/riscv/cpu.c
M target/riscv/cpu.h
M target/riscv/cpu_bits.h
M target/riscv/helper.h
M target/riscv/insn32.decode
A target/riscv/insn_trans/trans_rvb.c.inc
M target/riscv/insn_trans/trans_rvi.c.inc
M target/riscv/insn_trans/trans_rvv.c.inc
M target/riscv/meson.build
M target/riscv/op_helper.c
M target/riscv/pmp.c
M target/riscv/translate.c
Log Message:
-----------
Merge remote-tracking branch
'remotes/alistair/tags/pull-riscv-to-apply-20210608-1' into staging
Second RISC-V PR for QEMU 6.1
- Update the PLIC and CLINT DT bindings
- Improve documentation for RISC-V machines
- Support direct kernel boot for microchip_pfsoc
- Fix WFI exception behaviour
- Improve CSR printing
- Initial support for the experimental Bit Manip extension
# gpg: Signature made Tue 08 Jun 2021 01:28:27 BST
# gpg: using RSA key F6C4AC46D4934868D3B8CE8F21E10D29DF977054
# gpg: Good signature from "Alistair Francis <alistair@alistair23.me>" [full]
# Primary key fingerprint: F6C4 AC46 D493 4868 D3B8 CE8F 21E1 0D29 DF97 7054
* remotes/alistair/tags/pull-riscv-to-apply-20210608-1: (32 commits)
target/riscv: rvb: add b-ext version cpu option
target/riscv: rvb: support and turn on B-extension from command line
target/riscv: rvb: add/shift with prefix zero-extend
target/riscv: rvb: address calculation
target/riscv: rvb: generalized or-combine
target/riscv: rvb: generalized reverse
target/riscv: rvb: rotate (left/right)
target/riscv: rvb: shift ones
target/riscv: rvb: single-bit instructions
target/riscv: add gen_shifti() and gen_shiftiw() helper functions
target/riscv: rvb: sign-extend instructions
target/riscv: rvb: min/max instructions
target/riscv: rvb: pack two words into one register
target/riscv: rvb: logic-with-negate
target/riscv: rvb: count bits set
target/riscv: rvb: count leading/trailing zeros
target/riscv: reformat @sh format encoding for B-extension
target/riscv: Pass the same value to oprsz and maxsz.
target/riscv/pmp: Add assert for ePMP operations
target/riscv: Dump CSR mscratch/sscratch/satp
...
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Compare: https://github.com/qemu/qemu/compare/6f398e533f5e...a4716fd8d7c8