Re: [Qemu-devel] [RFC 11/17] ppc: Add ppc_set_compat_all()

2016-11-09 Thread David Gibson
On Wed, Nov 09, 2016 at 04:18:20PM +1100, Alexey Kardashevskiy wrote: > On 09/11/16 14:52, David Gibson wrote: > > On Wed, Nov 09, 2016 at 12:27:47PM +1100, Alexey Kardashevskiy wrote: > >> On 08/11/16 16:18, David Gibson wrote: > >>> On Fri, Nov 04, 2016 at 03:01:40PM +1100, Alexey Kardashevskiy w

Re: [Qemu-devel] [RFC 11/17] ppc: Add ppc_set_compat_all()

2016-11-08 Thread Alexey Kardashevskiy
On 09/11/16 14:52, David Gibson wrote: > On Wed, Nov 09, 2016 at 12:27:47PM +1100, Alexey Kardashevskiy wrote: >> On 08/11/16 16:18, David Gibson wrote: >>> On Fri, Nov 04, 2016 at 03:01:40PM +1100, Alexey Kardashevskiy wrote: On 30/10/16 22:12, David Gibson wrote: > Once a compatiblity mo

Re: [Qemu-devel] [RFC 11/17] ppc: Add ppc_set_compat_all()

2016-11-08 Thread David Gibson
On Wed, Nov 09, 2016 at 12:27:47PM +1100, Alexey Kardashevskiy wrote: > On 08/11/16 16:18, David Gibson wrote: > > On Fri, Nov 04, 2016 at 03:01:40PM +1100, Alexey Kardashevskiy wrote: > >> On 30/10/16 22:12, David Gibson wrote: > >>> Once a compatiblity mode is negotiated with the guest, > >>> h_c

Re: [Qemu-devel] [RFC 11/17] ppc: Add ppc_set_compat_all()

2016-11-08 Thread Alexey Kardashevskiy
On 08/11/16 16:18, David Gibson wrote: > On Fri, Nov 04, 2016 at 03:01:40PM +1100, Alexey Kardashevskiy wrote: >> On 30/10/16 22:12, David Gibson wrote: >>> Once a compatiblity mode is negotiated with the guest, >>> h_client_architecture_support() uses run_on_cpu() to update each CPU to >>> the new

Re: [Qemu-devel] [RFC 11/17] ppc: Add ppc_set_compat_all()

2016-11-07 Thread David Gibson
On Fri, Nov 04, 2016 at 03:01:40PM +1100, Alexey Kardashevskiy wrote: > On 30/10/16 22:12, David Gibson wrote: > > Once a compatiblity mode is negotiated with the guest, > > h_client_architecture_support() uses run_on_cpu() to update each CPU to > > the new mode. We're going to want this logic som

Re: [Qemu-devel] [RFC 11/17] ppc: Add ppc_set_compat_all()

2016-11-03 Thread Alexey Kardashevskiy
On 30/10/16 22:12, David Gibson wrote: > Once a compatiblity mode is negotiated with the guest, > h_client_architecture_support() uses run_on_cpu() to update each CPU to > the new mode. We're going to want this logic somewhere else shortly, > so make a helper function to do this global update. >

[Qemu-devel] [RFC 11/17] ppc: Add ppc_set_compat_all()

2016-10-30 Thread David Gibson
Once a compatiblity mode is negotiated with the guest, h_client_architecture_support() uses run_on_cpu() to update each CPU to the new mode. We're going to want this logic somewhere else shortly, so make a helper function to do this global update. We put it in target-ppc/compat.c - it makes as mu