Re: [Qemu-devel] [PATCH v2 01/27] target/sh4: Use cmpxchg for movco

2017-07-15 Thread Aurelien Jarno
On 2017-07-06 16:20, Richard Henderson wrote: > As for other targets, cmpxchg isn't quite right for ll/sc, > suffering from an ABA race, but is sufficient to implement > portable atomic operations. > > Signed-off-by: Richard Henderson > --- > target/sh4/cpu.h | 3 ++- > target/sh4/transla

Re: [Qemu-devel] [PATCH 09/22] exec-all: shrink tb->invalid to uint8_t

2017-07-15 Thread Emilio G. Cota
On Wed, Jul 12, 2017 at 13:06:23 -1000, Richard Henderson wrote: > You've got a problem here in that you're not including CF_COUNT_MASK in the > hash and you dropped the flush when changing to parallel_cpus = true. That > means you could find an old TB with CF_COUNT > 1. > > Not required for this

Re: [Qemu-devel] [PATCH v2 06/27] target/sh4: Handle user-space atomics

2017-07-15 Thread Richard Henderson
On 07/15/2017 12:14 PM, Aurelien Jarno wrote: On 2017-07-06 16:20, Richard Henderson wrote: For uniprocessors, SH4 uses optimistic restartable atomic sequences. Upon an interrupt, a real kernel would simply notice magic values in the registers and reset the PC to the start of the sequence. For

Re: [Qemu-devel] [PATCH v2 09/27] linux-user/sh4: Clean env->flags on signal boundaries

2017-07-15 Thread Richard Henderson
On 07/15/2017 12:59 PM, Aurelien Jarno wrote: On 2017-07-06 16:20, Richard Henderson wrote: If a signal is delivered during the execution of a delay slot, or a gUSA region, clear those bits from the environment so that the signal handler does not start in that same state. How are signals deliv

[Qemu-devel] [Bug 1286253] Re: virtio-net acceleration features not set when plugged into backend dynamically

2017-07-15 Thread Launchpad Bug Tracker
[Expired for QEMU because there has been no activity for 60 days.] ** Changed in: qemu Status: Incomplete => Expired -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1286253 Title: virtio-net

Re: [Qemu-devel] [PATCH 4/4] vvfat: initialize memory after allocating it

2017-07-15 Thread Hervé Poussineau
Le 16/07/2017 à 00:24, Philippe Mathieu-Daudé a écrit : Hi Hervé, On 07/15/2017 10:28 AM, Hervé Poussineau wrote: This prevents some host to guest memory content leaks. Fixes: https://bugs.launchpad.net/qemu/+bug/1599539 Signed-off-by: Hervé Poussineau --- block/vvfat.c | 1 + 1 file chan

Re: [Qemu-devel] [PATCH qemu v9 2/2] memory/iommu: introduce IOMMUMemoryRegionClass

2017-07-15 Thread David Gibson
On Tue, Jul 11, 2017 at 01:56:20PM +1000, Alexey Kardashevskiy wrote: > This finishes QOM'fication of IOMMUMemoryRegion by introducing > a IOMMUMemoryRegionClass. This also provides a fastpath analog for > IOMMU_MEMORY_REGION_GET_CLASS(). > > This makes IOMMUMemoryRegion an abstract class. > > Si

Re: [Qemu-devel] [PULL 00/18] ppc-for-2.10 queue 20170714

2017-07-15 Thread David Gibson
On Sat, Jul 15, 2017 at 08:45:13AM +0100, Peter Maydell wrote: > On 15 July 2017 at 03:42, David Gibson wrote: > > On Fri, Jul 14, 2017 at 04:13:05PM +0100, Peter Maydell wrote: > >> Hi. I'm afraid this fails to build on the w32 compiler: > >> CC ppc64-softmmu/hw/ppc/spapr.o > >> /home/petm

<    1   2