Re: [PATCH 4/4] vl: Prioritize realizations of devices

2021-08-25 Thread Peter Xu
On Wed, Aug 25, 2021 at 02:28:55PM +0200, Markus Armbruster wrote: > Markus Armbruster writes: > > > Peter Xu writes: > > > >> On Mon, Aug 23, 2021 at 05:56:23PM -0400, Eduardo Habkost wrote: > >>> I don't have any other example, but I assume address assignment > >>> based on ordering is a commo

[PATCH] hw/virtio: Update vring after modifying its queue size

2021-08-25 Thread Philippe Mathieu-Daudé
When a ring queue size is modified, we need to call virtio_queue_update_rings() to re-init the memory region caches. Otherwise the region might have outdated memory size, and later load/store access might trigger an assertion, such: qemu-system-i386: include/exec/memory_ldst_cached.h.inc:30: uin

Re: [PATCH] hw/virtio: Update vring after modifying its queue size

2021-08-25 Thread Philippe Mathieu-Daudé
On 8/26/21 12:42 AM, Philippe Mathieu-Daudé wrote: > When a ring queue size is modified, we need to call > virtio_queue_update_rings() to re-init the memory region > caches. Otherwise the region might have outdated memory > size, and later load/store access might trigger an > assertion, such: > >

Re: [RFC PATCH] hw/virtio: Do not access vring cache if queue is not ready

2021-08-25 Thread Philippe Mathieu-Daudé
On 8/25/21 10:36 PM, Philippe Mathieu-Daudé wrote: > On 8/25/21 10:09 PM, Philippe Mathieu-Daudé wrote: >> Do not intent to access the vring MemoryRegion cache if >> the queue is not ready (no vring available). >> >> This fixes issue #301: >> >> qemu-system-i386: include/exec/memory_ldst_cached.h

Re: [PATCH v2 02/16] target/ppc: add user read functions for MMCR0 and MMCR2

2021-08-25 Thread David Gibson
On Wed, Aug 25, 2021 at 07:25:10AM -0500, Paul A. Clarke wrote: > On Wed, Aug 25, 2021 at 02:30:11PM +1000, David Gibson wrote: > > On Tue, Aug 24, 2021 at 01:30:18PM -0300, Daniel Henrique Barboza wrote: > > > From: Gustavo Romero > > > > > > This patch adds handling of UMMCR0 and UMMCR2 user re

Re: [PATCH 0/2] target/ppc: Fix vextu[bhw][lr]x on big endian hosts

2021-08-25 Thread Matheus K. Ferst
On 25/08/2021 09:55, Mark Cave-Ayland wrote: [E-MAIL EXTERNO] Não clique em links ou abra anexos, a menos que você possa confirmar o remetente e saber que o conteúdo é seguro. Em caso de e-mail suspeito entre imediatamente em contato com o DTI. On 24/08/2021 21:11, matheus.fe...@eldorado.org.b

Re: Live migration regarding Intel PT

2021-08-25 Thread Xiaoyao Li
On 8/26/2021 4:48 AM, Eduardo Habkost wrote: On Wed, Aug 25, 2021 at 02:59:37PM +0800, Xiaoyao Li wrote: Hi Eduardo, I have some question regrading Intel PT live migration. Commit "e37a5c7fa459 (i386: Add Intel Processor Trace feature support)" expose Intel PT with a fixed capabilities of CPUI

Re: [PATCH] RFC: build-sys: drop dtc submodule

2021-08-25 Thread David Gibson
On Thu, Aug 26, 2021 at 12:11:17AM +0400, Marc-André Lureau wrote: > Hi > > On Thu, Aug 26, 2021 at 12:00 AM Peter Maydell > wrote: > > > On Wed, 25 Aug 2021 at 20:55, Marc-André Lureau > > wrote: > > > fdt_check_full was added in 1.4.7: > > > https://git.kernel.org/pub/scm/utils/dtc/dtc.git/ta

Re: [PATCH] hw/virtio: Update vring after modifying its queue size

2021-08-25 Thread Jason Wang
On Thu, Aug 26, 2021 at 6:43 AM Philippe Mathieu-Daudé wrote: > > When a ring queue size is modified, we need to call > virtio_queue_update_rings() to re-init the memory region > caches. Otherwise the region might have outdated memory > size, and later load/store access might trigger an > assertio

Re: [PATCH 4/4] vl: Prioritize realizations of devices

