Re: [PATCH 09/11] include/exec: added functions to the stubs in exec-all.h

2021-05-23 Thread David Gibson
On Mon, May 17, 2021 at 08:07:24AM -0300, Bruno Piazera Larsen wrote: > > On 17/05/2021 00:55, David Gibson wrote: > > On Thu, May 13, 2021 at 11:03:24AM -0300, Lucas Mateus Martins Araujo e > > Castro wrote: > > > On 12/05/2021 15:34, Richard Henderson wrote: > > > > On 5/12/21 9:08 AM, Bruno La

Re: [PATCH 09/11] include/exec: added functions to the stubs in exec-all.h

2021-05-23 Thread David Gibson
On Mon, May 17, 2021 at 01:59:35PM -0300, Lucas Mateus Martins Araujo e Castro wrote: > > On 17/05/2021 00:58, David Gibson wrote: > > On Thu, May 13, 2021 at 06:44:01PM -0500, Richard Henderson wrote: > > 65;6401;1c> On 5/13/21 9:03 AM, Lucas Mateus Martins Araujo e Castro wrote: > > > > tlb_set

Re: [PATCH 09/11] include/exec: added functions to the stubs in exec-all.h

2021-05-18 Thread Bruno Piazera Larsen
On 17/05/2021 15:02, Richard Henderson wrote: On 5/17/21 11:59 AM, Lucas Mateus Martins Araujo e Castro wrote: I'm not completely sure how this should be handled, there's a get_physical_address in mmu_helper.c but it's a static function and divided by processor families instead of MMU types, s

Re: [PATCH 09/11] include/exec: added functions to the stubs in exec-all.h

2021-05-17 Thread Richard Henderson
On 5/17/21 11:59 AM, Lucas Mateus Martins Araujo e Castro wrote: I'm not completely sure how this should be handled, there's a get_physical_address in mmu_helper.c but it's a static function and divided by processor families instead of MMU types, so get_physical_address_* should be a new functi

Re: [PATCH 09/11] include/exec: added functions to the stubs in exec-all.h

2021-05-17 Thread Lucas Mateus Martins Araujo e Castro
On 17/05/2021 00:58, David Gibson wrote: On Thu, May 13, 2021 at 06:44:01PM -0500, Richard Henderson wrote: 65;6401;1c> On 5/13/21 9:03 AM, Lucas Mateus Martins Araujo e Castro wrote: tlb_set_page is called by many ppc_hash64_handle_mmu_fault, ppc_radix64_handle_mmu_fault and ppc_hash32_handle_

Re: [PATCH 09/11] include/exec: added functions to the stubs in exec-all.h

2021-05-17 Thread Bruno Piazera Larsen
On 17/05/2021 00:55, David Gibson wrote: On Thu, May 13, 2021 at 11:03:24AM -0300, Lucas Mateus Martins Araujo e Castro wrote: On 12/05/2021 15:34, Richard Henderson wrote: On 5/12/21 9:08 AM, Bruno Larsen (billionai) wrote: From: "Lucas Mateus Castro (alqotel)" Added tlb_set_page and tlb_s

Re: [PATCH 09/11] include/exec: added functions to the stubs in exec-all.h

2021-05-16 Thread David Gibson
On Thu, May 13, 2021 at 06:44:01PM -0500, Richard Henderson wrote: 65;6401;1c> On 5/13/21 9:03 AM, Lucas Mateus Martins Araujo e Castro wrote: > > tlb_set_page is called by many ppc_hash64_handle_mmu_fault, > > ppc_radix64_handle_mmu_fault and ppc_hash32_handle_mmu_fault, all of > > which from what

Re: [PATCH 09/11] include/exec: added functions to the stubs in exec-all.h

2021-05-16 Thread David Gibson
On Thu, May 13, 2021 at 11:03:24AM -0300, Lucas Mateus Martins Araujo e Castro wrote: > > On 12/05/2021 15:34, Richard Henderson wrote: > > On 5/12/21 9:08 AM, Bruno Larsen (billionai) wrote: > > > From: "Lucas Mateus Castro (alqotel)" > > > > > > Added tlb_set_page and tlb_set_page_with_attrs t

Re: [PATCH 09/11] include/exec: added functions to the stubs in exec-all.h

2021-05-13 Thread Richard Henderson
On 5/13/21 9:03 AM, Lucas Mateus Martins Araujo e Castro wrote: tlb_set_page is called by many ppc_hash64_handle_mmu_fault, ppc_radix64_handle_mmu_fault and ppc_hash32_handle_mmu_fault, all of which from what I've seen are only used inside #if defined(CONFIG_SOFTMMU). tlb_set_page should only

Re: [PATCH 09/11] include/exec: added functions to the stubs in exec-all.h

2021-05-13 Thread Lucas Mateus Martins Araujo e Castro
On 12/05/2021 15:34, Richard Henderson wrote: On 5/12/21 9:08 AM, Bruno Larsen (billionai) wrote: From: "Lucas Mateus Castro (alqotel)" Added tlb_set_page and tlb_set_page_with_attrs to the stubbed functions in exec-all.h  as it is needed in some functions when compiling without TCG Signed-o

Re: [PATCH 09/11] include/exec: added functions to the stubs in exec-all.h

2021-05-12 Thread Richard Henderson
On 5/12/21 9:08 AM, Bruno Larsen (billionai) wrote: From: "Lucas Mateus Castro (alqotel)" Added tlb_set_page and tlb_set_page_with_attrs to the stubbed functions in exec-all.h as it is needed in some functions when compiling without TCG Signed-off-by: Lucas Mateus Castro (alqotel) --- includ

[PATCH 09/11] include/exec: added functions to the stubs in exec-all.h

2021-05-12 Thread Bruno Larsen (billionai)
From: "Lucas Mateus Castro (alqotel)" Added tlb_set_page and tlb_set_page_with_attrs to the stubbed functions in exec-all.h as it is needed in some functions when compiling without TCG Signed-off-by: Lucas Mateus Castro (alqotel) --- include/exec/exec-all.h | 10 ++ 1 file changed, 10