Re: [PATCH for-9.2 09/53] hw/arm: Remove 'connex' and 'verdex' machines

2024-09-03 Thread Philippe Mathieu-Daudé
On 3/9/24 18:07, Peter Maydell wrote: The connex and verdex machines have been deprecated since 9.0 and so can be removed for the 9.2 release. Signed-off-by: Peter Maydell --- MAINTAINERS | 8 -- docs/system/arm/gumstix.rst | 21 docs/system/t

Re: [PATCH for-9.2 01/53] hw/arm: Remove deprecated akita, borzoi, spitz, terrier, tosa boards

2024-09-03 Thread Philippe Mathieu-Daudé
On 3/9/24 18:06, Peter Maydell wrote: The Sharp XScale-based PDA board models akita, borzoi, spitz, terrier, and tosa were all deprecated in 9.0, so our deprecation cycle permits removing them for the 9.2 release. Remove the source files for the board models themselves, and their documentation.

Re: [PATCH for-9.2 19/53] hw/dma: Remove pxa2xx_dma

2024-09-03 Thread Philippe Mathieu-Daudé
On 3/9/24 18:07, Peter Maydell wrote: Remove the pxa2xx-specific pxa2xx_dma device. Signed-off-by: Peter Maydell --- include/hw/arm/pxa.h | 4 - hw/dma/pxa2xx_dma.c | 591 --- hw/dma/meson.build | 1 - 3 files changed, 596 deletions(-) delet

Re: [PATCH for-9.2 26/53] hw/misc: Remove cbus

2024-09-03 Thread Philippe Mathieu-Daudé
On 3/9/24 18:07, Peter Maydell wrote: The devices in hw/misc/cbus.c were used only by the now-removed nseries machine types, so they can be removed. As this is the last use of the CONFIG_NSERIES define we can remove that from KConfig now. Signed-off-by: Peter Maydell --- MAINTAINERS

[PATCH] hw/arm/omap1: Remove unused omap_uwire_attach() method

2024-09-03 Thread Philippe Mathieu-Daudé
The recently removed 'cheetah' machine was the single user of the omap_uwire_attach() method. Remove it altogether with the uWireSlave structure. Replace the send/receive callbacks by Unimplemented logging. Signed-off-by: Philippe Mathieu-Daudé --- Based-on: <20240903160751.4100218-1-peter.mayd..

Re: [PATCH 1/1] target/riscv/cpu.c: Add 'fcsr' register to QEMU log as a part of F extension

2024-09-03 Thread Daniel Henrique Barboza
On 9/2/24 7:34 AM, Maria Klauchek wrote: FCSR is a part of F extension. Print it to log if FPU option is enabled. Signed-off-by: Maria Klauchek --- Reviewed-by: Daniel Henrique Barboza target/riscv/cpu.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/target/riscv/cpu.c b/t

Re: [PATCH 4/5] target/riscv: Check memory access to meet svuket rule

2024-09-03 Thread Daniel Henrique Barboza
On 9/3/24 3:17 AM, Fea.Wang wrote: Follow the Svukte spec, do the memory access address checking 1. Include instruction fetches or explicit memory accesses 2. System run in effective privilege U or VU 3. Check senvcfg[UKTE] being set, or hstatus[HUKTE] being set if instruction is HLV, HLV

Re: [PATCH v2] escc: convert Sun mouse to use QemuInputHandler

2024-09-03 Thread Carl Hauser via
This works well. On Tue, Sep 3, 2024 at 1:38 PM Mark Cave-Ayland < mark.cave-ayl...@ilande.co.uk> wrote: > Update the Sun mouse implementation to use QemuInputHandler instead of the > legacy qemu_add_mouse_event_handler() function. > > Note that this conversion adds extra sunmouse_* members to ES

Re: [PATCH 1/5] target/riscv: Add svukte extension capability variable

2024-09-03 Thread Alistair Francis
On Tue, Sep 3, 2024 at 4:15 PM Fea.Wang wrote: > > Refer to the draft of svukte extension from: > https://github.com/riscv/riscv-isa-manual/pull/1564 We won't be able to merge this while the spec is just a pull request. We need a fixes spec that we can point out with a version Alistair > > Svuk

Re: [PATCH 0/5] Introduce svukte ISA extension

2024-09-03 Thread Alistair Francis
On Tue, Sep 3, 2024 at 4:16 PM Fea.Wang wrote: > > Refer to the draft of svukte extension from: > https://github.com/riscv/riscv-isa-manual/pull/1564 > > Svukte provides a means to make user-mode accesses to supervisor memory > raise page faults in constant time, mitigating attacks that attempt to

Re: [PATCH 1/1] target/riscv/cpu.c: Add 'fcsr' register to QEMU log as a part of F extension

