Re: [PATCH v2 3/4] hw/display/vga-mmio: QOM'ify vga_mmio_init() as TYPE_VGA_MMIO

2021-12-13 Thread Mark Cave-Ayland
On 13/12/2021 11:05, Philippe Mathieu-Daudé wrote: On 12/13/21 11:48, Thomas Huth wrote: On 06/12/2021 23.45, Philippe Mathieu-Daudé wrote: Introduce TYPE_VGA_MMIO, a sysbus device. While there is no change in the vga_mmio_init() interface, this is a migration compatibility break of the MIPS

Re: [PATCH v10 06/10] ACPI ERST: build the ACPI ERST table

2021-12-13 Thread Michael S. Tsirkin
On Mon, Dec 13, 2021 at 04:02:26PM -0600, Eric DeVolder wrote: > Michael, > Thanks for reviewing! Inline responses below. > eric > > On 12/12/21 16:56, Michael S. Tsirkin wrote: > > On Thu, Dec 09, 2021 at 12:57:31PM -0500, Eric DeVolder wrote: > > > This builds the ACPI ERST table to inform OSPM

RE: [RFC] vhost-vdpa-net: add vhost-vdpa-net host device support

2021-12-13 Thread longpeng2--- via
> -Original Message- > From: Jason Wang [mailto:jasow...@redhat.com] > Sent: Monday, December 13, 2021 11:23 AM > To: Longpeng (Mike, Cloud Infrastructure Service Product Dept.) > > Cc: mst ; Parav Pandit ; Yongji Xie > ; Stefan Hajnoczi ; Stefano > Garzarella ; Yechuan ; Gonglei (Arei)

[PATCH v7 02/15] linux-user: Move syscall error detection into safe_syscall_base

2021-12-13 Thread Richard Henderson
The current api from safe_syscall_base() is to return -errno, which is the interface provided by *some* linux kernel abis. The wrapper macro, safe_syscall(), detects error, stores into errno, and returns -1, to match the api of the system syscall(). For those kernel abis that do not return -errno

[PATCH v7 00/15] linux-user: simplify safe signal handling

2021-12-13 Thread Richard Henderson
Changes for v7: * Drop incorrect ppc64 "cleanup", which reminded me that we need to select a non-syscall-clobbered register. So that meant changes to the mips edition. Changes for v6: * Re-order patches so that the move to common happens after all of the changes to linux-user. Se

[PATCH v7 06/15] linux-user: Rename TARGET_ERESTARTSYS to QEMU_ERESTARTSYS

2021-12-13 Thread Richard Henderson
This value is fully internal to qemu, and so is not a TARGET define. We use this as an extra marker for both host and target errno. Reviewed-by: Warner Losh Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- linux-user/generic/target_errno_defs.h | 2 +- linux-user/s

[PATCH v7 15/15] meson: Move bsd_user_ss to bsd-user/

2021-12-13 Thread Richard Henderson
We have no need to reference bsd_user_ss outside of bsd-user. Go ahead and merge it directly into specific_ss. Reviewed-by: Warner Losh Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- meson.build | 3 --- bsd-user/meson.build | 4 2 files changed, 4 inser

[PATCH v7 01/15] linux-user: Untabify all safe-syscall.inc.S

2021-12-13 Thread Richard Henderson
Reviewed-by: Warner Losh Suggested-by: Peter Maydell Signed-off-by: Richard Henderson --- linux-user/host/aarch64/safe-syscall.inc.S | 110 +++--- linux-user/host/arm/safe-syscall.inc.S | 134 - linux-user/host/i386/safe-syscall.inc.S| 158 ++---

[PATCH v7 10/15] bsd-user: Create special-errno.h

2021-12-13 Thread Richard Henderson
Pull the internal errno used by qemu internally its own header file, for use by safe-syscall.S. Reviewed-by: Warner Losh Signed-off-by: Richard Henderson --- bsd-user/errno_defs.h| 6 +- bsd-user/special-errno.h | 24 2 files changed, 29 insertions(+), 1 deleti

[PATCH v7 04/15] linux-user/host/sparc64: Add safe-syscall.inc.S

2021-12-13 Thread Richard Henderson
Signed-off-by: Richard Henderson --- linux-user/host/sparc64/hostdep.h | 3 + linux-user/host/sparc64/safe-syscall.inc.S | 89 ++ 2 files changed, 92 insertions(+) create mode 100644 linux-user/host/sparc64/safe-syscall.inc.S diff --git a/linux-user/host/sparc64/ho

