On Thu, Apr 14, 2011 at 10:18:02AM +0400, Dmitry Eremin-Solenikov wrote:
> Basic implementation of DEC/Intel SA-1100/SA-1110 chips emulation.
> Implemented:
> - IRQs
> - GPIO
> - PPC
> - RTC
> - UARTs (no IrDA/etc.)
> - OST reused from pxa25x
>
> Everything else is TODO (esp. PM/idle/sleep!)
Handle the UNDEF and UNPREDICTABLE cases for Neon "single element to
one lane" VLD and "single element from one lane" VST.
Signed-off-by: Peter Maydell
---
target-arm/translate.c | 34 ++
1 files changed, 34 insertions(+), 0 deletions(-)
diff --git a/target-arm
Correctly UNDEF for Neon VLD/VST "multiple structures" forms where the
align field is not valid.
Signed-off-by: Peter Maydell
---
target-arm/translate.c | 15 +++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/target-arm/translate.c b/target-arm/translate.c
index 5
These two simple patches make qemu correctly UNDEF where required in the
Neon load/store space. We also catch and UNDEF on an UNPREDICTABLE rather
than indexing off the end of the register file.
Tested in the usual way with random instruction sequences.
Peter Maydell (2):
target-arm: Handle UND
On Fri, Apr 15, 2011 at 05:32:46PM +0200, Alexander Graf wrote:
> We have a generic stub architecture for kvm calls, but some architectures
> are different from others. So we do want to be able to have stubs for
> architecture specific functionality as well.
>
> This patch adds kvm stubs for all a
On Fri, Apr 15, 2011 at 05:32:42PM +0200, Alexander Graf wrote:
> When running on a 32 bit host, we tend to use more TCG ops than on
> a 64 bit host. Reflect that in the reserved opcode amount constant.
>
> Signed-off-by: Alexander Graf
> ---
> exec-all.h |4
> 1 files changed, 4 insert
On Fri, Apr 15, 2011 at 05:32:47PM +0200, Alexander Graf wrote:
> We need to add some more logic to the CPU description to leverage emulation
> of an s390x CPU. This patch adds all the required helpers, fields in CPUState
> and constant definitions required for user and system emulation.
>
> Signe
On Fri, Apr 15, 2011 at 05:32:48PM +0200, Alexander Graf wrote:
> This patch adds some code paths for running s390x guest OSs without the
> need for KVM.
>
> Signed-off-by: Alexander Graf
>
> ---
>
> v3 -> v4:
>
> - declare non-working when EXT is masked
> - remove obsolete cpu_halted
> --
On Fri, Apr 15, 2011 at 05:32:49PM +0200, Alexander Graf wrote:
> The KVM interrupt injection path is non-generic for now. So we need to push
> knowledge of how to inject a device interrupt using KVM into the actual device
> code.
>
> Signed-off-by: Alexander Graf
> ---
> hw/s390-virtio-bus.c |
On Fri, Apr 15, 2011 at 05:32:50PM +0200, Alexander Graf wrote:
> For emulation (and migration) we need to know about the guest's storage keys.
> These are separate from actual RAM contents, so we need to allocate them in
> parallel to RAM.
>
> While touching the file, this patch also adjusts the
On Fri, Apr 15, 2011 at 05:32:51PM +0200, Alexander Graf wrote:
> The s390x virtio bus keeps management information on virtio after the top
> of the guest's RAM. We need to be able to tell the guest the size of its
> RAM (without virtio stuff), but also be able to trap when the guest accesses
> RAM
On Wed, Apr 13, 2011 at 02:42:00PM +0300, Alon Levy wrote:
> Signed-off-by: Alon Levy
> ---
> libcacard/vcard_emul_nss.c |4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
Thanks, applied.
> diff --git a/libcacard/vcard_emul_nss.c b/libcacard/vcard_emul_nss.c
> index 71f2ba3..baada
On Wed, Apr 13, 2011 at 06:38:24PM +0200, Lluís wrote:
> This provides a consistent naming scheme across all targets.
>
> Signed-off-by: Lluís Vilanova
> ---
> target-arm/helper.c|2
> target-arm/helper.h| 475
>
> target-arm/he
Use the new softfloat float32_min() and float32_max() to implement the
vminfp and vmaxfp instructions.
Cc: Alexander Graf
Signed-off-by: Aurelien Jarno
---
target-ppc/op_helper.c | 16 +---
1 files changed, 5 insertions(+), 11 deletions(-)
diff --git a/target-ppc/op_helper.c b/ta
On 18 April 2011 20:23, Aurelien Jarno wrote:
> diff --git a/target-ppc/op_helper.c b/target-ppc/op_helper.c
> index 9aa108e..9058d78 100644
> --- a/target-ppc/op_helper.c
> +++ b/target-ppc/op_helper.c
> @@ -2369,22 +2369,16 @@ VMINMAX(uw, u32)
> #undef VMINMAX_DO
> #undef VMINMAX
>
> -#define
Am 18.04.2011 19:34, schrieb Anthony Liguori:
On 04/18/2011 12:25 PM, Alex Williamson wrote:
On Mon, 2011-04-11 at 13:57 -0600, Alex Williamson wrote:
On Mon, 2011-04-11 at 14:48 -0500, Anthony Liguori wrote:
On 04/11/2011 02:35 PM, Alex Williamson wrote:
This series replaces our current gPXE
With floatx80, the explicit bit is set for infinity.
Signed-off-by: Aurelien Jarno
---
fpu/softfloat.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fpu/softfloat.h b/fpu/softfloat.h
index 340f0a9..3363128 100644
--- a/fpu/softfloat.h
+++ b/fpu/softfloat.h
@@ -566,7 +
Add floatx80 constants similarly to float32 or float64.
Signed-off-by: Aurelien Jarno
---
fpu/softfloat.h |7 +++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/fpu/softfloat.h b/fpu/softfloat.h
index 3363128..90e0c41 100644
--- a/fpu/softfloat.h
+++ b/fpu/softfloat.h
@@
Signed-off-by: Aurelien Jarno
---
target-i386/op_helper.c |7 ---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/target-i386/op_helper.c b/target-i386/op_helper.c
index f614893..737 100644
--- a/target-i386/op_helper.c
+++ b/target-i386/op_helper.c
@@ -3920,9 +3920,10
Signed-off-by: Aurelien Jarno
---
target-i386/exec.h |4
target-i386/op_helper.c |5 +++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/target-i386/exec.h b/target-i386/exec.h
index 211cc8c..b2af894 100644
--- a/target-i386/exec.h
+++ b/target-i386/exec.h
@@ -1
The i386 target is the last one still using softfloat-native. Compared
to softfloat, it is faster but lacks exception handling, float80
(except on x86 hosts) and float128, as well as correctness (use NaN
propagation from the host, different corner cases, etc.). It's API has
also diverged from so
The floatx80 format uses an explicit bit that should be taken into account
when converting to and from commonNaN format.
When converting to commonNaN, the explicit bit should be removed if it is
a 1, and a default NaN should be used if it is 0.
When converting from commonNan, the explicit bit sho
Signed-off-by: Aurelien Jarno
---
fpu/softfloat-native.h | 27 +++
1 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/fpu/softfloat-native.h b/fpu/softfloat-native.h
index ea7a15e..97fb3c7 100644
--- a/fpu/softfloat-native.h
+++ b/fpu/softfloat-native.h
@@ -
Add float*_is_any_nan() functions to match the softfloat API.
Signed-off-by: Aurelien Jarno
---
fpu/softfloat-native.c | 26 ++
fpu/softfloat-native.h |3 +++
2 files changed, 29 insertions(+), 0 deletions(-)
diff --git a/fpu/softfloat-native.c b/fpu/softfloat-nati
float*_scalnb() were not taking into account all cases. This patch fixes
some corner cases:
- NaN values in input were not properly propagated and the invalid flag
not correctly raised. Use propagateFloat*NaN() for that.
- NaN or infinite values in input of floatx80_scalnb() were not correctly
Add functions to convert CPU86_LDouble to double and vice versa. They
are going to be used to implement logarithmic and trigonometric function
until softfloat implement them.
Signed-off-by: Aurelien Jarno
---
target-i386/op_helper.c | 22 ++
1 files changed, 22 insertions(+
With softfloat it's not possible to play with the overflow of an
unsigned value to get the 0 case partially correct. Use a special case
for that. Using a division to generate an infinity is the easiest way
that works for both softfloat and softfloat-native.
Signed-off-by: Aurelien Jarno
---
targ
Add a pi constant for float32, float64, floatx80. It will be used by
target-i386 and later by the trigonometric functions.
Signed-off-by: Aurelien Jarno
---
fpu/softfloat.h |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/fpu/softfloat.h b/fpu/softfloat.h
index 90e0c41.
float*_scalbn() should be able to take a status parameter. Fix that.
Signed-off-by: Aurelien Jarno
---
fpu/softfloat-native.h |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/fpu/softfloat-native.h b/fpu/softfloat-native.h
index 97fb3c7..f497e64 100644
--- a/fpu/soft
Use the scalbn softfloat function to implement helper_fscale(). This
fixes corner cases (e.g. NaN) and makes a few more GNU libc math tests
to pass.
Signed-off-by: Aurelien Jarno
---
target-i386/exec.h |4
target-i386/op_helper.c |7 ++-
2 files changed, 10 insertions(+), 1
Add floatx80_compare() and floatx80_compare_quiet() functions to match
the softfloat-native ones.
Signed-off-by: Aurelien Jarno
---
fpu/softfloat.c | 46 ++
fpu/softfloat.h |2 ++
2 files changed, 48 insertions(+), 0 deletions(-)
diff --git a/fp
Signed-off-by: Aurelien Jarno
---
target-i386/op_helper.c | 10 --
target-i386/ops_sse.h | 36
2 files changed, 24 insertions(+), 22 deletions(-)
diff --git a/target-i386/op_helper.c b/target-i386/op_helper.c
index d935488..9628d27 100644
--- a/
Signed-off-by: Aurelien Jarno
---
target-i386/op_helper.c | 48 +++---
1 files changed, 28 insertions(+), 20 deletions(-)
diff --git a/target-i386/op_helper.c b/target-i386/op_helper.c
index 4671a96..0c4f0da 100644
--- a/target-i386/op_helper.c
+++ b/tar
This increase the correctness (precision, NaN values, corner cases) on
non-x86 machines, and add the possibility to handle the exception
correctly.
Signed-off-by: Aurelien Jarno
---
configure |3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/configure b/configure
index d
Use the new CPU86_LDouble <-> double conversion functions to make logarithmic
and trigonometric helpers working with softfloat.
Signed-off-by: Aurelien Jarno
---
target-i386/op_helper.c | 52 +++---
1 files changed, 26 insertions(+), 26 deletions(-)
dif
Signed-off-by: Aurelien Jarno
---
target-i386/exec.h |8
target-i386/op_helper.c | 24 +---
2 files changed, 25 insertions(+), 7 deletions(-)
diff --git a/target-i386/exec.h b/target-i386/exec.h
index 292e0de..ee36a71 100644
--- a/target-i386/exec.h
+++ b/
On 18.04.2011, at 21:06, Aurelien Jarno wrote:
> On Fri, Apr 15, 2011 at 05:32:51PM +0200, Alexander Graf wrote:
>> The s390x virtio bus keeps management information on virtio after the top
>> of the guest's RAM. We need to be able to tell the guest the size of its
>> RAM (without virtio stuff),
Signed-off-by: Aurelien Jarno
---
target-i386/exec.h |4
target-i386/op_helper.c |7 ++-
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/target-i386/exec.h b/target-i386/exec.h
index b2af894..292e0de 100644
--- a/target-i386/exec.h
+++ b/target-i386/exec.h
@@
Support commas in the parameter list of modules, by using double commas
(via get_opt_value()).
Signed-off-by: Adam Lackorzynski
---
hw/multiboot.c | 18 +-
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/hw/multiboot.c b/hw/multiboot.c
index 394ed01..7d5cb22 1006
On 18.04.2011, at 18:32, Riku Voipio wrote:
> On Fri, Apr 15, 2011 at 05:32:44PM +0200, Alexander Graf wrote:
>> From: Ulrich Hecht
>>
>> Quite a number of syscalls are only defined on systems with USE_UID16
>> defined; this patch defines them on other systems as well.
>>
>> Fixes a large numb
On 18.04.2011, at 21:23, Aurelien Jarno wrote:
> Use the new softfloat float32_min() and float32_max() to implement the
> vminfp and vmaxfp instructions.
>
> Cc: Alexander Graf
> Signed-off-by: Aurelien Jarno
> ---
> target-ppc/op_helper.c | 16 +---
> 1 files changed, 5 insertion
Linux doesn't use USPRG0 (now renamed VRSAVE in the architecture, even
when Altivec isn't involved), but a guest might.
Signed-off-by: Scott Wood
---
arch/powerpc/include/asm/kvm_host.h |1 +
arch/powerpc/kernel/asm-offsets.c |1 +
arch/powerpc/kvm/booke_interrupts.S |5 -
3 fi
Signed-off-by: Scott Wood
---
Documentation/kvm/api.txt |6 +-
arch/powerpc/include/asm/kvm.h | 184 +++
arch/powerpc/include/asm/kvm_44x.h |1 -
arch/powerpc/include/asm/kvm_e500.h |1 +
arch/powerpc/include/asm/kvm_host.h |3 +
ar
On Mon, Apr 18, 2011 at 05:25:48PM -0500, Scott Wood wrote:
> Linux doesn't use USPRG0 (now renamed VRSAVE in the architecture, even
> when Altivec isn't involved), but a guest might.
>
> Signed-off-by: Scott Wood
> ---
> arch/powerpc/include/asm/kvm_host.h |1 +
> arch/powerpc/kernel/asm-of
Hi Alex,
Here are several more minor tweaks/improvements to the pseries machine
emulation.
Currently, the qemu emulated pseries machine puts
"qemu,emulated-pSeries-LPAR" in the device tree's root level 'model'
property. Unfortunately this confuses some installers and ybin, which
expect this to start with "IBM" on pSeries machines. This patch addresses
this problem, making the property
Currently the qemu pseries machine numbers its virtual serial devices
from 0. However, existing pSeries machines running pHyp number them from
0x3000.
In theory these indices are arbitrary, since everything necessary for the
kernel to find them is advertised in the device tree. However the d
From: Anton Blanchard
The original pSeries machine was limited to 32 CPUs, more or less
arbitrarily. Particularly when we get SMT KVM guests it will be
pretty easy to exceed this. Therefore, raise the max number of CPUs
in a pseries machine guest to 256.
Signed-off-by: Anton Blanchard
Signed-
From: Alexey Kardashevskiy
The virtio serial specification requres that the values in the config
space are encoded in native endian of the guest.
The qemu virtio-serial code did not do conversion to the guest endian
format what caused problems when host and guest use different format.
This patc
Zeroing of the cpu array should start from &cpus[kernel_ret]
not &cpus[num_zeros_to_fill].
This fixes a crash in EFL's edje_cc running under qemu-arm.
Signed-off-by: Mike McCormack
Reviewed-by: Stefan Hajnoczi
Acked-by: Mike Frysinger
---
linux-user/syscall.c |2 +-
1 files changed, 1 ins
The kernel doesn't fill the buffer provided to sched_getaffinity
with zero bytes, so neither should QEMU.
Signed-off-by: Mike McCormack
Reviewed-by: Stefan Hajnoczi
---
linux-user/syscall.c | 13 +
1 files changed, 1 insertions(+), 12 deletions(-)
diff --git a/linux-user/syscall.
101 - 151 of 151 matches
Mail list logo