Re: [PATCH v2] .mailmap: Update Paul Burton email address

2020-08-09 Thread Paul Burton
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

Re: [PATCH v3 2/2] MAINTAINERS: Adjust MIPS maintainership

2020-07-01 Thread Paul Burton
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

Re: [Qemu-devel] [RFC PATCH 10/10] hw/pci-host/gt64120: Clean the decoded address space

2019-07-17 Thread Paul Burton
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 > >

Re: [Qemu-devel] [PATCH v2 4/6] mips: Express dependencies of the Boston machine with kconfig

2019-02-28 Thread Paul Burton
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-

[Qemu-devel] [PATCH] atomic.h: Set ATOMIC_REG_SIZE=8 for MIPS n32

2018-12-05 Thread Paul Burton
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

Re: [Qemu-devel] [PATCH] target/mips: Add initrd support for Boston board

2018-11-05 Thread Paul Burton
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

Re: [Qemu-devel] [PATCH 0/2] mips boston/malta: don't have nomigrate RAM regions

2018-06-15 Thread Paul Burton
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

Re: [Qemu-devel] [PULL v2 7/8] hw: xilinx-pcie: Add support for Xilinx AXI PCIe Controller

2018-06-06 Thread Paul Burton
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

[Qemu-devel] [PATCH 2/2] hw/mips/boston: Enable pch_gbe ethernet controller

2018-02-17 Thread Paul Burton
-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

[Qemu-devel] [PATCH 0/2] MIPS Boston / pch_gbe ethernet support

2018-02-17 Thread Paul Burton
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

[Qemu-devel] [PATCH 1/2] hw/net: Add support for Intel pch_gbe ethernet

2018-02-17 Thread Paul Burton
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

[Qemu-devel] [PATCH] Update Paul Burton's email address

2017-10-20 Thread Paul Burton
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

Re: [Qemu-devel] [PATCH] msi: remove return code for msi_init()

2017-06-01 Thread Paul Burton
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

Re: [Qemu-devel] [PATCH v2 0/8] MIPS Boston board support

2016-10-27 Thread Paul Burton
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

Re: [Qemu-devel] [PATCH 1/1] dtc: Update dtc / libfdt submodule to version 1.4.2

2016-09-26 Thread Paul Burton
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

Re: [Qemu-devel] QEMU dtc submodule

2016-09-23 Thread Paul Burton
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

Re: [Qemu-devel] [PATCH v2 0/8] MIPS Boston board support

2016-09-08 Thread Paul Burton
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:

[Qemu-devel] [PATCH v2 4/8] target-mips: Provide function to test if a CPU supports an ISA

2016-09-08 Thread Paul Burton
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

[Qemu-devel] [PATCH v2 3/8] hw/mips_gic: Update pin state on mask changes

2016-09-08 Thread Paul Burton
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

[Qemu-devel] [PATCH v2 2/8] hw/mips_gictimer: provide API for retrieving frequency

2016-09-08 Thread Paul Burton
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

[Qemu-devel] [PATCH v2 1/8] hw/mips_cmgcr: allow GCR base to be moved

2016-09-08 Thread Paul Burton
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

[Qemu-devel] [PATCH v2 8/8] hw/mips: MIPS Boston board support

2016-09-08 Thread Paul Burton
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

[Qemu-devel] [PATCH v2 7/8] hw: xilinx-pcie: Add support for Xilinx AXI PCIe Controller

2016-09-08 Thread Paul Burton
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

[Qemu-devel] [PATCH v2 6/8] loader: Support Flattened Image Trees (FIT images)

2016-09-08 Thread 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

[Qemu-devel] [PATCH v2 5/8] dtc: Update requirement to v1.4.2

2016-09-08 Thread Paul Burton
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

[Qemu-devel] [PATCH v2 0/8] MIPS Boston board support

2016-09-08 Thread Paul Burton
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

Re: [Qemu-devel] [PATCH 0/7] MIPS Boston board support

2016-09-08 Thread Paul Burton
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

Re: [Qemu-devel] [PATCH 0/7] MIPS Boston board support

2016-08-19 Thread Paul Burton
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 >

[Qemu-devel] [PATCH 7/7] hw/mips: MIPS Boston board support

2016-08-19 Thread Paul Burton
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.

[Qemu-devel] [PATCH 6/7] hw: xilinx-pcie: Add support for Xilinx AXI PCIe Controller

2016-08-19 Thread Paul Burton
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

[Qemu-devel] [PATCH 5/7] loader: Support Flattened Image Trees (FIT images)

2016-08-19 Thread 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

[Qemu-devel] [PATCH 2/7] hw/mips_gictimer: provide API for retrieving frequency

2016-08-19 Thread Paul Burton
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

[Qemu-devel] [PATCH 4/7] target-mips: Provide function to test if a CPU supports an ISA

2016-08-19 Thread Paul Burton
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

[Qemu-devel] [PATCH 3/7] hw/mips_gic: Update pin state on mask changes

2016-08-19 Thread Paul Burton
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