[PATCH v7 05/15] linux-user: Remove HAVE_SAFE_SYSCALL and hostdep.h

2021-12-13 Thread Richard Henderson
All supported hosts now define HAVE_SAFE_SYSCALL, so remove the ifdefs. This leaves hostdep.h empty, so remove it. Reviewed-by: Warner Losh Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- linux-user/host/aarch64/hostdep.h | 18 -- linux-user/host/arm/h

[PATCH v7 03/15] linux-user/host/mips: Add safe-syscall.inc.S

2021-12-13 Thread Richard Henderson
Reviewed-by: Warner Losh Signed-off-by: Richard Henderson --- linux-user/host/mips/hostdep.h | 3 + linux-user/host/mips/safe-syscall.inc.S | 148 2 files changed, 151 insertions(+) create mode 100644 linux-user/host/mips/safe-syscall.inc.S diff --git a/linu

[PATCH v7 12/15] common-user: Adjust system call return on FreeBSD

2021-12-13 Thread Richard Henderson
FreeBSD system calls return positive errno. On the 4 hosts for which we have support, error is indicated by the C bit set or clear. Reviewed-by: Warner Losh Signed-off-by: Richard Henderson --- common-user/host/aarch64/safe-syscall.inc.S | 14 +- common-user/host/arm/safe-syscall.i

[PATCH v7 08/15] linux-user: Rename TARGET_QEMU_ESIGRETURN to QEMU_ESIGRETURN

2021-12-13 Thread Richard Henderson
This value is fully internal to qemu, and so is not a TARGET define. Reviewed-by: Warner Losh Signed-off-by: Richard Henderson --- linux-user/generic/target_errno_defs.h | 2 +- linux-user/aarch64/cpu_loop.c | 2 +- linux-user/aarch64/signal.c| 4 ++-- linux-user/alpha/c

[PATCH v7 07/15] bsd-user: Rename TARGET_ERESTARTSYS to QEMU_ERESTARTSYS

2021-12-13 Thread Richard Henderson
This value is fully internal to qemu, and so is not a TARGET define. We use this as an extra marker for both host and target errno. Reviewed-by: Warner Losh Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- bsd-user/errno_defs.h | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v7 13/15] linux-user: Move thunk.c from top-level

2021-12-13 Thread Richard Henderson
So far, linux-user is the only user of these functions. Clean up the build machinery by restricting it to linux-user. Reviewed-by: Warner Losh Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- meson.build | 1 - thunk.c => linux-user/thunk.c | 0 MAINTA

[PATCH v7 11/15] common-user: Move safe-syscall.* from linux-user

2021-12-13 Thread Richard Henderson
Move linux-user safe-syscall.S and safe-syscall-error.c to common-user so that bsd-user can also use it. Also move safe-syscall.h to include/user/. Since there is nothing here that is related to the guest, as opposed to the host, build it once. Reviewed-by: Warner Losh Signed-off-by: Richard He

[PATCH v7 09/15] linux-user: Create special-errno.h

2021-12-13 Thread Richard Henderson
Pull the two internal errno used by qemu internally into their own header file. This includes the one define required by safe-syscall.S. Reviewed-by: Warner Losh Signed-off-by: Richard Henderson --- linux-user/cpu_loop-common.h | 1 + linux-user/generic/target_errno_defs.h | 17

[PATCH v7 14/15] meson: Move linux_user_ss to linux-user/

2021-12-13 Thread Richard Henderson
We have no need to reference linux_user_ss outside of linux-user. Go ahead and merge it directly into specific_ss. Reviewed-by: Warner Losh Signed-off-by: Richard Henderson --- meson.build| 3 --- linux-user/meson.build | 4 2 files changed, 4 insertions(+), 3 deletions(-) dif

Re: [RFC PATCH v3 00/27] Add LoongArch softmmu support.

2021-12-13 Thread yangxiaojuan
thank you! On 12/14/2021 06:43 AM, Mark Cave-Ayland wrote: > On 13/12/2021 03:13, yangxiaojuan wrote: > >> Ping! >> >> Please help review the V3 patch, thank you! > > I've been fairly busy recently, but I will try and find some time to look at > the v3 sometime during the week. > > > ATB, >

[PATCH v2] COLO: Move some trace code behind qemu_mutex_unlock_iothread()

2021-12-13 Thread Rao, Lei
There is no need to put some trace code in the critical section. So, moving it behind qemu_mutex_unlock_iothread() can reduce the lock time. Signed-off-by: Lei Rao --- migration/colo.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/migration/colo.c b/migration/colo.c i

