On Saturday, January 25, 2020, Richard Henderson <
richard.hender...@linaro.org> wrote:
> On 1/24/20 1:38 PM, Aleksandar Markovic wrote:
> > On Friday, January 24, 2020, Richard Henderson <
> richard.hender...@linaro.org
> > <mailto:richard.hender...@linaro.org&
On Friday, January 24, 2020, Richard Henderson
wrote:
> On 1/24/20 10:56 AM, Aleksandar Markovic wrote:
> >
> >
> > On Friday, January 24, 2020, Richard Henderson <
> richard.hender...@linaro.org
> > <mailto:richard.hender...@linaro.org>> wrote:
On Friday, January 24, 2020, Richard Henderson
wrote:
> On 1/24/20 6:38 AM, Aleksandar Markovic wrote:
> > The basic disassembly logic was obtained by somewhat modified script
> > decodetree.py, and such output was further manually modified to
> > handle numerous deta
> I don't think the patches from Igor are suitable for cherry-picking
> into your tree, because they depend on earlier patches from the
> start of his series which haven't yet gone into master.
Auch. Sorry. In that case, please ignore this pull request. I will send a new
one hopefully next week.
of manually initializing
RAM memory region.
Signed-off-by: Aleksandar Markovic
Signed-off-by: Igor Mammedov
Reviewed-by: Philippe Mathieu-Daudé
Message-Id: <1579779525-20065-57-git-send-email-imamm...@redhat.com>
---
hw/mips/mips_r4k.c | 12
1 file changed, 4 insertions
From: Daniel Henrique Barboza
The label 'uhi_done' is a simple 'return' call and can
be removed for a bit more clarity in the code.
CC: Aurelien Jarno
CC: Aleksandar Markovic
CC: Aleksandar Rikalo
Reviewed-by: Aleksandar Markovic
Signed-off-by: Aleksandar Markovic
Signed-off-by: Daniel
of manually initializing
RAM memory region.
Signed-off-by: Aleksandar Markovic
Signed-off-by: Igor Mammedov
Reviewed-by: Philippe Mathieu-Daudé
Tested-by: Philippe Mathieu-Daudé
Message-Id: <1579779525-20065-55-git-send-email-imamm...@redhat.com>
---
hw/mips/mips_malta.c | 10 ---
From: Aleksandar Markovic
Change the documented (in file qemu-deprecated.texi) release since
r4k machine is deprecated from 4.2 to 5.0.
Fixes: d32dc61421b
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Aleksandar Markovic
Message-Id: <1579883929-1517-2-git-send-email-aleksandar.ma
From: Aleksandar Markovic
The following changes since commit ba2ed84fe6a78f64b2da441750fc6e925d94106a:
Merge remote-tracking branch 'remotes/palmer/tags/riscv-for-master-5.0-sf1'
into staging (2020-01-24 12:34:04 +)
are available in the git repository at:
https://github.com/AMarkovic
of manually initializing
RAM memory region.
Signed-off-by: Aleksandar Markovic
Signed-off-by: Igor Mammedov
Reviewed-by: Philippe Mathieu-Daudé
Message-Id: <1579779525-20065-54-git-send-email-imamm...@redhat.com>
---
hw/mips/mips_jazz.c | 7 +++
1 file changed, 3 insertions(+), 4 del
From: Aleksandar Markovic
This patch adds a field "target_info" to the structure
disassemble_info. The purpose of this field is to enable targets
to pass to disassembler code any additional data thet deem suitable.
Reviewed-by: Aleksandar Rikalo
Signed-off-by: Aleksandar Markovic
of manually initializing
RAM memory region.
Signed-off-by: Aleksandar Markovic
Signed-off-by: Igor Mammedov
Reviewed-by: Philippe Mathieu-Daudé
Tested-by: Philippe Mathieu-Daudé
Message-Id: <1579779525-20065-56-git-send-email-imamm...@redhat.com>
---
hw/mips/mips_mipssim.c | 9 +++---
> From: Aleksandar Markovic
> Cc: peter.mayd...@linaro.org; Aleksandar Markovic
> Subject: [EXTERNAL][PULL 0/7] MIPS queue for January 24th, 2020
I forgot one "Signed-off-by:". Will send v2 shortly.
Thanks,
Aleksandar
of manually initializing
RAM memory region.
Signed-off-by: Aleksandar Markovic
Signed-off-by: Igor Mammedov
Reviewed-by: Philippe Mathieu-Daudé
Message-Id: <1579779525-20065-57-git-send-email-imamm...@redhat.com>
---
hw/mips/mips_r4k.c | 12
1 file changed, 4 insertions
of manually initializing
RAM memory region.
Signed-off-by: Aleksandar Markovic
Signed-off-by: Igor Mammedov
Reviewed-by: Philippe Mathieu-Daudé
Tested-by: Philippe Mathieu-Daudé
Message-Id: <1579779525-20065-56-git-send-email-imamm...@redhat.com>
---
hw/mips/mips_mipssim.c | 9 +++---
From: Aleksandar Markovic
The following changes since commit ba2ed84fe6a78f64b2da441750fc6e925d94106a:
Merge remote-tracking branch 'remotes/palmer/tags/riscv-for-master-5.0-sf1'
into staging (2020-01-24 12:34:04 +)
are available in the git repository at:
https://github.com/AMarkovic
From: Aleksandar Markovic
This patch adds a field "target_info" to the structure
disassemble_info. The purpose of this field is to enable targets
to pass to disassembler code any additional data thet deem suitable.
Reviewed-by: Aleksandar Rikalo
Signed-off-by: Aleksandar Markovic
of manually initializing
RAM memory region.
Signed-off-by: Aleksandar Markovic
Signed-off-by: Igor Mammedov
Reviewed-by: Philippe Mathieu-Daudé
Tested-by: Philippe Mathieu-Daudé
Message-Id: <1579779525-20065-55-git-send-email-imamm...@redhat.com>
---
hw/mips/mips_malta.c | 10 ---
From: Daniel Henrique Barboza
The label 'uhi_done' is a simple 'return' call and can
be removed for a bit more clarity in the code.
CC: Aurelien Jarno
CC: Aleksandar Markovic
CC: Aleksandar Rikalo
Signed-off-by: Daniel Henrique Barboza
Reviewed-by: Aleksandar Markovic
Message-Id
of manually initializing
RAM memory region.
Signed-off-by: Aleksandar Markovic
Signed-off-by: Igor Mammedov
Reviewed-by: Philippe Mathieu-Daudé
Message-Id: <1579779525-20065-54-git-send-email-imamm...@redhat.com>
---
hw/mips/mips_jazz.c | 7 +++
1 file changed, 3 insertions(+), 4 del
From: Aleksandar Markovic
Change the documented (in file qemu-deprecated.texi) release since
r4k machine is deprecated from 4.2 to 5.0.
Fixes: d32dc61421b
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Aleksandar Markovic
Message-Id: <1579883929-1517-2-git-send-email-aleksandar.ma
On Mon, Jan 6, 2020 at 7:29 PM Daniel Henrique Barboza <
danielhb...@gmail.com> wrote:
> The label 'uhi_done' is a simple 'return' call and can
> be removed for a bit more clarity in the code.
>
> CC: Aurelien Jarno
> CC: Aleksandar Markovic
> CC: Aleksandar Rikalo
On Thu, Jan 23, 2020 at 1:22 PM Igor Mammedov wrote:
> memory_region_allocate_system_memory() API is going away, so
> replace it with memdev allocated MemoryRegion. The later is
> initialized by generic code, so board only needs to opt in
> to memdev scheme by providing
>
On Thu, Jan 23, 2020 at 1:24 PM Igor Mammedov wrote:
> memory_region_allocate_system_memory() API is going away, so
> replace it with memdev allocated MemoryRegion. The later is
> initialized by generic code, so board only needs to opt in
> to memdev scheme by providing
>
On Thu, Jan 23, 2020 at 1:19 PM Igor Mammedov wrote:
> memory_region_allocate_system_memory() API is going away, so
> replace it with memdev allocated MemoryRegion. The later is
> initialized by generic code, so board only needs to opt in
> to memdev scheme by providing
>
On Thu, Jan 23, 2020 at 1:15 PM Igor Mammedov wrote:
> memory_region_allocate_system_memory() API is going away, so
> replace it with memdev allocated MemoryRegion. The later is
> initialized by generic code, so board only needs to opt in
> to memdev scheme by providing
>
From: Yongbok Kim
Implement emulation of GINVT instruction. As QEMU doesn't support
caches and virtualization, this implementation covers only GINVT
(Global Invalidate TLB) instruction among TLB-related instructions.
Signed-off-by: Yongbok Kim
Signed-off-by: Aleksandar Markovic
---
disas
From: Aleksandar Markovic
Add support for eight CRC-related MIPS<32|64>R6 instructions.
Signed-off-by: Aleksandar Markovic
---
disas/mips.c| 8 +++
target/mips/helper.h| 2 +
target/mips/op_helper.c | 19
target/mips/translate.c
From: Aleksandar Markovic
Micromips instruction sets (in all variants R2, R3, R5, R6) represent
significant departure from regular mips R2, R3, R5, R6. That is the
main reason a separate module is developed for the purpose of
disassembling micromips sets.
This patch is limited to micromips 32R6
From: Aleksandar Markovic
Change the documented (in file qemu-deprecated.texi) release since
r4k machine is deprecated from 4.2 to 5.0.
Fixes: d32dc61421b
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Aleksandar Markovic
---
qemu-deprecated.texi | 2 +-
1 file changed, 1 insertion
From: Yongbok Kim
WatchHi is extended by the field MemoryMapID with the GINVT instruction.
The field is accessible by MTHC0/MFHC0 in 32-bit architectures and DMTC0/
DMFC0 in 64-bit architectures.
Signed-off-by: Yongbok Kim
Signed-off-by: Aleksandar Markovic
---
target/mips/cpu.h | 2
From: Aleksandar Markovic
This series contains a variety of fixes and improvements for
target MIPS.
v3->v4:
- split micromips R6 disassembler patch to more manageable parts
- added new field to disassemble_info structure
- CRC32 refactoring is as is in this version, but refactor
From: Aleksandar Markovic
This patch adds a field "target_info" to the structure
disassemble_info. The purpose of this field is to enable targets
to pass to disassembler code any additional data thet deem suitable.
Signed-off-by: Aleksandar Markovic
---
include/disas/dis-asm.h | 3 +
From: Aleksandar Markovic
Both FIFREEZE and FITHAW ioctls accept an integer as their third
argument.
All ioctls in this group (FI* ioctl) are guarded with "#ifdef", so the
guards are used in this implementation too for consistency (however,
many of ioctls in FI* group became
From: Aleksandar Markovic
FITRIM ioctl accepts a pointer to the structure
struct fstrim_range {
__u64 start;
__u64 len;
__u64 minlen;
};
as its third argument.
All ioctls in this group (FI* ioctl) are guarded with "#ifdef", so the
guards are used in this implemen
From: Aleksandar Markovic
This series is a spin-off of v5 of earlier series "linux-user: Misc
patches for 5.0", that became too large to manage. I will submit the
rest of that large series separately.
The only difference between patches in this series and in the former
series i
From: Aleksandar Markovic
FDGETFDCSTAT's third agrument is a pointer to the structure:
struct floppy_fdc_state {
int spec1;
int spec2;
int dtr;
unsigned char version;
unsigned char dor;
unsigned long address;
unsigned int rawcmd:2;
unsigned int reset:1
From: Aleksandar Markovic
Both FS_IOC_FSGETXATTR and FS_IOC_FSSETXATTR accept a pointer to
the structure
struct fsxattr {
__u32 fsx_xflags; /* xflags field value (get/set) */
__u32 fsx_extsize;/* extsize field value (get/set)*/
__u32 fsx_nextents
On Wed, Jan 22, 2020 at 3:17 AM Taylor Simpson wrote:
>
>
>
> > From: Aleksandar Markovic
> >
> > Add support for eight CRC-related MIPS<32|64>R6 instructions.
> >
> > Signed-off-by: Aleksandar Markovic
> > ---
> > disas/mips.
*Extend support for ioctls in QEMU linux-user mode*
*PLANNED ACTIVITIES*
BACKGROUND
There is currently 2500+ ioctls defined in Linux kernel. QEMU linux-user
currently supports only several hundred. There is a constant need for
expanding ioctl support in QEMU. Users use Linux-user mode in
On Tue, Jan 21, 2020 at 9:08 AM Lukáš Doktor wrote:
>
> Dne 18. 01. 20 v 15:08 Aleksandar Markovic napsal(a):
> > Hi, everybody.
> >
> > I am going to propose several ideas for QEMU participation in
> > GSoC/Outreachy in next few days. This is the first one.
From: Aleksandar Markovic
Add support for eight CRC-related MIPS<32|64>R6 instructions.
Signed-off-by: Aleksandar Markovic
---
disas/mips.c| 8 +++
target/mips/helper.h| 2 +
target/mips/op_helper.c | 19
target/mips/translate.c
From: Aleksandar Markovic
Change the documented (in file qemu-deprecated.texi) release since
r4k machine is deprecated from 4.2 to 5.0.
Fixes: d32dc61421b
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Aleksandar Markovic
---
qemu-deprecated.texi | 2 +-
1 file changed, 1 insertion
From: Yongbok Kim
WatchHi is extended by the field MemoryMapID with the GINVT instruction.
The field is accessible by MTHC0/MFHC0 in 32-bit architectures and DMTC0/
DMFC0 in 64-bit architectures.
Signed-off-by: Yongbok Kim
Signed-off-by: Aleksandar Markovic
---
target/mips/cpu.h | 2
From: Aleksandar Markovic
This series contains a variety of fixes and improvements for
target MIPS.
v2->v3:
- added micromips R6 disassembler
Aleksandar Markovic (3):
target/mips: Rectify documentation on deprecating r4k machine
target/mips: Add support for MIPS<32|64>R6
On Mon, Jan 20, 2020 at 3:51 PM Stefan Hajnoczi wrote:
>
> On Sat, Jan 18, 2020 at 03:08:37PM +0100, Aleksandar Markovic wrote:
> > 3) The community will be given all devised performance measurement methods
> > in the form of easily reproducible step-by-step setup and executi
From: Yongbok Kim
Implement emulation of GINVT instruction. As QEMU doesn't support
caches and virtualization, this implementation covers only GINVT
(Global Invalidate TLB) instruction among TLB-related instructions.
Signed-off-by: Yongbok Kim
Signed-off-by: Aleksandar Markovic
---
disas
action items)
Deliverable will be distributed over wide time interval (in other words, they
will not be presented just at the end of project, but gradually during project
execution).
Mentor: Aleksandar Markovic (myself) (but, I am perfectly fine if somebody else
wants to mentor the project
On Thu, Jan 16, 2020 at 1:00 PM Arnd Bergmann wrote:
>
> On Thu, Jan 16, 2020 at 12:27 PM Aleksandar Markovic
> wrote:
> > On Thursday, January 16, 2020, Aleksandar Markovic
> > wrote:
> >> On Wednesday, January 15, 2020, Laurent Vivier wrote:
> >>> L
Does the problem exist using c hello world and gcc?
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1860056
Title:
mips binaries segfault
Status in QEMU:
New
Bug description:
Hello World
Could you attach the version of g++ and qemu? In other words, can you
capture the output of:
mips-linux-gnu-g++ --version
and
qemu-mips --version
?
Does the problem happen if you compile with "-static" option?
Yours,
Aleksandar
** Tags added: mips
--
You received this bug notification
From: Aleksandar Markovic
Some constants were defined in terms of host, instead of target,
as they should be.
Signed-off-by: Aleksandar Markovic
---
linux-user/aarch64/termbits.h| 4 ++--
linux-user/arm/termbits.h| 4 ++--
linux-user/cris/termbits.h | 4 ++--
linux-user
From: Aleksandar Markovic
Synchronize all elements of mips' termbits.h with kernel and
make sure that all applicable macros and other definitions are
expressed in terms of target, not the host.
Signed-off-by: Aleksandar Markovic
---
linux-user/mips/termbits.h | 140
From: Aleksandar Markovic
Some constants were defined in terms of host, instead of target,
as they should be.
Some additional trivial changes in this patch were forced by
checkpatch.pl.
Reviewed-by: Max Filippov
Signed-off-by: Aleksandar Markovic
---
linux-user/xtensa/termbits.h | 207
From: Aleksandar Markovic
Synchronize all elements of alpha's termbits.h with kernel and
make sure that all applicable macros and other definitions are
expressed in terms of target, not the host.
Signed-off-by: Aleksandar Markovic
---
linux-user/alpha/termbits.h | 82
From: Aleksandar Markovic
This series is a spin-off of v5 of earlier series "linux-user: Misc
patches for 5.0", that became too large to manage. I will submit the
rest of that large series separately.
Files linux-user//termbits.h seem to be in a very bad shape:
unsynchronized w
From: Aleksandar Markovic
Both FS_IOC_FSGETXATTR and FS_IOC_FSSETXATTR accept a pointer to
the structure
struct fsxattr {
__u32 fsx_xflags; /* xflags field value (get/set) */
__u32 fsx_extsize;/* extsize field value (get/set)*/
__u32 fsx_nextents
From: Aleksandar Markovic
FDFMTBEG, FDFMTTRK, and FDFMTEND ioctls provide means for controlling
formatting of a floppy drive.
FDFMTTRK's third agrument is a pointer to the structure:
struct format_descr {
unsigned int device,head,track;
};
defined in Linux kernel header .
Since all
From: Aleksandar Markovic
FDGETFDCSTAT's third agrument is a pointer to the structure:
struct floppy_fdc_state {
int spec1;
int spec2;
int dtr;
unsigned char version;
unsigned char dor;
unsigned long address;
unsigned int rawcmd:2;
unsigned int reset:1
From: Aleksandar Markovic
KCOV_ENABLE and KCOV_DISABLE play the role in kernel coverage
tracing. These ioctls do not use the third argument of ioctl()
system call and are straightforward to implement in QEMU.
Reviewed-by: Laurent Vivier
Signed-off-by: Aleksandar Markovic
---
linux-user
From: Aleksandar Markovic
kcov is kernel code coverage tracing tool. It requires kernel 4.4+
compiled with certain kernel options.
This patch checks if kcov header "sys/kcov.h" is present on build
machine, and stores the result in variable CONFIG_KCOV, meant to
be used in linux
From: Aleksandar Markovic
FDSETEMSGTRESH, FDSETMAXERRS, and FDGETMAXERRS ioctls are commands
for controlling error reporting of a floppy drive.
FDSETEMSGTRESH's third agrument is a pointer to the structure:
struct floppy_max_errors {
unsigned int
abort, /* number of errors
From: Aleksandar Markovic
A very specific thing for these two ioctls is that their code
implies that their third argument is of type 'long', but the
kernel uses that argument as if it is of type 'int'. This anomaly
is recognized also in commit 6080723 (linux-user: Implement
FS_IOC_GETFLAGS
From: Aleksandar Markovic
Both FIFREEZE and FITHAW ioctls accept an integer as their third
argument.
All ioctls in this group (FI* ioctl) are guarded with "#ifdef", so the
guards are used in this implementation too for consistency (however,
many of ioctls in FI* group became
From: Aleksandar Markovic
FITRIM ioctl accepts a pointer to the structure
struct fstrim_range {
__u64 start;
__u64 len;
__u64 minlen;
};
as its third argument.
All ioctls in this group (FI* ioctl) are guarded with "#ifdef", so the
guards are used in this implemen
From: Aleksandar Markovic
This series is a spin-off of v5 of earlier series "linux-user: Misc
patches for 5.0", that became too large to manage. I will submit the
rest of that large series separately.
The only difference between patches in this series and in the former
series i
From: Aleksandar Markovic
These FS_IOC32_FLAGS ioctls are identical to
FS_IOC_FLAGS ioctls, but without the anomaly of their
number defined as if their third argument is of type long, while
it is treated internally in kernel as is of type int.
Reviewed-by: Laurent Vivier
Signed-off
From: Aleksandar Markovic
These FS_IOC32_VERSION ioctls are identical to
FS_IOC_VERSION ioctls, but without the anomaly of their
number defined as if their third argument is of type long, while
it is treated internally in kernel as is of type int.
Reviewed-by: Laurent Vivier
Signed-off
From: Aleksandar Markovic
KCOV_INIT_TRACE ioctl plays the role in kernel coverage tracing.
This ioctl's third argument is of type 'unsigned long', and the
implementation in QEMU is straightforward.
Reviewed-by: Laurent Vivier
Signed-off-by: Aleksandar Markovic
---
linux-user/ioctls.h
On Thursday, January 16, 2020, Aleksandar Markovic <
aleksandar.m.m...@gmail.com> wrote:
>
>
> On Wednesday, January 15, 2020, Laurent Vivier wrote:
>
>> Le 15/01/2020 à 20:17, Filip Bozuta a écrit :
>> >
>> > On 15.1.20. 17:37, Arnd Bergmann wrote:
>
On Wednesday, January 15, 2020, Laurent Vivier wrote:
> Le 15/01/2020 à 20:17, Filip Bozuta a écrit :
> >
> > On 15.1.20. 17:37, Arnd Bergmann wrote:
> >> On Wed, Jan 15, 2020 at 5:32 PM Laurent Vivier
> wrote:
> >>> Le 15/01/2020 à 17:18, Arnd Bergmann a écrit :
> On Wed, Jan 15, 2020 at
On Sunday, January 12, 2020, Yoshinori Sato
wrote:
> Signed-off-by: Yoshinori Sato
> ---
> qemu-doc.texi | 25 +
> 1 file changed, 25 insertions(+)
>
>
It would be nice if you provided an example of qemu command line invocation
that btings RX machine up (see nanomips
On Sunday, January 12, 2020, Yoshinori Sato
wrote:
> rx62n - RX62N cpu.
> rx-virt - RX QEMU virtual target.
>
> v23 changes.
> Add missing includes.
>
> v21 changes.
> rx_load_image move to rx-virt.c
>
>
Hello, Yoshinori.
These lines:
> v23 changes.
> Add missing includes.
>
> v21 changes.
>
From: Aleksandar Markovic
FDFMTBEG, FDFMTTRK, and FDFMTEND ioctls provide means for controlling
formatting of a floppy drive.
FDFMTTRK's third agrument is a pointer to the structure:
struct format_descr {
unsigned int device,head,track;
};
defined in Linux kernel header .
Since all
From: Aleksandar Markovic
kcov is kernel code coverage tracing tool. It requires kernel 4.4+
compiled with certain kernel options. Its interface consists of
three ioctls.
This patch checks if kcov support is present on build machine, and
stores the result in variable CONFIG_KCOV, meant
From: Aleksandar Markovic
Currently, there is no usage of TARGET_NR_syscall_count for target
xtensa, and there is no obvious indication if there is some planned
usage in future.
Acked-by: Max Filippov
Signed-off-by: Aleksandar Markovic
---
cc: Max Filippov
---
linux-user/xtensa
From: Aleksandar Markovic
KCOV_INIT_TRACE ioctl plays the role in kernel coverage tracing.
This ioctl's third argument is of type 'unsigned long', and the
implementation in QEMU is straightforward.
Signed-off-by: Aleksandar Markovic
---
linux-user/ioctls.h | 1 +
linux-user
From: Aleksandar Markovic
These FS_IOC32_VERSION ioctls are identical to
FS_IOC_VERSION ioctls, but without the anomaly of their
number defined as if their third argument is of type long, while
it is treated internally in kernel as is of type int.
Signed-off-by: Aleksandar Markovic
---
linux
From: Aleksandar Markovic
KCOV_ENABLE and KCOV_DISABLE play the role in kernel coverage
tracing. These ioctls do not use the third argument of ioctl()
system call and are straightforward to implement in QEMU.
Signed-off-by: Aleksandar Markovic
---
linux-user/ioctls.h | 5 +
linux
From: Aleksandar Markovic
FITRIM ioctl accepts a pointer to the structure
struct fstrim_range {
__u64 start;
__u64 len;
__u64 minlen;
};
as its third argument.
All ioctls in this group (FI* ioctl) are guarded with "#ifdef", so the
guards are used in this impl
From: Aleksandar Markovic
FDGETFDCSTAT's third agrument is a pointer to the structure:
struct floppy_fdc_state {
int spec1;
int spec2;
int dtr;
unsigned char version;
unsigned char dor;
unsigned long address;
unsigned int rawcmd:2;
unsigned int reset:1
From: Aleksandar Markovic
These FS_IOC32_FLAGS ioctls are identical to
FS_IOC_FLAGS ioctls, but without the anomaly of their
number defined as if their third argument is of type long, while
it is treated internally in kernel as is of type int.
Signed-off-by: Aleksandar Markovic
---
linux-user
From: Aleksandar Markovic
FDSETEMSGTRESH, FDSETMAXERRS, and FDGETMAXERRS ioctls are commands
for controlling error reporting of a floppy drive.
FDSETEMSGTRESH's third agrument is a pointer to the structure:
struct floppy_max_errors {
unsigned int
abort, /* number of errors
From: Aleksandar Markovic
Both FIFREEZE and FITHAW ioctls accept an integer as their third
argument.
All ioctls in this group (FI* ioctl) are guarded with "#ifdef", so the
guards are used in this implementation too for consistency (however,
many of ioctls in FI* group became
From: Aleksandar Markovic
Both FS_IOC_FSGETXATTR and FS_IOC_FSSETXATTR accept a pointer to
the structure
struct file_clone_range {
__s64 src_fd;
__u64 src_offset;
__u64 src_length;
__u64 dest_offset;
};
as their third argument.
These ioctls were relatively
From: Aleksandar Markovic
Some constants were defined in terms of host, instead of target,
as they should be.
Some additional trivial changes in this patch were forced by
checkpatch.pl.
Reviewed-by: Max Filippov
Signed-off-by: Aleksandar Markovic
---
linux-user/aarch64/termbits.h| 4
From: Aleksandar Markovic
A very specific thing for these two ioctls is that their code
implies that their third argument is of type 'long', but the
kernel uses that argument as if it is of type 'int'. This anomaly
is recognized also in commit 6080723 (linux-user: Implement
FS_IOC_GETFLAGS
From: Aleksandar Markovic
Update xtensa syscall numbers based on Linux kernel tag v5.5-rc3
(commit 46cf053e).
Acked-by: Max Filippov
Signed-off-by: Aleksandar Markovic
---
cc: Max Filippov
---
linux-user/xtensa/syscall_nr.h | 38 --
1 file changed, 36
From: Aleksandar Markovic
Update alpha syscall numbers based on Linux kernel tag v5.5-rc3
(commit 46cf053e).
Signed-off-by: Aleksandar Markovic
---
cc: Richard Henderson
---
linux-user/alpha/syscall_nr.h | 35 +++
1 file changed, 35 insertions(+)
diff --git
From: Aleksandar Markovic
Update m68k syscall numbers based on Linux kernel tag v5.5-rc3
(commit 46cf053e).
Signed-off-by: Aleksandar Markovic
---
cc: Laurent Vivier
---
linux-user/m68k/syscall_nr.h | 50 +++-
1 file changed, 49 insertions(+), 1
From: Aleksandar Markovic
Update x86_64 syscall numbers based on Linux kernel tag v5.5-rc3
(commit 46cf053e).
Signed-off-by: Aleksandar Markovic
---
cc: Paolo Bonzini
cc: Richard Henderson
cc: Eduardo Habkost
---
linux-user/x86_64/syscall_nr.h | 24
1 file
From: Aleksandar Markovic
Update mips syscall numbers based on Linux kernel tag v5.5-rc3
(commit 46cf053e).
Signed-off-by: Aleksandar Markovic
---
linux-user/mips/cpu_loop.c | 78 +-
linux-user/mips/syscall_nr.h | 45
From: Aleksandar Markovic
Update microblaze syscall numbers based on Linux kernel tag v5.5-rc3
(commit 46cf053e).
Signed-off-by: Aleksandar Markovic
---
cc: Edgar E. Iglesias
---
linux-user/microblaze/syscall_nr.h | 45 ++
1 file changed, 45 insertions
From: Aleksandar Markovic
This series is a collection of linux-user patches I recently
accumulated.
The summary of the patches is as follows:
Patch 1: Fix for some issues in termbits.h files.
Patches 2-7: Updating syscall numbers
Patch 8: A minor xtensa cleanup
Patches 9-14: Adding support
From: Aleksandar Markovic
KCOV_ENABLE and KCOV_DISABLE play the role in kernel coverage
tracing. These ioctls do not use the third argument of ioctl()
system call and are straightforward to implement in QEMU.
Signed-off-by: Aleksandar Markovic
---
linux-user/ioctls.h | 5 +
linux
From: Aleksandar Markovic
FDFMTBEG, FDFMTTRK, and FDFMTEND ioctls provide means for controlling
formatting of a floppy drive.
FDFMTTRK's third agrument is a pointer to the structure:
struct format_descr {
unsigned int device,head,track;
};
defined in Linux kernel header .
Since all
From: Aleksandar Markovic
FDGETFDCSTAT's third agrument is a pointer to the structure:
struct floppy_fdc_state {
int spec1;
int spec2;
int dtr;
unsigned char version;
unsigned char dor;
unsigned long address;
unsigned int rawcmd:2;
unsigned int reset:1
From: Aleksandar Markovic
kcov is kernel code coverage tracing tool. It requires kernel 4.4+
compiled with certain kernel options. Its interface consists of
three ioctls.
This patch checks if kcov support is present on build machine, and
stores the result in variable CONFIG_KCOV, meant
From: Aleksandar Markovic
FITRIM ioctl accepts a pointer to the structure
struct fstrim_range {
__u64 start;
__u64 len;
__u64 minlen;
};
as its third argument.
All ioctls in this group (FI* ioctl) are guarded with "#ifdef", so the
guards are used in this impl
From: Aleksandar Markovic
KCOV_INIT_TRACE ioctl plays the role in kernel coverage tracing.
This ioctl's third argument is of type 'unsigned long', and the
implementation in QEMU is straightforward.
Signed-off-by: Aleksandar Markovic
---
linux-user/ioctls.h | 1 +
linux-user
901 - 1000 of 5002 matches
Mail list logo