[Qemu-devel] [PATCH 3/8] ppc: Use a helper to filter writes to LPCR

2016-06-26 Thread Cédric Le Goater
From: Benjamin Herrenschmidt This handles filtering bits based on what is implemented by a given architecture version. We also use it to copy to LPCR some of the relevant 970 HID4 bits. Signed-off-by: Benjamin Herrenschmidt [clg: fixed checkpatch.pl errors ] Signed-off-by: Cédric Le Goater ---

[Qemu-devel] [PATCH 2/8] ppc: Update LPCR definitions

2016-06-26 Thread Cédric Le Goater
From: Benjamin Herrenschmidt Includes all the bits up to ISA 2.07 Signed-off-by: Benjamin Herrenschmidt [clg: fixed checkpatch.pl errors ] Signed-off-by: Cédric Le Goater --- target-ppc/cpu.h | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/target-ppc/cpu.

[Qemu-devel] [PATCH 1/8] ppc: Add a bunch of hypervisor SPRs to Book3s

2016-06-26 Thread Cédric Le Goater
From: Benjamin Herrenschmidt We don't give them a KVM reg number yet as no current KVM version supports HV mode. Signed-off-by: Benjamin Herrenschmidt [clg: SPRs AMOR,DAWR,DARWX were already included in commit f401dd32cb8e9] Signed-off-by: Cédric Le Goater --- target-ppc/translate_init.c | 11

Re: [Qemu-devel] [PULL 07/17] ppc: Fix rfi/rfid/hrfi/... emulation

2016-06-26 Thread Benjamin Herrenschmidt
On Mon, 2016-06-27 at 16:48 +1000, David Gibson wrote: > > I wonder if prom_init should "touch" the entire kernel for safety, > > but in any case, OpenBIOS need that fix urgently. > > Ah, ok, I hadn't realized that OpenBIOS still failed to boot, just > later in the process with this hunk left out.

Re: [Qemu-devel] [PATCH v2 1/1] spapr: Set compat type for CPUs of a core

2016-06-26 Thread David Gibson
On Mon, Jun 27, 2016 at 11:49:46AM +0530, Bharata B Rao wrote: > Compat CPU type is typically specified on -cpu cmdline option like: > -cpu host,compat=power7 or -cpu POWER8E,compat=power7 etc. When > compat is specified on -cpu cmdline, apply the same to all the > CPUs that get created as part of

Re: [Qemu-devel] [PATCH 00/13] virtio migration: Flip outer layer to vmstate

2016-06-26 Thread Amit Shah
On (Tue) 21 Jun 2016 [20:13:54], Dr. David Alan Gilbert (git) wrote: > From: "Dr. David Alan Gilbert" > > Hi, > This series converts the outer most layer of virtio to > use VMState macros; this is the easy bit, but I'm hoping that > having done that, the next trick is to nibble away at the vir

Re: [Qemu-devel] [PULL 07/17] ppc: Fix rfi/rfid/hrfi/... emulation

2016-06-26 Thread David Gibson
On Mon, Jun 27, 2016 at 02:42:08PM +1000, Benjamin Herrenschmidt wrote: > On Thu, 2016-06-23 at 15:48 +1000, David Gibson wrote: > > From: Benjamin Herrenschmidt > > > > This reworks emulation of the various "rfi" variants. I removed > > some masking bits that I couldn't make sense of, the only b

Re: [Qemu-devel] [RFC PATCH 1/1] OpenBIOS: Switch over to official OpenBIOS git repo

2016-06-26 Thread Mark Cave-Ayland
On 21/06/16 14:48, Mark Cave-Ayland wrote: > On 21/06/16 11:28, Stefan Hajnoczi wrote: > >> On Tue, Jun 21, 2016 at 01:40:42AM -0400, Jeff Cody wrote: >>> This update should preserve git history, and allow seamless switching >>> over to the official openbios git repo, rather than pulling from the

Re: [Qemu-devel] [PATCH 01/13] virtio-net: Remove old migration version support

