Re: [PATCH v2 04/10] target/ppc: Introduce ppc_hash64_use_vrma() helper

2020-01-07 Thread Cédric Le Goater
On 1/7/20 5:48 AM, David Gibson wrote: > When running guests under a hypervisor, the hypervisor obviously needs to > be protected from guest accesses even if those are in what the guest > considers real mode (translation off). The POWER hardware provides two > ways of doing that: The old way has g

[PATCH v2 04/10] target/ppc: Introduce ppc_hash64_use_vrma() helper

2020-01-06 Thread David Gibson
When running guests under a hypervisor, the hypervisor obviously needs to be protected from guest accesses even if those are in what the guest considers real mode (translation off). The POWER hardware provides two ways of doing that: The old way has guest real mode accesses simply offset and bound