>
> Can you ensure the commit message text is line wrapped at approx
> 72 characters.
>
Noted, Thanks.
Just to confirm, you are claiming both copyright ownership for Red Hat
> *and* personal copyright ownership ?
>
I just made some enquiry and given that this was developed inside of work
context
Hi
On Wed, Feb 15, 2023 at 12:51 PM Dorinda Bassey wrote:
>
> This commit adds a new audiodev backend to allow QEMU to use Pipewire as both
> an audio sink and source. This backend is available on most systems.
>
Hmm, I would rather have less audio (and ui) backends in QEMU. (for
audio, if I co
On Mon, Feb 13, 2023 at 08:10:34PM +0530, Sunil V L wrote:
> RISC-V ACPI platforms need to provide RISC-V Hart Capabilities
> Table (RHCT). Add this to the ACPI tables.
>
> Signed-off-by: Sunil V L
> ---
> hw/riscv/virt-acpi-build.c | 62 ++
> 1 file changed,
On Mon, Feb 13, 2023 at 08:10:35PM +0530, Sunil V L wrote:
> ACPI functions are defined in new file virt-acpi-build.c. Enable
> it to be built as part of virt machine if CONFIG_ACPI is set.
>
> Signed-off-by: Sunil V L
> Reviewed-by: Bin Meng
> ---
> hw/riscv/meson.build | 1 +
> 1 file changed
On Mon, Feb 13, 2023 at 08:10:37PM +0530, Sunil V L wrote:
> When the "acpi=on", ACPI tables need to be added. Detect the option
> and initialize the ACPI tables.
>
> Signed-off-by: Sunil V L
> Reviewed-by: Bin Meng
> ---
> hw/riscv/virt.c | 4
> 1 file changed, 4 insertions(+)
>
> diff -
On Mon, Feb 13, 2023 at 08:10:36PM +0530, Sunil V L wrote:
> Enable ACPI related config option to build ACPI subsystem
> for virt machine.
>
> Signed-off-by: Sunil V L
> ---
> hw/riscv/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/hw/riscv/Kconfig b/hw/riscv/Kconfig
> index 4
Signed-off-by: Vladimir Sementsov-Ogievskiy
---
tests/qemu-iotests/041| 1 +
tests/qemu-iotests/151| 1 +
tests/qemu-iotests/152| 2 ++
tests/qemu-iotests/tests/migrate-bitmaps-test | 2 ++
4 files changed, 6 insertions(+)
d
Having cmd() and command() methods in one class doesn't look good.
Rename cmd() to cmd_raw(), to show its meaning better.
We also want to rename command() to cmd() in future, so this commit is
a necessary step.
Signed-off-by: Vladimir Sementsov-Ogievskiy
---
python/qemu/machine/machine.py | 2 +
The method is not popular in iotests, we prefer use vm.qmp() and then
check success by hand.. But that's not optimal. To simplify movement to
vm.cmd() let's support same interface improvements like in vm.qmp().
Signed-off-by: Vladimir Sementsov-Ogievskiy
---
python/qemu/machine/machine.py | 12 +
Now make check-dev called in python/ directory fails due to this error.
Let's fix it.
Signed-off-by: Vladimir Sementsov-Ogievskiy
---
python/qemu/qmp/protocol.py| 2 +-
python/qemu/qmp/qmp_client.py | 2 +-
tests/qemu-iotests/tests/migrate-bit
Use a shorter name. We are going to move in iotests from qmp() to
command() where possible. But command() is longer than qmp() and don't
look better. Let's rename.
You can simply grep for '\.command(' and for 'def command(' to check
that everything is updated (command() in tests/docker/docker.py i
The returned value is unused. It's simple to check by command
git grep -B 3 '\.pause_job('
Signed-off-by: Vladimir Sementsov-Ogievskiy
---
tests/qemu-iotests/iotests.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tests/qemu-iotests/iotests.py b/tests/qemu-iotests/iote
Now 'make check-dev' called in python/ directory raises several
W0719: Raising too general exception: Exception (broad-exception-raised)
Let's fix.
Signed-off-by: Vladimir Sementsov-Ogievskiy
---
python/qemu/utils/qemu_ga_client.py | 6 +++---
tests/qemu-iotests/iotests.py | 4 ++--
2 fi
We don't expect failure here and need 'result' object. cmd() is better
in this case.
Signed-off-by: Vladimir Sementsov-Ogievskiy
---
tests/vm/basevm.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/vm/basevm.py b/tests/vm/basevm.py
index 23229e23d1..e61f9f0fd1 100
To simplify further conversion.
Signed-off-by: Vladimir Sementsov-Ogievskiy
---
tests/qemu-iotests/040 | 3 ++-
tests/qemu-iotests/147 | 3 ++-
tests/qemu-iotests/155 | 4 ++--
tests/qemu-iotests/218 | 4 ++--
tests/qemu-iotests/296 | 3 ++-
5 files changed, 10 insertions(+), 7 deletions(-)
dif
Hi all!
Let's get rid of pattern
result = self.vm.qmp(...)
self.assert_qmp(result, 'return', {})
And switch to just
self.vm.cmd(...)
v5:
- include fixups by John
- fix 'make check-dev'
- split first patch into several [Daniel]
Vladimir Sementsov-Ogievskiy (16):
python: fix supe
Add similar method for consistency.
Signed-off-by: Vladimir Sementsov-Ogievskiy
---
tests/qemu-iotests/iotests.py | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/tests/qemu-iotests/iotests.py b/tests/qemu-iotests/iotests.py
index 675fbaa1c3..8ef1c8a5d2 100644
--- a/test
Here we don't expect a failure. In case on failure we'll crash on
trying to access ['return']. Let's better use .command() that clearly
raise on failure.
Signed-off-by: Vladimir Sementsov-Ogievskiy
---
scripts/cpu-x86-uarch-abi.py | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-
Signed-off-by: Vladimir Sementsov-Ogievskiy
---
tests/qemu-iotests/041 | 2 +-
tests/qemu-iotests/196 | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/qemu-iotests/041 b/tests/qemu-iotests/041
index 4d7a829b65..550e4dc391 100755
--- a/tests/qemu-iotests/041
+++ b/tests
We just want to ignore failure, so we don't need low level .cmd(). This
helps further renaming .command() to .cmd().
Signed-off-by: Vladimir Sementsov-Ogievskiy
---
python/qemu/qmp/qmp_shell.py | 20 ++--
1 file changed, 14 insertions(+), 6 deletions(-)
diff --git a/python/qemu/
The argument is unused, let's drop it for now, as we are going to
refactor the interface and don't want to refactor unused things.
Signed-off-by: Vladimir Sementsov-Ogievskiy
---
python/qemu/qmp/legacy.py | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/python/qemu/qmp/le
qmp() method supports passing dict (if it doesn't need substituting
'_' to '-' in keys). So, drop some extra '**' operators.
Signed-off-by: Vladimir Sementsov-Ogievskiy
---
tests/qemu-iotests/040| 4 +-
tests/qemu-iotests/041| 14 +++---
tests/qem
"Michael S. Tsirkin" writes:
> On Fri, Dec 23, 2022 at 06:27:07AM +0100, Markus Armbruster wrote:
>> "Michael S. Tsirkin" writes:
>>
>> > On Thu, Dec 22, 2022 at 11:48:25AM +0100, Markus Armbruster wrote:
>> >> Bernhard Beschow writes:
>> >>
>> >> > Am 22. Dezember 2022 10:03:23 UTC schrieb M
On Mon, Feb 13, 2023 at 08:10:38PM +0530, Sunil V L wrote:
> RISC-V ACPI related functionality for virt machine is added in
> virt-acpi-build.c. Add the maintainer entry.
>
> Signed-off-by: Sunil V L
> Reviewed-by: Bin Meng
> Acked-by: Alistair Francis
> ---
> MAINTAINERS | 6 ++
> 1 file
Markus Armbruster writes:
> John Snow writes:
>
>> Pylint under 3.6 does not believe that Collection is subscriptable at
>> runtime. It is, making this a Pylint
>> bug. https://github.com/PyCQA/pylint/issues/2377
>>
>> They closed it as fixed, but that doesn't seem to be true as of Pylint
>> 2.1
Daniel P. Berrangé writes:
> On Wed, Feb 15, 2023 at 01:41:22PM +0100, Thomas Huth wrote:
>> We are facing the issues that some test logs in the gitlab CI are
>> too big (and thus cut off). The rtl8139-test is one of the few qtests
>> that prints many lines of output by default when running with
I had a few suggestions, but none of them requires a respin. Let's
discuss them, and then I merge.
On Tue, 2023-02-14 at 10:10 +, Paul Durrant wrote:
> There's a nasty little semantic subtlety here which has been missed...
> If the guest is not in longmode then the timer value is actually split
> across param[0] and param[1] (so that it is still 64-bits).
I'll work this in. I should be ab
Hi,
> This commit breaks boot-serial-test on ppc64-softmmu.
>>
>> $ ./configure --enable-tcg-interpreter
>> '--target-list=aarch64-softmmu alpha-softmmu arm-softmmu hppa-softmmu
>> m68k-softmmu microblaze-softmmu ppc64-softmmu s390x-softmmu
>> x86_64-softmmu'
>> $ make && cd build && QTEST_QEM
On Tue, Feb 14, 2023 at 04:23:45PM -0300, Daniel Henrique Barboza wrote:
> Hi,
>
> This new version contains suggestions made by Weiwei Li in v1. Most
> notable change is patch 4 from v1, moving up to patch 2 now, to allow
> the riscv_cpu_cfg() helper to be used in the MISA CSR patch.
>
>
> Cha
On Tue, 14 Feb 2023 at 11:21, Thomas Huth wrote:
>
> Hi Peter!
>
> The following changes since commit f670b3eec7f5d1ed8c4573ef244e7b8c6b32001b:
>
> Merge tag 'migration-20230213-pull-request' of
> https://gitlab.com/juan.quintela/qemu into staging (2023-02-13 11:54:05 +)
>
> are available
On Wed, Feb 15, 2023 at 02:24:24PM +0100, Andrew Jones wrote:
> On Mon, Feb 13, 2023 at 08:10:36PM +0530, Sunil V L wrote:
> > Enable ACPI related config option to build ACPI subsystem
> > for virt machine.
> >
> > Signed-off-by: Sunil V L
> > ---
> > hw/riscv/Kconfig | 1 +
> > 1 file changed,
On Tue, Feb 14, 2023 at 05:44:44AM -0300, Daniel Henrique Barboza wrote:
>
>
> On 2/14/23 00:43, Sunil V L wrote:
> > On Mon, Feb 13, 2023 at 03:48:04PM -0300, Daniel Henrique Barboza wrote:
>
> Nah. Doing that now will make this series rely on acks for every other ACPI
> arch to
> push the RIS
On Wednesday, February 15, 2023 2:18:50 PM CET Marc-André Lureau wrote:
> Hi
>
> On Wed, Feb 15, 2023 at 12:51 PM Dorinda Bassey wrote:
> >
> > This commit adds a new audiodev backend to allow QEMU to use Pipewire as
both an audio sink and source. This backend is available on most systems.
> >
>
On 15/02/2023 14.38, Fabiano Rosas wrote:
Daniel P. Berrangé writes:
On Wed, Feb 15, 2023 at 01:41:22PM +0100, Thomas Huth wrote:
We are facing the issues that some test logs in the gitlab CI are
too big (and thus cut off). The rtl8139-test is one of the few qtests
that prints many lines of o
Hi
On Wed, Feb 15, 2023 at 6:09 PM Christian Schoenebeck
wrote:
>
> On Wednesday, February 15, 2023 2:18:50 PM CET Marc-André Lureau wrote:
> > Hi
> >
> > On Wed, Feb 15, 2023 at 12:51 PM Dorinda Bassey wrote:
> > >
> > > This commit adds a new audiodev backend to allow QEMU to use Pipewire as
>
The meson log files can get very big, especially if running the tests in
verbose mode. So dumping those logs to the console was a bad idea, since
gitlab truncates the output if it is getting too big. Let's publish the
logs as artifacts instead. This has the disadvantage that you have to
look up the
On Wed, Feb 15, 2023 at 06:11:23PM +0800, wangyanan (Y) wrote:
> Date: Wed, 15 Feb 2023 18:11:23 +0800
> From: "wangyanan (Y)"
> Subject: Re: [PATCH RESEND 04/18] i386/cpu: Fix number of addressable IDs
> in CPUID.04H
>
> Hi Zhao,
>
> 在 2023/2/13 17:36, Zhao Liu 写道:
> > From: Zhao Liu
> >
> >
On Wed, Feb 15, 2023 at 06:38:31PM +0800, wangyanan (Y) wrote:
> Date: Wed, 15 Feb 2023 18:38:31 +0800
> From: "wangyanan (Y)"
> Subject: Re: [PATCH RESEND 07/18] i386: Support modules_per_die in
> X86CPUTopoInfo
>
> 在 2023/2/13 17:36, Zhao Liu 写道:
> > From: Zhuocheng Ding
> >
> > Support modu
On Wed, Feb 15, 2023 at 06:54:15PM +0800, wangyanan (Y) wrote:
> Date: Wed, 15 Feb 2023 18:54:15 +0800
> From: "wangyanan (Y)"
> Subject: Re: [PATCH RESEND 09/18] i386: Fix comment style in topology.h
>
> 在 2023/2/13 17:36, Zhao Liu 写道:
> > From: Zhao Liu
> >
> > For function comments in this f
On Wed, 15 Feb 2023 at 08:45, Qiang Liu wrote:
>
> Hi,
>>>
>>> This commit breaks boot-serial-test on ppc64-softmmu.
>>>
>>> $ ./configure --enable-tcg-interpreter
>>> '--target-list=aarch64-softmmu alpha-softmmu arm-softmmu hppa-softmmu
>>> m68k-softmmu microblaze-softmmu ppc64-softmmu s390x-so
On 2/14/23 15:30, Peter Maydell wrote:
On Tue, 14 Feb 2023 at 14:29, Peter Maydell wrote:
On Tue, 14 Feb 2023 at 06:11, Jason Wang wrote:
The following changes since commit f670b3eec7f5d1ed8c4573ef244e7b8c6b32001b:
Merge tag 'migration-20230213-pull-request' of
https://gitlab.com/juan.
On Wed, Feb 15, 2023, 8:36 AM Markus Armbruster wrote:
> Markus Armbruster writes:
>
> > John Snow writes:
> >
> >> Pylint under 3.6 does not believe that Collection is subscriptable at
> >> runtime. It is, making this a Pylint
> >> bug. https://github.com/PyCQA/pylint/issues/2377
> >>
> >> The
On Wed, Feb 15, 2023 at 02:52:38PM +0800, Zhenzhong Duan wrote:
> On x86, there are two notifiers registered due to vtd-ir memory region
> splitting the whole address space. During replay of the address space
> for each notifier, the whole address space is scanned which is
> unnecessory.
>
> We on
On Wed, Feb 15, 2023 at 07:06:32PM +0800, wangyanan (Y) wrote:
> Date: Wed, 15 Feb 2023 19:06:32 +0800
> From: "wangyanan (Y)"
> Subject: Re: [PATCH RESEND 10/18] i386: Update APIC ID parsing rule to
> support module level
>
> Hi Zhao,
>
> 在 2023/2/13 17:36, Zhao Liu 写道:
> > From: Zhuocheng Din
Adding CAN bus maintainers.
On 14/2/23 07:11, Jason Wang wrote:
From: Qiang Liu
Check fifos before poping data from and pushing data into it.
Fixes: 98e5d7a2b726 ("hw/net/can: Introduce Xilinx ZynqMP CAN controller")
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1425
Resolves: https
Hi Thomas,
On 15/2/23 15:25, Thomas Huth wrote:
The meson log files can get very big, especially if running the tests in
verbose mode. So dumping those logs to the console was a bad idea, since
gitlab truncates the output if it is getting too big. Let's publish the
logs as artifacts instead. Thi
On Wed, Feb 15, 2023 at 03:25:03PM +0100, Thomas Huth wrote:
> The meson log files can get very big, especially if running the tests in
> verbose mode. So dumping those logs to the console was a bad idea, since
> gitlab truncates the output if it is getting too big. Let's publish the
> logs as arti
On Wed, Feb 15, 2023 at 08:17:22PM +0800, wangyanan (Y) wrote:
> Date: Wed, 15 Feb 2023 20:17:22 +0800
> From: "wangyanan (Y)"
> Subject: Re: [PATCH RESEND 14/18] i386: Add cache topology info in
> CPUCacheInfo
>
> Hi Zhao,
>
> 在 2023/2/13 17:36, Zhao Liu 写道:
> > From: Zhao Liu
> >
> > Curren
On Wed, Feb 15, 2023 at 08:32:39PM +0800, wangyanan (Y) wrote:
> Date: Wed, 15 Feb 2023 20:32:39 +0800
> From: "wangyanan (Y)"
> Subject: Re: [PATCH RESEND 16/18] i386: Fix NumSharingCache for
> CPUID[0x801D].EAX[bits 25:14]
>
> 在 2023/2/13 17:36, Zhao Liu 写道:
> > From: Zhao Liu
> >
> > >F
On 15/2/23 14:28, Markus Armbruster wrote:
"Michael S. Tsirkin" writes:
On Fri, Dec 23, 2022 at 06:27:07AM +0100, Markus Armbruster wrote:
"Michael S. Tsirkin" writes:
On Thu, Dec 22, 2022 at 11:48:25AM +0100, Markus Armbruster wrote:
Bernhard Beschow writes:
Am 22. Dezember 2022 10:03
On Wed, Feb 15, 2023 at 06:11:12PM +0400, Marc-André Lureau wrote:
> Hi
>
> On Wed, Feb 15, 2023 at 6:09 PM Christian Schoenebeck
> wrote:
> >
> > On Wednesday, February 15, 2023 2:18:50 PM CET Marc-André Lureau wrote:
> > > Hi
> > >
> > > On Wed, Feb 15, 2023 at 12:51 PM Dorinda Bassey
> > > w
>
> My point is that pipewire has ALSA plugin (and also pulseaudio compat
> library etc). So why add another back in QEMU?
>
Good question. Well the pulseaudio compatibility layer adds to the runtime
overhead and dependency, dropping the usage of pw-pulse daemon as a runtime
dependency would reduce
> > What is the main advantage compared to using the ALSA backend? (I
> > assume pipewire depends on ALSA anyway on Linux)
>
> I think it does make sense to add Pipewire. Apparently it gains popularity.
>
> The main advantage of Pipewire is its interoperability: It allows you to
> connect apps w
On Tue, 2023-02-14 at 15:44 -0800, Stefano Stabellini wrote:
> > Something weird has happened here -- I'm getting merge conflicts
> > in files in migration/ and in tests/unit/test-xbzrle.c, even though
> > your pullreq diffstat says it doesn't touch those files. Can you
> > try a rebase and resend?
Hello,
I hope I send this mail to the right place.
I'm porting a new guest arch. It jumps of out of physical page
constantly. So many TBs cannot be chained with goto_tb. I'm wondering
if the following check is still necessary?
bool translator_use_goto_tb(DisasContextBase *db, target_ulo
SWM32 should store a sequence of 32-bit words from the GPRs, but it was
incorrectly coded to store 16-bit words only. As a result, an LWM32 that
usually follows would restore invalid register values.
Signed-off-by: Marcin Nowakowski
---
target/mips/tcg/ldst_helper.c | 4 ++--
1 file changed, 2 i
Marcin Nowakowski (3):
target/mips: fix JALS32/J32 instruction handling for microMIPS
target/mips: fix SWM32 handling for micromips
target/mips: implement CP0.Config7.WII bit support
target/mips/cpu-defs.c.inc| 1 +
target/mips/cpu.c | 6 --
target/mips/cpu.h
Some older cores use CP0.Config7.WII bit to indicate that a disabled
interrupt should wake up a sleeping CPU.
Enable this bit by default for M14Kc, which supports that. There are
potentially other cores that support this feature, but I do not have a
complete list.
Signed-off-by: Marcin Nowakowski
Hi,
Follow the question " Could you please specify the size in bytes ? "
Yes, In the source code we need to set the size value as byte.
I add "divide by 8" to convert it to bytes unit.
24c64 size is 64kbit = 64k / 8 bytes
-aspeed_eeprom_init(i2c[65], 0x53, 64 * KiB);
+aspeed_eeprom_
On Wed, 8 Feb 2023 16:28:44 -0600
zhiting zhu wrote:
> Hi,
>
> I saw a PoC:
> https://lore.kernel.org/qemu-devel/20220525121422.3...@huawei.com/T/ to
> implement memory pooling and fabric manager on qemu. Is there any further
> development on this? Can qemu emulate a memory pooling on a simp
microMIPS J & JAL instructions perform a jump in a 128MB region and 5
top bits of the address need to be preserved. This is different behavior
compared to standard mips systems, where the jump is executed within a
256MB region.
Note that microMIPS32 instruction set documentation appears to have
inc
pci_device.h is not needed at all in allwinner-a10.h, and serial.h
is only needed by the corresponding .c file.
Signed-off-by: Thomas Huth
---
include/hw/arm/allwinner-a10.h | 2 --
hw/arm/allwinner-a10.c | 1 +
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/include/hw/arm
Unused since introduction in commit 04b0de0ee8
("xen: factor out common functions").
Signed-off-by: Philippe Mathieu-Daudé
---
accel/xen/xen-all.c | 10 --
1 file changed, 10 deletions(-)
diff --git a/accel/xen/xen-all.c b/accel/xen/xen-all.c
index 69aa7d018b..c1b697a8bd 100644
--- a/ac
Finish the conversion from commit fe80c0241d
("migration: using trace_ to replace DPRINTF").
Signed-off-by: Philippe Mathieu-Daudé
---
migration/block.c | 12 +---
migration/trace-events | 1 +
2 files changed, 2 insertions(+), 11 deletions(-)
diff --git a/migration/block.c b/migr
On 15/02/2023 15.58, Daniel P. Berrangé wrote:
On Wed, Feb 15, 2023 at 03:25:03PM +0100, Thomas Huth wrote:
The meson log files can get very big, especially if running the tests in
verbose mode. So dumping those logs to the console was a bad idea, since
gitlab truncates the output if it is getti
On Wed, Feb 15, 2023 at 04:33:42PM +0100, Thomas Huth wrote:
> On 15/02/2023 15.58, Daniel P. Berrangé wrote:
> > On Wed, Feb 15, 2023 at 03:25:03PM +0100, Thomas Huth wrote:
> > > The meson log files can get very big, especially if running the tests in
> > > verbose mode. So dumping those logs to
On 15/2/23 12:27, Philippe Mathieu-Daudé wrote:
ide_init2() initializes a IDEBus, and set its output IRQ.
s/set/sets/
To emphasize this, rename it as ide_bus_init_output_irq().
Mechanical change using:
$ sed -i -e 's/ide_init2/ide_bus_init_output_irq/g' \
$(git grep -l ide_init2
On 15/02/2023 15.57, Philippe Mathieu-Daudé wrote:
Hi Thomas,
On 15/2/23 15:25, Thomas Huth wrote:
The meson log files can get very big, especially if running the tests in
verbose mode. So dumping those logs to the console was a bad idea, since
gitlab truncates the output if it is getting too b
>
> Are there any additional features available when using the pipewire
> protocol instead of pulseaudio or jack?
yes, Pipewire supports both use cases, It is more or less a hybrid between
pulseaudio and jack.
Pipewire uses a much more accurate timing model for timer based scheduling.
Pipewire pr
On 15/2/23 16:45, Thomas Huth wrote:
On 15/02/2023 15.57, Philippe Mathieu-Daudé wrote:
Hi Thomas,
On 15/2/23 15:25, Thomas Huth wrote:
The meson log files can get very big, especially if running the tests in
verbose mode. So dumping those logs to the console was a bad idea, since
gitlab trunc
On Wed, Feb 15, 2023 at 05:18:50PM +0400, Marc-André Lureau wrote:
> Hi
>
> On Wed, Feb 15, 2023 at 12:51 PM Dorinda Bassey wrote:
> >
> > This commit adds a new audiodev backend to allow QEMU to use Pipewire as
> > both an audio sink and source. This backend is available on most systems.
> >
>
On 2/15/23 14:45, Qiang Liu wrote:
Hi,
This commit breaks boot-serial-test on ppc64-softmmu.
$ ./configure --enable-tcg-interpreter
'--target-list=aarch64-softmmu alpha-softmmu arm-softmmu hppa-softmmu
m68k-softmmu microblaze-softmmu ppc64-softmmu s390x-softmm
Background thread:
https://lore.kernel.org/qemu-devel/5095dffc-309b-6c72-d255-8cdaa6fd3...@ilande.co.uk/
This series:
- contains few ISA cleanups
- exposes PIIX IDE output IRQs and wires them in parent (PC/Malta)
- renames the current ide_init_ioport() as ide_init_ioport_isa()
- adds a generic ide
Signed-off-by: Philippe Mathieu-Daudé
---
hw/audio/cs4231a.c | 5 +++--
hw/audio/gus.c | 5 +++--
hw/audio/sb16.c | 7 ---
hw/block/fdc-isa.c | 5 +++--
include/hw/timer/i8254.h | 3 ++-
5 files changed, 15 insertions(+), 10 deletions(-)
diff --git a/hw/audio/c
isa_get_irq() was added in commit 3a38d437ca
("Add isa_reserve_irq()" Fri Aug 14 11:36:15 2009) as:
a temporary interface to be used to allocate ISA IRQs for
devices which have not yet been converted to qdev, and for
special cases which are not suited for qdev conversions,
such as
piix4_realize() initialized an array of 16 ISA IRQs in
PIIX4State::isa[], use it to wire the IDE output IRQs.
Signed-off-by: Philippe Mathieu-Daudé
---
hw/isa/piix4.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hw/isa/piix4.c b/hw/isa/piix4.c
index de60ceef73..94e5dc7825 100644
--- a/h
We don't have any caller passing a NULL device argument,
so we can simplify, avoiding to access the global 'isabus'.
Signed-off-by: Philippe Mathieu-Daudé
---
hw/isa/isa-bus.c | 14 --
1 file changed, 4 insertions(+), 10 deletions(-)
diff --git a/hw/isa/isa-bus.c b/hw/isa/isa-bus.c
Since pc_init1() has access to the ISABus*, retrieve the
ISA IRQs with isa_bus_get_irq().
Signed-off-by: Philippe Mathieu-Daudé
---
hw/i386/pc_piix.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
index 7085b4bc58..983baf0211 1006
isa_get_dma() returns a DMA channel handler from an ISABus.
To emphasize this, rename it as isa_bus_get_dma().
Mechanical change using:
$ sed -i -e 's/isa_get_dma/isa_bus_get_dma/g' \
$(git grep -l isa_get_dma)
Signed-off-by: Philippe Mathieu-Daudé
---
hw/audio/cs4231a.c | 2 +-
hw
Rename ide_init_ioport() as ide_bus_init_ioport_isa() to make
explicit it expects an ISA device. Move the declaration to
"hw/ide/isa.h" where it belongs.
Reviewed-by: Richard Henderson
Signed-off-by: Philippe Mathieu-Daudé
---
hw/ide/ioport.c | 4 +++-
hw/ide/isa.c | 2 +-
No point in inlining isa_bus_from_device() which is only
used at device realization time.
Reviewed-by: Richard Henderson
Signed-off-by: Philippe Mathieu-Daudé
---
hw/isa/isa-bus.c | 5 +
include/hw/isa/isa.h | 6 +-
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/hw/i
Ensure both IDE output IRQ lines are wired.
We can remove the last use of isa_get_irq(NULL).
Signed-off-by: Philippe Mathieu-Daudé
---
hw/ide/piix.c | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/hw/ide/piix.c b/hw/ide/piix.c
index 9d876dd4a7..b75a4ddcca 10064
ISADeviceClass is an empty class and just increase code
complexity. Remove it, directly embedding DeviceClass in
classes expanding TYPE_ISA_DEVICE.
Signed-off-by: Philippe Mathieu-Daudé
---
hw/isa/isa-bus.c | 1 -
hw/rtc/m48t59-isa.c | 2 +-
include/hw/isa/i8259_in
Previous commit removed the single call to isa_register_portio_list()
with dev=NULL. To be sure we won't reintroduce such weird (ab)use,
assert dev is non-NULL.
We can now calls isa_address_space_io() to get the device I/O region.
Note we can then remove the NULL check in isa_init_ioport() becaus
Hi Mostafa,
On 2/5/23 10:43, Mostafa Saleh wrote:
> In preparation for adding stage-2 support.
> Add IDR0 fields related to stage-2.
>
> VMID16: 16-bit VMID supported.
> S2P: Stage-2 translation supported.
>
> They are described in 6.3.1 SMMU_IDR0.
>
> No functional change intended.
>
> Signed-off
TYPE_PIIX3_IDE is a PCI function inheriting from QOM
TYPE_PCI_DEVICE. To be able to call the ISA specific
ide_init_ioport_isa(), we call this function passing
a NULL ISADevice argument. Remove this hack by calling
the recently added generic ide_init_ioport(), which
doesn't expect any ISADevice.
In
Last commit removed the last use of isa_get_irq(NULL).
Add an assertion to ensure we won't use that hack again.
Deprecate in favor of the BUS API: isa_bus_get_irq().
Signed-off-by: Philippe Mathieu-Daudé
---
hw/isa/isa-bus.c | 6 +++---
include/hw/isa/isa.h | 4 +++-
2 files changed, 6 inser
We don't have any caller passing a NULL device argument,
so we can simplify, avoiding to access the global 'isabus'.
(Since the previous commit, isa_address_space_io() assert
the device argument is not NULL).
Signed-off-by: Philippe Mathieu-Daudé
---
hw/isa/isa-bus.c | 2 +-
1 file changed, 1
Previous commit ensured when entering isa_register_portio_list(),
'dev' is not NULL. Being a TYPE_ISA_DEVICE, the device must sit
on a ISA bus. This means isa_bus_new() as already been called
and 'isabus' can not be NULL.
Simplify by removing the 'isabus' NULL check in
isa_register_portio_list().
Add ide_init_ioport() which is not restricted to the ISA bus.
(Next commit will use it for a PCI device).
Inspired-by: Mark Cave-Ayland
Reviewed-by: Richard Henderson
Signed-off-by: Philippe Mathieu-Daudé
---
hw/ide/ioport.c | 12 ++--
include/hw/ide/internal.h | 2 ++
2 fil
Signed-off-by: Philippe Mathieu-Daudé
---
hw/ide/piix.c | 14 --
include/hw/ide/pci.h | 1 +
include/hw/ide/piix.h | 4
3 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/hw/ide/piix.c b/hw/ide/piix.c
index 41d60921e3..9d876dd4a7 100644
--- a/hw/ide/piix.c
ide_get_geometry() and ide_get_bios_chs_trans() are only
used by the TYPE_PC_MACHINE.
"hw/ide.h" is a mixed bag of lost IDE declarations. In order
to remove this (almost) pointless header soon, move these
declarations to "hw/ide/internal.h".
Signed-off-by: Philippe Mathieu-Daudé
---
hw/i386/pc.c
On Wed, 15 Feb 2023 at 15:33, Thomas Huth wrote:
>
> On 15/02/2023 15.58, Daniel P. Berrangé wrote:
> > On Wed, Feb 15, 2023 at 03:25:03PM +0100, Thomas Huth wrote:
> >> The meson log files can get very big, especially if running the tests in
> >> verbose mode. So dumping those logs to the console
On 2/15/23 15:34, Stefan Hajnoczi wrote:
On Wed, 15 Feb 2023 at 08:45, Qiang Liu wrote:
Hi,
This commit breaks boot-serial-test on ppc64-softmmu.
$ ./configure --enable-tcg-interpreter
'--target-list=aarch64-softmmu alpha-softmmu arm-softmmu hppa-softmmu
m68k-softmmu microblaze-softmmu p
Hi,
On 2/5/23 10:43, Mostafa Saleh wrote:
> Add a new system property for smmuv3 to choose what translation
> stages to advertise.
>
> The property added arm-smmuv3.stage can have 3 values:
> - "1": Stage-1 is only advertised.
Stage-1 only is advertised
> - "2": Stage-2 is only advertised.
> - "al
Philippe Mathieu-Daudé wrote:
> Finish the conversion from commit fe80c0241d
> ("migration: using trace_ to replace DPRINTF").
>
> Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Juan Quintela
queued.
Thanks.
Hi Mostafa,
On 2/5/23 10:44, Mostafa Saleh wrote:
> In preparation for adding stage-2 support. Add Stage-2 PTW code.
> Only Aarch64 fromat is supported as stage-1.
format
> Max 48 bits IPA is supported.
>
> Nesting stage-1 and stage-2 is not supported right now.
>
> Signed-off-by: Mostafa Saleh
>
On 2/5/23 10:43, Mostafa Saleh wrote:
> In preparation for adding stage-2 support. Rename smmu_ptw_64 to
> smmu_ptw_64_s1.
>
> No functional change intended.
>
> Signed-off-by: Mostafa Saleh
> ---
> hw/arm/smmu-common.c | 10 +-
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> dif
Chuang Xu wrote:
> In this version:
>
> - rename rcu_read_locked() to rcu_read_is_locked().
> - adjust the sanity check in address_space_to_flatview().
> - improve some comments.
queued series.
>
> The duration of loading non-iterable vmstate accounts for a significant
> portion of downtime (sta
101 - 200 of 598 matches
Mail list logo