2016-06-26 Thread Amit Shah
On (Tue) 21 Jun 2016 [20:13:55], Dr. David Alan Gilbert (git) wrote: > From: "Dr. David Alan Gilbert" > > virtio-net has had version 11 since 0ce0e8f4 in 2009 > (v0.11.0-rc0-1480-g0ce0e8f) - remove the code to support loading > anything earlier. > > Signed-off-by: Dr. David Alan Gilbert Review

Re: [Qemu-devel] [PATCH 02/13] virtio-serial: Remove old migration version support

2016-06-26 Thread Amit Shah
On (Tue) 21 Jun 2016 [20:13:56], Dr. David Alan Gilbert (git) wrote: > From: "Dr. David Alan Gilbert" > > virtio-serial-bus has had version 3 since 37f95bf3d0 in 0.13-rc0; > it's time to clean it up a bit. > > Signed-off-by: Dr. David Alan Gilbert Reviewed-by: Amit Shah Amit

Re: [Qemu-devel] [PULL 07/17] ppc: Fix rfi/rfid/hrfi/... emulation

2016-06-26 Thread Mark Cave-Ayland
On 27/06/16 05:42, Benjamin Herrenschmidt wrote: > On Thu, 2016-06-23 at 15:48 +1000, David Gibson wrote: >> From: Benjamin Herrenschmidt >> >> This reworks emulation of the various "rfi" variants. I removed >> some masking bits that I couldn't make sense of, the only bit that >> I am aware we sh

Re: [Qemu-devel] [PATCH] hw/arm/virt: gicv3: use all target-list bits

2016-06-26 Thread Andrew Jones
On Fri, Jun 24, 2016 at 06:27:20PM +0100, Peter Maydell wrote: > On 24 June 2016 at 18:22, Andrew Jones wrote: > > On Fri, Jun 24, 2016 at 05:41:55PM +0100, Peter Maydell wrote: > >> KVM AArch32 is 4 CPUs per cluster: > >> http://lxr.free-electrons.com/source/arch/arm/kvm/coproc.c#L109 > > > > Hmm

Re: [Qemu-devel] [PATCH RFC v2 3/5] tests: Make check-block a phony target

2016-06-26 Thread Markus Armbruster
Eric Blake writes: > On 06/24/2016 08:19 AM, Markus Armbruster wrote: >> Forgotten in commit b8c6f29. > > Umm, really? That commit starts with: > > tests/Makefile > -.PHONY: check > + > +.PHONY: check check-block > > Rather, I think it was b93b63f5 that accidentally lost it during an > overhaul.

Re: [Qemu-devel] [PATCH RFC v2 2/5] tests: New make target check-source

2016-06-26 Thread Markus Armbruster
Peter Maydell writes: > On 24 June 2016 at 15:19, Markus Armbruster wrote: >> For now, this tests just a bit of header sanity: for each header >> "FOO.h", test whether >> >> #include "qemu/osdep.h" >> #include "FOO.h" >> #include "FOO.h" >> >> compiles. A large number of

Re: [Qemu-devel] [PATCH RFC v2 1/5] Use #include "..." exactly for our own headers

2016-06-26 Thread Markus Armbruster
Eric Blake writes: > On 06/24/2016 08:19 AM, Markus Armbruster wrote: >> Signed-off-by: Markus Armbruster >> Reviewed-by: Peter Maydell > > Worth mentioning how you found the culprits in the commit message, so > that someone could repeat the task when backporting this patch or > dealing with fu

Re: [Qemu-devel] [PATCH] qdev: Workaround for an issue caused by noglob option of shell for -device ?

2016-06-26 Thread Markus Armbruster
Lin Ma writes: > If there is any filename in current path matching wildcard ?, This filename > will > be passed into -device ? while 'pathname expansion' isn't disabled by noglob > of > shell built-in option, qemu reports error in this case. > > Signed-off-by: Lin Ma > --- > qdev-monitor.c |

[Qemu-devel] [PATCH v2 1/1] spapr: Set compat type for CPUs of a core

2016-06-26 Thread Bharata B Rao
Compat CPU type is typically specified on -cpu cmdline option like: -cpu host,compat=power7 or -cpu POWER8E,compat=power7 etc. When compat is specified on -cpu cmdline, apply the same to all the CPUs that get created as part of CPU core devices. This patch takes care of compat property that is spe

