Re: [PATCH v7 11/17] target/ppc: Don't store VRMA SLBE persistently

2020-03-05 Thread Philippe Mathieu-Daudé
On 3/5/20 10:47 AM, Greg Kurz wrote: On Thu, 5 Mar 2020 10:17:03 +0100 Philippe Mathieu-Daudé wrote: Hi David, On 3/3/20 4:43 AM, David Gibson wrote: Currently, we construct the SLBE used for VRMA translations when the LPCR is written (which controls some bits in the SLBE), then use it later

Re: [PATCH v7 11/17] target/ppc: Don't store VRMA SLBE persistently

2020-03-05 Thread Greg Kurz
On Thu, 5 Mar 2020 10:17:03 +0100 Philippe Mathieu-Daudé wrote: > Hi David, > > On 3/3/20 4:43 AM, David Gibson wrote: > > Currently, we construct the SLBE used for VRMA translations when the LPCR > > is written (which controls some bits in the SLBE), then use it later for > > translations. > >

Re: [PATCH v7 11/17] target/ppc: Don't store VRMA SLBE persistently

2020-03-05 Thread Philippe Mathieu-Daudé
Hi David, On 3/3/20 4:43 AM, David Gibson wrote: Currently, we construct the SLBE used for VRMA translations when the LPCR is written (which controls some bits in the SLBE), then use it later for translations. This is a bit complex and confusing - simplify it by simply constructing the SLBE dir

Re: [PATCH v7 11/17] target/ppc: Don't store VRMA SLBE persistently

2020-03-03 Thread Greg Kurz
On Tue, 3 Mar 2020 14:43:45 +1100 David Gibson wrote: > Currently, we construct the SLBE used for VRMA translations when the LPCR > is written (which controls some bits in the SLBE), then use it later for > translations. > > This is a bit complex and confusing - simplify it by simply constructi

[PATCH v7 11/17] target/ppc: Don't store VRMA SLBE persistently

2020-03-02 Thread David Gibson
Currently, we construct the SLBE used for VRMA translations when the LPCR is written (which controls some bits in the SLBE), then use it later for translations. This is a bit complex and confusing - simplify it by simply constructing the SLBE directly from the LPCR when we need it. Signed-off-by: