Re: [Qemu-devel] [PATCHv2 1/3] target-ppc: Split out SREGS get/put functions

2016-03-08 Thread Greg Kurz
On Tue, 8 Mar 2016 11:37:02 +1100 David Gibson wrote: > On Mon, Mar 07, 2016 at 01:26:24PM +1100, David Gibson wrote: > > Currently the getting and setting of Power MMU registers (sregs) take up > > large inline chunks of the kvm_arch_get_registers() and > > kvm_arch_put_registers() functions. E

Re: [Qemu-devel] [PATCHv2 1/3] target-ppc: Split out SREGS get/put functions

2016-03-07 Thread David Gibson
On Tue, Mar 08, 2016 at 04:13:08PM +1100, Alexey Kardashevskiy wrote: > On 03/08/2016 02:53 PM, David Gibson wrote: > >On Tue, Mar 08, 2016 at 02:01:12PM +1100, Alexey Kardashevskiy wrote: > >>On 03/08/2016 11:37 AM, David Gibson wrote: > >>>On Mon, Mar 07, 2016 at 01:26:24PM +1100, David Gibson wr

Re: [Qemu-devel] [PATCHv2 1/3] target-ppc: Split out SREGS get/put functions

2016-03-07 Thread Alexey Kardashevskiy
On 03/08/2016 02:53 PM, David Gibson wrote: On Tue, Mar 08, 2016 at 02:01:12PM +1100, Alexey Kardashevskiy wrote: On 03/08/2016 11:37 AM, David Gibson wrote: On Mon, Mar 07, 2016 at 01:26:24PM +1100, David Gibson wrote: Currently the getting and setting of Power MMU registers (sregs) take up l

Re: [Qemu-devel] [PATCHv2 1/3] target-ppc: Split out SREGS get/put functions

2016-03-07 Thread David Gibson
On Tue, Mar 08, 2016 at 02:01:12PM +1100, Alexey Kardashevskiy wrote: > On 03/08/2016 11:37 AM, David Gibson wrote: > >On Mon, Mar 07, 2016 at 01:26:24PM +1100, David Gibson wrote: > >>Currently the getting and setting of Power MMU registers (sregs) take up > >>large inline chunks of the kvm_arch_g

Re: [Qemu-devel] [PATCHv2 1/3] target-ppc: Split out SREGS get/put functions

2016-03-07 Thread Alexey Kardashevskiy
On 03/08/2016 11:37 AM, David Gibson wrote: On Mon, Mar 07, 2016 at 01:26:24PM +1100, David Gibson wrote: Currently the getting and setting of Power MMU registers (sregs) take up large inline chunks of the kvm_arch_get_registers() and kvm_arch_put_registers() functions. Especially since there a

Re: [Qemu-devel] [PATCHv2 1/3] target-ppc: Split out SREGS get/put functions

2016-03-07 Thread David Gibson
On Mon, Mar 07, 2016 at 01:26:24PM +1100, David Gibson wrote: > Currently the getting and setting of Power MMU registers (sregs) take up > large inline chunks of the kvm_arch_get_registers() and > kvm_arch_put_registers() functions. Especially since there are two > variants (for Book-E and Book-S

Re: [Qemu-devel] [PATCHv2 1/3] target-ppc: Split out SREGS get/put functions

2016-03-07 Thread David Gibson
On Mon, Mar 07, 2016 at 12:22:04PM +0100, Thomas Huth wrote: > On 07.03.2016 03:26, David Gibson wrote: > > Currently the getting and setting of Power MMU registers (sregs) take up > > large inline chunks of the kvm_arch_get_registers() and > > kvm_arch_put_registers() functions. Especially since

Re: [Qemu-devel] [PATCHv2 1/3] target-ppc: Split out SREGS get/put functions

2016-03-07 Thread Thomas Huth
On 07.03.2016 03:26, David Gibson wrote: > Currently the getting and setting of Power MMU registers (sregs) take up > large inline chunks of the kvm_arch_get_registers() and > kvm_arch_put_registers() functions. Especially since there are two > variants (for Book-E and Book-S CPUs), only one of wh

[Qemu-devel] [PATCHv2 1/3] target-ppc: Split out SREGS get/put functions

2016-03-06 Thread David Gibson
Currently the getting and setting of Power MMU registers (sregs) take up large inline chunks of the kvm_arch_get_registers() and kvm_arch_put_registers() functions. Especially since there are two variants (for Book-E and Book-S CPUs), only one of which will be used in practice, this is pretty hard