t; > incorrect 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 w
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
>
> Ralf/Paul/Ja
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-
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
on migration 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'
linux-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
Cc: Aurelien Jarno
Cc: Yongbok Kim
---
default-configs/mips64el-softmmu.mak | 1 +
hw/mips/boston.c
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
sing Linux v4.16-rc1.
Signed-off-by: Paul Burton
Cc: Aurelien Jarno
Cc: Yongbok Kim
---
hw/net/Makefile.objs | 1 +
hw/net/pch_gbe.c | 766 +++
2 files changed, 767 insertions(+)
create mode 100644 hw/net/pch_gbe.c
diff --git a/hw
From: Paul Burton
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 such that git reports the
MSI on 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 Bos
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 a/dtc b/dtc
> index 65c
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 g
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: 20160908145158.30720-1-paul.bur...@
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
Reviewed-by: Leon Alrae
---
target-mips/cpu.h | 1 +
target-mips/translate.c | 10 ++
2 files changed, 11 insertions
an already pending interrupt is unmasked.
Signed-off-by: Paul Burton
Reviewed-by: Leon Alrae
---
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 6e25773
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
Reviewed-by: Leon Alrae
---
hw/timer/mips_gictimer.c | 5 +
include
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
Reviewed-by: L
will
only allow use of CPUs which implement the CPS components, including the
GIC, and will otherwise exit with a message.
Signed-off-by: Paul Burton
---
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 B
typically boots kernels in the form of FIT images,
and will make use of this code.
Signed-off-by: Paul Burton
---
hw/core/Makefile.objs | 1 +
hw/core/loader-fit.c| 287
hw/core/loader.c| 3 +-
include/hw/loader-fit.h | 41
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
---
This will rely upon the dtc v1.4.2 tag being pushed to the dtc
repos
nel
argument, 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
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
> Su
will
only allow use of CPUs which implement the CPS components, including the
GIC, and will otherwise exit with a message.
Signed-off-by: Paul Burton
---
default-configs/mips-softmmu-common.mak | 2 +
hw/mips/Makefile.objs | 1 +
hw/mips/boston.c| 526 +
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 B
typically boots kernels in the form of FIT images,
and will make use of this code.
Signed-off-by: Paul Burton
---
hw/core/Makefile.objs | 1 +
hw/core/loader-fit.c| 287
hw/core/loader.c| 3 +-
include/hw/loader-fit.h | 41
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
---
hw/timer/mips_gictimer.c | 5 +
include/hw/timer/mips_gictimer.h
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
---
target-mips/cpu.h | 1 +
target-mips/translate.c | 10 ++
2 files changed, 11 insertions(+)
diff --git a/target-mips
an already pending interrupt is unmasked.
Signed-off-by: Paul Burton
---
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 6e25773..15e6e40 100644
--- a/hw
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
---
hw/misc/mip
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
Cc: Aurelien Jarno
Cc: Leon Alrae
---
hw/mips/mips_malta.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/mips/mips_malta.c b/hw/mips/mips_malta.c
index 34d41ef..e90857e 100644
--- a/hw/mips/mips_malta.c
+++ b
g its size
& location.
Signed-off-by: Paul Burton
Cc: Aurelien Jarno
Cc: Leon Alrae
---
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:
http://www.linux-mips.org/archives/linux-mips/2015-05
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.
>
>
On Tue, Jun 24, 2014 at 09:19:45AM +0100, Peter Maydell wrote:
> On 24 June 2014 00:53, Paul Burton 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
> >
On Mon, Jun 23, 2014 at 11:42:14PM +0100, Peter Maydell wrote:
> On 23 June 2014 23:36, Paul Burton 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 pa
On Tue, Jun 24, 2014 at 12:21:42AM +0100, Peter Maydell wrote:
> On 24 June 2014 00:06, Paul Burton 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 t
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 t
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
On Mon, Jun 23, 2014 at 11:12:42PM +0100, Peter Maydell wrote:
> On 23 June 2014 22:40, Paul Burton 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
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
---
linux-user/syscall.c | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/linux-user/syscall.c b/linux-user
MIPS requires the pad field to 64b-align the data field just as ARM
does.
Signed-off-by: Paul Burton
---
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 deletion(-)
diff --git a
Add a definition of the KDSIGACCEPT ioctl & allow its use by target
programs.
Signed-off-by: Paul Burton
---
Changes in v3:
- Translate signal number to host value.
Changes in v2:
- None.
---
linux-user/ioctls.h | 1 +
linux-user/syscall.c | 7 +++
linux-user/syscall_de
Add support for the unshare syscall, trivially passed through to the
host.
Signed-off-by: Paul Burton
---
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/syscall.c
index
Adds support for the timerfd_create, timerfd_gettime & timerfd_settime
syscalls, allowing use of timerfds by target programs.
Signed-off-by: Paul Burton
---
Changes in v3:
- Fix coding style, checkpatch clean.
Changes in v2:
- None.
---
linux-user/strace.list | 9 +
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
---
Changes in v3:
- Fix coding style, checkpatch clean.
Changes in v2:
- None.
---
linux-user/strace.c| 30 ++
linux
ument is described by the settimeofday man page as
obsolete, it is used by systemd as of version 213.
Signed-off-by: Paul Burton
---
Changes in v3:
- Fix coding style, checkpatch clean.
Changes in v2:
- None.
---
linux-user/syscall.c | 29 -
linux-user/syscal
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
---
Changes in v3:
- None.
Changes in v2:
- None.
---
linux-user
cked.
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
---
Changes in v3:
- Fix coding style, checkpatch clean.
Changes in v2:
- None.
---
linux-user/syscal
Add support for the setns syscall, trivially passed through to the host.
Signed-off-by: Paul Burton
---
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 a/linux-user/strace.list
Add a definition of the SIOCGIFINDEX ioctl, allowing its use by target
programs.
Signed-off-by: Paul Burton
---
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 --git a/linux-user
Add support for the ioprio_get & ioprio_set syscalls, allowing their
use by target programs.
Signed-off-by: Paul Burton
---
Changes in v3:
- None.
Changes in v2:
- Declare the host syscalls conditionally upon whether both host &
target define their numbers, to avoid comp
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
---
Changes in v3:
- Fix coding style, checkpatch clean.
Changes in v2:
- None.
--
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_
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 Bu
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
---
Changes in v3:
- None.
Changes in v2:
- Fix the value of TARGET_SO_PASSSEC for the sparc target.
---
linux-
Translate the SO_ACCEPTCONN option to the host value & execute the
syscall as expected.
Signed-off-by: Paul Burton
---
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/linux-user/sysca
tion 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
---
Changes in v3:
- Fix coding style, checkpatch clean.
Changes in v2:
- Remove indirection via a function pointer, and
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 fr
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(KDGETL
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
> &g
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
Add support for the setns syscall, trivially passed through to the host.
Signed-off-by: Paul Burton
---
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/linux-user/strace.list
Add a definition of the SIOCGIFINDEX ioctl, allowing its use by target
programs.
Signed-off-by: Paul Burton
---
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/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
---
Changes in v2:
- None.
---
linux-user/strace.list | 9 +
linux-user/syscall.c
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 Bu
Add a definition of the KDSIGACCEPT ioctl & allow its use by target
programs.
Signed-off-by: Paul Burton
---
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/linux-user/ioct
cked.
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
---
Changes in v2:
- None.
---
linux-user/syscall.c | 68 +++-
1 file changed, 46 insertions(+)
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
---
Changes in v2:
- Fix the value of TARGET_SO_PASSSEC for the sparc target.
---
linux-user/socket.h | 5 +
l
ument is described by the settimeofday man page as
obsolete, it is used by systemd as of version 213.
Signed-off-by: Paul Burton
---
Changes in v2:
- None.
---
linux-user/syscall.c | 27 ++-
linux-user/syscall_defs.h | 5 +
2 files changed, 31 insertions(+), 1
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
---
Changes in v2:
- None.
---
linux-user/strace.c| 30 ++
linux-user/strace.list | 6 ++
linux-user/syscall.c
Add support for the ioprio_get & ioprio_set syscalls, allowing their
use by target programs.
Signed-off-by: Paul Burton
---
Changes in v2:
- Declare the host syscalls conditionally upon whether both host &
target define their numbers, to avoid compile time warnings/errors
a
tion 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
---
Changes in v2:
- Remove indirection via a function pointer, and just call
host_to_target_sock_type directly.
---
linux-
MIPS requires the pad field to 64b-align the data field just as ARM
does.
Signed-off-by: Paul Burton
---
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-user/syscall_defs.h b
Add support for the unshare syscall, trivially passed through to the
host.
Signed-off-by: Paul Burton
---
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..936064c 100644
--- a
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
---
Changes in v2:
- None.
---
linux-user/strace.list | 3 +++
1
From: Paul Burton
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 resul
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
---
Changes in v2:
- None.
---
linux-user/syscall.c | 6 ++
1 file changed, 6 in
Translate the SO_ACCEPTCONN option to the host value & execute the
syscall as expected.
Signed-off-by: Paul Burton
---
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 30610e7..dba
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(
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
---
linux-user/strace.list | 3 +++
1 file changed, 3 insertions
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 Bu
Adds support for the timerfd_create, timerfd_gettime & timerfd_settime
syscalls, allowing use of timerfds by target programs.
Signed-off-by: Paul Burton
---
linux-user/strace.list | 9 +
linux-user/syscall.c | 44
2 files changed
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
---
linux-user/socket.h | 2 ++
linux-user/syscall.c | 3 +++
2 files changed, 5 insertions(+)
diff --git a/linux-
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
---
linux-user/syscall.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/li
Add a definition of the SIOCGIFINDEX ioctl, allowing its use by target
programs.
Signed-off-by: Paul Burton
---
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 cd21e64..20551a8
Add support for the unshare syscall, trivially passed through to the
host.
Signed-off-by: Paul Burton
---
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-user/syscall.c
+++ b
Add a definition of the KDSIGACCEPT ioctl & allow its use by target
programs.
Signed-off-by: Paul Burton
---
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 309fb21..cd21e64 10
Add support for the setns syscall, trivially passed through to the host.
Signed-off-by: Paul Burton
---
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 147f579..d5b8033 100644
Add support for the ioprio_get & ioprio_set syscalls, allowing their
use by target programs.
Signed-off-by: Paul Burton
---
linux-user/syscall.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 0830205..c7f176a 10
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
---
linux-user/strace.c| 30 ++
linux-user/strace.list | 6 ++
linux-user/syscall.c | 50
MIPS requires the pad field to 64b-align the data field just as ARM
does.
Signed-off-by: Paul Burton
---
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..9fcb723 100644
--- a/linux
ument is described by the settimeofday man page as
obsolete, it is used by systemd as of version 213.
Signed-off-by: Paul Burton
---
linux-user/syscall.c | 27 ++-
linux-user/syscall_defs.h | 5 +
2 files changed, 31 insertions(+), 1 deletion(-)
diff --git a/li
cked.
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
---
linux-user/syscall.c | 68 +++-
1 file changed, 46 insertions(+), 22 deletions(-)
diff --git a/l
tion 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
---
linux-user/syscall.c | 33 +
1 file changed, 33 insertions(+)
diff --git a/linux-user/sysca
1 - 100 of 105 matches
Mail list logo