Re: [PATCH] contrib/plugins: ensure build does not pick up a system copy of plugin header

2024-09-21 Thread Alex Bennée
Brad Smith writes: > On 2024-09-21 8:55 a.m., Alex Bennée wrote: >> Brad Smith writes: >> >>> contrib/plugins: ensure build does not pick up a system copy of plugin >>> header >> I'm confused because this changes the ordering of the GLIB inclusion. We >> shouldn't be including the whole QEMU inc

Re: [PATCH] target/ppc: Fix lxvx/stxvx facility check

2024-09-21 Thread Richard Henderson
On 9/20/24 11:24, Ilya Leoshkevich wrote: On Thu, 2024-09-19 at 13:36 +0200, Claudio Fontana wrote: ping, adding Richard. We will need to include this downstream because of the breakage its lack causes. It is already reviewed by me, but some TCG maintainer indicating it will be included in some

Re: [PATCH 0/7] tests/functional: Convert the advent calendar tests

2024-09-21 Thread Richard Henderson
On 9/19/24 20:57, Thomas Huth wrote: Thomas Huth (7): tests/functional/qemu_test: Add a function for launching kernels more easily tests/functional: Convert the vexpressa9 Avocado test tests/functional: Convert the xtensa lx60 Avocado test tests/functional: Convert the SPARCStati

Re: [PATCH v4 03/12] tcg/riscv: Add vset{i}vli and ld/st vec ops

2024-09-21 Thread Richard Henderson
On 9/11/24 15:26, LIU Zhiwei wrote: @@ -2129,6 +2389,7 @@ static void tcg_target_qemu_prologue(TCGContext *s) static void tcg_out_tb_start(TCGContext *s) { +s->riscv_cur_type = TCG_TYPE_COUNT; /* nothing to do */ } I recently realized that the vector config is call-clobbe

Re: [PATCH] configs: Fix typo in the sh4-softmmu devices config file

2024-09-21 Thread Richard Henderson
On 9/20/24 18:10, Thomas Huth wrote: This is the config file for the little endian target, so there should not be a "eb" in here. Signed-off-by: Thomas Huth --- configs/devices/sh4-softmmu/default.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/devices/sh4-sof

Re: [PATCH] contrib/plugins: ensure build does not pick up a system copy of plugin header

2024-09-21 Thread Brad Smith
On 2024-09-21 8:55 a.m., Alex Bennée wrote: Brad Smith writes: contrib/plugins: ensure build does not pick up a system copy of plugin header I'm confused because this changes the ordering of the GLIB inclusion. We shouldn't be including the whole QEMU include path. That's intentional. The G

Re: [PATCH v4 02/12] tcg/riscv: Add basic support for vector

2024-09-21 Thread Daniel Henrique Barboza
On 9/21/24 12:56 PM, 0x48 Swung wrote: Signed-off-by: Huang Shiyuan mailto:swung0...@outlook.com>> This is the tag. Is this fine or do I need to do something else? Thanks for the help from everybody in this list! Thanks! This is enough. Zhiwei can add the tag in the patch in v5. Daniel

[PATCH v2 2/2] hw/sparc/leon3: add second uart with extended interrupt usage

2024-09-21 Thread Nikita Shushura
Signed-off-by: Nikita Shushura --- hw/sparc/leon3.c | 63 +++- 1 file changed, 46 insertions(+), 17 deletions(-) diff --git a/hw/sparc/leon3.c b/hw/sparc/leon3.c index 6aaa04cb19..c559854e5e 100644 --- a/hw/sparc/leon3.c +++ b/hw/sparc/leon3.c @@ -54,1

[PATCH v2 1/2] hw/intc/grlib_irqmp: add support for extended interrupts

2024-09-21 Thread Nikita Shushura
Signed-off-by: Nikita Shushura --- hw/intc/grlib_irqmp.c | 69 +++ 1 file changed, 50 insertions(+), 19 deletions(-) diff --git a/hw/intc/grlib_irqmp.c b/hw/intc/grlib_irqmp.c index 37ac63fd80..e9414c054a 100644 --- a/hw/intc/grlib_irqmp.c +++ b/hw/intc/gr

Re: [PATCH v4 02/12] tcg/riscv: Add basic support for vector

