Re: [PATCH 6/7] target/ppc: add support for Hypervisor Facility Unavailable Exception

2020-01-13 Thread David Gibson
On Wed, Jan 08, 2020 at 04:36:50PM +0100, Cédric Le Goater wrote: > On 12/19/19 6:12 AM, David Gibson wrote: > > On Thu, Nov 28, 2019 at 02:46:59PM +0100, Cédric Le Goater wrote: > >> The privileged message send and clear instructions (msgsndp & msgclrp) > >> are privileged, but will generate a hy

Re: [PATCH 6/7] target/ppc: add support for Hypervisor Facility Unavailable Exception

2020-01-08 Thread Cédric Le Goater
On 12/19/19 6:12 AM, David Gibson wrote: > On Thu, Nov 28, 2019 at 02:46:59PM +0100, Cédric Le Goater wrote: >> The privileged message send and clear instructions (msgsndp & msgclrp) >> are privileged, but will generate a hypervisor facility unavailable >> exception if not enabled in the HFSCR and

Re: [PATCH 6/7] target/ppc: add support for Hypervisor Facility Unavailable Exception

2019-12-18 Thread David Gibson
On Thu, Nov 28, 2019 at 02:46:59PM +0100, Cédric Le Goater wrote: > The privileged message send and clear instructions (msgsndp & msgclrp) > are privileged, but will generate a hypervisor facility unavailable > exception if not enabled in the HFSCR and executed in privileged > non-hypervisor state.

[PATCH 6/7] target/ppc: add support for Hypervisor Facility Unavailable Exception

2019-11-28 Thread Cédric Le Goater
The privileged message send and clear instructions (msgsndp & msgclrp) are privileged, but will generate a hypervisor facility unavailable exception if not enabled in the HFSCR and executed in privileged non-hypervisor state. Add checks when accessing the DPDES register and when using the msgsndp