2021-08-25 Thread Peter Xu
On Wed, Aug 25, 2021 at 05:50:23PM -0400, Peter Xu wrote: > On Wed, Aug 25, 2021 at 02:28:55PM +0200, Markus Armbruster wrote: > > Markus Armbruster writes: > > > > > Peter Xu writes: > > > > > >> On Mon, Aug 23, 2021 at 05:56:23PM -0400, Eduardo Habkost wrote: > > >>> I don't have any other exa

Re: [PATCH 5/5] qmp: Added qemu-ebpf-rss-path command.

2021-08-25 Thread Markus Armbruster
Andrew Melnichenko writes: > Hi, > Yes, the stamp check was added. > So the qemu emulator should return a suitable RSS BPF helper or nothing. > Each qemu emulator may have a different helper that suits it. > So, the idea is to ask for the helper from qemu. Please answer the question below. > >

Re: [FSL P50x0] lscpu reports wrong values since the RC1 of kernel 5.13

2021-08-25 Thread Srikar Dronamraju
* Christian Zigotzky [2021-08-16 14:29:21]: Hi Christian, > I tested the RC6 of kernel 5.14 today and unfortunately the issue still > exists. We have figured out that only P5040 SoCs are affected. [1] > P5020 SoCs display the correct values. > Please check the CPU changes in the PowerPC updates

Re: [PATCH 4/4] vl: Prioritize realizations of devices

2021-08-25 Thread Markus Armbruster
Peter Xu writes: > On Wed, Aug 25, 2021 at 02:28:55PM +0200, Markus Armbruster wrote: >> Markus Armbruster writes: >> >> > Peter Xu writes: >> > >> >> On Mon, Aug 23, 2021 at 05:56:23PM -0400, Eduardo Habkost wrote: >> >>> I don't have any other example, but I assume address assignment >> >>>

Re: [RFC 05/10] hw/mos6522: Don't clear T1 interrupt flag on latch write

2021-08-25 Thread Finn Thain
On Wed, 25 Aug 2021, Mark Cave-Ayland wrote: > On 24/08/2021 11:09, Finn Thain wrote: > > > The Synertek datasheet says, "A write to T1L-H loads an 8-bit count value > > into the latch. A read of T1L-H transfers the contents of the latch to > > the data bus. Neither operation has an affect [sic]

RE: [PATCH v2] net/colo: check vnet_hdr_support flag when using virtio-net

2021-08-25 Thread Zhang, Chen
> -Original Message- > From: Lukas Straub > Sent: Sunday, August 22, 2021 12:25 AM > To: Xu, Tao3 > Cc: Zhang, Chen ; lizhij...@cn.fujitsu.com; > jasow...@redhat.com; qemu-devel@nongnu.org > Subject: Re: [PATCH v2] net/colo: check vnet_hdr_support flag when using > virtio-net > > On T

RE: [PATCH v2] net/colo: check vnet_hdr_support flag when using virtio-net

2021-08-25 Thread Zhang, Chen
> -Original Message- > From: Eric Blake > Sent: Saturday, August 21, 2021 5:43 AM > To: Xu, Tao3 > Cc: Zhang, Chen ; lizhij...@cn.fujitsu.com; > jasow...@redhat.com; qemu-devel@nongnu.org > Subject: Re: [PATCH v2] net/colo: check vnet_hdr_support flag when using > virtio-net > > On Th

Re: [PATCH v6 1/6] qmp: add QMP command x-debug-query-virtio

2021-08-25 Thread Jonah Palmer
No problem! Comments below: On 8/23/21 9:27 AM, Markus Armbruster wrote: Back from my summer break, please excuse the delay. Jonah Palmer writes: On 8/7/21 8:35 AM, Markus Armbruster wrote: QAPI schema review only. Jonah Palmer writes: From: Laurent Vivier This new command lists all t

Re: [PATCH v6 4/6] qmp: add QMP command x-debug-virtio-queue-status

2021-08-25 Thread Jonah Palmer
Hi Jason, could I get your thoughts on this implementation question below? I'm not too sure on how I should proceed determining if vhost is active or not. Thank you! Jonah On 7/26/21 5:33 AM, Jonah Palmer wrote: On 7/22/21 5:22 AM, Jason Wang wrote: 在 2021/7/21 下午4:59, Jonah Palmer 写道:

Re: [RFC 10/10] hw/mos6522: Synchronize timer interrupt and timer counter

2021-08-25 Thread Finn Thain
On Wed, 25 Aug 2021, Mark Cave-Ayland wrote: > > Unfortunately the datasheet I was using for reference doesn't appear to > have the relevant detail here. Have you got a reference to the datasheet > you're using which shows what happens to the timers at the zero crossing > point? > The data

<    1   2   3   4