RE: [RFC] vhost-vdpa-net: add vhost-vdpa-net host device support

2021-12-13 Thread longpeng2--- via
> -Original Message- > From: Qemu-devel [mailto:qemu-devel-bounces+longpeng2=huawei@nongnu.org] > On Behalf Of Stefan Hajnoczi > Sent: Monday, December 13, 2021 11:16 PM > To: Longpeng (Mike, Cloud Infrastructure Service Product Dept.) > > Cc: m...@redhat.com; jasow...@redhat.com; q

Re: [RFC] vhost-vdpa-net: add vhost-vdpa-net host device support

2021-12-13 Thread Jason Wang
On Mon, Dec 13, 2021 at 11:14 PM Stefan Hajnoczi wrote: > > On Mon, Dec 13, 2021 at 10:47:00AM +0800, Jason Wang wrote: > > On Sun, Dec 12, 2021 at 5:30 PM Michael S. Tsirkin wrote: > > > > > > On Sat, Dec 11, 2021 at 03:00:27AM +, Longpeng (Mike, Cloud > > > Infrastructure Service Product D

Re: [PATCH v10 06/10] ACPI ERST: build the ACPI ERST table

2021-12-13 Thread Ani Sinha
On Tue, Dec 14, 2021 at 2:57 AM Eric DeVolder wrote: > > Hi Ani, > inline response below. > Eric > > On 12/12/21 07:43, Ani Sinha wrote: > > . > > > > On Thu, Dec 9, 2021 at 11:28 PM Eric DeVolder > > wrote: > >> > >> This builds the ACPI ERST table to inform OSPM how to communicate > >> with th

Re: [PATCH v9 05/10] ACPI ERST: support for ACPI ERST feature

2021-12-13 Thread Ani Sinha
On Tue, Dec 14, 2021 at 2:33 AM Eric DeVolder wrote: > > Ani, an inline response below. > Thanks! > eric > > On 12/10/21 08:09, Ani Sinha wrote: > > On Thu, Dec 9, 2021 at 11:24 PM Eric DeVolder > > wrote: > >> > >> Ani, inline responses below. eric > >> > >> On 12/9/21 00:29, Ani Sinha wrote: >

[PATCH] hw/riscv: Use load address rather than entry point for fw_dynamic next_addr

2021-12-13 Thread Jessica Clarke
The original BBL boot method had the kernel embedded as an opaque blob that was blindly jumped to, which OpenSBI implemented as fw_payload. OpenSBI then implemented fw_jump, which allows the payload to be loaded elsewhere, but still blindly jumps to a fixed address at which the kernel is to be load

Meeting today?

2021-12-13 Thread Mark Burton
I realise it’s very short notice, but what about having a discussion today at 15:00 ? Cheers Mark. > On 13 Dec 2021, at 19:53, Daniel P. Berrangé wrote: > > On Mon, Dec 13, 2021 at 07:37:49PM +0100, Paolo Bonzini wrote: >> On 12/13/21 19:07, Daniel P. Berrangé wrote: >>> - /usr/bin/qemu (or

[PATCH] MAINTAINERS: Change my email address

2021-12-13 Thread Hailiang Zhang
The zhang.zhanghaili...@huawei.com email address has been stopped. Change it to my new email address. Signed-off-by: Hailiang Zhang --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 7543eb4d59..5d9c4243b4 100644 --- a/MAINTAINERS

[PATCH v2] MAINTAINERS: Change my email address

2021-12-13 Thread Hailiang Zhang
The zhang.zhanghaili...@huawei.com email address has been stopped. Change it to my new email address. Signed-off-by: Hailiang Zhang --- hi Juan & Dave, Firstly, thank you for your working on maintaining the COLO framework. I didn't have much time on it in the past days. I may have some time in

Re: [PATCH v1] Add dummy Aspeed AST2600 Display Port MCU (DPMCU)

2021-12-13 Thread Troy Lee
On Fri, Dec 10, 2021 at 11:13 PM Cédric Le Goater wrote: > > On 12/10/21 15:33, Troy Lee wrote: > > On Fri, Dec 10, 2021 at 10:05 PM Cédric Le Goater wrote: > >> > >> On 12/10/21 09:30, Troy Lee wrote: > >>> AST2600 Display Port MCU introduces 0x1800~0x1803 as it's memory > >>> and io add

<    1   2   3