[Qemu-devel] [PATCH 1/7] hw/mips_cmgcr: allow GCR base to be moved

2016-08-19 Thread Paul Burton
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

[Qemu-devel] [PATCH 0/7] MIPS Boston board support

2016-08-19 Thread Paul Burton
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

[Qemu-devel] [PATCH] hw/mips_malta: Fix YAMON API print routine

2016-07-22 Thread Paul Burton
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

[Qemu-devel] [PATCH] mips_malta: provide ememsize env variable to kernels

2015-05-25 Thread Paul Burton
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

Re: [Qemu-devel] [12/16] linux-user: support {name_to, open_by}_handle_at syscalls

2014-08-26 Thread Paul Burton
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

Re: [Qemu-devel] [PATCH] linux-user: fix ipc(SEMCTL, ...) argument handling

2014-06-24 Thread Paul Burton
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

[Qemu-devel] [PATCH] linux-user: fix ipc(SEMCTL, ...) argument handling

2014-06-23 Thread Paul Burton
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

Re: [Qemu-devel] [PATCH] linux-user: fix ipc(SEMCTL, ...) argument handling

2014-06-23 Thread Paul Burton
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

Re: [Qemu-devel] [PATCH] linux-user: fix ipc(SEMCTL, ...) argument handling

2014-06-23 Thread Paul Burton
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

Re: [Qemu-devel] [PATCH] linux-user: fix ipc(SEMCTL, ...) argument handling

2014-06-23 Thread Paul Burton
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

Re: [Qemu-devel] [PATCH] linux-user: fix ipc(SEMCTL, ...) argument handling

2014-06-23 Thread Paul Burton
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

Re: [Qemu-devel] [PATCH] linux-user: fix ipc(SEMCTL, ...) argument handling

2014-06-23 Thread Paul Burton
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

Re: [Qemu-devel] [PATCH v2 15/16] linux-user: support the KDSIGACCEPT ioctl

2014-06-22 Thread Paul Burton
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,

Re: [Qemu-devel] [PATCH v2 08/16] linux-user: respect timezone for settimeofday

2014-06-22 Thread Paul Burton
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

[Qemu-devel] [PATCH v3 04/16] linux-user: support SO_PASSSEC setsockopt option

2014-06-22 Thread Paul Burton
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

[Qemu-devel] [PATCH v3 02/16] linux-user: support SO_ACCEPTCONN getsockopt option

2014-06-22 Thread Paul Burton
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

[Qemu-devel] [PATCH v3 01/16] linux-user: translate the result of getsockopt SO_TYPE

2014-06-22 Thread Paul Burton
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

[Qemu-devel] [PATCH v3 09/16] linux-user: allow NULL tv argument for settimeofday

2014-06-22 Thread Paul Burton
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

[Qemu-devel] [PATCH v3 03/16] linux-user: support SO_{SND, RCV}BUFFORCE setsockopt options

2014-06-22 Thread Paul Burton
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

[Qemu-devel] [PATCH v3 00/16] linux-user fixes improvements

2014-06-22 Thread 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 result of getsockopt SO_TYPE

[Qemu-devel] [PATCH v3 11/16] linux-user: support ioprio_{get, set} syscalls

2014-06-22 Thread Paul Burton
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

[Qemu-devel] [PATCH v3 16/16] linux-user: support the SIOCGIFINDEX ioctl

2014-06-22 Thread Paul Burton
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

[Qemu-devel] [PATCH v3 05/16] linux-user: allow NULL arguments to mount

2014-06-22 Thread Paul Burton
. 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

[Qemu-devel] [PATCH v3 13/16] linux-user: support the setns syscall

2014-06-22 Thread Paul Burton
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

[Qemu-devel] [PATCH v3 06/16] linux-user: support strace of epoll_create1

2014-06-22 Thread Paul Burton
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

[Qemu-devel] [PATCH v3 08/16] linux-user: respect timezone for settimeofday

2014-06-22 Thread Paul Burton
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

[Qemu-devel] [PATCH v3 12/16] linux-user: support {name_to, open_by}_handle_at syscalls

2014-06-22 Thread Paul Burton
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

[Qemu-devel] [PATCH v3 10/16] linux-user: support timerfd_{create, gettime, settime} syscalls

2014-06-22 Thread Paul Burton
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

[Qemu-devel] [PATCH v3 14/16] linux-user: support the unshare syscall

2014-06-22 Thread Paul Burton
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

[Qemu-devel] [PATCH v3 15/16] linux-user: support the KDSIGACCEPT ioctl

2014-06-22 Thread Paul Burton
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

[Qemu-devel] [PATCH v3 07/16] linux-user: fix struct target_epoll_event layout for MIPS

2014-06-22 Thread Paul Burton
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

Re: [Qemu-devel] [PATCH 01/16] linux-user: translate the result of getsockopt SO_TYPE

