[PATCH v3 0/4] hw/ppc: code motion to compile without TCG

Lucas Mateus Castro (alqotel) posted 4 patches 2 years, 12 months ago
Failed in applying to current master (apply log)
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
[PATCH v3 0/4] hw/ppc: code motion to compile without TCG
Posted by Lucas Mateus Castro (alqotel) 2 years, 12 months ago
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