[Qemu-devel] [PATCH v7 06/13] trace: generalize the "property" concept in the trace-events file

2011-08-25 Thread Lluís
This adds/modifies the following functions: * get_name: Get _only_ the event name * has_property: Return whether an event has a property (keyword before the event name) Signed-off-by: Lluís Vilanova --- docs/tracing.txt |4 +-- scripts/tracetool | 73 ---

[Qemu-devel] [PATCH v7 03/13] trace: [make] replace 'ifeq' with values in CONFIG_TRACE_*

2011-08-25 Thread Lluís
Signed-off-by: Lluís Vilanova --- Makefile.objs | 12 +--- 1 files changed, 5 insertions(+), 7 deletions(-) diff --git a/Makefile.objs b/Makefile.objs index 44d7238..aaf6542 100644 --- a/Makefile.objs +++ b/Makefile.objs @@ -374,16 +374,14 @@ endif simpletrace.o: simpletrace.c $(GEN

Re: [Qemu-devel] [RFC PATCH V1 00/14] Dynamic machine model creation from device trees

2011-08-25 Thread Anthony Liguori
On 08/25/2011 02:10 PM, Edgar E. Iglesias wrote: On Thu, Aug 25, 2011 at 11:04:12AM -0500, Anthony Liguori wrote: On 08/25/2011 10:43 AM, Peter Crosthwaite wrote: Hi Anthony, So the primary motivation for using this is in embedded systems design flows where you are already working with DTS for

[Qemu-devel] [PATCH v7 10/13] trace-state: always use the "nop" backend on events with the "disable" keyword

2011-08-25 Thread Lluís
Any event with the keyword/property "disable" generates an empty trace event using the "nop" backend, regardless of the current backend. Signed-off-by: Lluís Vilanova --- docs/tracing.txt | 25 +++-- scripts/tracetool | 15 ++- 2 files changed, 17 insertions(

[Qemu-devel] [PATCH v7 05/13] trace: avoid conditional code compilation during option parsing

2011-08-25 Thread Lluís
Signed-off-by: Lluís Vilanova --- Makefile.objs |8 qemu-config.c |4 qemu-options.hx |6 -- trace/control.h | 23 +++ trace/dtrace.c | 12 trace/nop.c | 12 trace/simple.c | 15 --- trace/si

[Qemu-devel] [PATCH 01/17] hw/sysbus: Add sysbus_mmio_get_region()

2011-08-25 Thread Peter Maydell
Add a sysbus_mmio_get_region() which allows users of sysbus devices to turn a (SysBusDevice*, mmioidx) tuple into a MemoryRegion*. This enables some useful simplifications of devices which pass through another device's mmio region (either directly or by implementing some kind of memory controller d

[Qemu-devel] [PATCH 13/17] hw/omap.h: Add OMAP 3630 to omap_mpu_model enumeration

2011-08-25 Thread Peter Maydell
Add the OMAP 3630 to the omap_mpu_model enumeration, and add the corresponding cpu_is_omap3630() function. (OMAP3 isn't supported yet but this is useful in upgrading common components to be "OMAP3 ready". We already have this for OMAP3430.) Signed-off-by: Peter Maydell --- hw/omap.h |5

[Qemu-devel] [PATCH 10/17] omap_gpmc: Calculate revision from OMAP model

2011-08-25 Thread Peter Maydell
From: Juha Riihimäki Signed-off-by: Juha Riihimäki [Riku Voipio: Fixes and restructuring patchset] Signed-off-by: Riku Voipio [Peter Maydell: More fixes and cleanups for upstream submission] Signed-off-by: Peter Maydell --- hw/omap_gpmc.c |4 +++- 1 files changed, 3 insertions(+), 1 dele

Re: [Qemu-devel] PPC* and Sparc32 crash

2011-08-25 Thread Blue Swirl
On Thu, Aug 25, 2011 at 7:31 PM, Avi Kivity wrote: > On 08/25/2011 08:33 PM, Blue Swirl wrote: >> >> (gdb) bt >> #0  0x73da2165 in *__GI_raise (sig=) >>     at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 >> #1  0x73da4f70 in *__GI_abort () at abort.c:92 >> #2  0x73d9b2b1 in

Re: [Qemu-devel] [RFC PATCH V1 00/14] Dynamic machine model creation from device trees

2011-08-25 Thread Edgar E. Iglesias
On Thu, Aug 25, 2011 at 02:54:13PM -0500, Anthony Liguori wrote: > On 08/25/2011 02:10 PM, Edgar E. Iglesias wrote: > >On Thu, Aug 25, 2011 at 11:04:12AM -0500, Anthony Liguori wrote: > >>On 08/25/2011 10:43 AM, Peter Crosthwaite wrote: > >>>Hi Anthony, > >>> > >>>So the primary motivation for usin

[Qemu-devel] [PATCH 15/17] omap_gpmc: Pull prefetch engine data into sub-struct

2011-08-25 Thread Peter Maydell
Refactor the gpmc state structure so items relating to the prefetch engine are in their own sub-struct and have more useful names. Signed-off-by: Peter Maydell --- hw/omap_gpmc.c | 52 1 files changed, 28 insertions(+), 24 deletions(-) diff

[Qemu-devel] [PATCH 14/17] omap_gpmc: Accept a zero mask field on omap3630

2011-08-25 Thread Peter Maydell
From: Juha Riihimäki OMAP3630 adds an extra bit of address masking, so a mask of 0xb is valid. Unfortunately the GPMC_REVISION is the same as on the OMAP3430 which only has three bits of address masking, so we have to derive this feature directly from the OMAP revision rather than from the GP

[Qemu-devel] [PATCH 16/17] omap: Wire up the DMA request line to the GPMC

2011-08-25 Thread Peter Maydell
Signed-off-by: Peter Maydell --- hw/omap.h |3 ++- hw/omap2.c |3 ++- hw/omap_gpmc.c |5 - 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/hw/omap.h b/hw/omap.h index 81f5544..d9ab006 100644 --- a/hw/omap.h +++ b/hw/omap.h @@ -119,7 +119,8 @@ void omap_sdrc

[Qemu-devel] [PATCH 02/17] hw/onenand: Qdevify

2011-08-25 Thread Peter Maydell
From: Juha Riihimäki Qdevify the ONENAND device. Signed-off-by: Juha Riihimäki [Riku Voipio: Fixes and restructuring patchset] Signed-off-by: Riku Voipio [Peter Maydell: More fixes and cleanups for upstream submission] Signed-off-by: Peter Maydell --- hw/flash.h | 10 ++-- hw/nseries.c

Re: [Qemu-devel] [PATCH 6/7] usb-host: claim port

2011-08-25 Thread Gerd Hoffmann
On 08/25/11 18:03, Erik Rull wrote: Hi Gerd, is this related / the fix to my question regarding the recurring claimed messages? (See my mail dated 2011-08-21) No, but patches #3 + #5 hopefully help there. cheers, Gerd

[Qemu-devel] [PATCH 08/17] omap_gpmc: Fix handling of FIFOTHRESHOLDSTATUS bit

2011-08-25 Thread Peter Maydell
The OMAP3 TRM is inconsistent about whether the GPMC FIFOTHRESHOLDSTATUS bit should be set when FIFOPOINTER > FIFOTHRESHOLD or when it is >= FIFOTHRESHOLD. Apparently the underlying functional spec from which the TRM was created states that the behaviour is ">=", and this also makes more conceptual

[Qemu-devel] [PATCH 00/17] onenand, omap_gpmc fixes, features

2011-08-25 Thread Peter Maydell
This patchset is primarily features and bugfixes for the omap_gpmc device from the Meego tree. We start by adding a new sysbus function to get the MemoryRegion* for a sysbus MMIO region. This was discussed in http://www.mail-archive.com/kvm@vger.kernel.org/msg59535.html and as noted there can als

[Qemu-devel] [PATCH 06/17] omap_gpmc: GPMC_IRQSTATUS is write-one-to-clear

2011-08-25 Thread Peter Maydell
Fix a bug in the handling of writes to GPMC_IRQSTATUS: it behaves as "write one to clear, writing zero is ignored". Signed-off-by: Peter Maydell --- hw/omap_gpmc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/omap_gpmc.c b/hw/omap_gpmc.c index d16b28b..ff4d485 100

Re: [Qemu-devel] [RFC PATCH V1 12/14] microblaze: Make the MSR PVR bit non writable

2011-08-25 Thread Edgar E. Iglesias
On Thu, Aug 25, 2011 at 08:17:35PM +1000, Peter Crosthwaite wrote: > Hi Peter , I included them as they are prerequisite for patch 14. Edgar, can > we > get a review / push of these two separate of this series so I can take them > out > next revision ? I've applied this now, thanks. Cheers

[Qemu-devel] [PATCH 11/17] omap_gpmc: Reindent misindented switch statements

2011-08-25 Thread Peter Maydell
Whitespace-only change fixing indentation. Signed-off-by: Peter Maydell --- I'm not usually a fan of indentation fix patches but in this case the following patches touch a lot of the switch statement anyway so it seemed reasonable... hw/omap_gpmc.c | 96 ---

[Qemu-devel] [PATCH 17/17] omap_gpmc: Implement prefetch engine

2011-08-25 Thread Peter Maydell
This commit implements the prefetch engine feature of the GPMC which can be used for NAND devices. This includes both interrupt driven and DMA-filling modes. Signed-off-by: Peter Maydell --- hw/omap_gpmc.c | 257 +-- 1 files changed, 247 inser

[Qemu-devel] [PATCH 07/17] omap_gpmc: Wire up the GPMC IRQ correctly

2011-08-25 Thread Peter Maydell
The omap_gpmc wasn't actually wiring up its IRQ, so anything that provoked an interrupt would be using uninitialised data for its IRQ number. Signed-off-by: Peter Maydell --- hw/omap_gpmc.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/hw/omap_gpmc.c b/hw/omap_gpmc.c i

[Qemu-devel] [PATCH 04/17] omap_gpmc: Clean up omap_gpmc_attach MemoryRegion conversion

2011-08-25 Thread Peter Maydell
Now that all callers of omap_gpmc_attach pass in a MemoryRegion*, we can remove the base_update and unmap function pointer arguments, and the opaque pointer that was passed into these callbacks. We can also remove the base and size fields from omap_gpmc_cs_file_s as these are no longer necessary (

Re: [Qemu-devel] [RFC PATCH V1 00/14] Dynamic machine model creation from device trees

2011-08-25 Thread Anthony Liguori
On 08/25/2011 03:20 PM, Edgar E. Iglesias wrote: On Thu, Aug 25, 2011 at 02:54:13PM -0500, Anthony Liguori wrote: On 08/25/2011 02:10 PM, Edgar E. Iglesias wrote: This is the goal of QOM except it does this by fixing the problems in qdev instead of adding another layer on top of things. Then

[Qemu-devel] [PATCH 05/17] omap_gpmc: Refactor omap_gpmc_cs_map and omap_gpmc_cs_unmap

2011-08-25 Thread Peter Maydell
Refactor the omap_gpmc_cs_map/unmap functions: * take the omap_gpmc_s* and a chipselect id rather than the omap_gpmc_cs_file_s*, so they have access to the general gpmc member fields * extract the base and mask from the config registers in the functions rather than at every callsite * c

[Qemu-devel] [PATCH 09/17] omap_gpmc: Take omap_mpu_state* in omap_gpmc_init

2011-08-25 Thread Peter Maydell
From: Juha Riihimäki Take a pointer to the omap mpu state struct in omap_gpmc_init. Some details of GPMC behaviour depend on the OMAP version we are a part of. Signed-off-by: Juha Riihimäki [Riku Voipio: Fixes and restructuring patchset] Signed-off-by: Riku Voipio [Peter Maydell: More fixes an

[Qemu-devel] [PATCH 12/17] omap_gpmc: Support NAND devices

2011-08-25 Thread Peter Maydell
Support accesses to NAND devices, both by mapping them into the GPMC address space, and via the NAND_COMMAND, NAND_ADDRESS and NAND_DATA GPMC registers. Signed-off-by: Peter Maydell --- hw/omap.h |1 + hw/omap_gpmc.c | 219 --- 2 file

[Qemu-devel] [PATCH 03/17] hw/onenand: Minor spacing fixes

2011-08-25 Thread Peter Maydell
From: Juha Riihimäki Minor whitespace-only cleanup (separated out from the qdevifying patch for clarity). Signed-off-by: Juha Riihimäki [Riku Voipio: Fixes and restructuring patchset] Signed-off-by: Riku Voipio [Peter Maydell: More fixes and cleanups for upstream submission] Signed-off-by: Pe

[Qemu-devel] [PULL][PATCH 0/6] Alpha system emulation, v9

2011-08-25 Thread Richard Henderson
Changes v8->v9 * Updates for memory api. Please pull from git://repo.or.cz/qemu/rth.git axp-system-7 r~ Richard Henderson (6): target-alpha: Add custom PALcode image for CLIPPER emulation. target-alpha: Add CLIPPER emulation. target-alpha: Add CLIPPER emulation. target-alpha: Imp

[Qemu-devel] [PATCH 4/6] target-alpha: Implement WAIT IPR.

2011-08-25 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/translate.c | 31 +-- 1 files changed, 21 insertions(+), 10 deletions(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index 1e224a2..86343df 100644 --- a/target-alpha/translate.c +++ b/target-alph

[Qemu-devel] [PATCH 6/6] target-alpha: Add high-resolution access to wall clock and an alarm.

2011-08-25 Thread Richard Henderson
The alarm is a fully general one-shot time comparator, which will be usable under Linux as a hrtimer source. It's much more flexible than the RTC source available on real hardware. The wall clock allows the guest access to the host timekeeping. Much like the KVM wall clock source for other guest

[Qemu-devel] [PATCH 3/6] target-alpha: Add CLIPPER emulation.

2011-08-25 Thread Richard Henderson
This is a DP264 variant, SMP capable, no unusual hardware present. The emulation does not currently include any PCI IOMMU code. Hopefully the generic support for that can be merged to HEAD soon. Signed-off-by: Richard Henderson --- Makefile.target |1 + default-configs/alp

[Qemu-devel] [PATCH 1/6] target-alpha: Add custom PALcode image for CLIPPER emulation.

2011-08-25 Thread Richard Henderson
Signed-off-by: Richard Henderson --- .gitmodules |3 +++ Makefile|3 ++- configure |8 +++- pc-bios/README |3 +++ pc-bios/palcode-clipper | Bin 0 -> 185703 bytes roms/qemu-palcode |1 + 6 files changed, 16 inserti

Re: [Qemu-devel] Guest kernel device compatability auto-detection

2011-08-25 Thread Anthony Liguori
On 08/25/2011 12:21 AM, Sasha Levin wrote: Hi, Currently when we run the guest we treat it as a black box, we're not quite sure what it's going to start and whether it supports the same features we expect it to support when running it from the host. This forces us to start the guest with the sa

[Qemu-devel] [PATCH 2/6] target-alpha: Add CLIPPER emulation.

2011-08-25 Thread Richard Henderson
This is a DP264 variant, SMP capable, no unusual hardware present. The emulation does not currently include any PCI IOMMU code. Hopefully the generic support for that can be merged to HEAD soon. Signed-off-by: Richard Henderson --- hw/alpha_typhoon.c | 794 +

Re: [Qemu-devel] [PULL][PATCH 0/6] Alpha system emulation, v9

2011-08-25 Thread Richard Henderson
On 08/25/2011 11:45 AM, Richard Henderson wrote: > Changes v8->v9 > * Updates for memory api. > > Please pull from > > git://repo.or.cz/qemu/rth.git axp-system-7 > > > r~ > > > Richard Henderson (6): > target-alpha: Add custom PALcode image for CLIPPER emulation. > target-alpha: Add

[Qemu-devel] [PATCH 5/6] target-alpha: Implement HALT IPR.

2011-08-25 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/helper.h|1 + target-alpha/op_helper.c | 10 ++ target-alpha/translate.c |5 + 3 files changed, 16 insertions(+), 0 deletions(-) diff --git a/target-alpha/helper.h b/target-alpha/helper.h index 2dec57e..c352c24 100644 --

Re: [Qemu-devel] [PATCH] qed: make qed_alloc_clusters round up offset to nearest cluster

2011-08-25 Thread Devin Nakamura
Works fine for me On Thu, Aug 25, 2011 at 5:33 AM, Stefan Hajnoczi wrote: > On Tue, Aug 23, 2011 at 02:38:00PM +0200, Kevin Wolf wrote: >> Am 16.08.2011 01:16, schrieb Devin Nakamura: >> > Signed-off-by: Devin Nakamura >> > --- >> >  block/qed.c |    2 ++ >> >  1 files changed, 2 insertions(+),

[Qemu-devel] [PATCH] xilinx: Convert most xilinx devices to MemoryRegion

2011-08-25 Thread Edgar E. Iglesias
Hi, This converts most of the Xilinx devices to MemoryRegion. I dont have a little endian image with axi dma & enet readily available, so I'll do those later. Avi, if you want to keep your queue short, just Ack and I'll apply this. But feel free to take this via your tree if you prefer. Cheers

Re: [Qemu-devel] [PATCH] vga: Silence bogus gcc warning about uninitialized variables

2011-08-25 Thread Anthony Liguori
On 08/25/2011 04:10 AM, Jan Kiszka wrote: Some gcc versions do not properly detect that all possible cases are covered and base and size are always initialized. Please gcc by defining a pseudo default case. Signed-off-by: Jan Kiszka Applied. Thanks. Regards, Anthony Liguori --- hw/vga.c

Re: [Qemu-devel] [PATCH 6/6] target-alpha: Add high-resolution access to wall clock and an alarm.

2011-08-25 Thread Peter Maydell
On 25 August 2011 22:45, Richard Henderson wrote: > @@ -1604,6 +1607,12 @@ static void gen_mfpr(int ra, int regno) >         return; >     } > > +    if (regno == 250) { > +        /* WALL_TIME */ > +        gen_helper_get_time(cpu_ir[ra]); > +        return; > +    } > + >     /* The basic regist

Re: [Qemu-devel] [PATCH 1/6] target-alpha: Add custom PALcode image for CLIPPER emulation.

2011-08-25 Thread Peter Maydell
2011/8/25 Richard Henderson : > diff --git a/.gitmodules b/.gitmodules > index 7884471..528743d 100644 > --- a/.gitmodules > +++ b/.gitmodules > @@ -10,3 +10,6 @@ >  [submodule "roms/ipxe"] >        path = roms/ipxe >        url = git://git.qemu.org/ipxe.git > +[submodule "roms/qemu-palcode"] > +  

Re: [Qemu-devel] kvm PCI assignment & VFIO ramblings

2011-08-25 Thread David Gibson
On Wed, Aug 24, 2011 at 01:03:32PM +0200, Roedel, Joerg wrote: > On Wed, Aug 24, 2011 at 05:33:00AM -0400, David Gibson wrote: > > On Wed, Aug 24, 2011 at 11:14:26AM +0200, Roedel, Joerg wrote: > > > > I don't see a reason to make this meta-grouping static. It would harm > > > flexibility on x86.

Re: [Qemu-devel] kvm PCI assignment & VFIO ramblings

2011-08-25 Thread David Gibson
On Thu, Aug 25, 2011 at 08:25:45AM -0500, Alexander Graf wrote: > > On 25.08.2011, at 07:31, Roedel, Joerg wrote: > > > On Wed, Aug 24, 2011 at 11:07:46AM -0400, Alex Williamson wrote: > >> On Wed, 2011-08-24 at 10:52 +0200, Roedel, Joerg wrote: > > > > [...] > > >> We need to try the polite m

[Qemu-devel] Missing barriers in hw/virtio.c

2011-08-25 Thread David Gibson
Near the top of hw/virtio.c we have this: /* QEMU doesn't strictly need write barriers since everything runs in * lock-step. We'll leave the calls to wmb() in though to make it obvious for * KVM or if kqemu gets SMP support. * In any case, we must prevent the compiler from reordering the code

[Qemu-devel] buildbot failure in qemu on ppc-next_i386_debian_6_0

2011-08-25 Thread qemu
The Buildbot has detected a new failure on builder ppc-next_i386_debian_6_0 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/ppc-next_i386_debian_6_0/builds/11 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: yuzuki Bui

[Qemu-devel] buildbot failure in qemu on ppc-next_x86_64_debian_6_0

2011-08-25 Thread qemu
The Buildbot has detected a new failure on builder ppc-next_x86_64_debian_6_0 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/ppc-next_x86_64_debian_6_0/builds/11 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: yuzuki

Re: [Qemu-devel] Guest kernel device compatability auto-detection

2011-08-25 Thread Sasha Levin
On Thu, 2011-08-25 at 16:48 -0500, Anthony Liguori wrote: > On 08/25/2011 12:21 AM, Sasha Levin wrote: > > Hi, > > > > Currently when we run the guest we treat it as a black box, we're not > > quite sure what it's going to start and whether it supports the same > > features we expect it to support

Re: [Qemu-devel] Guest kernel device compatability auto-detection

2011-08-25 Thread Sasha Levin
On Thu, 2011-08-25 at 16:25 +, Decker, Schorschi wrote: > I would ask two things be done in the design if it goes forward, 1) > have an explicit way to disable this feature, where the hypervisor > cannot interact with the guest OS directly in any way if disablement > is selected. I doubt that

Re: [Qemu-devel] Missing barriers in hw/virtio.c

2011-08-25 Thread Paolo Bonzini
On 08/26/2011 07:40 AM, David Gibson wrote: Near the top of hw/virtio.c we have this: /* QEMU doesn't strictly need write barriers since everything runs in * lock-step. We'll leave the calls to wmb() in though to make it obvious for * KVM or if kqemu gets SMP support. * In any case, we

[Qemu-devel] Optimisez vos couts en modernisant votre standard telephonique

2011-08-25 Thread Azal marketing
Si ce message ne s'affiche pas correctement, visualisez la version en ligne. AZAL Marketing Services Votre conseiller auprès des revendeurs de standard téléphonique. Nos revendeurs sont agréés par les plus grandes marques comme Alcatel et Siemens Pourquoi se préoccuper de votre installation tél

<    1   2   3