From: Max Filippov <jcmvbkbc@gmail.com>
To: qemu-devel@nongnu.org
Cc: Peter Maydell <peter.maydell@linaro.org>,
Max Filippov <jcmvbkbc@gmail.com>
Subject: [Qemu-devel] [PULL v2 00/11] target/xtensa linux-user support
Date: Fri, 16 Mar 2018 10:50:22 -0700 [thread overview]
Message-ID: <20180316175022.26792-1-jcmvbkbc@gmail.com> (raw)
Hi Peter,
please pull the following series that adds linux-user support for
target/xtensa.
There's a trivial merge conflict with linux-user pull request from
Laurent Vivier.
Changes since v1 pull request:
- fix vaddr print format from %lx to %VADDR_PRIx
Changes since v6 patch series:
- rebase to the current master.
The following changes since commit 026aaf47c02b79036feb830206cfebb2a726510d:
Merge remote-tracking branch 'remotes/ehabkost/tags/python-next-pull-request' into staging (2018-03-13 16:26:44 +0000)
are available in the git repository at:
git://github.com/OSLL/qemu-xtensa.git tags/20180316-xtensa
for you to fetch changes up to b8105d2194f06ab8e3566467e8e3c582457424bb:
MAINTAINERS: fix W: address for xtensa (2018-03-16 09:40:35 -0700)
----------------------------------------------------------------
target/xtensa linux-user support.
- small cleanup for xtensa registers dumping (-d cpu);
- add support for debugging linux-user process with xtensa-linux-gdb
(as opposed to xtensa-elf-gdb), which can only access unprivileged
registers;
- enable MTTCG for target/xtensa;
- cleanup in linux-user/mmap area making sure that it works correctly
with limited 30-bit-wide user address space;
- import xtensa-specific definitions from the linux kernel,
conditionalize user-only/softmmu-only code and add 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 | 6 +-
include/exec/cpu_ldst.h | 16 +-
linux-user/elfload.c | 58 +++++
linux-user/main.c | 245 ++++++++++++++++++
linux-user/mmap.c | 43 ++--
linux-user/qemu.h | 1 -
linux-user/signal.c | 256 ++++++++++++++++++-
linux-user/syscall.c | 15 +-
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 | 328 ++++++++++++++++++++++++
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 | 59 ++++-
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, 1841 insertions(+), 115 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
--
Thanks.
-- Max
next reply other threads:[~2018-03-16 17:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-16 17:50 Max Filippov [this message]
2018-03-17 15:49 ` [Qemu-devel] [PULL v2 00/11] target/xtensa linux-user support Peter Maydell
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=20180316175022.26792-1-jcmvbkbc@gmail.com \
--to=jcmvbkbc@gmail.com \
--cc=peter.maydell@linaro.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).