qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Lucas Mateus Castro (alqotel)" <lucas.araujo@eldorado.org.br>
To: qemu-devel@nongnu.org, qemu-ppc@nongnu.org
Cc: bruno.larsen@eldorado.org.br,
	"Lucas Mateus Castro \(alqotel\)" <lucas.araujo@eldorado.org.br>,
	farosas@linux.ibm.com, david@gibson.dropbear.id.au
Subject: [PATCH v3 0/4] hw/ppc: code motion to compile without TCG
Date: Thu,  6 May 2021 13:39:37 -0300	[thread overview]
Message-ID: <20210506163941.106984-1-lucas.araujo@eldorado.org.br> (raw)

After the feedback from v2 I changed:
* The name _tcg or _tcg_only to _softmmu in spapr_softmmu,
* Divided h_resize_hpt_prepare and h_resize_hpt_commit into a KVM and
  softmmu parts,
* How to register some hypercalls in a !TCG environment in spapr_hcall.c,
* Where to move the functions ppc_hash64_filter_pagesizes and
  ppc_store_lpcr,
* Changed registration verification in pnv_dt_core and spapr_dt_cpu.

This patch aims to move and change some functions to make some progress
toward enabling the disable-tcg option on PPC.

Lucas Mateus Castro (alqotel) (4):
  hw/ppc: Moved hypercalls that depend on softmmu to new file
  target/ppc: moved function out of mmu-hash64
  target/ppc: moved ppc_store_lpcr to misc_helper.c
  hw/ppc: Altered calls from oea_read to read

 hw/ppc/meson.build       |   3 +
 hw/ppc/pnv.c             |   2 +-
 hw/ppc/spapr.c           |   4 +-
 hw/ppc/spapr_caps.c      |  59 ++++
 hw/ppc/spapr_hcall.c     | 608 ++-----------------------------------
 hw/ppc/spapr_softmmu.c   | 627 +++++++++++++++++++++++++++++++++++++++
 include/hw/ppc/spapr.h   |   6 +
 target/ppc/cpu.h         |   1 +
 target/ppc/misc_helper.c |  10 +
 target/ppc/mmu-hash64.c  |  67 -----
 target/ppc/mmu-hash64.h  |   4 -
 11 files changed, 741 insertions(+), 650 deletions(-)
 create mode 100644 hw/ppc/spapr_softmmu.c

-- 
2.17.1



             reply	other threads:[~2021-05-06 16:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-06 16:39 Lucas Mateus Castro (alqotel) [this message]
2021-05-06 16:39 ` [PATCH v3 1/4] hw/ppc: moved hcalls that depend on softmmu Lucas Mateus Castro (alqotel)
2021-05-07  3:12   ` David Gibson
2021-05-06 16:39 ` [PATCH v3 2/4] target/ppc: moved function out of mmu-hash64 Lucas Mateus Castro (alqotel)
2021-05-07  3:13   ` David Gibson
2021-05-06 16:39 ` [PATCH v3 3/4] target/ppc: moved ppc_store_lpcr to misc_helper.c Lucas Mateus Castro (alqotel)
2021-05-07  3:14   ` David Gibson
2021-05-06 16:39 ` [PATCH v3 4/4] hw/ppc: Altered calls from oea_read to read Lucas Mateus Castro (alqotel)
2021-05-07  3:17   ` David Gibson

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=20210506163941.106984-1-lucas.araujo@eldorado.org.br \
    --to=lucas.araujo@eldorado.org.br \
    --cc=bruno.larsen@eldorado.org.br \
    --cc=david@gibson.dropbear.id.au \
    --cc=farosas@linux.ibm.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@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).