[PATCH 2/2] tests: check riscv_flush_icache syscall decoder

2018-01-22 Thread Eugene Syromyatnikov
* tests/riscv_flush_icache.c: New file. * tests/.gitignore: Add riscv_flush_icache. * tests/gen_tests.in: Likewise. * tests/pure_executables.list: Likewise. --- tests/.gitignore| 1 + tests/gen_tests.in | 1 + tests/pure_executables.list | 1 + tests/riscv_flush_icache.c |

[PATCH 1/2] Implement decoding of riscv_flush_icache syscall

2018-01-22 Thread Eugene Syromyatnikov
* linux/riscv/syscallent.h ([259]): Add riscv_flush_icache entry. * riscv.c: New file. * Makefile.am (strace_SOURCES): Add it. * xlat/riscv_flush_icache_flags.in: New file. * NEWS: Mention it. --- Makefile.am | 1 + NEWS | 1 + linux/riscv/syscall

Re: [strace PATCH 00/12] s390 architecture support improvements

2018-01-22 Thread Eugene Syromiatnikov
On Sat, Jan 20, 2018 at 12:23:23PM +0100, Heiko Carstens wrote: > On Thu, Jan 18, 2018 at 07:16:31AM +0100, Eugene Syromyatnikov wrote: > > Hello. > > > > This patch set introduces compat personality support on s390x along with > > decoders of s390-specific system calls. > > > > Unfortunately, I

[strace PATCH v2] tests: check s390_sthyi system call decoder

2018-01-22 Thread Eugene Syromyatnikov
* configure.ac (AC_CHECK_FUNCS): Add iconv_open. (AC_CHECK_HEADERS): Add iconv.h. * tests/s390_sthyi-v.c: New file. * tests/s390_sthyi.c: Likewise. * tests/.gitignore: Add s390_sthyi, s390_sthyi-v. * tests/pure_executables.list: Likewise. * tests/gen_tests.in (s390_sthyi, s390_sthyi): New tests. --

Re: [strace PATCH 04/12] Introduce s390_sthyi system call decoder

2018-01-22 Thread Heiko Carstens
On Thu, Jan 18, 2018 at 07:16:44AM +0100, Eugene Syromyatnikov wrote: > +static void > +print_sthyi_hypervisor(struct tcb *tcp, struct sthyi_hypervisor *hdr, > +uint16_t size, int num, bool mt) > +{ > + CHECK_SIZE(hdr, size, "hypervisor %d structure", num); > + > + tprin

Re: [strace PATCH 04/12] Introduce s390_sthyi system call decoder

2018-01-22 Thread Eugene Syromiatnikov
On Mon, Jan 22, 2018 at 02:16:43PM +0100, Heiko Carstens wrote: > On Thu, Jan 18, 2018 at 07:16:44AM +0100, Eugene Syromyatnikov wrote: > > +static void > > +print_sthyi_hypervisor(struct tcb *tcp, struct sthyi_hypervisor *hdr, > > + uint16_t size, int num, bool mt) > > +{ > > +

[strace PATCH v2] Introduce s390_sthyi system call decoder

2018-01-22 Thread Eugene Syromyatnikov
* s390.c: New file. * Makefile.am (strace_SOURCES): Add it. * linux/s390/syscallent.h ([380]): Change decoder to s390_sthyi. * linux/s390x/syscallent.h: Likewise. * xlat/s390_sthyi_function_codes.in: New file. --- Makefile.am |1 + linux/s390/syscallent.h |1