On Wed, Feb 02, 2022 at 02:15:47AM +0100, Halil Pasic wrote:
> On Tue, 1 Feb 2022 16:31:22 -0300
> Daniel Henrique Barboza wrote:
>
> > On 2/1/22 15:33, Halil Pasic wrote:
> > > On Tue, 1 Feb 2022 12:36:25 -0300
> > > Daniel Henrique Barboza wrote:
> > >
> > >>> +vdev_has_iommu =
> > > > migration/rdma.c | 2 +-
> > > > 1 file changed, 1 insertion(+), 1 deletion(-)
> > > >
> > > > diff --git a/migration/rdma.c b/migration/rdma.c
> > > > index c7c7a384875b..2e223170d06d 100644
> > > > --- a/migration/rdma.c
> > > > +++ b/migration/rdma.c
> > > > @@ -4238,7 +4238,7 @@ void
On Wed, Feb 2, 2022 at 2:03 PM Philipp Tomsich wrote:
>
>
> In adding our first X-extension (i.e., vendor-defined) on RISC-V with
> XVentanaCondOps, we need to add a few instructure improvements to make
> it easier to add similar vendor-defined extensions in the future:
> - refactor access to the
On Tue, Feb 1, 2022 at 5:08 PM LIU Zhiwei wrote:
>
> The guest should be able to set the vill bit as part of vsetvl.
>
> Currently we may set env->vill to 1 in the vsetvl helper, but there
> is nowhere that we set it to 0, so once it transitions to 1 it's stuck
> there until the system is reset.
> > > So it can handle more incoming requests.
> > >
> > > Signed-off-by: Jack Wang
> > > ---
> > > migration/rdma.c | 2 +-
> > > 1 file changed, 1 insertion(+), 1 deletion(-)
> > >
> > > diff --git a/migration/rdma.c b/migration/rdma.c
> > > index c7c7a384875b..2e223170d06d 100644
> > > ---
On 24/01/2022 07.43, Zongyuan Li wrote:
When building with clang version 13.0.0 (eg. Fedora 13.0.0-3.fc35),
two unused variables introduced by macro GATHER_FUNCTION and
SCATTER_FUNCTION will cause building process failure due to
[-Werror -Wunused-variable].
Signed-off-by: Zongyuan Li
Resolves:
On 01/02/2022 19.34, Andrea Bolognani wrote:
On Tue, Feb 01, 2022 at 06:47:14PM +0100, Philippe Mathieu-Daudé wrote:
Andrea, do you think it is acceptable to merge this and fix on top, or
we should do it properly from start?
My preference is always to avoid follow-up tweaks if possible :) but
On Wed, 2 Feb 2022 01:13:22 +
Jag Raman wrote:
> > On Feb 1, 2022, at 5:47 PM, Alex Williamson
> > wrote:
> >
> > On Tue, 1 Feb 2022 21:24:08 +
> > Jag Raman wrote:
> >
> >>> On Feb 1, 2022, at 10:24 AM, Alex Williamson
> >>> wrote:
> >>>
> >>> On Tue, 1 Feb 2022 09:30:35 +
> > > This allow address could be reused to avoid rdma_bind_addr error
> > > out.
> >
> > Seems we are proposing to allow multiple connections on same source ip
> > port pair?
> according to the man page, it's more about the destination side which
> is the incoming side.[1]
By source here I meant
On 1/2/22 19:20, Alex Bennée wrote:
If you really want to trace all memory operations TCG plugins gives
you a more flexible interface for doing so.
Signed-off-by: Alex Bennée
Reviewed-by: Richard Henderson
Cc: Luis Vilanova
Cc: Stefan Hajnoczi
--
v2
- dropped extra line
On 1/2/22 19:20, Alex Bennée wrote:
From: Thomas Huth
When running "make lcitool-refresh" in an out-of-tree build, it
currently fails with an error message from git like this:
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary
The current implementation of smbios table handle assignment does not leave
enough gap between tables 17 and table 19 for guests with larger than 8 TB of
memory. This change fixes this issue. This change calculates if additional
space between the tables need to be set aside and then reserves that
On 1/2/22 19:20, Alex Bennée wrote:
Ideally we should keep all our automatic formatting gubins in here.
Signed-off-by: Alex Bennée
Reviewed-by: Richard Henderson
Message-Id: <20220127150159.1489286-1-alex.ben...@linaro.org>
---
docs/devel/style.rst | 4
1 file changed, 4 insertions(+)
The Zb[abcs] support code still uses the RISCV_CPU macros to access
the configuration information (i.e., check whether an extension is
available/enabled). Now that we provide this information directly
from DisasContext, we can access this directly via the cfg_ptr field.
Signed-off-by: Philipp
On Tue, 1 Feb 2022 16:31:22 -0300
Daniel Henrique Barboza wrote:
> On 2/1/22 15:33, Halil Pasic wrote:
> > On Tue, 1 Feb 2022 12:36:25 -0300
> > Daniel Henrique Barboza wrote:
> >
> >>> +vdev_has_iommu = virtio_host_has_feature(vdev,
> >>> VIRTIO_F_IOMMU_PLATFORM);
> >>>if
As the number of extensions is growing, copying them individiually
into the DisasContext will scale less and less... instead we populate
a pointer to the RISCVCPUConfig structure in the DisasContext.
This adds an extra indirection when checking for the availability of
an extension (compared to
In adding our first X-extension (i.e., vendor-defined) on RISC-V with
XVentanaCondOps, we need to add a few instructure improvements to make
it easier to add similar vendor-defined extensions in the future:
- refactor access to the cfg->ext_* fields by making a pointer to the
cfg structure (as
This adds the decoder and translation for the XVentanaCondOps custom
extension (vendor-defined by Ventana Micro Systems), which is
documented at
https://github.com/ventanamicro/ventana-custom-extensions/releases/download/v1.0.0/ventana-custom-extensions-v1.0.0.pdf
This commit then also adds a
Signed-off-by: Philipp Tomsich
Reviewed-by: Alistair Francis
Suggested-by: Richard Henderson
Reviewed-by: Richard Henderson
---
(no changes since v4)
Changes in v4:
- use a typedef into 'RISCVCPUConfig' (instead of the explicit
'struct RISCVCPUConfig') to comply with the coding standard
On 2/1/22 17:46, LIU Zhiwei wrote:
The guest should be able to set the vill bit as part of vsetvl.
Currently we may set env->vill to 1 in the vsetvl helper, but there
is nowhere that we set it to 0, so once it transitions to 1 it's stuck
there until the system is reset.
Signed-off-by: LIU
On Tue, Feb 1, 2022 at 10:43 AM Richard Henderson <
richard.hender...@linaro.org> wrote:
> On 2/1/22 22:14, Warner Losh wrote:
> > +#ifndef BSD_FILE_H_
> > +#define BSD_FILE_H_
> > +
> > +#include
> > +#include
> > +#include
> > +#include
> > +#include
> > +#include
> > +#include
> >
On Tue, Feb 1, 2022 at 9:23 AM Kyle Evans wrote:
> On Tue, Feb 1, 2022 at 5:14 AM Warner Losh wrote:
> >
> > This doesn't build on openbsd at the moment, and this could
> > should arguably be in bsd-user/*bsd/x86_64 somewhere. Until
> > we refactor to support OpenBSD/NetBSD again, drop it here.
We can use the routines just added for user-only to emit
unaligned accesses in softmmu mode too.
Signed-off-by: Richard Henderson
---
tcg/mips/tcg-target.c.inc | 91 ++-
1 file changed, 51 insertions(+), 40 deletions(-)
diff --git a/tcg/mips/tcg-target.c.inc
The following changes since commit 3bbe296c1c7a6ddce7a294e006b8c4a53b385292:
Merge remote-tracking branch
'remotes/hreitz-gitlab/tags/pull-block-2022-02-01' into staging (2022-02-01
16:32:54 +)
are available in the Git repository at:
g...@gitlab.com:bsdimp/qemu.git
On Tue, Feb 1, 2022 at 2:37 PM Richard Henderson <
richard.hender...@linaro.org> wrote:
> On 2/1/22 22:14, Warner Losh wrote:
> > Implement do_bsd_{read,pread,readv,preadv}. Connect them to the system
> > call table.
> >
> > Signed-off-by: Stacey Son
> > Signed-off-by: Kyle Evans
> >
If the device backend is not persistent memory for the nvdimm, there is
need for explicit IO flushes on the backend to ensure persistence.
On SPAPR, the issue is addressed by adding a new hcall to request for
an explicit flush from the guest when the backend is not pmem. So, the
approach here is
> On Jan 28, 2022, at 8:47 AM, Steven Price wrote:
>
> On 18/01/2022 13:21, Chao Peng wrote:
>> This is the v4 of this series which try to implement the fd-based KVM
>> guest private memory. The patches are based on latest kvm/queue branch
>> commit:
>>
>> fea31d169094 KVM: x86/pmu: Fix
On Tue, Feb 1, 2022 at 2:40 PM Richard Henderson <
richard.hender...@linaro.org> wrote:
> On 2/2/22 08:28, Warner Losh wrote:
> > The capsicum signal stuff is new with FreeBSD 14, rev 1400026, so only
> > define QEMU_SI_CAPSICUM there. Only copy _capsicum when QEMU_SI_CAPSICUM
> > is defined.
On 2/1/22 22:14, Warner Losh wrote:
target_arg64 is a generic way to extract 64-bits from a pair of
arguments. On 32-bit platforms, it returns them joined together as
appropriate. On 64-bit platforms, it returns the first arg because it's
already 64-bits.
Signed-off-by: Stacey Son
On 2/1/22 22:14, Warner Losh wrote:
Create target.h. This file is intended to be simple and describe basic
things about the architecture. If something is a basic feature of the
architecture, it belongs here. Should we need something that's per-BSD
there will be a target-os.h that will live in
> On Feb 1, 2022, at 5:47 PM, Alex Williamson
> wrote:
>
> On Tue, 1 Feb 2022 21:24:08 +
> Jag Raman wrote:
>
>>> On Feb 1, 2022, at 10:24 AM, Alex Williamson
>>> wrote:
>>>
>>> On Tue, 1 Feb 2022 09:30:35 +
>>> Stefan Hajnoczi wrote:
>>>
On Mon, Jan 31, 2022 at 09:16:23AM
A new subclass inheriting NVDIMMDevice is going to be introduced in
subsequent patches. The new subclass uses the realize and unrealize
callbacks. Add them on NVDIMMClass to appropriately call them as part
of plug-unplug.
Signed-off-by: Shivaprasad G Bhat
---
hw/mem/nvdimm.c | 16
On 2/1/22 22:14, Warner Losh wrote:
Add in the tracing and this system call not implemented boilerplate.
Signed-off-by: Warner Losh
---
bsd-user/freebsd/os-syscall.c | 27 ++-
1 file changed, 26 insertions(+), 1 deletion(-)
diff --git a/bsd-user/freebsd/os-syscall.c
If the device backend is not persistent memory for the nvdimm, there
is need for explicit IO flushes to ensure persistence.
On SPAPR, the issue is addressed by adding a new hcall to request for
an explicit flush from the guest when the backend is not pmem.
So, the approach here is to convey when
The capsicum signal stuff is new with FreeBSD 14, rev 1400026, so only
define QEMU_SI_CAPSICUM there. Only copy _capsicum when QEMU_SI_CAPSICUM
is defined. Default to no info being passed for signals we make no guess
about.
Signed-off-by: Warner Losh
---
bsd-user/signal-common.h | 5 +
On 1/31/22 9:26 AM, Daniel P. Berrangé wrote:
>
> Ok, so the usage scenario is that the platform owner is deciding
> which OVMF build in use, not the guest owner. That guest owner just
> knows that it is an OVMF build from a set of builds published by the
> platform owner. Good enough if you
> On Feb 1, 2022, at 10:24 AM, Alex Williamson
> wrote:
>
> On Tue, 1 Feb 2022 09:30:35 +
> Stefan Hajnoczi wrote:
>
>> On Mon, Jan 31, 2022 at 09:16:23AM -0700, Alex Williamson wrote:
>>> On Fri, 28 Jan 2022 09:18:08 +
>>> Stefan Hajnoczi wrote:
>>>
On Thu, Jan 27, 2022 at
On Tue, Feb 1, 2022 at 2:06 PM Richard Henderson <
richard.hender...@linaro.org> wrote:
> On 2/2/22 07:52, Warner Losh wrote:
> > The capsicum signal stuff is new with FreeBSD 14, rev 1400026, so only
> > copy them on a new enough system.
> >
> > Signed-off-by: Warner Losh
> > ---
> >
The XVentanaCondOps extension is supported by VRULL on behalf of the
Ventana Micro. Add myself as a point-of-contact.
Signed-off-by: Philipp Tomsich
Reviewed-by: Richard Henderson
Reviewed-by: Alistair Francis
---
(no changes since v3)
Changes in v3:
- add a MAINTAINERS entry for
On 2/1/22 22:14, Warner Losh wrote:
Implement the exit system call. Bring in bsd-proc.h to contain all the
process system call implementation and helper routines.
Signed-off-by: Stacey Son
Signed-off-by: Warner Losh
---
bsd-user/bsd-proc.h | 43 +++
On 2/1/22 22:14, Warner Losh wrote:
Implement do_bsd_{read,pread,readv,preadv}. Connect them to the system
call table.
Signed-off-by: Stacey Son
Signed-off-by: Kyle Evans
Signed-off-by: Warner Losh
---
bsd-user/bsd-file.h | 79 +++
On 2/1/22 22:14, Warner Losh wrote:
lock_iovec will lock an I/O vec and the memory to which it referrs and
create a iovec in the host space that referrs to it, with full error
unwinding.
Signed-off-by: Warner Losh
---
bsd-user/freebsd/os-syscall.c | 92 +++
1
On 2/1/22 19:36, Philipp Tomsich wrote:
+static bool gen_condmask(DisasContext *ctx, arg_r *a, TCGCond cond)
This should also have a vendor prefix
This one is a static helper function inside a file
..._xventanacondops..._ and not visible outside the compilation unit.
Do we really want to
On Tue, Feb 1, 2022 at 7:39 PM Pankaj Gupta wrote:
>
> > This allow address could be reused to avoid rdma_bind_addr error
> > out.
>
> Seems we are proposing to allow multiple connections on same source ip
> port pair?
according to the man page, it's more about the destination side which
is the
This is kinda sorta the opposite of the other tcg hosts, where
we get (normal) alignment checks for free with host SIGBUS and
need to add code to support unaligned accesses.
Fortunately, the ISA contains pairs of instructions that are
used to implement unaligned memory accesses. Use them.
On Tue, Feb 1, 2022 at 9:32 AM Peter Maydell
wrote:
> On Mon, 31 Jan 2022 at 19:56, Warner Losh wrote:
> >
> > The following changes since commit
> 7a1043cef91739ff4b59812d30f1ed2850d3d34e:
> >
> > Merge remote-tracking branch
> 'remotes/bonzini-gitlab/tags/for-upstream' into staging
On Tue, Feb 1, 2022 at 9:32 AM Kyle Evans wrote:
> On Tue, Feb 1, 2022 at 5:14 AM Warner Losh wrote:
> >
> > Since we don't build on OpenBSD, only do FreeBSD system calls here. In
> > the future, we'll need to move this to some place like
> > bsd-user/freebsd/arm/mumble.h, but until then just
This fixes a build regression. The _capsicum member was added on -current
recently, and isn't in FreeBSD 12 or 13. This fixes the build regression
there.
My apologies...
Warner
On Tue, Feb 1, 2022 at 1:52 PM Warner Losh wrote:
> The capsicum signal stuff is new with FreeBSD 14, rev 1400026,
On Tue, Feb 01 2022, Peter Maydell wrote:
> Thanks, you've saved me a debugging session! I had a bug report about
> a problem with the systick timer a couple of days back, but I hadn't yet
> got round to investigating it, and now I don't have to, because this
> patch fixes the reported failure
On Tue, Feb 1, 2022 at 7:19 PM Pankaj Gupta wrote:
>
> > So it can handle more incoming requests.
> >
> > Signed-off-by: Jack Wang
> > ---
> > migration/rdma.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/migration/rdma.c b/migration/rdma.c
> > index
On 1/31/22 22:25, Pavel Dovgalyuk wrote:
Commit aff0e204cb1f1c036a496c94c15f5dfafcd9b4b4 introduced CF_NOIRQ usage,
but one case was forgotten. Record/replay uses one special TB which is not
really executed, but used to cause a correct exception in replay mode.
This patch adds CF_NOIRQ flag for
Am 01.02.2022 um 19:32 hat John Snow geschrieben:
> On Tue, Feb 1, 2022 at 8:21 AM Kevin Wolf wrote:
> >
> > Am 01.02.2022 um 05:11 hat John Snow geschrieben:
> > > The synchronous QMP library would bind to the server address during
> > > __init__(). The new library delays this to the accept()
On 9/21/21 12:02, David Gibson wrote:
On Wed, Jul 07, 2021 at 09:57:31PM -0500, Shivaprasad G Bhat wrote:
If the device backend is not persistent memory for the nvdimm, there is
need for explicit IO flushes on the backend to ensure persistence.
On SPAPR, the issue is addressed by adding a
Currently we track in the TableDesc and CmdQDesc structs the state of
the GITS_BASER and GITS_CBASER Valid bits. However we aren't very
consistent abut checking the valid field: we test it in update_cte()
and update_dte(), but not anywhere else we look things up in tables.
The GIC specification
Hi David,
Thanks for comments. Sorry about the delay. Replies inline.
On 9/21/21 11:53, David Gibson wrote:
On Wed, Jul 07, 2021 at 09:57:21PM -0500, Shivaprasad G Bhat wrote:
The patch adds support for the SCM flush hcall for the nvdimm devices.
To be available for exploitation by guest
The implementation in trans_{rvi,rvv,rvzfh}.c.inc accesses the shallow
copies (in DisasContext) of some of the elements available in the
RISCVCPUConfig structure. This commit redirects accesses to use the
cfg_ptr copied into DisasContext and removes the shallow copies.
Signed-off-by: Philipp
In the ITS, a CTE is an entry in the collection table, which contains
multiple fields. Currently the function get_cte() which reads one
entry from the device table returns a success/failure boolean and
passes back the raw 64-bit integer CTE value via a pointer argument.
We then extract fields from
To split up the decoder into multiple functions (both to support
vendor-specific opcodes in separate files and to simplify maintenance
of orthogonal extensions), this changes decode_op to iterate over a
table of decoders predicated on guard functions.
This commit only adds the new structure and
On 2/2/22 08:28, Warner Losh wrote:
The capsicum signal stuff is new with FreeBSD 14, rev 1400026, so only
define QEMU_SI_CAPSICUM there. Only copy _capsicum when QEMU_SI_CAPSICUM
is defined. Default to no info being passed for signals we make no guess
about.
Signed-off-by: Warner Losh
---
Make the update_ite() struct use the new ITEntry struct, so that
callers don't need to assemble the in-memory ITE data themselves, and
only get_ite() and update_ite() need to care about that in-memory
layout. We can then drop the no-longer-used IteEntry struct
definition.
Signed-off-by: Peter
Make update_cte() take a CTEntry struct rather than all the fields
of the new CTE as separate arguments.
This brings it into line with the update_dte() API.
Signed-off-by: Peter Maydell
---
hw/intc/arm_gicv3_its.c | 32 +---
1 file changed, 17 insertions(+), 15
On 2/1/22 15:40, Alistair Francis wrote:
Alistair, you're only changing the reporting of MMIO faults for which read
permission is
missing. Importantly, the actual permission check is done elsewhere, and you
aren't
changing that to perform a write access check. Also, you very much need to
When handling MAPI/MAPTI, we allow the supplied interrupt ID to be
either 1023 or something in the valid LPI range. This is a mistake:
only a real valid LPI is allowed. (The general behaviour of the ITS
is that most interrupt ID fields require a value in the LPI range;
the exception is that
On 2/1/22 15:33, Halil Pasic wrote:
On Tue, 1 Feb 2022 12:36:25 -0300
Daniel Henrique Barboza wrote:
+vdev_has_iommu = virtio_host_has_feature(vdev, VIRTIO_F_IOMMU_PLATFORM);
if (klass->get_dma_as != NULL && has_iommu) {
virtio_add_feature(>host_features,
On 2/1/22 22:14, Warner Losh wrote:
Add a series of macros to create system call macros that go via the
safe_syscall path.
Signed-off-by: Kyle Evans
Signed-off-by: Warner Losh
---
bsd-user/syscall_defs.h | 47 +
1 file changed, 47 insertions(+)
In get_ite() and update_ite() we work with a 12-byte in-guest-memory
table entry, which we intend to handle as an 8-byte value followed by
a 4-byte value. Unfortunately the calculation of the address of the
4-byte value is wrong, because we write it as:
table_base_address + (index * entrysize)
Currently the ITS accesses each 8-byte doubleword in a 4-doubleword
command packet with a separate address_space_ldq_le() call. This is
awkward because the individual command processing functions have
ended up with code to handle "load more doublewords out of the
packet", which is both unwieldy
Hello Igor,
On Tue, 2022-02-01 at 09:29 +0100, Igor Mammedov wrote:
> On Mon, 31 Jan 2022 12:53:31 +
> David Edmondson wrote:
>
> > On Saturday, 2022-01-29 at 06:46:45 -03, Leonardo Bras wrote:
> >
> > > The following steps describe a migration bug:
> > > 1 - Bring up a VM with -cpu EPYC
On Tue, Feb 1, 2022 at 11:02 AM Philippe Mathieu-Daudé
wrote:
> On 1/2/22 17:30, Patrick Venture wrote:
> > Previously this device created N subdevices which each owned an i2c bus.
> > Now this device simply owns the N i2c busses directly.
> >
> > Tested: Verified devices behind mux are still
Based-on: <20220104021543.396571-1-richard.hender...@linaro.org>
("[PATCH v4 0/7] Unaligned access for user only")
Changes from v4:
* Rebase on master.
* Drop other cleanup for now.
Changes from v3:
* Rebase on master, which has some patches applied.
r~
Richard Henderson (2):
Richard Henderson writes:
> AVX512VL has VPSRAVQ, and
> AVX512BW has VPSLLVW, VPSRAVW, VPSRLVW.
>
> Signed-off-by: Richard Henderson
Reviewed-by: Alex Bennée
> ---
> tcg/i386/tcg-target.c.inc | 32
> 1 file changed, 24 insertions(+), 8 deletions(-)
>
>
On Tue, Feb 1, 2022 at 10:40 AM Richard Henderson <
richard.hender...@linaro.org> wrote:
> On 2/1/22 22:14, Warner Losh wrote:
> > +/*
> > + * errno conversion.
> > + */
> > +abi_long get_errno(abi_long ret)
> > +{
> > +
> > +if (ret == -1) {
>
> Watch the extra blank lines.
>
Will do. It's
Richard Henderson writes:
> The condition for UMIN/UMAX availability is about to change;
> use the canonical version.
>
> Signed-off-by: Richard Henderson
Reviewed-by: Alex Bennée
--
Alex Bennée
On Tue, Feb 1, 2022 at 1:06 PM Alex Bennée wrote:
>
>
> Cleber Rosa writes:
>
> > On Tue, Feb 1, 2022 at 11:20 AM Daniel P. Berrangé
> > wrote:
> >>
> >> On Tue, Feb 01, 2022 at 11:01:43AM -0500, Cleber Rosa wrote:
> >> > On Tue, Feb 1, 2022 at 6:25 AM Alex Bennée
> >> > wrote:
> >> > >
> >>
On Tue, 1 Feb 2022 21:24:08 +
Jag Raman wrote:
> > On Feb 1, 2022, at 10:24 AM, Alex Williamson
> > wrote:
> >
> > On Tue, 1 Feb 2022 09:30:35 +
> > Stefan Hajnoczi wrote:
> >
> >> On Mon, Jan 31, 2022 at 09:16:23AM -0700, Alex Williamson wrote:
> >>> On Fri, 28 Jan 2022
Hello David, thanks for this feedback!
On Mon, 2022-01-31 at 12:53 +, David Edmondson wrote:
> On Saturday, 2022-01-29 at 06:46:45 -03, Leonardo Bras wrote:
>
> > The following steps describe a migration bug:
> > 1 - Bring up a VM with -cpu EPYC on a host with EPYC-Milan cpu
> > 2 - Migrate
The get_ite() code has some awkward nested if statements; clean
them up by returning early if the memory accesses fail.
Signed-off-by: Peter Maydell
---
hw/intc/arm_gicv3_its.c | 26 ++
1 file changed, 14 insertions(+), 12 deletions(-)
diff --git
On Tue, 1 Feb 2022 at 17:47, Yoshinori Sato wrote:
>
> On Tue, 01 Feb 2022 15:48:58 +0900,
> Thomas Huth wrote:
> >
> > On 31/01/2022 10.42, Yoshinori Sato wrote:
> > If you describe it like this, it sounds like you're now emulating a
> > buffer that is not there with real hardware? Is that
The sgx_epc_get_section stub is reachable from cpu_x86_cpuid. It
should not assert, instead it should just return true just like
the "real" sgx_epc_get_section does when SGX is disabled.
Reported-by: Vladimír Beneš
Cc: qemu-sta...@nongnu.org
Signed-off-by: Paolo Bonzini
---
hw/i386/sgx-stub.c
In get_ite() we currently return the caller some of the fields of an
Interrupt Table Entry via a set of pointer arguments, and validate
some of them internally (interrupt type and valid bit) to return a
simple true/false 'valid' indication. Define a new ITEntry struct
which has all the fields that
The capsicum signal stuff is new with FreeBSD 14, rev 1400026, so only
define QEMU_SI_CAPSICUM there. Only copy _capsicum when QEMU_SI_CAPSICUM
is defined. Default to no info being passed for signals we make no guess
about.
Signed-off-by: Warner Losh
Reviewed-by: Richard Henderson
---
Make update_dte() take a DTEntry struct rather than all the fields of
the new DTE as separate arguments.
Signed-off-by: Peter Maydell
---
hw/intc/arm_gicv3_its.c | 35 ++-
1 file changed, 18 insertions(+), 17 deletions(-)
diff --git a/hw/intc/arm_gicv3_its.c
Richard Henderson writes:
> There are some operation sizes in some subsets of AVX512 that
> are missing from previous iterations of AVX. Detect them.
>
> Signed-off-by: Richard Henderson
Hard for me to test but the code looks sane
Reviewed-by: Alex Bennée
--
Alex Bennée
The patch adds support for the SCM flush hcall for the nvdimm devices.
To be available for exploitation by guest through the next patch. The
hcall is applicable only for new SPAPR specific device class which is
also introduced in this patch.
The hcall expects the semantics such that the flush to
In the ITS, a DTE is an entry in the device table, which contains
multiple fields. Currently the function get_dte() which reads one
entry from the device table returns it as a raw 64-bit integer,
which we then pass around in that form, only extracting fields
from it as we need them.
Create a real
On 2/1/22 22:14, Warner Losh wrote:
Implement write, writev, pwrite and pwritev and connect them to the
system call dispatch routine.
Signed-off-by: Stacey Son
Signed-off-by: Kyle Evans
Signed-off-by: Warner Losh
---
bsd-user/bsd-file.h | 85 +++
On Tue, 1 Feb 2022 12:47:48 -0500
Cleber Rosa wrote:
> On Tue, Feb 1, 2022 at 11:20 AM Daniel P. Berrangé
> wrote:
> >
> > On Tue, Feb 01, 2022 at 11:01:43AM -0500, Cleber Rosa wrote:
> > > On Tue, Feb 1, 2022 at 6:25 AM Alex Bennée
> > > wrote:
> > > >
> > > > We have up to now tried
On Tue, Feb 01, 2022 at 06:47:14PM +0100, Philippe Mathieu-Daudé wrote:
> Andrea, do you think it is acceptable to merge this and fix on top, or
> we should do it properly from start?
My preference is always to avoid follow-up tweaks if possible :) but
ultimately the decision is up to the QEMU
On 2/1/22 22:14, Warner Losh wrote:
Releases the references to the iovec created by lock_iovec.
Signed-off-by: Warner Losh
---
bsd-user/freebsd/os-syscall.c | 23 +++
1 file changed, 23 insertions(+)
diff --git a/bsd-user/freebsd/os-syscall.c
On Tue, Feb 01, 2022 at 06:02:21PM +, Daniel P. Berrangé wrote:
> On Tue, Feb 01, 2022 at 09:08:22AM -0800, Andrea Bolognani wrote:
> > CentOS 8 and CentOS Stream 8 are two pretty distinct operating
> > systems in terms of update cadence and stability expectations, so I
> > think that using
Richard Henderson writes:
> The evex encoding is added here, for use in a subsequent patch.
>
> Signed-off-by: Richard Henderson
Reviewed-by: Alex Bennée
--
Alex Bennée
On Tue, Feb 1, 2022 at 8:21 AM Kevin Wolf wrote:
>
> Am 01.02.2022 um 05:11 hat John Snow geschrieben:
> > The synchronous QMP library would bind to the server address during
> > __init__(). The new library delays this to the accept() call, because
> > binding occurs inside of the call to
Signed-off-by: Alex Bennée
Reviewed-by: Richard Henderson
Cc: Luis Vilanova
Cc: Stefan Hajnoczi
Reviewed-by: Philippe Mathieu-Daudé
Message-Id: <20220124201608.604599-16-alex.ben...@linaro.org>
---
include/exec/helper-proto.h | 1 -
include/exec/helper-tcg.h | 1 -
include/trace-tcg.h
Richard Henderson writes:
> Signed-off-by: Richard Henderson
Reviewed-by: Alex Bennée
--
Alex Bennée
On 2/2/22 07:52, Warner Losh wrote:
The capsicum signal stuff is new with FreeBSD 14, rev 1400026, so only
copy them on a new enough system.
Signed-off-by: Warner Losh
---
bsd-user/signal.c | 4
1 file changed, 4 insertions(+)
diff --git a/bsd-user/signal.c b/bsd-user/signal.c
index
This adds simple instruction matching to the libinsn.so plugin which
is useful for examining the execution distance between instructions.
For example to track how often we flush in ARM due to TLB updates:
-plugin ./tests/plugin/libinsn.so,match=tlbi
which leads to output like this:
Ping.
The based-on series is already on master, only patch 3 is missing review.
On 13/01/2022 14:04, matheus.fe...@eldorado.org.br wrote:
From: Matheus Ferst
In the review of 66c6b40aba1, Richard Henderson suggested[1] using
"trap" instead of ".long 0x0" to generate the signal to test XER
If you really want to trace all memory operations TCG plugins gives
you a more flexible interface for doing so.
Signed-off-by: Alex Bennée
Reviewed-by: Richard Henderson
Cc: Luis Vilanova
Cc: Stefan Hajnoczi
--
v2
- dropped extra line
Reviewed-by: Philippe Mathieu-Daudé
Message-Id:
The capsicum signal stuff is new with FreeBSD 14, rev 1400026, so only
copy them on a new enough system.
Signed-off-by: Warner Losh
---
bsd-user/signal.c | 4
1 file changed, 4 insertions(+)
diff --git a/bsd-user/signal.c b/bsd-user/signal.c
index ad22ba9d90d..b43266e6e06 100644
---
On Tue, Feb 1, 2022 at 8:28 AM Kevin Wolf wrote:
>
> Am 01.02.2022 um 05:11 hat John Snow geschrieben:
> > GitLab: https://gitlab.com/jsnow/qemu/-/commits/python-aqmp-fixes
> > CI: https://gitlab.com/jsnow/qemu/-/pipelines/455146881
> >
> > Fixes and improvements all relating to "iotest 040,041,
1 - 100 of 352 matches
Mail list logo