Re: [Qemu-devel] [PATCH 5/6] target/ppc: Eliminate htab_base and htab_mask variables

2017-02-24 Thread David Gibson
On Thu, Feb 23, 2017 at 04:43:05PM +1100, Alexey Kardashevskiy wrote: > On 23/02/17 13:09, David Gibson wrote: > > CPUPPCState includes fields htab_base and htab_mask which store the base > > address (GPA) and size (as a mask) of the guest's hashed page table (HPT). > > These are set when the SDR1

Re: [Qemu-devel] [PATCH 5/6] target/ppc: Eliminate htab_base and htab_mask variables

2017-02-24 Thread David Gibson
On Thu, Feb 23, 2017 at 04:52:59PM +1100, Suraj Jitindar Singh wrote: > On Thu, 2017-02-23 at 13:09 +1100, David Gibson wrote: > > CPUPPCState includes fields htab_base and htab_mask which store the > > base > > address (GPA) and size (as a mask) of the guest's hashed page table > > (HPT). > > Thes

Re: [Qemu-devel] [PATCH 5/6] target/ppc: Eliminate htab_base and htab_mask variables

2017-02-23 Thread David Gibson
On Thu, Feb 23, 2017 at 04:52:59PM +1100, Suraj Jitindar Singh wrote: > On Thu, 2017-02-23 at 13:09 +1100, David Gibson wrote: > > CPUPPCState includes fields htab_base and htab_mask which store the > > base > > address (GPA) and size (as a mask) of the guest's hashed page table > > (HPT). > > Thes

Re: [Qemu-devel] [PATCH 5/6] target/ppc: Eliminate htab_base and htab_mask variables

2017-02-22 Thread Suraj Jitindar Singh
On Thu, 2017-02-23 at 13:09 +1100, David Gibson wrote: > CPUPPCState includes fields htab_base and htab_mask which store the > base > address (GPA) and size (as a mask) of the guest's hashed page table > (HPT). > These are set when the SDR1 register is updated. > > Keeping these in sync with the S

Re: [Qemu-devel] [PATCH 5/6] target/ppc: Eliminate htab_base and htab_mask variables

2017-02-22 Thread Alexey Kardashevskiy
On 23/02/17 13:09, David Gibson wrote: > CPUPPCState includes fields htab_base and htab_mask which store the base > address (GPA) and size (as a mask) of the guest's hashed page table (HPT). > These are set when the SDR1 register is updated. > > Keeping these in sync with the SDR1 is actually a li

[Qemu-devel] [PATCH 5/6] target/ppc: Eliminate htab_base and htab_mask variables

2017-02-22 Thread David Gibson
CPUPPCState includes fields htab_base and htab_mask which store the base address (GPA) and size (as a mask) of the guest's hashed page table (HPT). These are set when the SDR1 register is updated. Keeping these in sync with the SDR1 is actually a little bit fiddly, and probably not useful for perf