2014-06-21 Thread Paul Burton
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) {

[Qemu-devel] [PATCH v2 00/16] linux-user fixes improvements

2014-06-21 Thread Paul Burton
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

[Qemu-devel] [PATCH v2 03/16] linux-user: support SO_{SND, RCV}BUFFORCE setsockopt options

2014-06-21 Thread Paul Burton
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

[Qemu-devel] [PATCH v2 02/16] linux-user: support SO_ACCEPTCONN getsockopt option

2014-06-21 Thread Paul Burton
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

[Qemu-devel] [PATCH v2 06/16] linux-user: support strace of epoll_create1

2014-06-21 Thread Paul Burton
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

[Qemu-devel] [PATCH v2 14/16] linux-user: support the unshare syscall

2014-06-21 Thread Paul Burton
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

[Qemu-devel] [PATCH v2 01/16] linux-user: translate the result of getsockopt SO_TYPE

2014-06-21 Thread Paul Burton
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

[Qemu-devel] [PATCH v2 07/16] linux-user: fix struct target_epoll_event layout for MIPS

2014-06-21 Thread Paul Burton
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

[Qemu-devel] [PATCH v2 11/16] linux-user: support ioprio_{get, set} syscalls

2014-06-21 Thread Paul Burton
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

[Qemu-devel] [PATCH v2 12/16] linux-user: support {name_to, open_by}_handle_at syscalls

2014-06-21 Thread Paul Burton
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

[Qemu-devel] [PATCH v2 08/16] linux-user: respect timezone for settimeofday

2014-06-21 Thread Paul Burton
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

[Qemu-devel] [PATCH v2 04/16] linux-user: support SO_PASSSEC setsockopt option

2014-06-21 Thread Paul Burton
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

[Qemu-devel] [PATCH v2 05/16] linux-user: allow NULL arguments to mount

2014-06-21 Thread Paul Burton
. 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

[Qemu-devel] [PATCH v2 15/16] linux-user: support the KDSIGACCEPT ioctl

2014-06-21 Thread Paul Burton
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

[Qemu-devel] [PATCH v2 09/16] linux-user: allow NULL tv argument for settimeofday

2014-06-21 Thread Paul Burton
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

[Qemu-devel] [PATCH v2 16/16] linux-user: support the SIOCGIFINDEX ioctl

2014-06-21 Thread Paul Burton
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

[Qemu-devel] [PATCH v2 10/16] linux-user: support timerfd_{create, gettime, settime} syscalls

2014-06-21 Thread Paul Burton
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

[Qemu-devel] [PATCH v2 13/16] linux-user: support the setns syscall

2014-06-21 Thread Paul Burton
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

Re: [Qemu-devel] [PATCH 04/16] linux-user: support SO_PASSSEC setsockopt option

2014-06-21 Thread Paul Burton
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

Re: [Qemu-devel] [PATCH 07/16] linux-user: fix struct target_epoll_event layout for MIPS

2014-06-21 Thread Paul Burton
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

[Qemu-devel] [PATCH 02/16] linux-user: support SO_ACCEPTCONN getsockopt option

2014-06-15 Thread Paul Burton
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

[Qemu-devel] [PATCH 01/16] linux-user: translate the result of getsockopt SO_TYPE

2014-06-15 Thread Paul Burton
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

[Qemu-devel] [PATCH 00/16] linux-user fixes improvements

2014-06-15 Thread 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 result of getsockopt SO_TYPE

[Qemu-devel] [PATCH 05/16] linux-user: allow NULL arguments to mount

2014-06-15 Thread Paul Burton
. 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

[Qemu-devel] [PATCH 08/16] linux-user: respect timezone for settimeofday

2014-06-15 Thread Paul Burton
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

[Qemu-devel] [PATCH 07/16] linux-user: fix struct target_epoll_event layout for MIPS

2014-06-15 Thread Paul Burton
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

[Qemu-devel] [PATCH 12/16] linux-user: support {name_to, open_by}_handle_at syscalls

2014-06-15 Thread Paul Burton
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

[Qemu-devel] [PATCH 13/16] linux-user: support the setns syscall

2014-06-15 Thread Paul Burton
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

[Qemu-devel] [PATCH 11/16] linux-user: support ioprio_{get, set} syscalls

2014-06-15 Thread Paul Burton
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

[Qemu-devel] [PATCH 15/16] linux-user: support the KDSIGACCEPT ioctl

2014-06-15 Thread Paul Burton
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

[Qemu-devel] [PATCH 14/16] linux-user: support the unshare syscall

2014-06-15 Thread Paul Burton
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

[Qemu-devel] [PATCH 16/16] linux-user: support the SIOCGIFINDEX ioctl

2014-06-15 Thread Paul Burton
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

[Qemu-devel] [PATCH 03/16] linux-user: support SO_{SND, RCV}BUFFORCE setsockopt options

2014-06-15 Thread Paul Burton
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

[Qemu-devel] [PATCH 04/16] linux-user: support SO_PASSSEC setsockopt option

2014-06-15 Thread Paul Burton
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

[Qemu-devel] [PATCH 10/16] linux-user: support timerfd_{create, gettime, settime} syscalls

2014-06-15 Thread Paul Burton
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   2   >