Re: [Qemu-devel] [RFC PATCH v1 1/1] spapr: Support setting of compat CPU type for CPU cores

2016-06-26 Thread Bharata B Rao
On Thu, Jun 23, 2016 at 04:05:14PM +1000, David Gibson wrote: > On Wed, Jun 22, 2016 at 12:53:49PM +0530, Bharata B Rao wrote: > > Compat CPU type is typically specified on -cpu cmdline option like: > > -cpu host,compat=power7 or -cpu POWER8E,compat=power7 etc. > > With the introduction of sPAPR CP

Re: [Qemu-devel] [PATCH v1 11/11] ppc/xics: Add xics to the monitor "info pic" command

2016-06-26 Thread Benjamin Herrenschmidt
On Mon, 2016-06-27 at 14:48 +1000, David Gibson wrote: > I'm a bit dubious about this, since I'm not sure info pic really has > much purpose at all.  I posted a patch a while back to remove it > entirely, but it didn't go far for lack of interested, and so far I > didn't get time to revisit it and

Re: [Qemu-devel] [PATCH v1 06/11] ppc/xics: Make the ICSState a list

2016-06-26 Thread Nikunj A Dadhania
David Gibson writes: > [ Unknown signature status ] > On Mon, Jun 27, 2016 at 10:26:42AM +0530, Nikunj A Dadhania wrote: >> David Gibson writes: >> >> > [ Unknown signature status ] >> > On Thu, Jun 23, 2016 at 11:17:25PM +0530, Nikunj A Dadhania wrote: >> >> From: Benjamin Herrenschmidt >> >>

Re: [Qemu-devel] [PATCH] target-ppc: Eliminate redundant and incorrect function booke206_page_size_to_tlb

2016-06-26 Thread David Gibson
On Sun, Jun 26, 2016 at 09:38:03PM -0500, alar...@ddci.com wrote: > David Gibson wrote on 06/26/2016 08:36:52 > PM: > > > From: David Gibson > > To: Aaron Larson > > Cc: ag...@suse.de, qemu-devel@nongnu.org, qemu-...@nongnu.org > > Date: 06/26/2016 08:58 PM > > Subject: Re: [PATCH] target-ppc:

Re: [Qemu-devel] [PATCH v1 06/11] ppc/xics: Make the ICSState a list

2016-06-26 Thread David Gibson
On Mon, Jun 27, 2016 at 10:26:42AM +0530, Nikunj A Dadhania wrote: > David Gibson writes: > > > [ Unknown signature status ] > > On Thu, Jun 23, 2016 at 11:17:25PM +0530, Nikunj A Dadhania wrote: > >> From: Benjamin Herrenschmidt > >> > >> Instead of an array of fixed sized blocks, use a list,

[Qemu-devel] [PULL 4/4] qapi: keep names in 'CpuInstanceProperties' in sync with struct CPUCore

2016-06-26 Thread David Gibson
From: Peter Krempa struct CPUCore uses 'id' suffix in the property name. As docs for query-hotpluggable-cpus state that the cpu core properties should be passed back to device_add by management in case new members are added and thus the names for the fields should be kept in sync. Signed-off-by:

[Qemu-devel] [PULL 0/4] ppc-for-2.7 queue 20160627

2016-06-26 Thread David Gibson
The following changes since commit a01aef5d2f96c334d048f43f0d3573a1152b37ca: Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging (2016-06-24 11:00:15 +0100) are available in the git repository at: git://github.com/dgibson/qemu.git tags/ppc-for-2.7-20160627 for you to

[Qemu-devel] [PULL 3/4] qapi: Report support for -device cpu hotplug in query-machines

2016-06-26 Thread David Gibson
From: Peter Krempa For management apps it's very useful to know whether the selected machine type supports cpu hotplug via the new -device approach. Using the presence of 'query-hotpluggable-cpus' alone is not enough as a witness. Add a property to 'MachineInfo' called 'hotpluggable-cpus' that w

[Qemu-devel] [PULL 2/4] ppc/xics: Remove unused xics_set_irq_type()

