Re: [Qemu-devel] [PATCH 3/6] target/ppc: SDR1 is a hypervisor resource

2017-02-22 Thread David Gibson
On Thu, Feb 23, 2017 at 03:32:04PM +1100, Suraj Jitindar Singh wrote: > On Thu, 2017-02-23 at 13:09 +1100, David Gibson wrote: > > At present the SDR1 register - the base of the system's hashed page > > table > > (HPT) - is represented as an SPR with supervisor read and write > > permission. > > Ho

Re: [Qemu-devel] [PATCH 3/6] target/ppc: SDR1 is a hypervisor resource

2017-02-22 Thread Suraj Jitindar Singh
On Thu, 2017-02-23 at 13:09 +1100, David Gibson wrote: > At present the SDR1 register - the base of the system's hashed page > table > (HPT) - is represented as an SPR with supervisor read and write > permission. > However, on CPUs which have a hypervisor mode, the SDR1 is a > hypervisor > only res

[Qemu-devel] [PATCH 3/6] target/ppc: SDR1 is a hypervisor resource

2017-02-22 Thread David Gibson
At present the SDR1 register - the base of the system's hashed page table (HPT) - is represented as an SPR with supervisor read and write permission. However, on CPUs which have a hypervisor mode, the SDR1 is a hypervisor only resource. Change the permission checking on the SPR to reflect this. N