Re: [PATCH v2 3/7] target/ppc: Isolated SPR read/write callbacks

2021-05-02 Thread David Gibson
On Fri, Apr 30, 2021 at 10:02:16AM -0300, Bruno Piazera Larsen wrote: > On 30/04/2021 01:21, David Gibson wrote: > > On Thu, Apr 29, 2021 at 01:21:26PM -0300, Bruno Larsen (billionai) wrote: > > > Moved all SPR read/write callback, and some related functions, to a > > > new file specific for it. Th

Re: [PATCH v2 3/7] target/ppc: Isolated SPR read/write callbacks

2021-04-30 Thread Bruno Piazera Larsen
On 30/04/2021 01:21, David Gibson wrote: On Thu, Apr 29, 2021 at 01:21:26PM -0300, Bruno Larsen (billionai) wrote: Moved all SPR read/write callback, and some related functions, to a new file specific for it. These callbacks are TCG only, so separating them is required to support the flag disabl

Re: [PATCH v2 3/7] target/ppc: Isolated SPR read/write callbacks

2021-04-30 Thread David Gibson
On Thu, Apr 29, 2021 at 01:21:26PM -0300, Bruno Larsen (billionai) wrote: > Moved all SPR read/write callback, and some related functions, to a > new file specific for it. These callbacks are TCG only, so separating > them is required to support the flag disable-tcg. > > Making the spr_noaccess fu

Re: [PATCH v2 3/7] target/ppc: Isolated SPR read/write callbacks

2021-04-29 Thread Richard Henderson
On 4/29/21 9:21 AM, Bruno Larsen (billionai) wrote: diff --git a/target/ppc/spr_tcg.c.inc b/target/ppc/spr_tcg.c.inc new file mode 100644 index 00..48274dd52b --- /dev/null +++ b/target/ppc/spr_tcg.c.inc @@ -0,0 +1,1033 @@ +#include "exec/translator.h" All new files must have copyright

Re: [PATCH v2 3/7] target/ppc: Isolated SPR read/write callbacks

2021-04-29 Thread Fabiano Rosas
"Bruno Larsen (billionai)" writes: > Moved all SPR read/write callback, and some related functions, to a > new file specific for it. These callbacks are TCG only, so separating > them is required to support the flag disable-tcg. > > Making the spr_noaccess function not static, and moving the defi