2016-06-26 Thread David Gibson
From: Benjamin Herrenschmidt Signed-off-by: Benjamin Herrenschmidt Reviewed-by: David Gibson Signed-off-by: Nikunj A Dadhania [dwg: Adjusted for context to apply without original series] Signed-off-by: David Gibson --- hw/intc/xics.c| 11 --- include/hw/ppc/xics.h | 1 - 2 f

[Qemu-devel] [PULL 1/4] target-ppc: ppce500_spin.c uses SPR_PIR, should use SPR_BOOKE_PIR

2016-06-26 Thread David Gibson
From: Aaron Larson ppce500_spin.c uses SPR_PIR to initialize the spin table, however on Book E processors the correct SPR is SPR_BOOKE_PIR. Signed-off-by: Aaron Larson Signed-off-by: David Gibson --- hw/ppc/ppce500_spin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/

Re: [Qemu-devel] [PATCH v1 09/11] ppc/xics: Split ICS into ics-base and ics class

2016-06-26 Thread Nikunj A Dadhania
David Gibson writes: > [ Unknown signature status ] > On Thu, Jun 23, 2016 at 11:17:28PM +0530, Nikunj A Dadhania wrote: >> From: Benjamin Herrenschmidt >> >> The existing implementation remains same and ics-base is introduced. >> >> This will allow different implementations for the source con

Re: [Qemu-devel] [PATCH 0/2] memory/intel_iommu: Generate error for incompatible usage

2016-06-26 Thread Alex Williamson
On Mon, 27 Jun 2016 14:46:12 +1000 Alexey Kardashevskiy wrote: > On 16/06/16 11:43, Alexey Kardashevskiy wrote: > > On 16/06/16 01:56, Alex Williamson wrote: > >> VT-d emulation is currently incompatible with device assignment due > >> to intel_iommu's lack of support for memory_region_notify_i

Re: [Qemu-devel] [PATCH v1 06/11] ppc/xics: Make the ICSState a list

