On Thu, Jun 05, 2014 at 02:21:42PM +0100, Peter Maydell wrote:
On 5 June 2014 14:11, Riku Voipio riku.voi...@iki.fi wrote:
Hi,
On Tue, Jun 03, 2014 at 03:07:59PM +0100, Peter Maydell wrote:
Ping!
Looks good, I'll collect this and other linux-user patches and submit
linux-user
From: Riku Voipio riku.voi...@linaro.org
Make all implementations of setup_sigcontext void and
remove checking it's return value from functions calling
setup_sigcontext.
Signed-off-by: Riku Voipio riku.voi...@linaro.org
---
linux-user/signal.c | 65
From: Riku Voipio riku.voi...@linaro.org
As __get_user and __put_user do not return errors, remove the
if checks from around them. This allows making the save/restore
functions void.
Signed-off-by: Riku Voipio riku.voi...@linaro.org
Cc: Alexander Graf ag...@suse.de
---
linux-user/signal.c | 126
From: Riku Voipio riku.voi...@linaro.org
Remove if(__get_user checks and their related error paths
for all architecture's do_sigreturn. Remove the unlock_user_struct
when the only way to end up there is from failed lock_user_struct.
Signed-off-by: Riku Voipio riku.voi...@linaro.org
---
linux
From: Riku Voipio riku.voi...@linaro.org
make most implementations of restore_sigcontext void and
remove checking it's return value from functions calling
restore_sigcontext.
The exception is the X86 version of the function that is
too different from others to deal in this way.
Signed-off
From: Riku Voipio riku.voi...@linaro.org
Remove all the simple cases of reading the return value
of __get_user and __put_user.
We set err = 0 in sparc versions of do_sigreturn and
sparc64_set_context to avoid compile error, but else this patch is
just general removal of err |= __get_user
From: Riku Voipio riku.voi...@linaro.org
Remove if(__put_user checks and their related error paths
for all architecture's setup_frame, setup_rt_frame and similar.
Remove the unlock_user_struct when the only way to end up there is
from failed lock_user_struct.
Remove err variable
From: Riku Voipio riku.voi...@linaro.org
Remove the remaining check for __put_user return
value, and all the checks for err variable which
isn't set anywhere anymore.
No we can only end up in give_sigsegv due to failed
lock_user_struct - thus we remove the unlock_user_struct
to avoid unlocking
From: Riku Voipio riku.voi...@linaro.org
gcc-4.9 finds unused operand:
linux-user/syscall.c: In function ‘host_to_target_stat64’:
linux-user/qemu.h:301:19: error: right-hand operand of comma expression
has no effect [-Werror=unused-value]
((hptr), (x)), 0)
Just removing the rh operand
From: Riku Voipio riku.voi...@linaro.org
Since copy_siginfo_to_user always returns 0, make it void
and remove any checks for return value from calling functions.
Signed-off-by: Riku Voipio riku.voi...@linaro.org
---
linux-user/signal.c | 28 +---
1 file changed, 9
From: Riku Voipio riku.voi...@linaro.org
A function never called from anywhere, obviously half-complete.
Remove function and if someone wants to complete this, please
check the old version out of git history.
Signed-off-by: Riku Voipio riku.voi...@linaro.org
---
linux-user/signal.c | 37
From: Riku Voipio riku.voi...@linaro.org
This series is a cleanup and gcc-4.9 buildfix:
linux-user/syscall.c: In function ‘host_to_target_stat64’:
linux-user/qemu.h:301:19: error: right-hand operand of comma expression has no
effect [-Werror=unused-value]
((hptr), (x)), 0)
removing
From: Riku Voipio riku.voi...@linaro.org
Access is already checked in the lock_user_struct
call before.
Signed-off-by: Riku Voipio riku.voi...@linaro.org
---
linux-user/signal.c | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/linux-user/signal.c b/linux-user
From: Riku Voipio riku.voi...@linaro.org
The last remaining check for return value of __get_user.
Signed-off-by: Riku Voipio riku.voi...@linaro.org
Cc: Alexander Graf ag...@suse.de
---
linux-user/signal.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/linux-user/signal.c
From: Riku Voipio riku.voi...@linaro.org
Remove checks of __get_user and the err variable
used to control flow with it.
Signed-off-by: Riku Voipio riku.voi...@linaro.org
---
linux-user/signal.c | 12 +++-
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git a/linux-user/signal.c
From: Riku Voipio riku.voi...@linaro.org
make most implementations of restore_sigcontext void and
remove checking it's return value from functions calling
restore_sigcontext.
The exception is the X86 version of the function that is
too different from others to deal in this way, and arm
version
From: Riku Voipio riku.voi...@linaro.org
Remove if(__get_user checks and their related error paths
for all architecture's do_sigreturn. Remove the unlock_user_struct
when the only way to end up there is from failed lock_user_struct.
v3: remove unneccesary sigsegv label as suggested by Peter
On 8 June 2014 00:40, Peter Maydell peter.mayd...@linaro.org wrote:
On 6 June 2014 10:46, riku.voi...@linaro.org wrote:
From: Riku Voipio riku.voi...@linaro.org
This series is a cleanup and gcc-4.9 buildfix:
linux-user/syscall.c: In function ‘host_to_target_stat64’:
linux-user/qemu.h:301
From: Riku Voipio riku.voi...@linaro.org
gcc-4.9 finds unused operand:
linux-user/syscall.c: In function ‘host_to_target_stat64’:
linux-user/qemu.h:301:19: error: right-hand operand of comma expression
has no effect [-Werror=unused-value]
((hptr), (x)), 0)
Just removing the rh operand
From: Ed Swierk eswi...@skyportsystems.com
This fixes Cannot open audit interface - aborting. when the
EAFNOSUPPORT errno differs between the target and host
architectures (e.g. mips target and x86_64 host).
Signed-off-by: Ed Swierk eswi...@skyportsystems.com
Signed-off-by: Riku Voipio riku.voi
From: Riku Voipio riku.voi...@linaro.org
Remove the remaining check for __put_user return
value, and all the checks for err variable which
isn't set anywhere anymore.
No we can only end up in give_sigsegv due to failed
lock_user_struct - thus we remove the unlock_user_struct
to avoid unlocking
From: Riku Voipio riku.voi...@linaro.org
As __get_user and __put_user do not return errors, remove the
if checks from around them. This allows making the save/restore
functions void.
Signed-off-by: Riku Voipio riku.voi...@linaro.org
Reviewed-by: Peter Maydell peter.mayd...@linaro.org
Cc
From: Riku Voipio riku.voi...@linaro.org
Mostly fixes, but a bigger rework in signal.c to allow compiling with gcc-4.9
The following changes since commit 959e41473f2179850578482052fb73b913bc4e42:
slirp/arp: do not special-case bogus IP addresses (2014-06-09 01:49:28 +0200)
are available
() allows ELF binaries with no section headers to be run properly
in user mode:
Signed-off-by: Craig Heffner cheff...@tacnetsol.com
Signed-off-by: Riku Voipio riku.voi...@linaro.org
---
linux-user/elfload.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/linux-user/elfload.c b/linux-user/elfload.c
From: Riku Voipio riku.voi...@linaro.org
The last remaining check for return value of __get_user.
Signed-off-by: Riku Voipio riku.voi...@linaro.org
Reviewed-by: Peter Maydell peter.mayd...@linaro.org
Cc: Alexander Graf ag...@suse.de
---
linux-user/signal.c | 3 +--
1 file changed, 1 insertion
From: Riku Voipio riku.voi...@linaro.org
make most implementations of restore_sigcontext void and
remove checking it's return value from functions calling
restore_sigcontext.
The exception is the X86 version of the function that is
too different from others to deal in this way, and arm
version
From: Riku Voipio riku.voi...@linaro.org
A function never called from anywhere, obviously half-complete.
Remove function and if someone wants to complete this, please
check the old version out of git history.
Signed-off-by: Riku Voipio riku.voi...@linaro.org
Reviewed-by: Peter Maydell peter.mayd
From: Riku Voipio riku.voi...@linaro.org
Remove if(__get_user checks and their related error paths
for all architecture's do_sigreturn. Remove the unlock_user_struct
when the only way to end up there is from failed lock_user_struct.
v3: remove unneccesary sigsegv label as suggested by Peter
a buffer whose size is a multiple of 8 regardless of guest
architecture.
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Signed-off-by: Riku Voipio riku.voi...@linaro.org
---
linux-user/syscall.c | 16
1 file changed, 16 insertions(+)
diff --git a/linux-user/syscall.c b/linux
From: Riku Voipio riku.voi...@linaro.org
Since copy_siginfo_to_user always returns 0, make it void
and remove any checks for return value from calling functions.
Signed-off-by: Riku Voipio riku.voi...@linaro.org
Reviewed-by: Peter Maydell peter.mayd...@linaro.org
---
linux-user/signal.c | 28
From: Riku Voipio riku.voi...@linaro.org
Make all implementations of setup_sigcontext void and
remove checking it's return value from functions calling
setup_sigcontext.
Signed-off-by: Riku Voipio riku.voi...@linaro.org
Reviewed-by: Peter Maydell peter.mayd...@linaro.org
---
linux-user/signal.c
for only those
architectures which need to vary the string based on runtime CPU
features.
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Signed-off-by: Riku Voipio riku.voi...@linaro.org
---
linux-user/uname.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/linux-user
...@suse.de
Reviewed-by: Richard Henderson r...@twiddle.net
Signed-off-by: Riku Voipio riku.voi...@linaro.org
---
linux-user/elfload.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/linux-user/elfload.c b/linux-user/elfload.c
index 995f999..03a8719 100644
--- a/linux-user
From: Riku Voipio riku.voi...@linaro.org
Remove if(__put_user checks and their related error paths
for all architecture's setup_frame, setup_rt_frame and similar.
Remove the unlock_user_struct when the only way to end up there is
from failed lock_user_struct.
Remove err variable
From: Riku Voipio riku.voi...@linaro.org
Remove all the simple cases of reading the return value
of __get_user and __put_user.
We set err = 0 in sparc versions of do_sigreturn and
sparc64_set_context to avoid compile error, but else this patch is
just general removal of err |= __get_user
From: Riku Voipio riku.voi...@linaro.org
Remove checks of __get_user and the err variable
used to control flow with it.
Signed-off-by: Riku Voipio riku.voi...@linaro.org
Reviewed-by: Peter Maydell peter.mayd...@linaro.org
---
linux-user/signal.c | 12 +++-
1 file changed, 3 insertions
From: Riku Voipio riku.voi...@linaro.org
Access is already checked in the lock_user_struct
call before.
Signed-off-by: Riku Voipio riku.voi...@linaro.org
Reviewed-by: Peter Maydell peter.mayd...@linaro.org
---
linux-user/signal.c | 9 +
1 file changed, 5 insertions(+), 4 deletions
On 9 June 2014 16:37, Peter Maydell peter.mayd...@linaro.org wrote:
On 9 June 2014 13:46, riku.voi...@linaro.org wrote:
From: Riku Voipio riku.voi...@linaro.org
Mostly fixes, but a bigger rework in signal.c to allow compiling with gcc-4.9
The following changes since commit
From: Riku Voipio riku.voi...@linaro.org
Remove the remaining check for __put_user return
value, and all the checks for err variable which
isn't set anywhere anymore.
No we can only end up in give_sigsegv due to failed
lock_user_struct - thus we remove the unlock_user_struct
to avoid unlocking
From: Riku Voipio riku.voi...@linaro.org
Since copy_siginfo_to_user always returns 0, make it void
and remove any checks for return value from calling functions.
Signed-off-by: Riku Voipio riku.voi...@linaro.org
Reviewed-by: Peter Maydell peter.mayd...@linaro.org
---
linux-user/signal.c | 28
From: Riku Voipio riku.voi...@linaro.org
gcc-4.9 finds unused operand:
linux-user/syscall.c: In function ‘host_to_target_stat64’:
linux-user/qemu.h:301:19: error: right-hand operand of comma expression
has no effect [-Werror=unused-value]
((hptr), (x)), 0)
Just removing the rh operand
From: Riku Voipio riku.voi...@linaro.org
Make all implementations of setup_sigcontext void and
remove checking it's return value from functions calling
setup_sigcontext.
Signed-off-by: Riku Voipio riku.voi...@linaro.org
Reviewed-by: Peter Maydell peter.mayd...@linaro.org
---
linux-user/signal.c
From: Riku Voipio riku.voi...@linaro.org
Access is already checked in the lock_user_struct
call before.
Signed-off-by: Riku Voipio riku.voi...@linaro.org
Reviewed-by: Peter Maydell peter.mayd...@linaro.org
---
linux-user/signal.c | 9 +
1 file changed, 5 insertions(+), 4 deletions
From: Riku Voipio riku.voi...@linaro.org
The last remaining check for return value of __get_user.
Signed-off-by: Riku Voipio riku.voi...@linaro.org
Reviewed-by: Peter Maydell peter.mayd...@linaro.org
Cc: Alexander Graf ag...@suse.de
---
linux-user/signal.c | 3 +--
1 file changed, 1 insertion
From: Riku Voipio riku.voi...@linaro.org
Remove if(__get_user checks and their related error paths
for all architecture's do_sigreturn. Remove the unlock_user_struct
when the only way to end up there is from failed lock_user_struct.
v3: remove unneccesary sigsegv label as suggested by Peter
From: Riku Voipio riku.voi...@linaro.org
Remove checks of __get_user and the err variable
used to control flow with it.
Signed-off-by: Riku Voipio riku.voi...@linaro.org
Reviewed-by: Peter Maydell peter.mayd...@linaro.org
---
linux-user/signal.c | 12 +++-
1 file changed, 3 insertions
From: Riku Voipio riku.voi...@linaro.org
As __get_user and __put_user do not return errors, remove the
if checks from around them. This allows making the save/restore
functions void.
Signed-off-by: Riku Voipio riku.voi...@linaro.org
Reviewed-by: Peter Maydell peter.mayd...@linaro.org
Cc
From: Riku Voipio riku.voi...@linaro.org
make most implementations of restore_sigcontext void and
remove checking it's return value from functions calling
restore_sigcontext.
The exception is the X86 version of the function that is
too different from others to deal in this way, and arm
version
From: Riku Voipio riku.voi...@linaro.org
Remove if(__put_user checks and their related error paths
for all architecture's setup_frame, setup_rt_frame and similar.
Remove the unlock_user_struct when the only way to end up there is
from failed lock_user_struct.
Remove err variable
From: Riku Voipio riku.voi...@linaro.org
A function never called from anywhere, obviously half-complete.
Remove function and if someone wants to complete this, please
check the old version out of git history.
Signed-off-by: Riku Voipio riku.voi...@linaro.org
Reviewed-by: Peter Maydell peter.mayd
From: Riku Voipio riku.voi...@linaro.org
Remove all the simple cases of reading the return value
of __get_user and __put_user.
We set err = 0 in sparc versions of do_sigreturn and
sparc64_set_context to avoid compile error, but else this patch is
just general removal of err |= __get_user
From: Riku Voipio riku.voi...@linaro.org
This series is a cleanup and gcc-4.9 buildfix:
linux-user/syscall.c: In function ‘host_to_target_stat64’:
linux-user/qemu.h:301:19: error: right-hand operand of comma expression has no
effect [-Werror=unused-value]
((hptr), (x)), 0)
removing
On 4 March 2014 13:41, Peter Maydell peter.mayd...@linaro.org wrote:
On 4 March 2014 11:32, Alex Bennée alex.ben...@linaro.org wrote:
Is the effect of this to report system uname or minimum whichever is
higher?
That's what this patch does. The old configure stuff which
this patchset removed
On 7 March 2014 10:45, Peter Maydell peter.mayd...@linaro.org wrote:
On 7 March 2014 02:19, Riku Voipio riku.voi...@linaro.org wrote:
So you agree these patches are the way to go?
I haven't actually reviewed them but I think the idea is right,
yes.
With the hard freeze getting close
From: Andreas Schwab sch...@suse.de
The AArch64 kernel defines its __kernel_uid_t type as 32 bits, unlike
32 bit ARM, so don't enable our 16-bit UID wrapper handling.
Signed-off-by: Andreas Schwab sch...@suse.de
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Signed-off-by: Riku Voipio
From: Michael Matz m...@suse.de
Implement support for signal handlers with the SA_RESTORER
flag set.
Signed-off-by: Michael Matz m...@suse.de
[PMM: minor tweaks to make patch apply to current master]
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Signed-off-by: Riku Voipio riku.voi
From: Peter Maydell peter.mayd...@linaro.org
Fix the loop restoring the FP registers from the signal frame to match
the one used when setting up the signal frame, so that it handles
TARGET_WORDS_BIGENDIAN being set.
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Signed-off-by: Riku Voipio
...@imgtec.com
Signed-off-by: Riku Voipio riku.voi...@linaro.org
Reviewed-by: Peter Maydell peter.mayd...@linaro.org
---
linux-user/syscall.c | 16 +++-
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 1f64867..e2c10cc
.
Reported-by: Michael Matz m...@suse.de
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Signed-off-by: Riku Voipio riku.voi...@linaro.org
Reviewed-by: Andreas Färber afaer...@suse.de
Reviewed-by: Richard Henderson r...@twiddle.net
---
linux-user/syscall.c | 18 --
1 file changed
From: Riku Voipio riku.voi...@linaro.org
Popular glibc based distributions[1] require minimum
2.6.32 as kernel version. For some targets 2.6.18
would be enough, but dropping so low would mean some
suboptimal system calls could get used.
Set the minimum kernel advertized to 2.6.32 for
all
From: Petar Jovanovic petar.jovano...@imgtec.com
Exception with break instruction has not been correctly propagated as
SIGTRAP. This resolves crash issues with examples that use break
instruction on MIPS.
Signed-off-by: Petar Jovanovic petar.jovano...@imgtec.com
Signed-off-by: Riku Voipio
support for non-blocking operations);
cap the vector length as the kernel implementation does;
don't lock guest memory twice;
support MSG_WAITFORONE flag]
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Signed-off-by: Riku Voipio riku.voi...@linaro.org
Reviewed-by: Richard Henderson r
From: Riku Voipio riku.voi...@linaro.org
The following changes since commit d844a7b6569fb2b5252773444b18841426e5b906:
modules: Fix building with --enable-modules (2014-02-28 12:30:13 +)
are available in the git repository at:
git://git.linaro.org/people/riku.voipio/qemu.git linux-user
On Mon, Mar 10, 2014 at 12:59:17PM +, Peter Maydell wrote:
AArch64 Linux, unlike AArch32, doesn't use a commpage. This means we
should not be reserving room in the guest address space for one.
Fixes LP:1287195.
Looks good,
Reviewed-by: Riku Voipio riku.voi...@linaro.org
Reported
On Thu, Mar 13, 2014 at 08:19:48PM -0700, Anthony Liguori wrote:
Please add entries to the ChangeLog for the 2.0 release below:
http://wiki.qemu.org/ChangeLog/Next
I could do some updates for linux-user - but how does one get an account to
edit on wiki.l.o ?
Riku
On Fri, Mar 14, 2014 at 06:10:50PM +, Peter Maydell wrote:
Implement the capget and capset syscalls. This is useful because
simple programs like 'ls' try to use it in AArch64
I'm not seing this with ubuntu trusty, wookeys debian or my
static busybox. Where is your ls from? Also, runnning
From: Riku Voipio riku.voi...@linaro.org
some people get numerous unimplemented capget/capset warnings. Since qemu
linux-user is not secure to begin with, just skip the system call
warning for now. Proper capset/capget to be added in Qemu 2.1
Signed-off-by: Riku Voipio riku.voi...@linaro.org
On Mon, Mar 17, 2014 at 12:15:35PM +, Peter Maydell wrote:
Implement the capget and capset syscalls. This is useful because
simple programs like 'ls' try to use it in AArch64, and otherwise
we emit a lot of noise about it being unimplemented.
Signed-off-by: Peter Maydell
On 17 March 2014 22:17, Andreas Färber afaer...@suse.de wrote:
Am 17.03.2014 12:55, schrieb riku.voi...@linaro.org:
From: Riku Voipio riku.voi...@linaro.org
some people get numerous unimplemented capget/capset warnings. Since qemu
linux-user is not secure to begin with, just skip
handlers, since these also are guest-provided signal masks.]
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Signed-off-by: Riku Voipio riku.voi...@linaro.org
---
linux-user/qemu.h| 1 +
linux-user/signal.c | 58 ++--
linux-user/syscall.c | 14
From: Riku Voipio riku.voi...@linaro.org
The following changes since commit 6fffa26244737f8fd8641a21fee29bd6aa9fdff5:
Merge remote-tracking branch 'remotes/mjt/tags/trivial-patches-2014-03-15'
into staging (2014-03-15 18:22:11 +)
are available in the git repository at:
git
...@linaro.org
Signed-off-by: Riku Voipio riku.voi...@linaro.org
---
linux-user/elfload.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/linux-user/elfload.c b/linux-user/elfload.c
index 6bc7999..99a2c58 100644
--- a/linux-user/elfload.c
+++ b/linux-user/elfload.c
@@ -352,6 +352,9
delivery.
This patch is based on an idea by Alex Barcelo, but rather than
simply lying to the guest about the SIGSEGV state we track it.
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Reported-by: Alex Barcelo abarc...@ac.upc.edu
Signed-off-by: Riku Voipio riku.voi...@linaro.org
---
linux
-by: Riku Voipio riku.voi...@linaro.org
---
linux-user/syscall.c | 75 +--
linux-user/syscall_defs.h | 11 +++
2 files changed, 84 insertions(+), 2 deletions(-)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index e404a32..366b695 100644
is permitted and does nothing).
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Signed-off-by: Riku Voipio riku.voi...@linaro.org
---
linux-user/signal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/linux-user/signal.c b/linux-user/signal.c
index 24c91f3..209855e 100644
From: Andreas Schwab sch...@suse.de
F_GETOWN is replaced by F_GETOWN_EX inside the glibc fcntl wrapper
Signed-off-by: Andreas Schwab sch...@suse.de
Signed-off-by: Riku Voipio riku.voi...@linaro.org
---
linux-user/syscall.c | 36
linux-user
From: Peter Maydell peter.mayd...@linaro.org
QEMU's implementation of the m68k atomic_barrier syscall, like the kernel's,
is just a no-op. However we still need to return a result code from it.
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
Signed-off-by: Riku Voipio riku.voi
On Sun, Mar 23, 2014 at 02:58:42PM +0530, Prasad Joshi wrote:
Signed-off-by: Prasad Joshi prasadjoshi.li...@gmail.coma
Acked-by: Riku Voipio riku.voi...@linaro.org
---
linux-user/signal.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/linux-user/signal.c b/linux-user/signal.c
index
On Mon, Jul 14, 2014 at 11:37:02PM +0200, Joakim Tjernlund wrote:
Joakim Tjernlund/Transmode wrote on 2014/07/14 23:04:51:
Why do we need to modify argv[] here when we are building a
target_argv[] further down anyway?
Because parse_opts() will not do it for me and I cannot figure out
On Fri, Jul 11, 2014 at 03:02:02AM +0200, Joakim Tjernlund wrote:
Wrong type was used in ioctl definition.
Thanks, Applied to linux-user
Signed-off-by: Joakim Tjernlund joakim.tjernl...@transmode.se
---
However, this does not fix my dhcp problem:
jocke-ppc ~ # busybox udhcpc -v
Adapter
On Fri, Jul 11, 2014 at 05:18:03PM +0200, Joakim Tjernlund wrote:
target_to_host_sockaddr() may increase the lenth with 1 byte
for AF_UNIX sockets so allocate 1 extra byte.
Thanks, applied to linux-user tree
Signed-off-by: Joakim Tjernlund joakim.tjernl...@transmode.se
---
On Sat, Jul 12, 2014 at 03:47:06PM +0200, Joakim Tjernlund wrote:
Signed-off-by: Joakim Tjernlund joakim.tjernl...@transmode.se
Thanks, applied to linux-user tree,
Riku
---
linux-user/syscall.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/linux-user/syscall.c
On Sat, Jul 12, 2014 at 03:47:07PM +0200, Joakim Tjernlund wrote:
Implement conversion of the AF_PACKET sockaddr subtype
in target_to_host_sockaddr.
Thanks, Applied to linux-user tree,
Riku
Signed-off-by: Joakim Tjernlund joakim.tjernl...@transmode.se
---
linux-user/syscall.c | 7
On Thu, Jul 10, 2014 at 04:50:03PM +0100, Alex Bennée wrote:
As we only need to manipulate the single flag do it directly though env.
Acked-by: Riku Voipio riku.voi...@linaro.org
Signed-off-by: Alex Bennée alex.ben...@linaro.org
---
v2:
- remove unused cpsr
- the direct flag
.
For the linux-user part,
Acked-by: Riku Voipio riku.voi...@linaro.org
Signed-off-by: Alex Bennée alex.ben...@linaro.org
--
v2
- include xpsr_read conversions
- checkpatch fixes
diff --git a/linux-user/elfload.c b/linux-user/elfload.c
index 60777fe..577e1d3 100644
--- a/linux-user/elfload.c
On Thu, Jul 10, 2014 at 04:50:02PM +0100, Alex Bennée wrote:
This is a pre-cursor to removing the cpsr_write function completely from
the code base. set_condition_codes() only affects the integer condition
flags.
Acked-by: Riku Voipio riku.voi...@linaro.org
Signed-off-by: Alex Bennée
On Thu, Jul 10, 2014 at 04:50:04PM +0100, Alex Bennée wrote:
And use the new machinery to to save and restore program state. The old
cpsr_write function did some special handling for mode switches which
has been moved into the helper function.
Again for the linux-user part,
Acked-by: Riku
On Thu, Jul 10, 2014 at 04:50:05PM +0100, Alex Bennée wrote:
This converts all users of pstate_write to use the common state
save/restore functionality.
Acked-by: Riku Voipio riku.voi...@linaro.org
Signed-off-by: Alex Bennée alex.ben...@linaro.org
diff --git a/linux-user/signal.c b/linux
On Mon, Jul 14, 2014 at 05:38:49PM +0200, Joakim Tjernlund wrote:
Alexander Graf ag...@suse.de wrote on 2014/07/14 17:21:33:
On 14.07.14 16:38, Joakim Tjernlund wrote:
The popular binfmt-wrapper patch adds an additional
executable which mangle argv suitable for binfmt flag P.
In a
From: Riku Voipio riku.voi...@linaro.org
The following changes since commit 0a9934eef166836c8100fce72f7f837cb8b2ed2b:
Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging
(2014-07-14 17:01:45 +0100)
are available in the git repository at:
git://git.linaro.org
From: Joakim Tjernlund joakim.tjernl...@transmode.se
Implement conversion of the AF_PACKET sockaddr subtype
in target_to_host_sockaddr.
Signed-off-by: Joakim Tjernlund joakim.tjernl...@transmode.se
Reviewed-by: Peter Maydell peter.mayd...@linaro.org
Signed-off-by: Riku Voipio riku.voi
From: Joakim Tjernlund joakim.tjernl...@transmode.se
Wrong type was used in ioctl definition.
Signed-off-by: Joakim Tjernlund joakim.tjernl...@transmode.se
Reviewed-by: Peter Maydell peter.mayd...@linaro.org
Signed-off-by: Riku Voipio riku.voi...@linaro.org
---
linux-user/ioctls.h | 2 +-
1
From: Joakim Tjernlund joakim.tjernl...@transmode.se
target_to_host_sockaddr() may increase the lenth with 1 byte
for AF_UNIX sockets so allocate 1 extra byte.
Signed-off-by: Joakim Tjernlund joakim.tjernl...@transmode.se
Reviewed-by: Peter Maydell peter.mayd...@linaro.org
Signed-off-by: Riku
From: Joakim Tjernlund joakim.tjernl...@transmode.se
Signed-off-by: Joakim Tjernlund joakim.tjernl...@transmode.se
Reviewed-by: Peter Maydell peter.mayd...@linaro.org
Signed-off-by: Riku Voipio riku.voi...@linaro.org
---
linux-user/syscall.c | 19 +++
1 file changed, 19
From: Riku Voipio riku.voi...@linaro.org
As reported by Laurent, which should use TARGET_SA_ONSTACK
on arm, microblaze and openrisc targets like we do on all
others. Practical matter is minimal as for almost all archs
SA_ONSTACK is 0x0800:
http://lxr.free-electrons.com/ident?i=SA_ONSTACK
On Tue, Jul 15, 2014 at 05:11:48PM +0200, Joakim Tjernlund wrote:
Riku Voipio riku.voi...@iki.fi wrote on 2014/07/15 16:12:26:
On Mon, Jul 14, 2014 at 05:38:49PM +0200, Joakim Tjernlund wrote:
Alexander Graf ag...@suse.de wrote on 2014/07/14 17:21:33:
On 14.07.14 16:38, Joakim Tjernlund
On Sat, Jul 12, 2014 at 04:06:09PM +0200, Joakim Tjernlund wrote:
Alexander Graf ag...@suse.de wrote on 2014/07/12 12:41:05:
On 12.07.14 12:40, Peter Maydell wrote:
On 12 July 2014 10:39, Alexander Graf ag...@suse.de wrote:
On 12.07.14 10:58, Peter Maydell wrote:
On 12 July 2014
On Tue, Jul 22, 2014 at 10:22:15PM -, Peter Maydell wrote:
On 22 July 2014 20:46, Richard Henderson r...@twiddle.net wrote:
On 07/21/2014 10:37 AM, Peter Maydell wrote:
It's trying to measure clock cycles required to perform the startup
relocations.
That's a neat trick, given that
On 15 August 2014 20:49, Peter Maydell peter.mayd...@linaro.org wrote:
On 15 August 2014 12:01, riku.voi...@linaro.org wrote:
A usual set of improvements and bugfixes. The binfmt flag addition is an
ABI break so endusers need to update their binfmt registering scripts.
Ugh, really? I didn't
On 18 August 2014 15:59, Joakim Tjernlund joakim.tjernl...@transmode.se wrote:
Peter Maydell peter.mayd...@linaro.org wrote on 2014/08/18 14:45:49:
I'm sure there are cases which don't work; but we should try
to find a way which allows us to make those work (with a
recommended change to binfmt
601 - 700 of 1316 matches
Mail list logo