[Bug 1916269] Re: TCG: QEMU incorrectly raises exception on SSE4.2 CRC32 instruction

2021-07-13 Thread Alexander Richardson
Reported on GitLab as https://gitlab.com/qemu-project/qemu/-/issues/427 ** Bug watch added: gitlab.com/qemu-project/qemu/-/issues #427 https://gitlab.com/qemu-project/qemu/-/issues/427 -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to

[Bug 1916269] Re: TCG: QEMU raises exception on SSE4.2 CRC32 instruction in kernel

2021-04-22 Thread Alexander Richardson
Could someone familiar with the target/i386 decode logic could have a look at this? It should be a rather simple change to avoid the exception for the crc32 encoding. However, I am not familiar with x86 instruction encodings so it would take me a long time to come up with a correct patch.

[Bug 1916269] [NEW] TCG: QEMU raises exception on SSE4.2 CRC32 instruction in kernel

2021-02-19 Thread Alexander Richardson
Public bug reported: If I run FreeBSD on QEMU 5.2 with TCG acceleration -cpu Nehalem, I get a FPU exception when executing crc32 (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253617). This is not a problem with the default CPU (or KVM) since that does not support SSE 4.2. Attaching GDB

Re: [PATCH 2/4] target/riscv: Add CSR name in the CSR function table

2021-01-15 Thread Alexander Richardson
On Tue, 12 Jan 2021 at 05:02, Bin Meng wrote: > > From: Bin Meng > > In preparation to generate the CSR register list for GDB stub > dynamically, let's add the CSR name in the CSR function table. > > Signed-off-by: Bin Meng > --- > > target/riscv/cpu.h | 1 + > target/riscv/csr.c | 332 >

[Bug 1779447] Re: SLIRP SMB silently fails with MacOS smbd

2020-11-25 Thread Alexander Richardson
** Changed in: qemu Status: Incomplete => New -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1779447 Title: SLIRP SMB silently fails with MacOS smbd Status in QEMU: New Bug description:

Re: [PATCH v3 3/3] target/riscv: Fix the translation of physical address

2020-07-22 Thread Alexander Richardson
On Tue, 21 Jul 2020 at 13:43, Zong Li wrote: > > The real physical address should add the 12 bits page offset. It also > causes the PMP wrong checking due to the minimum granularity of PMP is > 4 byte, but we always get the physical address which is 4KB alignment, > that means, we always use the

Re: [PATCH] Fix MIPS add.s after 1ace099f2acb952eaaef0ba7725879949a7e4406

2020-07-06 Thread Alexander Richardson
Hi Philippe, On Fri, 3 Jul 2020 at 19:40, Philippe Mathieu-Daudé wrote: > > Hi Alex, > > On 7/3/20 6:15 PM, Alex Richardson wrote: > > After merging latest QEMU upstream into our CHERI fork, I noticed that > > some of the FPU tests in our MIPS baremetal testsuite > > I understand by baremetal

Re: [PATCH 1/3] riscv: Unify Qemu's reset vector code path

2020-06-19 Thread Alexander Richardson
On Tue, 16 Jun 2020 at 20:30, Atish Patra wrote: > > Currently, all riscv machines have identical reset vector code > implementations with memory addresses being different for all machines. > They can be easily combined into a single function in common code. > > Move it to common function and let

Re: [PATCH 0/3] Add OpenSBI dynamic firmware support

2020-06-19 Thread Alexander Richardson
On Thu, 18 Jun 2020 at 19:22, Atish Patra wrote: > > On Thu, Jun 18, 2020 at 1:56 AM Bin Meng wrote: > > > > On Wed, Jun 17, 2020 at 3:29 AM Atish Patra wrote: > > > > > > This series adds support OpenSBI dynamic firmware support to Qemu. > > > Qemu loader passes the information about the DT

[Bug 1861605] Re: LL/SC broken for MIPS after 7dd547e5ab6b31e7a0cfc182d3ad131dd55a948f

2020-02-02 Thread Alexander Richardson
New patch: https://github.com/qemu/qemu/commit/6ff8dec97f1a105d0da96c67ee24c75e437df162 ** Description changed: In that commit the env->llval value is loaded as an unsigned value (instead of sign-extended as before and therefore the CMPXCHG in gen_st_cond() in translate.c fails. - I

[Bug 1861605] Re: LL/SC broken for MIPS after 7dd547e5ab6b31e7a0cfc182d3ad131dd55a948f

2020-02-02 Thread Alexander Richardson
The fix I linked is incorrect, the correct URL is https://github.com /CTSRD-CHERI/qemu/commit/a833317eeb0387dcfa7615a78e74f8b48990b8bc -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1861605 Title:

[Bug 1861605] [NEW] LL/SC broken for MIPS after 7dd547e5ab6b31e7a0cfc182d3ad131dd55a948f

2020-02-02 Thread Alexander Richardson
Public bug reported: In that commit the env->llval value is loaded as an unsigned value (instead of sign-extended as before and therefore the CMPXCHG in gen_st_cond() in translate.c fails. I have committed a fix for this issue as https://github.com/CTSRD-

[Qemu-devel] [Bug 1779447] [NEW] SLIRP SMB silently fails with MacOS smbd

2018-06-30 Thread Alexander Richardson
Public bug reported: When using the -net user,id=net0,ipv6=off,smb=/path/to/share/option,hostfwd=tcp::19500-:22 I can successfully mount_smbfs the shared directory on the guest when QEMU is running on a Linux or FreeBSD host. However, on a MacOS host the mount_smbfs command just fails with