2016-06-26 Thread Nikunj A Dadhania
David Gibson writes: >> static void xics_kvm_class_init(ObjectClass *oc, void *data) >> diff --git a/hw/intc/xics_spapr.c b/hw/intc/xics_spapr.c >> index eda15a6..b03dd0d 100644 >> --- a/hw/intc/xics_spapr.c >> +++ b/hw/intc/xics_spapr.c >> @@ -113,10 +113,10 @@ static void rtas_set_xive(PowerPC

Re: [Qemu-devel] [PATCH v1 06/11] ppc/xics: Make the ICSState a list

2016-06-26 Thread Nikunj A Dadhania
David Gibson writes: > [ Unknown signature status ] > On Thu, Jun 23, 2016 at 11:17:25PM +0530, Nikunj A Dadhania wrote: >> From: Benjamin Herrenschmidt >> >> Instead of an array of fixed sized blocks, use a list, as we will need >> to have sources with variable number of interrupts. SPAPR only

Re: [Qemu-devel] [PATCH v1 06/11] ppc/xics: Make the ICSState a list

2016-06-26 Thread David Gibson
On Thu, Jun 23, 2016 at 11:17:25PM +0530, Nikunj A Dadhania wrote: > From: Benjamin Herrenschmidt > > Instead of an array of fixed sized blocks, use a list, as we will need > to have sources with variable number of interrupts. SPAPR only uses > a single entry. Native will create more. If performa

Re: [Qemu-devel] [PATCH v1 09/11] ppc/xics: Split ICS into ics-base and ics class

2016-06-26 Thread David Gibson
On Thu, Jun 23, 2016 at 11:17:28PM +0530, Nikunj A Dadhania wrote: > From: Benjamin Herrenschmidt > > The existing implementation remains same and ics-base is introduced. > > This will allow different implementations for the source controllers > such as the MSI support of PHB3 on Power8 which us

Re: [Qemu-devel] [PATCH v1 08/11] ppc/xics: Use a helper to add a new ICS

2016-06-26 Thread David Gibson
On Thu, Jun 23, 2016 at 11:17:27PM +0530, Nikunj A Dadhania wrote: > From: Benjamin Herrenschmidt > > Signed-off-by: Benjamin Herrenschmidt > [Move object allocation and adding child to the helper] > Signed-off-by: Nikunj A Dadhania Reviewed-by: David Gibson > --- > hw/intc/xics.c|

Re: [Qemu-devel] [PATCH v1 10/11] ppc/xics: Add "native" XICS subclass

2016-06-26 Thread David Gibson
On Thu, Jun 23, 2016 at 11:17:29PM +0530, Nikunj A Dadhania wrote: > From: Benjamin Herrenschmidt > > This provides MMIO based ICP access as found on POWER8 > > Signed-off-by: Benjamin Herrenschmidt > Signed-off-by: Nikunj A Dadhania > --- > default-configs/ppc64-softmmu.mak | 3 +- > hw/in

Re: [Qemu-devel] [PATCH v1 11/11] ppc/xics: Add xics to the monitor "info pic" command

2016-06-26 Thread David Gibson
On Thu, Jun 23, 2016 at 11:17:30PM +0530, Nikunj A Dadhania wrote: > From: Benjamin Herrenschmidt > > Useful to debug interrupt problems. I'm a bit dubious about this, since I'm not sure info pic really has much purpose at all. I posted a patch a while back to remove it entirely, but it didn't

Re: [Qemu-devel] [PATCH 0/2] memory/intel_iommu: Generate error for incompatible usage

2016-06-26 Thread Alexey Kardashevskiy
On 16/06/16 11:43, Alexey Kardashevskiy wrote: > On 16/06/16 01:56, Alex Williamson wrote: >> VT-d emulation is currently incompatible with device assignment due >> to intel_iommu's lack of support for memory_region_notify_iommu(). >> Alexey has proposed a nice addition to the MemoryRegionIOMMUOps

Re: [Qemu-devel] [PULL 07/17] ppc: Fix rfi/rfid/hrfi/... emulation

2016-06-26 Thread Benjamin Herrenschmidt
On Thu, 2016-06-23 at 15:48 +1000, David Gibson wrote: > From: Benjamin Herrenschmidt > > This reworks emulation of the various "rfi" variants. I removed > some masking bits that I couldn't make sense of, the only bit that > I am aware we should mask here is POW, the CPU's MSR mask should > take

Re: [Qemu-devel] [PATCH v1 05/11] ppc/xics: Replace "icp" with "xics" in most places

2016-06-26 Thread David Gibson
On Thu, Jun 23, 2016 at 11:17:24PM +0530, Nikunj A Dadhania wrote: > From: Benjamin Herrenschmidt > > The "ICP" is a different object than the "XICS". For historical reasons, > we have a number of places where we name a variable "icp" while it contains > a XICSState pointer. There *is* an ICPStat

Re: [Qemu-devel] [PATCH v2 0/2] qapi: Fix up cpu hotplug property names and add witness for cpu hotplug support

2016-06-26 Thread David Gibson
On Fri, Jun 24, 2016 at 03:38:51PM +1000, David Gibson wrote: > On Fri, 24 Jun 2016 07:31:39 +0200 > Igor Mammedov wrote: > > > On Fri, 24 Jun 2016 13:00:56 +1000 > > David Gibson wrote: > > > > > On Thu, 23 Jun 2016 23:23:32 +0200 > > > Peter Krempa wrote: > > > > > > > Version 2: > > > >

Re: [Qemu-devel] [RFC 0/9] Introduce light weight PC platform pc-lite

2016-06-26 Thread Claudio Fontana
Hi Paolo, On 24.06.2016 14:53, Paolo Bonzini wrote: > > > On 24/06/2016 08:41, Claudio Fontana wrote: >>> I use qboot for similar goals, you mention that PAM is necessary because of >>> how qboot probes parallel flash, >>> however in my custom platform I removed PAM completely from QEMU, and >

Re: [Qemu-devel] [PATCH 1/3] qapi: Report support for -device cpu hotplug in query-machines

2016-06-26 Thread David Gibson
On Fri, 24 Jun 2016 09:21:18 +0200 Peter Krempa wrote: > On Fri, Jun 24, 2016 at 16:56:21 +1000, David Gibson wrote: > > On Fri, 24 Jun 2016 07:41:11 +0200 > > Peter Krempa wrote: > > > > > On Fri, Jun 24, 2016 at 14:56:51 +1000, David Gibson wrote: > > > > > > [...] > > > > > > > > You a

Re: [Qemu-devel] [PATCH] target-ppc: Eliminate redundant and incorrect function booke206_page_size_to_tlb

2016-06-26 Thread alarson
David Gibson wrote on 06/26/2016 08:36:52 PM: > From: David Gibson > To: Aaron Larson > Cc: ag...@suse.de, qemu-devel@nongnu.org, qemu-...@nongnu.org > Date: 06/26/2016 08:58 PM > Subject: Re: [PATCH] target-ppc: Eliminate redundant and incorrect function booke206_page_size_to_tlb > > On Fri

Re: [Qemu-devel] [virtio-comment] [PATCH] *** Vhost-pci RFC v2 ***

2016-06-26 Thread Wang, Wei W
On Sun 6/19/2016 10:14 PM, Wei Wang wrote: > This RFC proposes a design of vhost-pci, which is a new virtio device type. > The vhost-pci device is used for inter-VM communication. > > Changes in v2: > 1. changed the vhost-pci driver to use a controlq to send acknowledgement >messages to the vh

Re: [Qemu-devel] [PATCH] target-ppc: ppce500_spin.c uses SPR_PIR, should use SPR_BOOKE_PIR

2016-06-26 Thread David Gibson
On Sat, Jun 25, 2016 at 09:55:13AM +0200, Thomas Huth wrote: > On 24.06.2016 04:27, David Gibson wrote: > > On Thu, Jun 23, 2016 at 03:35:17PM -0700, Aaron Larson wrote: > >> > >> ppce500_spin.c uses SPR_PIR to initialize the spin table, however on > >> Book E processors the correct SPR is SPR_BOOK

Re: [Qemu-devel] [PATCH] target-ppc: gen_pause for instructions: yield, mdoio, mdoom, miso

2016-06-26 Thread David Gibson
On Fri, Jun 24, 2016 at 01:18:28PM -0700, Aaron Larson wrote: > > Call gen_pause for all "or rx,rx,rx" encodings other nop. This > provides a reasonable implementation for yield, and a better > approximation for mdoio, mdoom, and miso. The choice to pause for all > encodings !=0 leverages the Po

Re: [Qemu-devel] [PATCH] target-ppc: Eliminate redundant and incorrect function booke206_page_size_to_tlb

2016-06-26 Thread David Gibson
On Fri, Jun 24, 2016 at 12:11:00PM -0700, Aaron Larson wrote: > > Eliminate redundant and incorrect booke206_page_size_to_tlb function > from ppce500_spin.c in preference to previously existing but newly > exported definition from e500.c > > Signed-off-by: Aaron Larson Uh.. sorry.. can you prov

Re: [Qemu-devel] [PATCH] hw/sh4: Add dtb support

2016-06-26 Thread Aurelien Jarno
On 2016-06-19 14:34, Yoshinori Sato wrote: > New SH kernel use dtb. Do you have a pointer to the corresponding kernel code? I can't find in linus' tree. > This patch add dtb support for R2D board emulation. > > Signed-off-by: Yoshinori Sato > --- > hw/sh4/r2d.c | 52 +++

[Qemu-devel] [PATCH] linux-user: convert sockaddr_ll from host to target

2016-06-26 Thread Laurent Vivier
As we convert sockaddr for AF_PACKET family for sendto() (target to host) we need also to convert this for getsockname() (host to target). arping uses getsockname() to get the the interface address and uses this address with sendto(). Tested with: /sbin/arping -D -q -c2 -I eno1 192.168.122.8

[Qemu-devel] [PULL 01/10] softfloat: Implement run-time-configurable meaning of signaling NaN bit

2016-06-26 Thread Leon Alrae
From: Aleksandar Markovic This patch modifies SoftFloat library so that it can be configured in run-time in relation to the meaning of signaling NaN bit, while, at the same time, strictly preserving its behavior on all existing platforms. Background: In floating-point calculations, there is a n

[Qemu-devel] [PULL 07/10] target-mips: Add abs2008 flavor of .

2016-06-26 Thread Leon Alrae
From: Aleksandar Markovic Updated handling of instructions .. Note that legacy (pre-abs2008) ABS and NEG instructions are arithmetic (and, therefore, any NaN operand causes signaling invalid operation), while abs2008 ones are non-arithmetic, always and only changing the sign bit, even for NaN-lik

[Qemu-devel] [PULL 10/10] target-mips: Add FCR31's FS bit definition

2016-06-26 Thread Leon Alrae
From: Aleksandar Markovic Add preprocessor definition of FCR31's FS bit, and update related code for setting this bit. Signed-off-by: Aleksandar Markovic Reviewed-by: Leon Alrae Signed-off-by: Leon Alrae --- target-mips/cpu.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --gi

[Qemu-devel] [PULL 06/10] target-mips: Activate IEEE 754-2008 signaling NaN bit meaning for MSA

2016-06-26 Thread Leon Alrae
From: Aleksandar Markovic Function msa_reset() is updated so that flag snan_bit_is_one is properly set to 0. By applying this patch, a number of incorrect MSA behaviors that require IEEE 754-2008 compliance will be fixed. Those are behaviors that (up to the moment of applying this patch) did not

[Qemu-devel] [PULL 04/10] softfloat: Handle snan_bit_is_one == 0 in MIPS pickNaNMulAdd()

2016-06-26 Thread Leon Alrae
From: Aleksandar Markovic Only for Mips platform, and only for cases when snan_bit_is_one is 0, correct the order of argument comparisons in pickNaNMulAdd(). For more info, see [1], page 53, section "3.5.3 NaN Propagation". [1] "MIPS Architecture for Programmers Volume IV-j: The MIPS32 SIMD

[Qemu-devel] [PULL 05/10] linux-user: Update preprocessor constants for Mips-specific e_flags bits

2016-06-26 Thread Leon Alrae
From: Aleksandar Markovic Missing values EF_MIPS_FP64 and EF_MIPS_NAN2008 added. Signed-off-by: Thomas Schwinge Signed-off-by: Maciej W. Rozycki Signed-off-by: Aleksandar Markovic Reviewed-by: Leon Alrae Reviewed-by: Peter Maydell Signed-off-by: Leon Alrae --- include/elf.h | 2 ++ 1 file

[Qemu-devel] [PULL 08/10] target-mips: Add nan2008 flavor of ..

2016-06-26 Thread Leon Alrae
From: Aleksandar Markovic New set of helpers for handling nan2008-syle versions of instructions .., for Mips R6. All involved instructions have float operand and integer result. Their core functionality is implemented via invocations of appropriate SoftFloat functions. The problematic cases are

[Qemu-devel] [PULL 09/10] target-mips: Implement FCR31's R/W bitmask and related functionalities

2016-06-26 Thread Leon Alrae
From: Aleksandar Markovic This patch implements read and write access rules for Mips floating point control and status register (FCR31). The change can be divided into following parts: - Add fields that will keep FCR31's R/W bitmask in procesor definitions and processor float_status structure.

[Qemu-devel] [PULL 02/10] softfloat: Clean code format in fpu/softfloat-specialize.h

2016-06-26 Thread Leon Alrae
From: Aleksandar Markovic fpu/softfloat-specialize.h is the most critical file in SoftFloat library, since it handles numerous differences between platforms in relation to floating point arithmetics. This patch makes the code in this file more consistent format-wise, and hopefully easier to debug

[Qemu-devel] [PULL 03/10] softfloat: For Mips only, correct default NaN values

2016-06-26 Thread Leon Alrae
From: Aleksandar Markovic Only for Mips platform, and only for cases when snan_bit_is_one is 0, correct default NaN values (in their 16-, 32-, and 64-bit flavors). For more info, see [1], page 84, Table 6.3 "Value Supplied When a New Quiet NaN Is Created", and [2], page 52, Table 3.7 "Default Na

[Qemu-devel] [PULL 00/10] target-mips queue

2016-06-26 Thread Leon Alrae
Hi, This pull request contains patches from Aleksandar which unlock the IEEE 754-2008 support for MIPS. Thanks, Leon Cc: Peter Maydell Cc: Aurelien Jarno The following changes since commit c7288767523f6510cf557707d3eb5e78e519b90d: Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-

Re: [Qemu-devel] [PATCH v10 16/26] intel_iommu: add support for split irqchip

2016-06-26 Thread Jan Kiszka
On 2016-06-26 03:48, Peter Xu wrote: > On Sat, Jun 25, 2016 at 05:18:40PM +0200, Jan Kiszka wrote: >> On 2016-06-25 15:18, Peter Xu wrote: >>> On Sat, Jun 25, 2016 at 10:08:10AM +0200, Jan Kiszka wrote: > > [...] > >>> I have a thought on how to implement the "sink" you have mentioned: >>> >>> Fi

[Qemu-devel] [PATCH] qdev: Workaround for an issue caused by noglob option of shell for -device ?

2016-06-26 Thread Lin Ma
If there is any filename in current path matching wildcard ?, This filename will be passed into -device ? while 'pathname expansion' isn't disabled by noglob of shell built-in option, qemu reports error in this case. Signed-off-by: Lin Ma --- qdev-monitor.c | 5 + 1 file changed, 5 insertion

[Qemu-devel] [PATCH L10N v3 1/1] Added Bulgarian translation

2016-06-26 Thread Alexander Shopov
Signed-off-by: Alexander Shopov --- po/bg.po | 90 1 file changed, 90 insertions(+) create mode 100644 po/bg.po diff --git a/po/bg.po b/po/bg.po new file mode 100644 index 000..5047861 --- /dev/null +++ b/po/bg.po @@ -0,0 +1,9

[Qemu-devel] [PATCH L10N v3 1/1] Added Bulgarian translation

2016-06-26 Thread Alexander Shopov
Signed-off-by: Alexander Shopov --- po/bg.po | 90 1 file changed, 90 insertions(+) create mode 100644 po/bg.po diff --git a/po/bg.po b/po/bg.po new file mode 100644 index 000..5047861 --- /dev/null +++ b/po/bg.po @@ -0,0 +1,9

[Qemu-devel] [PATCH L10N v3 0/1] Added Bulgarian translation

2016-06-26 Thread Alexander Shopov
Hello, I am sending Bulgarian transation of qemu gtk interface for the 3rd time. Bulgarian is a South Slavic language spoken in Bulgaria - SE Europe. It is written in Cyrillic alphabet. I am Alexander Shopov - coordinator of the Bulgarian GNOME translation project. I am cc-ing to trivial patches as

[Qemu-devel] [PATCH L10N v3 0/1] Added Bulgarian translation

2016-06-26 Thread Alexander Shopov
Hello, I am sending Bulgarian transation of qemu gtk interface for the 3rd time. Bulgarian is a South Slavic language spoken in Bulgaria - SE Europe. It is written in Cyrillic alphabet. I am Alexander Shopov - coordinator of the Bulgarian GNOME translation project. I am cc-ing to trivial patches as

Re: [Qemu-devel] [PULL 00/24] linux-user changes

2016-06-26 Thread Riku Voipio
On 24 June 2016 at 16:36, Peter Maydell wrote: > On 24 June 2016 at 10:52, wrote: >> From: Riku Voipio >> >> The following changes since commit c7288767523f6510cf557707d3eb5e78e519b90d: >> >> Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-2.7-20160623' >> into staging (2016-06-23

[Qemu-devel] [RFC v4] virtio-crypto specification

2016-06-26 Thread Gonglei (Arei)
Hi all, This is the specification (version 4) about a new virtio crypto device. Changes from v3: - Don't use enum is the spec but macros in specific structures. [Michael & Stefan] - Add two complete structures for session creation and closing, so that the spec is clear on how to lay out the

[Qemu-devel] [PATCH] slirp: Add support for stateless DHCPv6

2016-06-26 Thread Thomas Huth
Provide basic support for stateless DHCPv6 (see RFC 3736) so that guests can also automatically boot via IPv6 with SLIRP (for IPv6 network booting, see RFC 5970 for details). Tested with: qemu-system-ppc64 -nographic -vga none -boot n -net nic \ -net user,ipv6=yes,ipv4=no,tftp=/path/t

[Qemu-devel] [Bug 1596009] Re: config/build problem due to libncursesw on Xenial

2016-06-26 Thread T. Huth
Could you please try to reproduce this problem with the latest release of QEMU (version 2.6)? Thanks! -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1596009 Title: config/build problem due to libncu