[PATCH v2 3/3] tests/acpi/bios-tables-test: update DSDT blob for multifunction bridge test

2021-09-20 Thread Ani Sinha
We added a new unit test for testing acpi hotplug on multifunction bridges in q35 machines. Here, we update the DSDT table gloden master blob for this unit test. Signed-off-by: Ani Sinha --- tests/data/acpi/q35/DSDT.multi-bridge | Bin 0 -> 8435 bytes

[PATCH v2 1/3] tests/acpi/bios-tables-test: add and allow changes to a new q35 DSDT table blob

2021-09-20 Thread Ani Sinha
We are adding a new unit test to cover the acpi hotplug support in q35 for multi-function bridges. This test uses a new table DSDT.multi-bridge. We need to allow changes in DSDT acpi table for addition of this new unit test. Signed-off-by: Ani Sinha --- tests/data/acpi/q35/DSDT.multi-bridge

Re: [PATCH] tcg/tci: Remove its experimental status

2021-09-20 Thread Stefan Weil
Am 20.09.21 um 08:23 schrieb Philippe Mathieu-Daudé: The following commits (released in v6.0.0) made raised the quality of the TCI backend to the other TCG architectures, thus is is not considerated experimental anymore: - c6fbea47664..2f74f45e32b - dc09f047edd..9e9acb7b348 -

[PATCH v2 2/3] tests/acpi/pcihp: add unit tests for hotplug on multifunction bridges for q35

2021-09-20 Thread Ani Sinha
commit d7346e614f4ec ("acpi: x86: pcihp: add support hotplug on multifunction bridges") added ACPI hotplug descriptions for cold plugged bridges for functions other than 0. For all other devices, the ACPI hotplug descriptions are limited to function 0 only. This change adds unit tests for this

[PATCH v2 0/3] tests/acpi/pcihp: add unit tests for hotplug on multifunction bridges for q35

2021-09-20 Thread Ani Sinha
This patchset adds a unit test to exercize acpi hotplug support for multifunction bridges on q35 machines. This support was added with the commit: d7346e614f4ec ("acpi: x86: pcihp: add support hotplug on multifunction bridges") changelist: v1 : initial RFC patch. v2: incorporated some of the

Re: [PATCH 8/8] qapi: add blockdev-replace command

2021-09-20 Thread Markus Armbruster
Vladimir Sementsov-Ogievskiy writes: > Add command that can add and remove filters. > > Key points of functionality: > > What the command does is simply replace some BdrvChild.bs by some other > nodes. The tricky thing is selecting there BdrvChild objects. > To be able to select any kind of

[PATCH 2/3] hw/input/lasips2: Move LASIPS2State declaration to 'hw/input/lasips2.h'

2021-09-20 Thread Philippe Mathieu-Daudé
We want to use the OBJECT_DECLARE_SIMPLE_TYPE() macro to QOM'ify this device in the next commit. To make its review simpler, as a first step move the LASIPS2State and LASIPS2Port declarations to 'hw/input/lasips2.h' Signed-off-by: Philippe Mathieu-Daudé --- include/hw/input/lasips2.h | 18

[PATCH 3/3] hw/input/lasips2: QOM'ify the Lasi PS/2

2021-09-20 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé --- include/hw/input/lasips2.h | 17 + hw/hppa/lasi.c | 10 +- hw/input/lasips2.c | 38 -- 3 files changed, 50 insertions(+), 15 deletions(-) diff --git

[PATCH 1/3] hw/input/lasips2: Fix typos in function names

2021-09-20 Thread Philippe Mathieu-Daudé
Artist is another device, this one is the Lasi PS/2. Rename the functions accordingly. Signed-off-by: Philippe Mathieu-Daudé --- hw/input/lasips2.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hw/input/lasips2.c b/hw/input/lasips2.c index e7faf24058b..68d741d3421

[PATCH 0/3] hw/input/lasips2: QOM'ify the Lasi PS/2

