qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé via" <qemu-devel@nongnu.org>
To: qemu-devel@nongnu.org
Cc: "Riku Voipio" <riku.voipio@iki.fi>,
	"Richard Henderson" <richard.henderson@linaro.org>,
	"Laurent Vivier" <laurent@vivier.eu>,
	"Paolo Bonzini" <pbonzini@redhat.com>,
	"Philippe Mathieu-Daudé" <f4bug@amsat.org>
Subject: [PATCH 0/9] exec: Split some user-mode specific declarations from 'exec/exec-all.h'
Date: Thu, 10 Feb 2022 00:00:21 +0100	[thread overview]
Message-ID: <20220209230030.93987-1-f4bug@amsat.org> (raw)

- Add missing headers
- Merge exec/user/ to user/
- Extract MMUAccessType from QOM "hw/core/cpu.h" to "exec/cpu-tlb.h"
- Extract user-specific declarations to "user/cpu-{common,target}.h"
- Share preexit_cleanup() from Linux with BSD

More to come, but flushing for early feedback.

Based-on: <20220209215446.58402-1-f4bug@amsat.org>

Philippe Mathieu-Daudé (9):
  accel/tcg: Add missing 'tcg/tcg.h' header
  coverity-scan: Cover common-user/
  include: Move exec/user/ to user/
  linux-user/exit: Add missing 'qemu/plugin.h' header
  linux-user/cpu_loop: Add missing 'exec/cpu-all.h' header
  exec: Define MMUAccessType in 'exec/cpu-tlb.h' header
  user: Declare target-specific prototypes in 'user/cpu-target.h'
  user: Declare target-agnostic prototypes in 'user/cpu-common.h'
  user: Share preexit_cleanup() with linux and bsd implementations

 accel/tcg/tcg-accel-ops-icount.c    |  1 +
 accel/tcg/tcg-accel-ops-mttcg.c     |  1 +
 accel/tcg/tcg-accel-ops-rr.c        |  1 +
 accel/tcg/tcg-accel-ops.c           |  1 +
 accel/tcg/user-exec.c               |  1 +
 bsd-user/elfload.c                  |  1 +
 bsd-user/main.c                     |  1 +
 bsd-user/qemu.h                     |  6 ++--
 bsd-user/signal.c                   |  1 +
 {linux-user => common-user}/exit.c  |  4 +--
 common-user/meson.build             |  1 +
 include/exec/cpu-all.h              |  5 ++-
 include/exec/cpu-defs.h             |  1 +
 include/exec/cpu-tlb.h              | 16 +++++++++
 include/exec/cpu_ldst.h             |  1 +
 include/exec/exec-all.h             | 54 ++--------------------------
 include/hw/core/cpu.h               |  6 ----
 include/hw/core/tcg-cpu-ops.h       |  1 +
 include/{exec => }/user/abitypes.h  |  0
 include/user/cpu-common.h           | 36 +++++++++++++++++++
 include/user/cpu-target.h           | 56 +++++++++++++++++++++++++++++
 include/user/safe-syscall.h         |  6 ++--
 include/{exec => }/user/thunk.h     |  2 +-
 linux-user/aarch64/cpu_loop.c       |  1 +
 linux-user/alpha/cpu_loop.c         |  1 +
 linux-user/arm/cpu_loop.c           |  1 +
 linux-user/arm/signal.c             |  1 +
 linux-user/cpu_loop-common.h        |  1 +
 linux-user/cris/cpu_loop.c          |  1 +
 linux-user/elfload.c                |  1 +
 linux-user/hexagon/cpu_loop.c       |  1 +
 linux-user/hppa/cpu_loop.c          |  1 +
 linux-user/hppa/signal.c            |  1 +
 linux-user/i386/cpu_loop.c          |  1 +
 linux-user/linuxload.c              |  1 +
 linux-user/m68k/cpu_loop.c          |  1 +
 linux-user/main.c                   |  1 +
 linux-user/meson.build              |  1 -
 linux-user/microblaze/cpu_loop.c    |  1 +
 linux-user/mips/cpu_loop.c          |  1 +
 linux-user/mmap.c                   |  1 +
 linux-user/nios2/cpu_loop.c         |  1 +
 linux-user/openrisc/cpu_loop.c      |  1 +
 linux-user/ppc/cpu_loop.c           |  1 +
 linux-user/ppc/signal.c             |  1 +
 linux-user/qemu.h                   |  2 +-
 linux-user/riscv/cpu_loop.c         |  1 +
 linux-user/s390x/cpu_loop.c         |  1 +
 linux-user/sh4/cpu_loop.c           |  1 +
 linux-user/signal.c                 |  1 +
 linux-user/sparc/cpu_loop.c         |  1 +
 linux-user/syscall.c                |  1 +
 linux-user/thunk.c                  |  2 +-
 linux-user/uaccess.c                |  1 +
 linux-user/user-internals.h         | 12 +------
 linux-user/xtensa/cpu_loop.c        |  1 +
 scripts/coverity-scan/COMPONENTS.md |  2 +-
 target/arm/internals.h              |  1 +
 target/mips/internal.h              |  1 +
 target/ppc/internal.h               |  2 ++
 target/ppc/mmu-hash32.h             |  2 ++
 target/ppc/mmu-hash64.h             |  2 ++
 target/ppc/mmu-radix64.h            |  2 ++
 target/s390x/s390x-internal.h       |  2 ++
 64 files changed, 178 insertions(+), 85 deletions(-)
 rename {linux-user => common-user}/exit.c (95%)
 create mode 100644 include/exec/cpu-tlb.h
 rename include/{exec => }/user/abitypes.h (100%)
 create mode 100644 include/user/cpu-common.h
 create mode 100644 include/user/cpu-target.h
 rename include/{exec => }/user/thunk.h (99%)

