Re: [PATCH v5 08/10] target/ppc: Remove env->immu_idx and env->dmmu_idx

2021-03-23 Thread David Gibson
On Tue, Mar 23, 2021 at 12:43:38PM -0600, Richard Henderson wrote: > We weren't recording MSR_GS in hflags, which means that BookE > memory accesses were essentially random vs Guest State. > > Instead of adding this bit directly, record the completed mmu > indexes instead. This makes it obvious t

[PATCH v5 08/10] target/ppc: Remove env->immu_idx and env->dmmu_idx

2021-03-23 Thread Richard Henderson
We weren't recording MSR_GS in hflags, which means that BookE memory accesses were essentially random vs Guest State. Instead of adding this bit directly, record the completed mmu indexes instead. This makes it obvious that we are recording exactly the information that we need. This also means t