2021-09-20 Thread Philippe Mathieu-Daudé
Slowly nuking non-QOM devices: Lasi PS/2's turn. Philippe Mathieu-Daudé (3): hw/input/lasips2: Fix typos in function names hw/input/lasips2: Move LASIPS2State declaration to 'hw/input/lasips2.h' hw/input/lasips2: QOM'ify the Lasi PS/2 include/hw/input/lasips2.h | 31 --

[PATCH] tcg/tci: Remove its experimental status

2021-09-20 Thread Philippe Mathieu-Daudé
The following commits (released in v6.0.0) made raised the quality of the TCI backend to the other TCG architectures, thus is is not considerated experimental anymore: - c6fbea47664..2f74f45e32b - dc09f047edd..9e9acb7b348 - b6139eb0578..2fc6f16ca5e - dbcbda2cd84..5e8892db93f Signed-off-by:

[PATCH v4 4/4] target/ppc: Fix 64-bit decrementer

2021-09-20 Thread Cédric Le Goater
The current way the mask is built can overflow with a 64-bit decrementer. Use sextract64() to extract the signed values and remove the logic to handle negative values which has become useless. Cc: Luis Fernando Fujita Pires Fixes: a8dafa525181 ("target/ppc: Implement large decrementer support

[PATCH v4 3/4] target/ppc: Convert debug to trace events (decrementer and IRQ)

2021-09-20 Thread Cédric Le Goater
Signed-off-by: Cédric Le Goater --- hw/ppc/ppc.c| 169 hw/ppc/trace-events | 22 +- 2 files changed, 82 insertions(+), 109 deletions(-) diff --git a/hw/ppc/ppc.c b/hw/ppc/ppc.c index a327206a0a1e..b813ef732ec1 100644 --- a/hw/ppc/ppc.c

[PATCH v4 1/4] target/ppc: Convert debug to trace events (exceptions)

2021-09-20 Thread Cédric Le Goater
Signed-off-by: Cédric Le Goater --- target/ppc/excp_helper.c | 38 ++ target/ppc/trace-events | 8 2 files changed, 18 insertions(+), 28 deletions(-) diff --git a/target/ppc/excp_helper.c b/target/ppc/excp_helper.c index d7e32ee107e0..b7d176792098

[PATCH v4 2/4] target/ppc: Replace debug messages by asserts for unknown IRQ pins

2021-09-20 Thread Cédric Le Goater
If an unknown pin of the IRQ controller is raised, something is very wrong in the QEMU model. It is better to abort. Signed-off-by: Cédric Le Goater --- hw/ppc/ppc.c | 24 ++-- 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/hw/ppc/ppc.c b/hw/ppc/ppc.c index

[PATCH v4 0/4] target/ppc: debug messages cleanup and decrementer fix

2021-09-20 Thread Cédric Le Goater
Hello, This series converts custom PPC debug messages in trace events. Last patch is fix for the decrementer when using a 64-bit width. Thanks, C. Cédric Le Goater (4): target/ppc: Convert debug to trace events (exceptions) target/ppc: Replace debug messages by asserts for unknown IRQ

Re: [PATCH 6/8] qdev: realize BlockParentClass

2021-09-20 Thread Markus Armbruster
Vladimir Sementsov-Ogievskiy writes: > Signed-off-by: Vladimir Sementsov-Ogievskiy > --- > softmmu/qdev-monitor.c | 42 ++ > 1 file changed, 42 insertions(+) > > diff --git a/softmmu/qdev-monitor.c b/softmmu/qdev-monitor.c > index 0117989009..2e149aa9b8

Re: [RFC PATCH] tests/acpi/pcihp: add unit tests for hotplug on multifunction bridges for q35

2021-09-20 Thread Igor Mammedov
On Sun, 19 Sep 2021 08:29:51 +0530 (IST) Ani Sinha wrote: > On Sun, 19 Sep 2021, Ani Sinha wrote: > > > > > > > On Fri, 17 Sep 2021, Igor Mammedov wrote: > > > > > On Fri, 6 Aug 2021 23:16:42 +0530 > > > Ani Sinha wrote: > > > > > > > commit d7346e614f4ec ("acpi: x86: pcihp: add support

<    1   2   3   4   5