-- 
2.34.1



             reply	other threads:[~2022-02-09 23:06 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-09 23:00 Philippe Mathieu-Daudé via [this message]
2022-02-09 23:00 ` [PATCH 1/9] accel/tcg: Add missing 'tcg/tcg.h' header Philippe Mathieu-Daudé via
2022-02-10 23:25   ` Richard Henderson
2022-02-11  9:34     ` Philippe Mathieu-Daudé via
2022-02-09 23:00 ` [PATCH 2/9] coverity-scan: Cover common-user/ Philippe Mathieu-Daudé via
2022-02-10 23:08   ` Richard Henderson
2022-02-11 11:56   ` Peter Maydell
2022-02-11 12:38     ` Philippe Mathieu-Daudé via
2022-02-11 12:54       ` Peter Maydell
2022-02-09 23:00 ` [PATCH 3/9] include: Move exec/user/ to user/ Philippe Mathieu-Daudé via
2022-02-10 23:12   ` Richard Henderson
2022-02-09 23:00 ` [PATCH 4/9] linux-user/exit: Add missing 'qemu/plugin.h' header Philippe Mathieu-Daudé via
2022-02-10 23:13   ` Richard Henderson
2022-02-09 23:00 ` [PATCH 5/9] linux-user/cpu_loop: Add missing 'exec/cpu-all.h' header Philippe Mathieu-Daudé via
2022-02-10 23:13   ` Richard Henderson
2022-02-09 23:00 ` [PATCH 6/9] exec: Define MMUAccessType in 'exec/cpu-tlb.h' header Philippe Mathieu-Daudé via
2022-02-10 23:14   ` Richard Henderson
2022-02-11  9:32     ` Philippe Mathieu-Daudé via
2022-02-09 23:00 ` [PATCH 7/9] user: Declare target-specific prototypes in 'user/cpu-target.h' Philippe Mathieu-Daudé via
2022-02-10 23:19   ` Richard Henderson
2022-02-11  9:30     ` Philippe Mathieu-Daudé via
2022-02-09 23:00 ` [PATCH 8/9] user: Declare target-agnostic prototypes in 'user/cpu-common.h' Philippe Mathieu-Daudé via
2022-02-09 23:00 ` [PATCH 9/9] user: Share preexit_cleanup() with linux and bsd implementations Philippe Mathieu-Daudé via
2022-02-10 23:23   ` Richard Henderson

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=20220209230030.93987-1-f4bug@amsat.org \
    --to=qemu-devel@nongnu.org \
    --cc=f4bug@amsat.org \
    --cc=laurent@vivier.eu \
    --cc=pbonzini@redhat.com \
    --cc=richard.henderson@linaro.org \
    --cc=riku.voipio@iki.fi \
    /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).