2024-09-03 Thread Alistair Francis
On Mon, Sep 2, 2024 at 11:38 PM Maria Klauchek wrote: > > FCSR is a part of F extension. Print it to log if FPU option is enabled. > > Signed-off-by: Maria Klauchek Reviewed-by: Alistair Francis Alistair > --- > target/riscv/cpu.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git

Re: [PATCH 1/1] target/riscv/cpu.c: Add 'fcsr' register to QEMU log as a part of F extension

2024-09-03 Thread Alistair Francis
On Mon, Sep 2, 2024 at 11:38 PM Maria Klauchek wrote: > > FCSR is a part of F extension. Print it to log if FPU option is enabled. > > Signed-off-by: Maria Klauchek Thanks! Applied to riscv-to-apply.next Alistair > --- > target/riscv/cpu.c | 6 ++ > 1 file changed, 6 insertions(+) > > di

RE: [SPAM] [PATCH v3 00/11] support I2C for AST2700

2024-09-03 Thread Jamin Lin
Hi Cedric, > Subject: Re: [SPAM] [PATCH v3 00/11] support I2C for AST2700 > > On 9/3/24 10:35, Jamin Lin wrote: > > v1: > > - support I2C for AST2700 > > > > v2: > > - fix review issues and add reviewer suggestion > > - update avocado test case for AST2700 I2C > > - support i2c bus pool > > > > v

[PATCH -next] fw_cfg: Constify struct kobj_type

2024-09-03 Thread Hongbo Li via
This 'struct kobj_type' is not modified. It is only used in kobject_init_and_add() which takes a 'const struct kobj_type *ktype' parameter. Constifying this structure and moving it to a read-only section, and this can increase over all security. ``` [Before] text databssdechex

RE: [PATCH v3 2/2] target/riscv: Add textra matching condition for the triggers

2024-09-03 Thread 張哲嘉
Hi Alistair, > -Original Message- > From: Alistair Francis > Sent: Monday, August 26, 2024 8:26 AM > To: Alvin Che-Chia Chang(張哲嘉) > Cc: qemu-ri...@nongnu.org; qemu-devel@nongnu.org; > alistair.fran...@wdc.com; bin.m...@windriver.com; liwei1...@gmail.com; > dbarb...@ventanamicro.com; zhi

[PATCH] chardev: introduce 'reconnect-ms' and deprecate 'reconnect'

2024-09-03 Thread Daniil Tatianin
The 'reconnect' option only allows to specify the time in seconds, which is way too long for certain workflows. We have a lightweight disk backend server, which takes about 20ms to live update, but due to this limitation in QEMU, previously the guest disk controller would hang for one second becau

[PATCH v4 2/2] target/loongarch: Implement lbt registers save/restore function

2024-09-03 Thread Bibo Mao
Six registers scr0 - scr3, eflags and ftop are added in percpu vmstate. And two functions kvm_loongarch_get_lbt/kvm_loongarch_put_lbt are added to save/restore lbt registers. Signed-off-by: Bibo Mao --- target/loongarch/cpu.h | 12 target/loongarch/kvm/kvm.c | 60 +++

[PATCH v4 1/2] target/loongarch: Add loongson binary translation feature

2024-09-03 Thread Bibo Mao
Loongson Binary Translation (LBT) is used to accelerate binary translation, which contains 4 scratch registers (scr0 to scr3), x86/ARM eflags (eflags) and x87 fpu stack pointer (ftop). Now LBT feature is added in kvm mode, not supported in TCG mode since it is not emulated. Feature variable lbt is

[PATCH v4 0/2] target/loongarch: Add loongson binary translation feature

2024-09-03 Thread Bibo Mao
Loongson Binary Translation (LBT) is used to accelerate binary translation. LBT feature is added in kvm mode, not supported in TCG mode since it is not emulated. Here lbt=on/off property is added to parse command line to enable/disable lbt feature. Also fix registers relative lbt are saved and res

Re: [PATCH] tests/functional/test_vnc: Reduce raciness in find_free_ports()

2024-09-03 Thread Thomas Huth
On 03/09/2024 16.50, Daniel P. Berrangé wrote: On Tue, Sep 03, 2024 at 04:35:53PM +0200, Philippe Mathieu-Daudé wrote: Pass the port range as argument. In order to reduce races when looking for free ports, use a per-target per-process base port (based on the target built-in hash). Signed-off-by

Re: [PATCH v2 01/11] hw/s390/ccw-device: Convert to three-phase reset

2024-09-03 Thread Thomas Huth
On 30/08/2024 16.58, Peter Maydell wrote: Convert the TYPE_CCW_DEVICE to three-phase reset. This is a device class which is subclassed, so it needs to be three-phase before we can convert the subclass. Signed-off-by: Peter Maydell --- hw/s390x/ccw-device.c | 7 --- 1 file changed, 4 inse

<    1   2   3