Public bug reported:
Hello,
I’ve gone through the RISC-V code in latest QEMU release
(qemu-5.0.0-rc2) and when checking the Floating point encodings I found
the rounding mode is only updated if the opcode field “rm” is changed
“ctx->frm == rm”. But according to RISC-V Volume I: Unprivileged ISA,
On Fri, Jun 26, 2020 at 9:37 PM Atish Patra wrote:
>
> On Fri, Jun 26, 2020 at 7:54 PM Bin Meng wrote:
> >
> > Hi Atish,
> >
> > On Sat, Jun 27, 2020 at 12:58 AM Atish Patra wrote:
> > >
> > > On Fri, Jun 26, 2020 at 4:50 AM Bin Meng wrote:
> > > >
> > > > Hi Atish,
> > > >
> > > > On Fri, Jun
On Fri, Jun 26, 2020 at 7:54 PM Bin Meng wrote:
>
> Hi Atish,
>
> On Sat, Jun 27, 2020 at 12:58 AM Atish Patra wrote:
> >
> > On Fri, Jun 26, 2020 at 4:50 AM Bin Meng wrote:
> > >
> > > Hi Atish,
> > >
> > > On Fri, Jun 26, 2020 at 8:33 AM Atish Patra wrote:
> > > >
> > > > Currently, the fdt
Hi Atish,
On Sat, Jun 27, 2020 at 12:58 AM Atish Patra wrote:
>
> On Fri, Jun 26, 2020 at 4:50 AM Bin Meng wrote:
> >
> > Hi Atish,
> >
> > On Fri, Jun 26, 2020 at 8:33 AM Atish Patra wrote:
> > >
> > > Currently, the fdt is copied to the ROM after the reset vector. The
> > > firmware
> > >
Patchew URL:
https://patchew.org/QEMU/20200626235519.591734-1-hskinnem...@google.com/
Hi,
This series failed the docker-mingw@fedora build test. Please find the testing
commands and
their output below. If you have Docker installed, you can probably reproduce it
locally.
=== TEST SCRIPT
This allows these NPCM7xx-based boards to boot from a flash image, e.g.
one built with OpenBMC. For example like this:
IMAGE=${OPENBMC}/build/tmp/deploy/images/gsj/image-bmc
qemu-system-arm -machine quanta-gsj -nographic \
-bios ~/qemu/bootrom/npcm7xx_bootrom.bin \
-drive
This supports reading and writing OTP fuses and keys. Only fuse reading
has been tested. Protection is not implemented.
Reviewed-by: Avi Fishman
Signed-off-by: Havard Skinnemoen
---
hw/arm/npcm7xx.c | 32 +++
hw/nvram/Makefile.objs | 1 +
hw/nvram/npcm7xx_otp.c
This implements a device model for the NPCM7xx SPI flash controller.
Direct reads and writes, and user-mode transactions have been tested in
various modes. Protection features are not implemented yet.
All the FIU instances are available in the SoC's address space,
regardless of whether or not
Reviewed-by: Cédric Le Goater
Signed-off-by: Havard Skinnemoen
---
docs/system/arm/nuvoton.rst | 92 +
docs/system/target-arm.rst | 1 +
2 files changed, 93 insertions(+)
create mode 100644 docs/system/arm/nuvoton.rst
diff --git
This just implements the bare minimum to cause the boot block to skip
memory initialization.
Reviewed-by: Tyrone Ting
Reviewed-by: Cédric Le Goater
Signed-off-by: Havard Skinnemoen
---
hw/arm/npcm7xx.c| 10 +
hw/mem/Makefile.objs| 1 +
hw/mem/npcm7xx_mc.c | 83
If a -bios option is specified on the command line, load the image into
the internal ROM memory region, which contains the first instructions
run by the CPU after reset.
A minimal Apache-2.0-licensed boot ROM can be found at
https://github.com/google/vbootrom
It is by no means feature complete,
This adds two new machines, both supported by OpenBMC:
- npcm750-evb: Nuvoton NPCM750 Evaluation Board.
- quanta-gsj: A board with a NPCM730 chip.
They rely on the NPCM7xx SoC device to do the heavy lifting. They are
almost completely identical at the moment, apart from the SoC type,
which
The NPCM730 and NPCM750 SoCs have three timer modules each holding five
timers and some shared registers (e.g. interrupt status).
Each timer runs at 25 MHz divided by a prescaler, and counts down from a
configurable initial value to zero. When zero is reached, the interrupt
flag for the timer is
Enough functionality to boot the Linux kernel has been implemented. This
includes:
- Correct power-on reset values so the various clock rates can be
accurately calculated.
- Clock enables stick around when written.
In addition, a best effort attempt to implement SECCNT and CNTR25M was
The Nuvoton NPCM7xx SoC family are used to implement Baseboard
Management Controllers in servers. While the family includes four SoCs,
this patch implements limited support for two of them: NPCM730 (targeted
for Data Center applications) and NPCM750 (targeted for Enterprise
applications).
This
Time for another refresh of this patchset. Sorry it took so long -- I've been
trying to figure out why the Winbond flash model isn't working with
npcm750-evb, and I'm fairly convinced the number of dummy cycles in DIO mode
should be 4, not 1. Unfortunately, I don't see any other machines using
Implement a device model for the System Global Control Registers in the
NPCM730 and NPCM750 BMC SoCs.
This is primarily used to enable SMP boot (the boot ROM spins reading
the SCRPAD register) and DDR memory initialization; other registers are
best effort for now.
The reset values of the MDLR
Add a config symbol for the NPCM7xx BMC SoC family that subsequent
patches can use in Makefiles.
Reviewed-by: Tyrone Ting
Acked-by: Joel Stanley
Signed-off-by: Havard Skinnemoen
---
default-configs/arm-softmmu.mak | 1 +
hw/arm/Kconfig | 8
2 files changed, 9
I just confirmed that this is still a problem on git tag v5.0.0, where I
applied the following:
diff --git a/linux-user/elfload.c b/linux-user/elfload.c
index 619c054cc4..093656d059 100644
--- a/linux-user/elfload.c
+++ b/linux-user/elfload.c
@@ -2016,6 +2016,7 @@ static abi_ulong
On Fri, 26 Jun 2020 13:16:13 +0100
"Dr. David Alan Gilbert" wrote:
> * Alex Williamson (alex.william...@redhat.com) wrote:
> > On Wed, 24 Jun 2020 19:59:39 +0530
> > Kirti Wankhede wrote:
> >
> > > On 6/23/2020 1:58 AM, Alex Williamson wrote:
> > > > On Sun, 21 Jun 2020 01:51:12 +0530
> >
Patchew URL:
https://patchew.org/QEMU/20200626214410.3613258-1-alistair.fran...@wdc.com/
Hi,
This series failed the docker-mingw@fedora build test. Please find the testing
commands and
their output below. If you have Docker installed, you can probably reproduce it
locally.
=== TEST SCRIPT
Patchew URL:
https://patchew.org/QEMU/20200626214410.3613258-1-alistair.fran...@wdc.com/
Hi,
This series seems to have some coding style problems. See output below for
more information:
Subject: [PULL 00/63] riscv-to-apply queue
Type: series
Message-id:
On Fri, 26 Jun 2020, Mark Cave-Ayland wrote:
On 16/06/2020 14:47, BALATON Zoltan wrote:
Add a reset function that maps macio to the address expected by the
firmware of the board at startup.
Signed-off-by: BALATON Zoltan
---
hw/ppc/mac.h | 12
hw/ppc/mac_oldworld.c | 15
On Fri, Jun 26, 2020 at 3:01 PM Jessica Clarke wrote:
>
> On 26 Jun 2020, at 22:43, Alistair Francis wrote:
> >
> > From: Jessica Clarke
> >
> > Claiming an interrupt and changing the source priority both potentially
> > affect whether an interrupt is pending, thus we must re-compute xEIP.
> >
On Fri, 26 Jun 2020, Mark Cave-Ayland wrote:
On 16/06/2020 14:47, BALATON Zoltan wrote:
The beige G3 Power Macintosh has a 4MB firmware ROM. Fix the size of
the rom region and fall back to loading a binary image with -bios if
loading ELF image failed. This allows testing emulation with a ROM
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Message-id: 20200623215920.2594-60-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 9 +++
target/riscv/insn32.decode | 3 +
On 26 Jun 2020, at 22:43, Alistair Francis wrote:
>
> From: Jessica Clarke
>
> Claiming an interrupt and changing the source priority both potentially
> affect whether an interrupt is pending, thus we must re-compute xEIP.
> Note that we don't put the sifive_plic_update inside
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Message-id: 20200623215920.2594-59-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 17
target/riscv/insn32.decode | 6 ++
From: LIU Zhiwei
Vector extension is default off. The only way to use vector extension is
1. use cpu rv32 or rv64
2. turn on it by command line
"-cpu rv64,x-v=true,vlen=128,elen=64,vext_spec=v0.7.1".
vlen is the vector register length, default value is 128 bit.
elen is the max operator size
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Message-id: 20200623215920.2594-58-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/insn32.decode | 3 ++
target/riscv/insn_trans/trans_rvv.inc.c | 49 +
2
This series covers strace support for following syscalls:
*truncate() *munlock() *clock_gettimeofday()
*ftruncate()*munlockall() *clock_getitimer()
*getsid() *clock_getres() *clock_setitimer()
*mlock()*clock_gettime()
*mlockall()
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Message-id: 20200623215920.2594-54-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 5 +
target/riscv/insn32.decode | 1 +
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Message-id: 20200623215920.2594-57-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/internals.h| 6 +++
target/riscv/insn32.decode | 1 +
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Message-id: 20200623215920.2594-55-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 5 +
target/riscv/insn32.decode | 2 ++
On Fri, 26 Jun 2020, Mark Cave-Ayland wrote:
On 16/06/2020 14:47, BALATON Zoltan wrote:
This function resets a CPU not the whole machine so reflect that in
its name.
Signed-off-by: BALATON Zoltan
Reviewed-by: Philippe Mathieu-Daudé
---
hw/ppc/mac_oldworld.c | 4 ++--
1 file changed, 2
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Message-id: 20200623215920.2594-56-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/insn32.decode | 1 +
target/riscv/insn_trans/trans_rvv.inc.c | 116
2
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Message-id: 20200623215920.2594-51-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 2 ++
target/riscv/insn32.decode | 1 +
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Message-id: 20200623215920.2594-50-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 9 ++
target/riscv/insn32.decode | 8 +
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Reviewed-by: Alistair Francis
Message-id: 20200623215920.2594-49-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 3 ++
target/riscv/insn32.decode | 2
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Message-id: 20200623215920.2594-61-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 5
target/riscv/insn32.decode | 1 +
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Message-id: 20200623215920.2594-52-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 2 ++
target/riscv/insn32.decode | 1 +
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Message-id: 20200623215920.2594-53-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 4 ++
target/riscv/insn32.decode | 3 ++
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Reviewed-by: Alistair Francis
Message-id: 20200623215920.2594-32-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 17 +++
target/riscv/insn32.decode |
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Reviewed-by: Alistair Francis
Message-id: 20200623215920.2594-48-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 10 +++
target/riscv/insn32.decode |
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Reviewed-by: Alistair Francis
Message-id: 20200623215920.2594-47-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 7 +++
target/riscv/insn32.decode |
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Reviewed-by: Alistair Francis
Message-id: 20200623215920.2594-25-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 33 ++
target/riscv/insn32.decode | 10
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Alistair Francis
Reviewed-by: Richard Henderson
Message-id: 20200623215920.2594-26-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 17
target/riscv/insn32.decode |
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Reviewed-by: Alistair Francis
Message-id: 20200623215920.2594-46-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 33 +++
target/riscv/insn32.decode
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Reviewed-by: Alistair Francis
Message-id: 20200623215920.2594-31-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 16
target/riscv/insn32.decode |
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Alistair Francis
Reviewed-by: Richard Henderson
Message-id: 20200623215920.2594-24-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 17
target/riscv/insn32.decode |
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Reviewed-by: Alistair Francis
Message-id: 20200623215920.2594-30-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 13 +++
target/riscv/insn32.decode |
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Reviewed-by: Alistair Francis
Message-id: 20200623215920.2594-23-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 22
target/riscv/insn32.decode
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Reviewed-by: Alistair Francis
Message-id: 20200623215920.2594-44-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 11 ++
target/riscv/insn32.decode |
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Reviewed-by: Alistair Francis
Message-id: 20200623215920.2594-45-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 11 ++
target/riscv/insn32.decode |
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Alistair Francis
Reviewed-by: Richard Henderson
Message-id: 20200623215920.2594-40-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 37 +
target/riscv/insn32.decode |
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Reviewed-by: Alistair Francis
Message-id: 20200623215920.2594-28-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 22 +++
target/riscv/insn32.decode |
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Reviewed-by: Alistair Francis
Message-id: 20200623215920.2594-43-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 13 ++
target/riscv/insn32.decode
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Reviewed-by: Alistair Francis
Message-id: 20200623215920.2594-29-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 17
target/riscv/insn32.decode |
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Reviewed-by: Alistair Francis
Message-id: 20200623215920.2594-22-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 33 ++
target/riscv/insn32.decode
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Alistair Francis
Reviewed-by: Richard Henderson
Message-id: 20200623215920.2594-42-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 4 +++
target/riscv/insn32.decode | 2
From: LIU Zhiwei
The unit-stride fault-only-fault load instructions are used to
vectorize loops with data-dependent exit conditions(while loops).
These instructions execute as a regular load except that they
will only take a trap on element 0.
Signed-off-by: LIU Zhiwei
Reviewed-by: Alistair
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Alistair Francis
Reviewed-by: Richard Henderson
Message-id: 20200623215920.2594-27-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 9 ++
target/riscv/insn32.decode | 2
From: LIU Zhiwei
Vector indexed operations add the contents of each element of the
vector offset operand specified by vs2 to the base effective address
to give the effective address of each element.
Signed-off-by: LIU Zhiwei
Reviewed-by: Alistair Francis
Reviewed-by: Richard Henderson
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Reviewed-by: Alistair Francis
Message-id: 20200623215920.2594-41-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 4 ++
target/riscv/internals.h| 5
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Reviewed-by: Alistair Francis
Message-id: 20200623215920.2594-39-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 19 ++
target/riscv/insn32.decode |
From: LIU Zhiwei
Vector strided operations access the first memory element at the base address,
and then access subsequent elements at address increments given by the byte
offset contained in the x register specified by rs2.
Vector unit-stride operations access elements stored contiguously in
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Reviewed-by: Alistair Francis
Message-id: 20200623215920.2594-37-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 4 +++
target/riscv/insn32.decode | 3
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Reviewed-by: Alistair Francis
Message-id: 20200623215920.2594-20-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 33 +++
target/riscv/insn32.decode
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Reviewed-by: Alistair Francis
Message-id: 20200623215920.2594-21-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 19 +
target/riscv/insn32.decode
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Reviewed-by: Alistair Francis
Message-id: 20200623215920.2594-18-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 33
target/riscv/insn32.decode
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Alistair Francis
Reviewed-by: Richard Henderson
Message-id: 20200623215920.2594-19-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 33 +
target/riscv/insn32.decode |
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Reviewed-by: Alistair Francis
Message-id: 20200623215920.2594-17-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 57 +++
target/riscv/insn32.decode
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Reviewed-by: Alistair Francis
Message-id: 20200623215920.2594-15-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 25
target/riscv/insn32.decode
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Reviewed-by: Alistair Francis
Message-id: 20200623215920.2594-34-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 5 +
target/riscv/insn32.decode |
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Reviewed-by: Alistair Francis
Message-id: 20200623215920.2594-38-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 13
target/riscv/insn32.decode
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Reviewed-by: Alistair Francis
Message-id: 20200623215920.2594-33-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 16
target/riscv/insn32.decode
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Reviewed-by: Alistair Francis
Message-id: 20200623215920.2594-36-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 17 +
target/riscv/insn32.decode |
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Reviewed-by: Alistair Francis
Message-id: 20200623215920.2594-14-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 25
target/riscv/insn32.decode
From: LIU Zhiwei
The 32 vector registers will be viewed as a continuous memory block.
It avoids the convension between element index and (regno, offset).
Thus elements can be directly accessed by offset from the first vector
base address.
Signed-off-by: LIU Zhiwei
Acked-by: Alistair Francis
From: LIU Zhiwei
vsetvl and vsetvli are two configure instructions for vl, vtype. TB flags
should update after configure instructions. The (ill, lmul, sew ) of vtype
and the bit of (VSTART == 0 && VL == VLMAX) will be placed within tb_flags.
Signed-off-by: LIU Zhiwei
Reviewed-by: Alistair
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Reviewed-by: Alistair Francis
Message-id: 20200623215920.2594-35-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 49 +
target/riscv/insn32.decode |
From: LIU Zhiwei
vlen is the vector register length in bits.
elen is the max element size in bits.
vext_spec is the vector specification version, default value is v0.7.1.
Signed-off-by: LIU Zhiwei
Reviewed-by: Alistair Francis
Reviewed-by: Richard Henderson
Message-id:
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Alistair Francis
Reviewed-by: Richard Henderson
Message-id: 20200623215920.2594-13-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 33 ++
target/riscv/insn32.decode |
From: LIU Zhiwei
The v0.7.1 specification does not define vector status within mstatus.
A future revision will define the privileged portion of the vector status.
Signed-off-by: LIU Zhiwei
Reviewed-by: Alistair Francis
Reviewed-by: Richard Henderson
Message-id:
From: LIU Zhiwei
The internals.h keeps things that are not relevant to the actual architecture,
only to the implementation, separate.
Signed-off-by: LIU Zhiwei
Reviewed-by: Alistair Francis
Reviewed-by: Richard Henderson
Message-id: 20200623215920.2594-6-zhiwei_...@c-sky.com
Signed-off-by:
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Reviewed-by: Alistair Francis
Message-id: 20200623215920.2594-12-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 49 +++
target/riscv/insn32.decode
From: Jessica Clarke
The source priorities can be used to order sources with respect to other
sources, not just as a way to enable/disable them based off a threshold.
We must therefore always claim the highest-priority source, rather than
the first source we find.
Signed-off-by: Jessica Clarke
From: Jessica Clarke
Claiming an interrupt and changing the source priority both potentially
affect whether an interrupt is pending, thus we must re-compute xEIP.
Note that we don't put the sifive_plic_update inside sifive_plic_claim
so that the logging of a claim (and the resulting IRQ) happens
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Reviewed-by: Alistair Francis
Message-id: 20200623215920.2594-16-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 13
target/riscv/insn32.decode | 6
From: LIU Zhiwei
Vector AMOs operate as if aq and rl bits were zero on each element
with regard to ordering relative to other instructions in the same hart.
Vector AMOs provide no ordering guarantee between element operations
in the same vector AMO instruction
Signed-off-by: LIU Zhiwei
From: LIU Zhiwei
Signed-off-by: LIU Zhiwei
Reviewed-by: Alistair Francis
Reviewed-by: Richard Henderson
Message-id: 20200623215920.2594-11-zhiwei_...@c-sky.com
Signed-off-by: Alistair Francis
---
target/riscv/helper.h | 25 ++
target/riscv/insn32.decode | 10
The following changes since commit 553cf5d7c47bee05a3dec9461c1f8430316d516b:
Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20200626'
into staging (2020-06-26 18:22:36 +0100)
are available in the Git repository at:
g...@github.com:alistair23/qemu.git tags/pull-riscv
On Fri, 26 Jun 2020 at 21:14, Keith Packard wrote:
>
> Max Filippov writes:
>
> > Most of them are due to unsupported/differently implemented
> > syscalls.
>
> Yeah, I think that was the basis of my confusion -- qemu-arm is not a
> bare metal environment, and my work is focused on enabling
This patch implements strace argument printing functionality for following
syscalls:
* mlock, munlock, mlockall, munlockall - lock and unlock memory
int mlock(const void *addr, size_t len)
int munlock(const void *addr, size_t len)
int mlockall(int flags)
int
This patch implements strace argument printing functionality for following
syscalls:
* truncate, ftruncate - truncate a file to a specified length
int truncate(const char *path, off_t length)
int ftruncate(int fd, off_t length)
man page:
This patch implements strace argument printing functionality for following
syscalls:
* clock_getres, clock_gettime, clock_settime - clock and time functions
int clock_getres(clockid_t clockid, struct timespec *res)
int clock_gettime(clockid_t clockid, struct timespec *tp)
Hi, Eugenio,
(CCing Eric, Yan and Michael too)
On Fri, Jun 26, 2020 at 08:41:22AM +0200, Eugenio Pérez wrote:
> diff --git a/memory.c b/memory.c
> index 2f15a4b250..7f789710d2 100644
> --- a/memory.c
> +++ b/memory.c
> @@ -1915,8 +1915,6 @@ void memory_region_notify_one(IOMMUNotifier *notifier,
On Fri, Jun 26, 2020 at 8:27 PM Peter Maydell wrote:
> On Tue, 23 Jun 2020 at 08:27, Philippe Mathieu-Daudé wrote:
> > Extract i2c_try_create_slave() and i2c_realize_and_unref()
> > from i2c_create_slave().
> > We can now set properties on a I2CSlave before it is realized.
> >
> > This is in
On 6/25/20 2:12 AM, Laurent Vivier wrote:
> I send a modified version according to Richard's comments of the original
> series sent by Giuseppe Musacchio (aka LemonBoy).
>
> v2: split patch in two patches
> update comment style
>
> I didn't really test the new patches (except a build and
Patchew URL:
https://patchew.org/QEMU/20200626205917.4545-1-zhiwei_...@c-sky.com/
Hi,
This series failed the docker-mingw@fedora build test. Please find the testing
commands and
their output below. If you have Docker installed, you can probably reproduce it
locally.
=== TEST SCRIPT BEGIN
1 - 100 of 581 matches
Mail list logo