Re: target/ppc: sPAPR invalid function calls when compiling without TCG

2021-04-20 Thread David Gibson
On Tue, Apr 20, 2021 at 06:27:38PM +, Lucas Mateus Martins Araujo e Castro wrote: > > > > > > >> spapr_hcall.c: > >> function h_enter call ppc_hash64_hpte_page_shift_noslb, > >> ppc_hash64_map_hptes and ppc_hash64_unmap_hptes > >> function remove_h

Re: target/ppc: sPAPR invalid function calls when compiling without TCG

2021-04-20 Thread Lucas Mateus Martins Araujo e Castro
>> spapr_hcall.c: >> function h_enter call ppc_hash64_hpte_page_shift_noslb, >> ppc_hash64_map_hptes and ppc_hash64_unmap_hptes >> function remove_hpte call ppc_hash64_map_hptes, ppc_hash64_unmap_hptes >> and ppc_hash64_tlb_flush_hpte >> function h

Re: target/ppc: sPAPR invalid function calls when compiling without TCG

2021-04-19 Thread David Gibson
On Mon, Apr 19, 2021 at 07:04:34PM +, Lucas Mateus Martins Araujo e Castro wrote: > > > >> spapr_hcall.c: > >> function h_enter call ppc_hash64_hpte_page_shift_noslb, > >> ppc_hash64_map_hptes and ppc_hash64_unmap_hptes > >> function remove_hpte call ppc_hash64_map_hptes, ppc_hash64

Re: target/ppc: sPAPR invalid function calls when compiling without TCG

2021-04-19 Thread Lucas Mateus Martins Araujo e Castro
>> spapr_hcall.c: >> function h_enter call ppc_hash64_hpte_page_shift_noslb, >> ppc_hash64_map_hptes and ppc_hash64_unmap_hptes >> function remove_hpte call ppc_hash64_map_hptes, ppc_hash64_unmap_hptes >> and ppc_hash64_tlb_flush_hpte >> function h_protect call ppc_hash64_map_hptes,

Re: target/ppc: sPAPR invalid function calls when compiling without TCG

2021-04-18 Thread David Gibson
On Wed, Apr 14, 2021 at 06:28:26PM +, Lucas Mateus Martins Araujo e Castro wrote: > Hi, I have been working on billionai's patch to enable the --disable-tcg > option on PowerPC and one of the problems is that 5 files in hw/ppc use > functions implemented in mmu-hash64.c which is not compiled

target/ppc: sPAPR invalid function calls when compiling without TCG

2021-04-14 Thread Lucas Mateus Martins Araujo e Castro
Hi, I have been working on billionai's patch to enable the --disable-tcg option on PowerPC and one of the problems is that 5 files in hw/ppc use functions implemented in mmu-hash64.c which is not compiled with --disable-tcg, I'd like to know how to correct the spapr function call, should I *