Re: [PATCH 02/11] target/ppc: moved ppc_store_sdr1 to cpu.c

2021-06-06 Thread David Gibson
On Mon, May 31, 2021 at 03:17:47PM -0300, Bruno Piazera Larsen wrote: > > On 13/05/2021 00:50, David Gibson wrote: > > On Wed, May 12, 2021 at 11:08:04AM -0300, Bruno Larsen (billionai) wrote: > > > Moved this function that is required in !TCG cases into a > > > common code file > > The reasons

Re: [PATCH 02/11] target/ppc: moved ppc_store_sdr1 to cpu.c

2021-05-31 Thread Bruno Piazera Larsen
On 13/05/2021 00:50, David Gibson wrote: On Wed, May 12, 2021 at 11:08:04AM -0300, Bruno Larsen (billionai) wrote: Moved this function that is required in !TCG cases into a common code file The reasons it's needed by !TCG are kind of bogus, related to weirdness in the way KVM PR works. But

Re: [PATCH 02/11] target/ppc: moved ppc_store_sdr1 to cpu.c

2021-05-12 Thread David Gibson
On Wed, May 12, 2021 at 11:08:04AM -0300, Bruno Larsen (billionai) wrote: > Moved this function that is required in !TCG cases into a > common code file The reasons it's needed by !TCG are kind of bogus, related to weirdness in the way KVM PR works. But it's fair not to care about that right

Re: [PATCH 02/11] target/ppc: moved ppc_store_sdr1 to cpu.c

2021-05-12 Thread Richard Henderson
On 5/12/21 9:08 AM, Bruno Larsen (billionai) wrote: Moved this function that is required in !TCG cases into a common code file Signed-off-by: Bruno Larsen (billionai) Reviewed-by: Richard Henderson +void ppc_store_sdr1(CPUPPCState *env, target_ulong value) +{ +PowerPCCPU *cpu =

[PATCH 02/11] target/ppc: moved ppc_store_sdr1 to cpu.c

2021-05-12 Thread Bruno Larsen (billionai)
Moved this function that is required in !TCG cases into a common code file Signed-off-by: Bruno Larsen (billionai) --- target/ppc/cpu.c| 29 + target/ppc/mmu_helper.c | 26 -- 2 files changed, 29 insertions(+), 26 deletions(-) diff