correct or does not exist in this domain."
Sure, sorry for the delay:
Acked-by: Paul Burton
> > In case you don't want to receive any more emails from the
> > QEMU mailing list, you can Nack this patch, so I'll have a
> > good reason to insist with the alternative
Hi Aleksandar,
On Wed, Jul 1, 2020 at 11:26 AM Aleksandar Markovic
wrote:
> Paul Burton and Aurelien Jarno removed for not being present.
> A polite email was sent to them with question whether they
> intend to actively participate, but there was no response.
It was 2 days ago, not
Hi Philippe,
Sorry for the delay; I was away for a few weeks visiting family.
On Mon, Jul 01, 2019 at 08:06:21PM +0200, Philippe Mathieu-Daudé wrote:
> The difference with the previous content is now we have
> two new holes:
>
> - 0x0200-0x1000
> - 0x14001000-0x1c00
>
>
audé
Reviewed-by: Paul Burton
Thanks,
Paul
> ---
> default-configs/mips64el-softmmu.mak | 4
> hw/mips/Kconfig | 5 +
> 2 files changed, 5 insertions(+), 4 deletions(-)
>
> diff --git a/default-configs/mips64el-softmmu.mak
> b/default-
Fix this by defining ATOMIC_REG_SIZE as 8 for all MIPS64 builds, which
will cover both n32 (ILP32) & n64 (LP64) ABIs in much the same was as we
already do for x86_64/x32.
Signed-off-by: Paul Burton
---
include/qemu/atomic.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/inclu
Hi Aleksandar,
On Tue, Oct 23, 2018 at 03:12:14PM +0200, Aleksandar Markovic wrote:
> From: Aleksandar Rikalo
>
> Add support for initial ramdisk loading for the Mips Boston board.
>
> Reviewed-by: Philippe Mathieu-Daudé
> Signed-off-by: Aleksandar Rikalo
> Signed-off-by: Aleksandar Markovic
n compatibility AFAIK
>
> Any comment from the MIPS maintainers?
>
> thanks
> -- PMM
FWIW, this looks fine to me for both Boston & Malta:
Reviewed-by: Paul Burton
Thanks,
Paul
Hi Peter,
On Mon, Jun 04, 2018 at 11:29:47AM +0100, Peter Maydell wrote:
> On 22 February 2017 at 00:21, Yongbok Kim wrote:
> > From: Paul Burton
> >
> > Add support for emulating the Xilinx AXI Root Port Bridge for PCI
> > Express as described by Xilinx' PG0
-gnu-
$ qemu-system-mips64el \
-M boston -cpu I6400 \
-kernel arch/mips/boot/vmlinux.gz.itb \
-serial stdio -append "ip=dhcp"
Signed-off-by: Paul Burton <paul.bur...@mips.com>
Cc: Aurelien Jarno <aurel...@aurel32.net>
Cc: Yongbok Kim <yongbok@mip
Linux kernels with network access.
Applies atop master as of 5e8d6a12d643 ("Merge remote-tracking branch
'remotes/kraxel/tags/ui-20180216-pull-request' into staging").
Paul Burton (2):
hw/net: Add support for Intel pch_gbe ethernet
hw/mips/boston: Enable pch_gbe ethernet controller
sing Linux v4.16-rc1.
Signed-off-by: Paul Burton <paul.bur...@mips.com>
Cc: Aurelien Jarno <aurel...@aurel32.net>
Cc: Yongbok Kim <yongbok@mips.com>
---
hw/net/Makefile.objs | 1 +
hw/net/pch_gbe.c | 766 +++
2 files c
From: Paul Burton <paul.bur...@imgtec.com>
Update my email address from paul.bur...@imgtec.com to
paul.bur...@mips.com, since MIPS will soon no longer be a part of
Imagination Technologies & as such the @imgtec.com address will soon
cease to function.
A mapping is added in .mailmap suc
n real hardware but not in QEMU?
>
> SH clearly doesn't support MSI.
>
> The oldest MIPS board also do not support MSI, but I guess the Boston
> board might support it. I am adding Paul Burton in Cc: who probably
> knows about that.
>
> Aurelien
Indeed, real Boston hardwa
On Thursday, 8 September 2016 15:51:50 BST Paul Burton wrote:
> This series introduces support for the MIPS Boston development board. It
> begins by introducing support for moving MIPS Coherence Manager GCRs which
> Boston software typically does to avoid conflicting with its flash memory
On Monday, 26 September 2016 00:51:05 BST Jeff Cody wrote:
> There are some patch series which rely on version 1.4.2 of dtc, so
> update the submodule version.
>
> Signed-off-by: Jeff Cody
> ---
> dtc | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git
On Friday, 23 September 2016 09:13:51 BST Jeff Cody wrote:
> > Leon: Please give the git URL and branch that should be mirrored. It
> > cannot be a tag since that is immutable. Instead it should be the
> > dtc development/release tree that will be updated in the future.
>
> Yes, once I get the
On 08/09/16 19:58, no-re...@patchew.org wrote:
> Hi,
>
> Your series failed automatic build test. Please find the testing commands and
> their output below. If you have docker installed, you can probably reproduce
> it
> locally.
>
> Type: series
> Message-id:
to determine the properties of the CPU that will be used, for example
whether the CPU is 64 bit or which architecture revision it implements.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
Reviewed-by: Leon Alrae <leon.al...@imgtec.com>
---
target-mips/cpu.h | 1 +
target-mips/tran
if an already pending interrupt is unmasked.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
Reviewed-by: Leon Alrae <leon.al...@imgtec.com>
---
hw/intc/mips_gic.c | 56 ++
1 file changed, 31 insertions(+), 25 deletions(-)
diff --g
Provide a new function mips_gictimer_get_freq() which returns the
frequency at which a GIC timer will count. This will be useful for
boards which perform setup based upon this frequency.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
Reviewed-by: Leon Alrae <leon.al...@imgtec.com
Support moving the GCR base address & updating the CPU's CP0 CMGCRBase
register appropriately. This is required if a platform needs to move its
GCRs away from other memory, as the MIPS Boston development board does
to avoid its flash memory.
Signed-off-by: Paul Burton <paul.bur...@img
allow use of CPUs which implement the CPS components, including the
GIC, and will otherwise exit with a message.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
---
Changes in v2:
- Require libfdt for mips*-softmmu builds, so that the FIT loader can be used.
---
configure
Add support for emulating the Xilinx AXI Root Port Bridge for PCI
Express as described by Xilinx' PG055 document. This is a PCIe
controller that can be used with certain series of Xilinx FPGAs, and is
used on the MIPS Boston board which will make use of this code.
Signed-off-by: Paul Burton
typically boots kernels in the form of FIT images,
and will make use of this code.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
---
hw/core/Makefile.objs | 1 +
hw/core/loader-fit.c| 287
hw/core/loader.c| 3 +-
incl
In order to obtain fdt_first_subnode & fdt_next_subnode symbols from
libfdt for use by a later patch, bump the requirement for dtc to v1.4.2
& the submodule to that same version.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
---
This will rely upon the dtc v1.4.2 tag being pus
rgument, for example:
$ qemu-system-mips64el -M boston -kernel vmlinux.gz.itb -serial stdio
Paul Burton (8):
hw/mips_cmgcr: allow GCR base to be moved
hw/mips_gictimer: provide API for retrieving frequency
hw/mips_gic: Update pin state on mask changes
target-mips: Provide function to test if a
On 08/09/16 09:57, Leon Alrae wrote:
> On Fri, Aug 19, 2016 at 08:40:32PM +0100, Paul Burton wrote:
>> On 19/08/16 20:25, no-re...@patchew.org wrote:
>>> Hi,
>>>
>>> Your series failed automatic build test. Please find the testing commands
>>> a
On 19/08/16 20:25, no-re...@patchew.org wrote:
> Hi,
>
> Your series failed automatic build test. Please find the testing commands and
> their output below. If you have docker installed, you can probably reproduce
> it
> locally.
>
> Message-id: 20160819190903.10974-1-paul.bur...@imgtec.com
>
allow use of CPUs which implement the CPS components, including the
GIC, and will otherwise exit with a message.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
---
default-configs/mips-softmmu-common.mak | 2 +
hw/mips/Makefile.objs | 1 +
hw/mips/boston.
Add support for emulating the Xilinx AXI Root Port Bridge for PCI
Express as described by Xilinx' PG055 document. This is a PCIe
controller that can be used with certain series of Xilinx FPGAs, and is
used on the MIPS Boston board which will make use of this code.
Signed-off-by: Paul Burton
typically boots kernels in the form of FIT images,
and will make use of this code.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
---
hw/core/Makefile.objs | 1 +
hw/core/loader-fit.c| 287
hw/core/loader.c| 3 +-
incl
Provide a new function mips_gictimer_get_freq() which returns the
frequency at which a GIC timer will count. This will be useful for
boards which perform setup based upon this frequency.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
---
hw/timer/mips_gictimer.c | 5 +
i
to determine the properties of the CPU that will be used, for example
whether the CPU is 64 bit or which architecture revision it implements.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
---
target-mips/cpu.h | 1 +
target-mips/translate.c | 10 ++
2 files changed, 11 inse
if an already pending interrupt is unmasked.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
---
hw/intc/mips_gic.c | 56 ++
1 file changed, 31 insertions(+), 25 deletions(-)
diff --git a/hw/intc/mips_gic.c b/hw/intc/mips_gic.c
index 6
Support moving the GCR base address & updating the CPU's CP0 CMGCRBase
register appropriately. This is required if a platform needs to move its
GCRs away from other memory, as the MIPS Boston development board does
to avoid its flash memory.
Signed-off-by: Paul Burton <paul.bur...@img
x.gz.itb make target should be used when building a Linux kernel to
run on the Boston board.
Paul Burton (7):
hw/mips_cmgcr: allow GCR base to be moved
hw/mips_gictimer: provide API for retrieving frequency
hw/mips_gic: Update pin state on mask changes
target-mips: Provide function to test if a
ntinuous stream of the letter E.
Signed-off-by: Paul Burton <paul.bur...@imgtec.com>
Cc: Aurelien Jarno <aurel...@aurel32.net>
Cc: Leon Alrae <leon.al...@imgtec.com>
---
hw/mips/mips_malta.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/mips/mips_malt
size
location.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
Cc: Aurelien Jarno aurel...@aurel32.net
Cc: Leon Alrae leon.al...@imgtec.com
---
Note that in order for Linux kernels to make use of all memory
automatically when using highmem rather than EVA, the following patchset
is required
On Tue, Aug 26, 2014 at 03:30:41PM +0300, Riku Voipio wrote:
Hi Paul,
On Sun, Jun 15, 2014 at 05:18:29PM +0100, Paul Burton wrote:
Implement support for the name_to_handle_at and open_by_handle_at
syscalls, allowing their use by the target program.
What was your testcase
On Tue, Jun 24, 2014 at 09:19:45AM +0100, Peter Maydell wrote:
On 24 June 2014 00:53, Paul Burton p...@archlinuxmips.org wrote:
Well I disagree with your logic, but perhaps that's primarily because of
your claim that the semctl code is clearly bogus and obviously
broken. Could you back
1.20 for the MIPS target.
Previously it would hang waiting on a semaphore which was not being
initialised to the correct value.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
linux-user/syscall.c | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/linux-user
On Mon, Jun 23, 2014 at 11:12:42PM +0100, Peter Maydell wrote:
On 23 June 2014 22:40, Paul Burton p...@archlinuxmips.org wrote:
The ptr argument to the ipc syscall was incorrectly being used as the
value of the argument union for the SEMCTL call. It is actually, as its
name would suggest
On Mon, Jun 23, 2014 at 11:18:25PM +0100, Paul Burton wrote:
Also, VERIFY_READ doesn't seem right for some of the
semctl operations which will modify the target_semun.
thanks
-- PMM
That part I think you're right about, I'll switch to VERIFY_WRITE.
Actually no, I don't think you're
On Mon, Jun 23, 2014 at 11:35:17PM +0100, Peter Maydell wrote:
Have you checked this on other architectures than MIPS?
I have a vague recollection that there are between-arch
differences regarding handling of the semctl argument...
I haven't tried running code for any other targets, but
On Tue, Jun 24, 2014 at 12:21:42AM +0100, Peter Maydell wrote:
On 24 June 2014 00:06, Paul Burton p...@archlinuxmips.org wrote:
On Mon, Jun 23, 2014 at 11:35:17PM +0100, Peter Maydell wrote:
and so I'm dubious about a patch that's
trying to make a very small change to it
Isn't
On Mon, Jun 23, 2014 at 11:42:14PM +0100, Peter Maydell wrote:
On 23 June 2014 23:36, Paul Burton p...@archlinuxmips.org wrote:
Actually no, I don't think you're right about that afterall. The
argument union itself is never modified. I imagine if it were then it
would be painful in the case
On Sun, Jun 22, 2014 at 12:13:27AM +0100, Peter Maydell wrote:
diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h
index 309fb21..cd21e64 100644
--- a/linux-user/ioctls.h
+++ b/linux-user/ioctls.h
@@ -64,6 +64,7 @@
IOCTL(KDSKBLED, 0, TYPE_INT)
IOCTL(KDGETLED, 0,
On Sun, Jun 22, 2014 at 12:18:02AM +0100, Peter Maydell wrote:
+if (!lock_user_struct(VERIFY_READ, target_tz, target_tz_addr, 1))
+return -TARGET_EFAULT;
Coding style mandates braces even on single-line if()s; checkpatch.pl
will catch this usually.
I copied that style from the
Translate the SO_PASSSEC option to setsockopt to the host value
perform the syscall as expected, allowing use of the option by target
programs.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
Changes in v3:
- None.
Changes in v2:
- Fix the value of TARGET_SO_PASSSEC for the sparc
Translate the SO_ACCEPTCONN option to the host value execute the
syscall as expected.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
Changes in v3:
- None.
Changes in v2:
- None.
---
linux-user/syscall.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/linux-user/syscall.c b
mirroring the existing target_to_host_sock_type, and
call it to translate the value provided by getsockopt when called for
the SO_TYPE option.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
Changes in v3:
- Fix coding style, checkpatch clean.
Changes in v2:
- Remove indirection via a function
The tv argument to the settimeofday syscall is allowed to be NULL, if
the program only wishes to provide the timezone. QEMU previously
returned -EFAULT when tv was NULL. Instead, execute the syscall
provide NULL to the kernel as the target program expected.
Signed-off-by: Paul Burton p
Translate the SO_SNDBUFFORCE SO_RCVBUFFORCE options to setsockopt to
the host values perform the syscall as expected, allowing use of those
options by target programs.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
Changes in v3:
- Fix coding style, checkpatch clean.
Changes in v2
This series fixes a number of bugs in QEMUs linux-user support, some
specific to targetting the MIPS architecture but mostly generic. It also
adds support for some previously unsupported syscalls {g,s}etsockopt
options.
Paul Burton (16):
linux-user: translate the result of getsockopt SO_TYPE
Add support for the ioprio_get ioprio_set syscalls, allowing their
use by target programs.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
Changes in v3:
- None.
Changes in v2:
- Declare the host syscalls conditionally upon whether both host
target define their numbers, to avoid
Add a definition of the SIOCGIFINDEX ioctl, allowing its use by target
programs.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
Changes in v3:
- None.
Changes in v2:
- None.
---
linux-user/ioctls.h | 1 +
linux-user/syscall_defs.h | 1 +
2 files changed, 2 insertions(+)
diff
.
Since the patch already touched most lines of the TARGET_NR_mount case,
it fixes the indentation coding style for good measure.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
Changes in v3:
- Fix coding style, checkpatch clean.
Changes in v2:
- None.
---
linux-user/syscall.c | 75
Add support for the setns syscall, trivially passed through to the host.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
Changes in v3:
- None.
Changes in v2:
- None.
---
linux-user/strace.list | 3 +++
linux-user/syscall.c | 6 ++
2 files changed, 9 insertions(+)
diff --git
Add the epoll_create1 syscall to strace.list in order to display that
syscall when it occurs, rather than a message about the syscall being
unknown despite QEMU already implementing support for it.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
Changes in v3:
- None.
Changes in v2
is described by the settimeofday man page as
obsolete, it is used by systemd as of version 213.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
Changes in v3:
- Fix coding style, checkpatch clean.
Changes in v2:
- None.
---
linux-user/syscall.c | 29 -
linux
Implement support for the name_to_handle_at and open_by_handle_at
syscalls, allowing their use by the target program.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
Changes in v3:
- Fix coding style, checkpatch clean.
Changes in v2:
- None.
---
linux-user/strace.c| 30
Adds support for the timerfd_create, timerfd_gettime timerfd_settime
syscalls, allowing use of timerfds by target programs.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
Changes in v3:
- Fix coding style, checkpatch clean.
Changes in v2:
- None.
---
linux-user/strace.list | 9
Add support for the unshare syscall, trivially passed through to the
host.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
Changes in v3:
- None.
Changes in v2:
- None.
---
linux-user/syscall.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/linux-user/syscall.c b/linux-user
Add a definition of the KDSIGACCEPT ioctl allow its use by target
programs.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
Changes in v3:
- Translate signal number to host value.
Changes in v2:
- None.
---
linux-user/ioctls.h | 1 +
linux-user/syscall.c | 7 +++
linux
MIPS requires the pad field to 64b-align the data field just as ARM
does.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
Changes in v3:
- None.
Changes in v2:
- Apply the same padding for the mips64 target.
---
linux-user/syscall_defs.h | 2 +-
1 file changed, 1 insertion(+), 1
On Sat, Jun 21, 2014 at 12:39:12PM +0300, Riku Voipio wrote:
@@ -1526,6 +1555,7 @@ static abi_long do_getsockopt(int sockfd, int level,
int optname,
abi_long ret;
int len, val;
socklen_t lv;
+int (*translate_result)(int val) = NULL;
switch(level) {
From: Paul Burton paul.bur...@imgtec.com
This series fixes a number of bugs in QEMUs linux-user support, some
specific to targetting the MIPS architecture but mostly generic. It also
adds support for some previously unsupported syscalls {g,s}etsockopt
options.
Paul Burton (16):
linux-user
Translate the SO_SNDBUFFORCE SO_RCVBUFFORCE options to setsockopt to
the host values perform the syscall as expected, allowing use of those
options by target programs.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
Changes in v2:
- None.
---
linux-user/syscall.c | 6 ++
1 file
Translate the SO_ACCEPTCONN option to the host value execute the
syscall as expected.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
Changes in v2:
- None.
---
linux-user/syscall.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index
Add the epoll_create1 syscall to strace.list in order to display that
syscall when it occurs, rather than a message about the syscall being
unknown despite QEMU already implementing support for it.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
Changes in v2:
- None.
---
linux-user
Add support for the unshare syscall, trivially passed through to the
host.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
Changes in v2:
- None.
---
linux-user/syscall.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 0bbdf61
mirroring the existing target_to_host_sock_type, and
call it to translate the value provided by getsockopt when called for
the SO_TYPE option.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
Changes in v2:
- Remove indirection via a function pointer, and just call
host_to_target_sock_type
MIPS requires the pad field to 64b-align the data field just as ARM
does.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
Changes in v2:
- Apply the same padding for the mips64 target.
---
linux-user/syscall_defs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/linux
Add support for the ioprio_get ioprio_set syscalls, allowing their
use by target programs.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
Changes in v2:
- Declare the host syscalls conditionally upon whether both host
target define their numbers, to avoid compile time warnings
Implement support for the name_to_handle_at and open_by_handle_at
syscalls, allowing their use by the target program.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
Changes in v2:
- None.
---
linux-user/strace.c| 30 ++
linux-user/strace.list | 6
is described by the settimeofday man page as
obsolete, it is used by systemd as of version 213.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
Changes in v2:
- None.
---
linux-user/syscall.c | 27 ++-
linux-user/syscall_defs.h | 5 +
2 files changed, 31
Translate the SO_PASSSEC option to setsockopt to the host value
perform the syscall as expected, allowing use of the option by target
programs.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
Changes in v2:
- Fix the value of TARGET_SO_PASSSEC for the sparc target.
---
linux-user
.
Since the patch already touched most lines of the TARGET_NR_mount case,
it fixes the indentation for good measure.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
Changes in v2:
- None.
---
linux-user/syscall.c | 68 +++-
1 file changed, 46
Add a definition of the KDSIGACCEPT ioctl allow its use by target
programs.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
Changes in v2:
- None.
---
linux-user/ioctls.h | 1 +
linux-user/syscall_defs.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/linux-user/ioctls.h b
The tv argument to the settimeofday syscall is allowed to be NULL, if
the program only wishes to provide the timezone. QEMU previously
returned -EFAULT when tv was NULL. Instead, execute the syscall
provide NULL to the kernel as the target program expected.
Signed-off-by: Paul Burton p
Add a definition of the SIOCGIFINDEX ioctl, allowing its use by target
programs.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
Changes in v2:
- None.
---
linux-user/ioctls.h | 1 +
linux-user/syscall_defs.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/linux-user/ioctls.h
Adds support for the timerfd_create, timerfd_gettime timerfd_settime
syscalls, allowing use of timerfds by target programs.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
Changes in v2:
- None.
---
linux-user/strace.list | 9 +
linux-user/syscall.c | 44
Add support for the setns syscall, trivially passed through to the host.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
Changes in v2:
- None.
---
linux-user/strace.list | 3 +++
linux-user/syscall.c | 6 ++
2 files changed, 9 insertions(+)
diff --git a/linux-user/strace.list b
On Sat, Jun 21, 2014 at 01:59:33PM +0300, Riku Voipio wrote:
On Sun, Jun 15, 2014 at 05:18:21PM +0100, Paul Burton wrote:
Translate the SO_PASSSEC option to setsockopt to the host value
perform the syscall as expected, allowing use of the option by target
programs.
Another file
On Sat, Jun 21, 2014 at 02:02:55PM +0300, Riku Voipio wrote:
On Sun, Jun 15, 2014 at 05:18:24PM +0100, Paul Burton wrote:
MIPS requires the pad field to 64b-align the data field just as ARM
does.
Is this true for the 64bit mips also?
It appears so, good catch :)
Paul
Signed-off
Translate the SO_ACCEPTCONN option to the host value execute the
syscall as expected.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
linux-user/syscall.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 3921cff..e6afd30 100644
mirroring the existing target_to_host_sock_type, and
call it to translate the value provided by getsockopt when called for
the SO_TYPE option.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
linux-user/syscall.c | 33 +
1 file changed, 33 insertions(+)
diff --git
This series fixes a number of bugs in QEMUs linux-user support, some
specific to targetting the MIPS architecture but mostly generic. It also
adds support for some previously unsupported syscalls {g,s}etsockopt
options.
Paul Burton (16):
linux-user: translate the result of getsockopt SO_TYPE
.
Since the patch already touched most lines of the TARGET_NR_mount case,
it fixes the indentation for good measure.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
linux-user/syscall.c | 68 +++-
1 file changed, 46 insertions(+), 22 deletions
is described by the settimeofday man page as
obsolete, it is used by systemd as of version 213.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
linux-user/syscall.c | 27 ++-
linux-user/syscall_defs.h | 5 +
2 files changed, 31 insertions(+), 1 deletion(-)
diff
MIPS requires the pad field to 64b-align the data field just as ARM
does.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
linux-user/syscall_defs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h
index 69c3982
Implement support for the name_to_handle_at and open_by_handle_at
syscalls, allowing their use by the target program.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
linux-user/strace.c| 30 ++
linux-user/strace.list | 6 ++
linux-user/syscall.c | 50
Add support for the setns syscall, trivially passed through to the host.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
linux-user/strace.list | 3 +++
linux-user/syscall.c | 6 ++
2 files changed, 9 insertions(+)
diff --git a/linux-user/strace.list b/linux-user/strace.list
index
Add support for the ioprio_get ioprio_set syscalls, allowing their
use by target programs.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
linux-user/syscall.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 0830205
Add a definition of the KDSIGACCEPT ioctl allow its use by target
programs.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
linux-user/ioctls.h | 1 +
linux-user/syscall_defs.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h
index
Add support for the unshare syscall, trivially passed through to the
host.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
linux-user/syscall.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 208c6c4..5412b1e 100644
--- a/linux
Add a definition of the SIOCGIFINDEX ioctl, allowing its use by target
programs.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
linux-user/ioctls.h | 1 +
linux-user/syscall_defs.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h
index
Translate the SO_SNDBUFFORCE SO_RCVBUFFORCE options to setsockopt to
the host values perform the syscall as expected, allowing use of those
options by target programs.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
linux-user/syscall.c | 6 ++
1 file changed, 6 insertions(+)
diff
Translate the SO_PASSSEC option to setsockopt to the host value
perform the syscall as expected, allowing use of the option by target
programs.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
linux-user/socket.h | 2 ++
linux-user/syscall.c | 3 +++
2 files changed, 5 insertions(+)
diff
Adds support for the timerfd_create, timerfd_gettime timerfd_settime
syscalls, allowing use of timerfds by target programs.
Signed-off-by: Paul Burton p...@archlinuxmips.org
---
linux-user/strace.list | 9 +
linux-user/syscall.c | 44
2
1 - 100 of 105 matches
Mail list logo