Mateus Castro (alqotel)
---
target/ppc/cpu.h | 1 +
target/ppc/misc_helper.c | 10 ++
target/ppc/mmu-hash64.c | 10 --
target/ppc/mmu-hash64.h | 1 -
4 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/target/ppc/cpu.h b/target/ppc/cpu.h
index 733a2168c4
Changed spapr.c and pnv.c from calls of ppc_spr_t.oea_read to
ppc_spr_t.name as oea_read is not available in !TCG builds.
Signed-off-by: Lucas Mateus Castro (alqotel)
---
hw/ppc/pnv.c | 2 +-
hw/ppc/spapr.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/hw/ppc/pnv.c
The function ppc_hash64_filter_pagesizes has been moved from a function
with prototype in mmu-hash64.h and implemented in mmu-hash64.c to
a static function in hw/ppc/spapr_caps.c as it's only used in that file.
Signed-off-by: Lucas Mateus Castro (alqotel)
---
hw/ppc/spapr_caps.c | 59
.
The hypercalls h_resize_hpt_prepare and h_resize_hpt_commit have been
divided, the KVM part stayed in spapr_hcall.c while the softmmu part
was moved to spapr_softmmu.c
Signed-off-by: Lucas Mateus Castro (alqotel)
---
hw/ppc/meson.build | 3 +
hw/ppc/spapr_hcall.c | 608
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
situation)?
Signed-off-by: Lucas Mateus Castro (alqotel)
---
hw/ppc/spapr.c | 1 +
hw/ppc/spapr_caps.c | 1 +
hw/ppc/spapr_cpu_core.c | 1 +
hw/ppc/spapr_hcall.c| 1 +
hw/ppc/spapr_rtas.c | 1 +
target/ppc/meson.build | 1 +
target/ppc/mmu-hash64.c | 81
), what is the advised way to deal with these
duplications?
Signed-off-by: Lucas Mateus Castro (alqotel)
---
hw/ppc/meson.build | 3 +
hw/ppc/spapr_hcall.c | 300 ++
hw/ppc/spapr_hcall_tcg.c | 343 +++
3 files changed, 363
is to progress toward enabling disable-tcg on
PPC by solving errors in hw/ppc with that option.
As a WIP comments are welcome.
Lucas Mateus Castro (alqotel) (2):
target/ppc: Moved functions out of mmu-hash64
hw/ppc: Moved TCG code to spapr_hcall_tcg
hw/ppc/meson.build | 3 +
hw/ppc
and this patches focuses on the
spapr* calls, as there will still be some undefined references to
functions in tcg-only files and include to tcg-only .h, mostly on
target/ppc.
Comments are welcome, thanks,
Lucas Mateus.
Lucas Mateus Castro (alqotel) (4):
target/ppc: updated build options
hw/ppc: Add
Updated meson.build to compile spapr_hcall_tcg_stub.c instead of
spapr_hcall.c when disable-tcg option is used
Signed-off-by: Lucas Mateus Castro (alqotel)
---
hw/ppc/meson.build | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/hw/ppc/meson.build b/hw/ppc
method to deal with this recommended?
Also some functions should only cause a fatal error as KVM should
intercept and handle their call, but as I'm not sure which ones I just
did this to functions that called tcg-only code.
Signed-off-by: Lucas Mateus Castro (alqotel)
---
hw/ppc
updated meson.build to not compile tcg-only files
Signed-off-by: Lucas Mateus Castro (alqotel)
---
target/ppc/meson.build | 20 ++--
1 file changed, 14 insertions(+), 6 deletions(-)
diff --git a/target/ppc/meson.build b/target/ppc/meson.build
index bbfef90e08..b369a6bcd0 100644
moved the functions ppc_store_lpcr and ppc_hash64_filter_pagesizes to
common-misc.c so they can be used in a disable-tcg build and added the
necessary includes to files that call them. Created
ppc_(store|load)_vscr to be used by both tcg and kvm.
Signed-off-by: Lucas Mateus Castro (alqotel
201 - 213 of 213 matches
Mail list logo