2024-09-21 Thread 0x48 Swung
Signed-off-by: Huang Shiyuan mailto:swung0...@outlook.com>> This is the tag. Is this fine or do I need to do something else? Thanks for the help from everybody in this list! 在 2024年9月20日,22:28,LIU Zhiwei 写道:  On 2024/9/20 12:01, 0x48 Swung wrote: Hey everyone! Late to the party. Life happe

RTC time could run slow 3s than host time when clock=vm & base=UTC

2024-09-21 Thread 贾庆彤 via
When start qemu with -rtc base=utc,clock=vm, sometime guest time can slower 3s than host. There's no problem (also didn't be noticed) as we often start ntp service, who will adjust our system time. But let's talk about if we havn't enable NTP service(for example system just booted) After i

Re: [PATCH] contrib/plugins: ensure build does not pick up a system copy of plugin header

2024-09-21 Thread Alex Bennée
Brad Smith writes: > contrib/plugins: ensure build does not pick up a system copy of plugin > header I'm confused because this changes the ordering of the GLIB inclusion. We shouldn't be including the whole QEMU include path. How does this fail? > With the ordering of the header path if a copy

Re: [PATCH 06/10] target/riscv: Add `ext_smdbltrp` in RISCVCPUConfig.

2024-09-21 Thread Daniel Henrique Barboza
On 9/12/24 5:48 AM, Clément Léger wrote: This variable is used to determine if the Smdbltrp extension is enabled. Signed-off-by: Clément Léger --- Similar with patch 1, I would also merge this with patch 07 since the bool is being used there. Thanks, Daniel target/riscv/cpu_cfg.h | 1

Re: [PATCH 01/10] target/riscv: Add `ext_ssdbltrp` in RISCVCPUConfig.

2024-09-21 Thread Daniel Henrique Barboza
On 9/12/24 5:48 AM, Clément Léger wrote: This variable is used to determine if the Ssdbltrp extension is enabled. Signed-off-by: Clément Léger --- I would merge this to patch 2 since the bool is being used there. Thanks, Daniel target/riscv/cpu_cfg.h | 1 + 1 file changed, 1 inserti

Re: [PATCH] MAINTAINERS: Update STM32L4x5 and B-L475E-IOT01A maintainers

2024-09-21 Thread Samuel Tardieu
Inès Varhol writes: > It has been a learning experience to contribute to QEMU for our > end-of-studies project. For a few months now, Arnaud and I aren't > actively involved anymore as we lack time and access to the hardware. > Therefore it's high time to update the maintainers file: from now on,

[RFC 1/1] vfio: support CXL device in VFIO stub

2024-09-21 Thread Zhi Wang
To support CXL device passthrough, vfio-cxl-core is introduced. This is the QEMU part. Get the CXL caps from the vfio-cxl-core. Trap and emulate the HDM decoder registers. Map the HDM decdoers when the guest commits a HDM decoder. Signed-off-by: Zhi Wang --- hw/vfio/common.c | 3

[RFC 0/1] Introduce vfio-cxl to support CXL type-2 device passthrough

2024-09-21 Thread Zhi Wang
Compute Express Link (CXL) is an open standard interconnect built upon industrial PCI layers to enhance the performance and efficiency of data centers by enabling high-speed, low-latency communication between CPUs and various types of devices such as accelerators, memory. Although CXL is built upo

[PATCH] MAINTAINERS: Update STM32L4x5 and B-L475E-IOT01A maintainers

2024-09-21 Thread Inès Varhol
It has been a learning experience to contribute to QEMU for our end-of-studies project. For a few months now, Arnaud and I aren't actively involved anymore as we lack time and access to the hardware. Therefore it's high time to update the maintainers file: from now on, Samuel Tardieu who is behind

[PATCH v3] target-i386: Walk NPT in guest real mode

2024-09-21 Thread Alexander Graf
When translating virtual to physical address with a guest CPU that supports nested paging (NPT), we need to perform every page table walk access indirectly through the NPT, which we correctly do. However, we treat real mode (no page table walk) special: In that case, we currently just skip any wal

[PATCH v2] hw/smbios: support for type 7 (cache information)

2024-09-21 Thread Hal Martin
This patch adds support for SMBIOS type 7 (Cache Information) to qemu. level: cache level (1-8) size: cache size in bytes Example usage: -smbios type=7,level=1,size=0x8000 Signed-off-by: Hal Martin --- hw/smbios/smbios.c | 64 include/hw/firmware/