From: Max Filippov <jcmvbkbc@gmail.com>
To: qemu-devel@nongnu.org
Cc: Max Filippov <jcmvbkbc@gmail.com>
Subject: [Qemu-devel] [PATCH 00/11] linux-user support for target/xtensa
Date: Wed, 28 Feb 2018 13:06:05 -0800 [thread overview]
Message-ID: <20180228210616.2756-1-jcmvbkbc@gmail.com> (raw)
Hello,
this series adds linux-user support for target/xtensa.
It starts with a small cleanup for xtensa registers dumping.
It adds support for debugging linux-user process with xtensa-linux-gdb
(as opposed to xtensa-elf-gdb), which can only access unprivileged
registers.
It then enables MTTCG for xtensa.
It continues with a cleanup in linux-user/mmap area making sure that it
works correctly with limited 30-bit-wide user address space.
It then imports xtensa-specific definitions from the linux kernel,
conditionalizes user-only/softmmu-only code and adds handlers for signals
exceptions, process/thread creation and core registers dumping.
Max Filippov (11):
target/xtensa: dump correct physical registers
target/xtensa: mark register windows in the dump
target/xtensa: use correct number of registers in gdbstub
target/xtensa: support MTTCG
linux-user: fix mmap/munmap/mprotect/mremap/shmat
linux-user: fix assertion in shmdt
linux-user: fix target_mprotect/target_munmap error return values
linux-user: drop unused target_msync function
target/xtensa: add linux-user support
qemu-binfmt-conf.sh: add qemu-xtensa
MAINTAINERS: fix W: address for xtensa
MAINTAINERS | 2 +-
configure | 1 +
default-configs/xtensa-linux-user.mak | 1 +
default-configs/xtensaeb-linux-user.mak | 1 +
include/exec/cpu-all.h | 2 +-
include/exec/cpu_ldst.h | 12 +-
linux-user/elfload.c | 58 +++++
linux-user/main.c | 245 ++++++++++++++++++
linux-user/mmap.c | 43 ++--
linux-user/qemu.h | 1 -
linux-user/signal.c | 257 ++++++++++++++++++-
linux-user/syscall.c | 13 +-
linux-user/syscall_defs.h | 65 ++++-
linux-user/xtensa/syscall.h | 0
linux-user/xtensa/syscall_nr.h | 437 ++++++++++++++++++++++++++++++++
linux-user/xtensa/target_cpu.h | 22 ++
linux-user/xtensa/target_elf.h | 16 ++
linux-user/xtensa/target_signal.h | 28 ++
linux-user/xtensa/target_structs.h | 28 ++
linux-user/xtensa/target_syscall.h | 49 ++++
linux-user/xtensa/termbits.h | 327 ++++++++++++++++++++++++
scripts/qemu-binfmt-conf.sh | 12 +-
target/xtensa/Makefile.objs | 3 +-
target/xtensa/cpu.c | 26 +-
target/xtensa/cpu.h | 60 +++--
target/xtensa/gdbstub.c | 14 +-
target/xtensa/helper.c | 58 ++++-
target/xtensa/helper.h | 4 +
target/xtensa/op_helper.c | 50 +++-
target/xtensa/overlay_tool.h | 11 +-
target/xtensa/translate.c | 99 ++++++--
31 files changed, 1835 insertions(+), 110 deletions(-)
create mode 100644 default-configs/xtensa-linux-user.mak
create mode 100644 default-configs/xtensaeb-linux-user.mak
create mode 100644 linux-user/xtensa/syscall.h
create mode 100644 linux-user/xtensa/syscall_nr.h
create mode 100644 linux-user/xtensa/target_cpu.h
create mode 100644 linux-user/xtensa/target_elf.h
create mode 100644 linux-user/xtensa/target_signal.h
create mode 100644 linux-user/xtensa/target_structs.h
create mode 100644 linux-user/xtensa/target_syscall.h
create mode 100644 linux-user/xtensa/termbits.h
--
2.11.0
next reply other threads:[~2018-02-28 21:06 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-28 21:06 Max Filippov [this message]
2018-02-28 21:06 ` [Qemu-devel] [PATCH 01/11] target/xtensa: dump correct physical registers Max Filippov
2018-02-28 21:06 ` [Qemu-devel] [PATCH 02/11] target/xtensa: mark register windows in the dump Max Filippov
2018-02-28 21:06 ` [Qemu-devel] [PATCH 03/11] target/xtensa: use correct number of registers in gdbstub Max Filippov
2018-02-28 21:06 ` [Qemu-devel] [PATCH 04/11] target/xtensa: support MTTCG Max Filippov
2018-02-28 21:06 ` [Qemu-devel] [PATCH 05/11] linux-user: fix mmap/munmap/mprotect/mremap/shmat Max Filippov
2018-02-28 21:06 ` [Qemu-devel] [PATCH 06/11] linux-user: fix assertion in shmdt Max Filippov
2018-02-28 21:06 ` [Qemu-devel] [PATCH 07/11] linux-user: fix target_mprotect/target_munmap error return values Max Filippov
2018-02-28 21:06 ` [Qemu-devel] [PATCH 08/11] linux-user: drop unused target_msync function Max Filippov
2018-02-28 21:06 ` [Qemu-devel] [PATCH 09/11] target/xtensa: add linux-user support Max Filippov
2018-02-28 21:06 ` [Qemu-devel] [PATCH 10/11] qemu-binfmt-conf.sh: add qemu-xtensa Max Filippov
2018-02-28 21:06 ` [Qemu-devel] [PATCH 11/11] MAINTAINERS: fix W: address for xtensa Max Filippov
2018-02-28 21:27 ` [Qemu-devel] [PATCH 00/11] linux-user support for target/xtensa no-reply
2018-02-28 21:51 ` no-reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180228210616.2756-1-jcmvbkbc@gmail.com \
--to=jcmvbkbc@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.