On 08/03/2023 01.07, Philippe Mathieu-Daudé wrote:
From: Jiaxun Yang
MIPS Trickbox is a emulated device present in MIPS's IASIM simulator
for decades. It's capable of managing simulator status, signaling
interrupts, doing DMA and EJTAG signal stimulations.
For now we just use definition of thi
On 08/03/2023 01.07, Philippe Mathieu-Daudé wrote:
With the introduction of the MIPS virt machine in a pair
of commits, all MIPS targets will require libfdt.
Define TARGET_NEED_FDT in all mips*-softmmu.mak files.
Signed-off-by: Philippe Mathieu-Daudé
---
configs/targets/mips-softmmu.mak | 1
On Wed, Mar 08, 2023 at 12:13:24AM +, Ackerley Tng wrote:
> Chao Peng writes:
>
> > On Sat, Jan 14, 2023 at 12:01:01AM +, Sean Christopherson wrote:
> > > On Fri, Dec 02, 2022, Chao Peng wrote:
> > ...
> > > Strongly prefer to use similar logic to existing code that detects wraps:
>
> >
On 08/03/2023 01.07, Philippe Mathieu-Daudé wrote:
With the introduction of the MIPS virt machine in a pair
of commits, all MIPS targets will require libfdt.
Since the 'build-without-defaults' job is configured with
'--disable-fdt', it won't be able to build any MIPS target.
In particular this jo
On 8/3/23 07:56, Jason Wang wrote:
On Wed, Mar 8, 2023 at 4:43 AM Philippe Mathieu-Daudé wrote:
On 7/3/23 18:01, Peter Maydell wrote:
On Tue, 7 Mar 2023 at 07:08, Jason Wang wrote:
The following changes since commit 817fd33836e73812df2f1907612b57750fcb9491:
Merge tag 'audio-pull-reque
On Wed, Mar 8, 2023 at 1:01 AM Peter Maydell wrote:
>
> On Tue, 7 Mar 2023 at 07:08, Jason Wang wrote:
> >
> > The following changes since commit 817fd33836e73812df2f1907612b57750fcb9491:
> >
> > Merge tag 'audio-pull-request' of
> > https://gitlab.com/marcandre.lureau/qemu into staging (2023-
On Wed, Mar 8, 2023 at 4:43 AM Philippe Mathieu-Daudé wrote:
>
> On 7/3/23 18:01, Peter Maydell wrote:
> > On Tue, 7 Mar 2023 at 07:08, Jason Wang wrote:
> >>
> >> The following changes since commit
> >> 817fd33836e73812df2f1907612b57750fcb9491:
> >>
> >>Merge tag 'audio-pull-request' of
>
Hi
On Tue, Mar 7, 2023 at 6:50 PM Daniel P. Berrangé wrote:
>
> On Mon, Mar 06, 2023 at 04:27:44PM +0400, marcandre.lur...@redhat.com wrote:
> > From: Marc-André Lureau
> >
> > Manually implement a socketpair() function, using UNIX sockets and
> > simple peer credential checking.
> >
> > QEMU do
On Wed, Mar 8, 2023 at 9:02 AM Michael S. Tsirkin wrote:
>
> On Thu, Feb 23, 2023 at 02:59:22PM +0800, Jason Wang wrote:
> > This patch introduces a new helper to unmap the range of a specific
> > IOMMU notifier.
> >
> > Signed-off-by: Jason Wang
> > ---
> > include/exec/memory.h | 10 ++
On Mon, Mar 06, 2023 at 09:57:58AM +0100, Thomas Huth wrote:
> On 05/03/2023 11.27, Michael Tokarev wrote:
> > Hi!
> >
> > For a few qemu major releases already, we did not have any stable minor
> > releases.
> > I'd love to change that, in order to consolidate efforts and to make better
> > softw
On Tue, Mar 07, 2023 at 07:26:41PM +, Fan Ni wrote:
> > +typedef struct CXLError {
> > +QTAILQ_ENTRY(CXLError) node;
> > +int type; /* Error code as per FE definition */
> > +uint32_t header[32];
> Instead of using 32 here, would it be better to use
> CXL_RAS_ERR_HEADER_NUM?
merged
From: Jonathan Cameron
CXL uses PCI AER Internal errors to signal to the host that an error has
occurred. The host can then read more detailed status from the CXL RAS
capability.
For uncorrectable errors: support multiple injection in one operation
as this is needed to reliably test multiple hea
From: Jonathan Cameron
These two helpers enable host bridges to operate differently depending on
the number of downstream ports, in particular if there is only a single
port.
Useful for CXL where HDM address decoders are allowed to be implicit in
the host bridge if there is only a single root po
From: Igor Mammedov
describing all present devices on functions other than
0 was complicated when non hotplug and hotplug code
was intermixed. So QEMU has been excluding non zero
functions since they are not supported by hotplug code,
then a condition to whitelist coldplugged bridges was
added an
From: Jonathan Cameron
PCIe r6.0 Figure 6-3 "Pseudo Logic Diagram for Selected Error Message Control
and Status Bits" includes a right hand branch under "All PCI Express devices"
that allows for messages to be generated or sent onwards without SERR#
being set as long as the appropriate per error
From: Igor Mammedov
Signed-off-by: Igor Mammedov
Message-Id: <20230302161543.286002-20-imamm...@redhat.com>
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
tests/qtest/bios-tables-test-allowed-diff.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/qtest/bios
From: Eugenio Pérez
This allows vhost_vdpa to track if it is safe to get the vring base from
the device or not. If it is not, vhost can fall back to fetch idx from
the guest buffer again.
No functional change intended in this patch, later patches will use this
field.
Signed-off-by: Eugenio Pér
From: Jonathan Cameron
This enables AER error injection to function as expected.
It is intended as a building block in enabling CXL RAS error injection
in the following patches.
Signed-off-by: Jonathan Cameron
Reviewed-by: Dave Jiang
Message-Id: <20230302133709.30373-6-jonathan.came...@huawei.
From: Igor Mammedov
only following context change:
- Local1 = Zero
If ((Arg0 != ToUUID ("e5c937d0-3553-4d7a-9117-ea4d19c3434d") /* Device
Labeling Interface */))
{
Return (Local0)
...
Return (Local0)
}
+ Local1 = Zero
Local2 = AIDX (DerefOf (Arg4 [Zero]), De
From: Igor Mammedov
(I practice [1] hasn't broke anything since on hardware side we unset
hotplug_handler on such intermediate port => hotplug behind it has
never worked)
When deciding if bridge should be described, the original
condition was
cold_plugged_bridge && pcihp_bridge_en
which was
From: Eugenio Pérez
At this moment it is only possible to migrate to a vdpa device running
with x-svq=on. As a protective measure, the rewind of the inflight
descriptors was done at the destination. That way if the source sent a
virtqueue with inuse descriptors they are always discarded.
Since t
From: zhenwei pi
Introduce cryptodev alg type in cryptodev.json, then apply this to
related codes, and drop 'enum CryptoDevBackendAlgType'.
There are two options:
1, { 'enum': 'QCryptodevBackendAlgType',
'prefix': 'CRYPTODEV_BACKEND_ALG',
'data': ['sym', 'asym']}
Then we can keep 'CRYPTODEV_
From: Igor Mammedov
it's a helper method for acpi-index support on PCI buses
that do no support or have disabled ACPI PCI hotplug
or for non-hotpluggble endpoint devices.
(like non-hotpluggble NICs, integrated endpoints and
later for machines that do not support ACPI PCI hotplug)
no functional c
From: Igor Mammedov
commit [1] added ability to disable ACPI PCI hotplug
on hostbridge but forgot to take into account that it
should disable all ACPI hotplug machinery in case both
hostbridge and bridge hotplug are disabled.
Commit [2] tried to fix that, however it forgot to
remove hotplug_hand
From: Jonathan Cameron
As these are about to be modified, fix the endian handle for
this set of registers rather than making it worse.
Note that CXL is currently only supported in QEMU on
x86 (arm64 patches out of tree) so we aren't going to yet hit
an problems with big endian. However it is goo
From: Jonathan Cameron
We are missing necessary config write handling for AER emulation in
the CXL root port. Add it based on pcie_root_port.c
Signed-off-by: Jonathan Cameron
Reviewed-by: Dave Jiang
Message-Id: <20230302133709.30373-4-jonathan.came...@huawei.com>
Reviewed-by: Michael S. Tsirki
From: Carlos López
When a virtqueue size is changed by the guest via
virtio_queue_set_num(), its region cache is not automatically updated.
If the size was increased, this could lead to accessing the cache out
of bounds. For example, in vring_get_used_event():
static inline uint16_t vring_ge
From: Igor Mammedov
Signed-off-by: Igor Mammedov
Message-Id: <20230302161543.286002-24-imamm...@redhat.com>
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
tests/qtest/bios-tables-test-allowed-diff.h | 37 +
1 file changed, 37 insertions(+)
diff --gi
From: Jonathan Cameron
This register in AER should be both writeable and should
have a default value with a couple of the errors masked
including the Uncorrectable Internal Error used by CXL for
it's error reporting.
Signed-off-by: Jonathan Cameron
Reviewed-by: Dave Jiang
Message-Id: <20230302
From: Jonathan Cameron
The CXL r3.0 specification allows for there to be no HDM decoders on CXL
Host Bridges if they have only a single root port. Instead, all accesses
directed to the host bridge (as specified in CXL Fixed Memory Windows)
are assumed to be routed to the single root port.
Linux
From: Igor Mammedov
expected changes:
Basically adds devices present on root bus in form:
Device (SXX)
{
Name (_ADR, 0x) // _ADR: Address
}
On top of that For q35.noacpihp, all ACPI PCI hotplug
AML is removed and _OSC get native hotplug enabled:
Create
From: Albert Esteve
During protocol negotiation, when we the QEMU
stub does not support a backend with F_CONFIG,
it throws a warning and supresses the
VHOST_USER_PROTOCOL_F_CONFIG bit.
However, the warning uses warn_reportf_err macro
and passes an unitialized errp pointer. However,
the macro tri
From: Eugenio Pérez
vhost-vdpa devices can return this feature now that blockers have been
set in case some features are not met.
Signed-off-by: Eugenio Pérez
Acked-by: Jason Wang
Message-Id: <20230303172445.1089785-15-epere...@redhat.com>
Tested-by: Lei Yang
Reviewed-by: Michael S. Tsirkin
From: Igor Mammedov
Currently the property may flip its state
during VM bring up or just doesn't work as
the name implies.
In particular with PCIE root port that has
'hotplug={on|off}' property, and when it's
turned off, one would expect
'hotpluggable' == false
for any devices attached to it.
From: Eugenio Pérez
A vdpa net device must initialize with SVQ in order to be migratable at
this moment, and initialization code verifies some conditions. If the
device is not initialized with the x-svq parameter, it will not expose
_F_LOG so the vhost subsystem will block VM migration from its
From: Igor Mammedov
This reverts commit c471eb4f40445908c1be7bb11a37ac676a0edae7.
which broke acpi tables test and rebuild due to skipping some tests
even thought none of devices tests depend on weren't disabled.
As result it leads to some expected tables not being updated,
merge conflicts and
From: Eugenio Pérez
This allows net to restart the device backend to configure SVQ on it.
Ideally, these changes should not be net specific and they could be done
in:
* vhost_vdpa_set_features (with VHOST_F_LOG_ALL)
* vhost_vdpa_set_vring_addr (with .enable_log)
* vhost_vdpa_set_log_base.
Howev
From: Jonathan Cameron
This infrastructure will be reused for CXL RAS error injection
in patches that follow.
Reviewed-by: Dave Jiang
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Jonathan Cameron
Message-Id: <20230302133709.30373-8-jonathan.came...@huawei.com>
Reviewed-by: Michael S. Ts
From: Igor Mammedov
Signed-off-by: Igor Mammedov
Message-Id: <20230302161543.286002-27-imamm...@redhat.com>
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
tests/qtest/bios-tables-test-allowed-diff.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/qtest/bios-
From: Igor Mammedov
previous commit ("pci: fix 'hotplugglable' property behavior") fixed
pcie root port's 'hotpluggable' property to behave consistently.
So we don't need a BSEL crutch anymore to see of device is not
hotpluggable, drop it from 'generic' PCI slots description handling.
BSEL is s
From: Jonathan Cameron
Done to avoid fixing ACPI route description of traditional PCI interrupts on q35
and because we should probably move with the times anyway.
Signed-off-by: Jonathan Cameron
Reviewed-by: Dave Jiang
Message-Id: <20230302133709.30373-5-jonathan.came...@huawei.com>
Reviewed-b
From: Carlos López
In virtqueue_{split,packed}_get_avail_bytes() descriptors are read
in a loop via MemoryRegionCache regions and calls to
vring_{split,packed}_desc_read() - these take a region cache and the
index of the descriptor to be read.
For direct descriptors we use a cache provided by th
From: zhenwei pi
Add 'throttle-bps' and 'throttle-ops' limitation to set QoS. The
two arguments work with both QEMU command line and QMP command.
Example of QEMU command line:
-object cryptodev-backend-builtin,id=cryptodev1,throttle-bps=1600,\
throttle-ops=100
Example of QMP command:
virsh qemu
From: Eugenio Pérez
Next patches enable devices to be migrated even if vdpa netdev has not
been started with x-svq. However, not all devices are migratable, so we
need to block migration if we detect that.
Block migration if we detect the device expose a feature SVQ does not
know how to work wit
From: Eugenio Pérez
Since some actions move to the start function instead of init, the
device features may not be the parent vdpa device's, but the one
returned by vhost backend. If transition to SVQ is supported, the vhost
backend will return _F_LOG_ALL to signal the device is migratable.
Add
From: Igor Mammedov
the only chenge is addition of _DSM- > EDSM method
on non-hotpluggable devices with configured acpi-index.
Something like:
+Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
+{
+Local0 = Package (0x01)
+
From: Igor Mammedov
Provide pcihp specific callback to check if bus is hotpluggable
and consolidate its scattered hotplug criteria there.
While at it clean up no longer needed
qbus_set_hotplug_handler(BUS(bus), NULL)
workarounds since callback makes qbus_is_hotpluggable() return
correct answer
From: Igor Mammedov
Signed-off-by: Igor Mammedov
Message-Id: <20230302161543.286002-33-imamm...@redhat.com>
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
include/hw/acpi/pcihp.h | 2 ++
hw/acpi/pci-bridge.c| 12 +++-
hw/i386/acpi-build.c| 9 -
From: Igor Mammedov
BNUM numbering changes across DSDT due to addition of new bridges.
Fixed missing PCI tree brunch (q35/DSDT.multi-bridge case):
// -device pcie-root-port,id=rpnohp,chassis=8,addr=0xA.0,hotplug=off
+Device (S50)
+{
+Name (_ADR,
From: Eugenio Pérez
Devices with CVQ need to migrate state beyond vq state. Leaving this to
future series.
Signed-off-by: Eugenio Pérez
Message-Id: <20230303172445.1089785-11-epere...@redhat.com>
Tested-by: Lei Yang
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
incl
From: Igor Mammedov
it will be reused by follow up patches that will implement
static _DSM for non-hotpluggable devices.
no functional AML change, only context one, where 'cap' (Local1)
initialization is moved after UUID/revision checks.
Signed-off-by: Igor Mammedov
Message-Id: <20230302161543
From: Igor Mammedov
Signed-off-by: Igor Mammedov
Message-Id: <20230302161543.286002-28-imamm...@redhat.com>
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
tests/qtest/bios-tables-test.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/tests/qtes
From: Igor Mammedov
acpi-index is now working with non-hotpluggable buses
(pci/q35 machine hostbridge), it can be used even if
ACPI PCI hotplug is disabled and as result acpi-index
uniqueness check will be omitted (since the check is
done by ACPI PCI hotplug handler, which isn't wired
when ACPI P
From: Igor Mammedov
test bridge AML generator with ACPI PCI hotplug disabled
(i.e. with native hotplug enabled/disabled per bridge/root port)
PS:
while at make sure that devices on pci-bridge are starting
from addr=1.0 as slot 0 is not available there and test
passes only because of a bug in ACP
From: Igor Mammedov
Signed-off-by: Igor Mammedov
Message-Id: <20230302161543.286002-6-imamm...@redhat.com>
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
tests/qtest/bios-tables-test-allowed-diff.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/qtest/bios-tab
From: Igor Mammedov
Inject static _DSM (EDSM) if non-hotpluggable device has
acpi-index configured on it.
It lets use acpi-index non-hotpluggable devices / devices
attached to non-hotpluggable bus.
Signed-off-by: Igor Mammedov
Message-Id: <20230302161543.286002-22-imamm...@redhat.com>
Reviewed-
From: Igor Mammedov
Generic PCI enumeration code doesn't really need access to
BSEL value, it is only used as means to decide if hotplug
enumerator should be called.
Use stateless object_property_find() to do that, and move
the rest of BSEL handling into build_append_pcihp_slots()
where it belon
From: Igor Mammedov
Signed-off-by: Igor Mammedov
Message-Id: <20230302161543.286002-21-imamm...@redhat.com>
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
tests/qtest/bios-tables-test.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/qtest/bios-tables-test.c b
From: zhenwei pi
Introduce cryptodev service type in cryptodev.json, then apply this
to related codes. Now we can remove VIRTIO_CRYPTO_SERVICE_xxx
dependence from QEMU cryptodev.
Reviewed-by: Daniel P. Berrangé
Signed-off-by: zhenwei pi
Message-Id: <20230301105847.253084-5-pizhen...@bytedance.
From: Igor Mammedov
Signed-off-by: Igor Mammedov
Message-Id: <20230302161543.286002-19-imamm...@redhat.com>
---
tests/qtest/bios-tables-test-allowed-diff.h | 37 --
tests/data/acpi/pc/DSDT | Bin 6360 -> 6454 bytes
tests/data/acpi/pc/DSDT.acpierst
From: zhenwei pi
Move queue_index, CryptoDevCompletionFunc and opaque into struct
CryptoDevBackendOpInfo, then cryptodev_backend_crypto_operation()
needs an argument CryptoDevBackendOpInfo *op_info only. And remove
VirtIOCryptoReq from cryptodev. It's also possible to hide
VirtIOCryptoReq into vi
From: Eugenio Pérez
The function vhost.c:vhost_dev_stop calls vhost operation
vhost_dev_start(false). In the case of vdpa it totally reset and wipes
the device, making the fetching of the vring base (virtqueue state) totally
useless.
The kernel backend does not use vhost_dev_start vhost op callb
From: Igor Mammedov
in PC machine case piix3-ide and PIIX4_PM get exposed
+Device (S09)
+{
+Name (_ADR, 0x00010001) // _ADR: Address
+}
+
+Device (S0B)
+{
+Name (_ADR, 0x00010003) // _AD
From: Igor Mammedov
an extra devices at non-zero function address with static
_DSM method get exposed, ex:
+Device (S15)
+{
+Name (_ADR, 0x00020005) // _ADR: Address
+Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
From: Igor Mammedov
follow up fix for missing root-port AML will affect these tests
by adding non-hotpluggable Device descriptors of colplugged
bridges when bridge hotplug is disabled.
Signed-off-by: Igor Mammedov
Message-Id: <20230302161543.286002-9-imamm...@redhat.com>
Reviewed-by: Michael S.
From: zhenwei pi
Account OPS/BPS for crypto device, this will be used for 'query-stats'
QEMU monitor command and QoS in the next step.
Note that a crypto device may support symmetric mode, asymmetric mode,
both symmetric and asymmetric mode. So we use two structure to
describe the statistics of
From: Igor Mammedov
... instead of duplicating them in piix4 and lpc and then
trying to pass them to pcihp routines as arguments.
it simplifies call sites and places pcihp specific in
its own structure.
Signed-off-by: Igor Mammedov
Message-Id: <20230302161543.286002-34-imamm...@redhat.com>
Revi
From: Igor Mammedov
Following corner case wasn't covered:
-device pcie-root-port,id=NO_HOTPLUG,hotplug=off
-device pcie-root-port,bus=NO_HOTPLUG
when intermediate root-port has explicitly disabled hotplug,
all hierarchy below it is not described anymore (used to be
described in 7.2)
So as
From: Igor Mammedov
for q35.noacpihp use plain default Q35 DSDT table as a starting point.
Signed-off-by: Igor Mammedov
Message-Id: <20230302161543.286002-3-imamm...@redhat.com>
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
tests/qtest/bios-tables-test-allowed-diff.h
From: Eugenio Pérez
Although it does not make a big difference, its more correct and
simplifies the cleanup path in subsequent patches.
Move ram_block_discard_disable(false) call to the top of
vhost_vdpa_cleanup because:
* We cannot use vhost_vdpa_first_dev after dev->opaque = NULL
assignment.
From: Igor Mammedov
Signed-off-by: Igor Mammedov
Message-Id: <20230302161543.286002-14-imamm...@redhat.com>
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
tests/qtest/bios-tables-test-allowed-diff.h | 35 +
1 file changed, 35 insertions(+)
diff --gi
From: Igor Mammedov
Signed-off-by: Igor Mammedov
Message-Id: <20230302161543.286002-17-imamm...@redhat.com>
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
tests/qtest/bios-tables-test-allowed-diff.h | 37 +
1 file changed, 37 insertions(+)
diff --gi
From: Eugenio Pérez
As SVQ can be enabled dynamically at any time, it needs to store call fd
always.
Signed-off-by: Eugenio Pérez
Message-Id: <20230303172445.1089785-3-epere...@redhat.com>
Tested-by: Lei Yang
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
---
hw/virtio/vh
From: zhenwei pi
We have already used qapi to generate crypto device types, this allows
to convert type to a string 'model', so the 'model' field is not
needed.
And the 'name' field is not used by any backend driver, drop it.
Reviewed-by: Daniel P. Berrangé
Signed-off-by: zhenwei pi
Message-I
The following changes since commit 9832009d9dd2386664c15cc70f6e6bfe062be8bd:
Merge tag 'pull-riscv-to-apply-20230306' of
https://gitlab.com/palmer-dabbelt/qemu into staging (2023-03-07 12:53:00 +)
are available in the Git repository at:
https://git.kernel.org/pub/scm/virt/kvm/mst/qemu.g
From: Igor Mammedov
Beside BSEL numbers change (due to 2 extra root-ports in q35/miltibridge test),
following change is expected:
Scope (\_SB.PCI0)
{
...
+Scope (S50)
+{
+Scope (S00)
+{
+Method (PCNT, 0, NotSeriali
From: zhenwei pi
Now we have a QMP command to query crypto devices:
virsh qemu-monitor-command vm '{"execute": "query-cryptodev"}' | jq
{
"return": [
{
"service": [
"akcipher",
"mac",
"hash",
"cipher"
],
"id": "cryptodev1",
"client": [
From: Eugenio Pérez
The function vhost.c:vhost_dev_stop fetches the vring base so the vq
state can be migrated to other devices. However, this is unreliable in
vdpa, since we didn't signal the device to suspend the queues, making
the value fetched useless.
Suspend the device if possible before
From: zhenwei pi
Example of this command:
# virsh qemu-monitor-command vm --hmp info cryptodev
cryptodev1: service=[akcipher|mac|hash|cipher]
queue 0: type=builtin
cryptodev0: service=[akcipher]
queue 0: type=lkcf
Acked-by: Dr. David Alan Gilbert
Reviewed-by: Daniel P. Berrangé
Signed
From: Eugenio Pérez
This is needed for qemu to know it can suspend the device to retrieve
its status and enable SVQ with it, so all the process is transparent to
the guest.
Signed-off-by: Eugenio Pérez
Acked-by: Jason Wang
Message-Id: <20230303172445.1089785-4-epere...@redhat.com>
Tested-by: L
From: zhenwei pi
Rather than exposing akcipher service/RSA algorithm to virtio crypto
device unconditionally, detect akcipher capability from akcipher
crypto framework. This avoids unsuccessful requests.
Reviewed-by: Daniel P. Berrangé
Signed-off-by: zhenwei pi
Message-Id: <20230301105847.2530
From: zhenwei pi
Now we can use "query-stats" QMP command to query statistics of
crypto devices. (Originally this was designed to show statistics
by '{"execute": "query-cryptodev"}'. Daniel Berrangé suggested that
querying configuration info by "query-cryptodev", and querying
runtime performance
From: Eugenio Pérez
Only create iova_tree if and when it is needed.
The cleanup keeps being responsible for the last VQ but this change
allows it to merge both cleanup functions.
Signed-off-by: Eugenio Pérez
Acked-by: Jason Wang
Message-Id: <20230303172445.1089785-2-epere...@redhat.com>
Teste
From: zhenwei pi
Introduce QCryptodevBackendType in cryptodev.json, also apply this to
related codes. Then we can drop 'enum CryptoDevBackendOptionsType'.
Note that `CRYPTODEV_BACKEND_TYPE_NONE` is *NOT* used by anywhere, so
drop it(no 'none' enum in QCryptodevBackendType).
Reviewed-by: Daniel
From: zhenwei pi
I developed the akcipher service, QoS setting, QMP/HMP commands and
statistics accounting for crypto device. Making myself as the
maintainer for QEMU's cryptodev.
Cc: Gonglei
Signed-off-by: zhenwei pi
Message-Id: <20230301105847.253084-13-pizhen...@bytedance.com>
Reviewed-by:
On Thu, Feb 23, 2023 at 02:59:22PM +0800, Jason Wang wrote:
> This patch introduces a new helper to unmap the range of a specific
> IOMMU notifier.
>
> Signed-off-by: Jason Wang
> ---
> include/exec/memory.h | 10 ++
> softmmu/memory.c | 13 +
> 2 files changed, 23 inser
On Mon, Feb 27, 2023 at 04:31:57PM +, Jonathan Cameron wrote:
> From: Gregory Price
>
> This commit enables each CXL Type-3 device to contain one volatile
> memory region and one persistent region.
>
> Two new properties have been added to cxl-type3 device initialization:
> [volatile-mem
On Wed, Mar 01, 2023 at 06:38:13AM +, Yangming wrote:
> Optimize the virtio-balloon feature on the ARM platform by adding
> a variable to keep track of the current hot-plugged pc-dimm size,
> instead of traversing the virtual machine's memory modules to count
> the current RAM size during the b
Chao Peng writes:
On Sat, Jan 14, 2023 at 12:01:01AM +, Sean Christopherson wrote:
On Fri, Dec 02, 2022, Chao Peng wrote:
...
Strongly prefer to use similar logic to existing code that detects wraps:
mem->restricted_offset + mem->memory_size <
mem->restricted_offset
With the introduction of the MIPS virt machine in a pair
of commits, all MIPS targets will require libfdt.
Define TARGET_NEED_FDT in all mips*-softmmu.mak files.
Signed-off-by: Philippe Mathieu-Daudé
---
configs/targets/mips-softmmu.mak | 1 +
configs/targets/mips64-softmmu.mak | 1 +
configs/
Since v2:
- Remove mips64 from gitlab's build-without-defaults job
- Require libfdt for all MIPS targets
- Various changes described in each trickbox/virt patches
v2 cover from Jiaxun Yang:
This patchset is to add a new machine type for MIPS architecture,
which is purely a VirtIO machine.
From: Jiaxun Yang
MIPS Trickbox is a emulated device present in MIPS's IASIM simulator
for decades. It's capable of managing simulator status, signaling
interrupts, doing DMA and EJTAG signal stimulations.
For now we just use definition of this device and implement power
management related funct
From: Jiaxun Yang
MIPS virt board is design to utilize existing VirtIO infrastures
but also comptitable with MIPS's existing internal simulation tools.
It includes virtio-pci, virtio-mmio, pcie gpex, flash rom, fw_cfg,
goldfish-rtc and MIPS CPS system.
It should be able to cooperate with any MI
With the introduction of the MIPS virt machine in a pair
of commits, all MIPS targets will require libfdt.
Since the 'build-without-defaults' job is configured with
'--disable-fdt', it won't be able to build any MIPS target.
In particular this job triggers:
../meson.build:2809:2: ERROR: Problem
On 07/03/2023 23:52, Philippe Mathieu-Daudé wrote:
On 8/3/23 00:46, Mark Cave-Ayland wrote:
Hi Richard/Anton,
It looks as if a compile failure has crept into sh4-linux-user, most likely related
to the recent TARGET_TB_PCREL/CF_PCREL changes:
In file included from ../accel/tcg/tb-hash.h:26
Signed-off-by: Mark Cave-Ayland
---
pc-bios/openbios-ppc | Bin 677196 -> 677196 bytes
pc-bios/openbios-sparc32 | Bin 382080 -> 382080 bytes
pc-bios/openbios-sparc64 | Bin 1593408 -> 1593408 bytes
roms/openbios| 2 +-
4 files changed, 1 insertion(+), 1 deletion(-)
diff --git
tags/qemu-openbios-20230307
for you to fetch changes up to fff1aaf4451231ac680aa278e9fafc4f8b69ff57:
roms/openbios: update OpenBIOS images to af97fd7a built from submodule
(2023-03-07 22:30:06 +)
qemu-open
On 8/3/23 00:46, Mark Cave-Ayland wrote:
Hi Richard/Anton,
It looks as if a compile failure has crept into sh4-linux-user, most
likely related to the recent TARGET_TB_PCREL/CF_PCREL changes:
In file included from ../accel/tcg/tb-hash.h:26,
from ../accel/tcg/tb-maint.c:28:
From: BALATON Zoltan
If certain bit is set remote wake up should change state from
suspended to resume and generate interrupt. There was a todo comment
for this, implement that by moving existing resume logic to a function
and call that.
Signed-off-by: BALATON Zoltan
Acked-by: Gerd Hoffmann
Me
From: Bernhard Beschow
According to the PCI specification, PCI_INTERRUPT_LINE shall have no
effect on hardware operations. Now that the VIA south bridges implement
the internal PCI interrupt router let's be more conformant to the PCI
specification.
Signed-off-by: Bernhard Beschow
Reviewed-by: M
1 - 100 of 710 matches
Mail list logo