Re: [Qemu-devel] [RFC 09/17] ppc: Validate compatibility modes when setting

2016-11-07 Thread David Gibson
On Fri, Nov 04, 2016 at 02:45:02PM +1100, Alexey Kardashevskiy wrote: > On 31/10/16 19:39, David Gibson wrote: > > On Mon, Oct 31, 2016 at 04:55:42PM +1100, Alexey Kardashevskiy wrote: > >> On 30/10/16 22:12, David Gibson wrote: > >>> Current ppc_set_compat() will attempt to set any compatiblity mo

Re: [Qemu-devel] [RFC 09/17] ppc: Validate compatibility modes when setting

2016-11-03 Thread Alexey Kardashevskiy
On 31/10/16 19:39, David Gibson wrote: > On Mon, Oct 31, 2016 at 04:55:42PM +1100, Alexey Kardashevskiy wrote: >> On 30/10/16 22:12, David Gibson wrote: >>> Current ppc_set_compat() will attempt to set any compatiblity mode >>> specified, regardless of whether it's available on the CPU. The caller

Re: [Qemu-devel] [RFC 09/17] ppc: Validate compatibility modes when setting

2016-10-31 Thread David Gibson
On Mon, Oct 31, 2016 at 04:55:42PM +1100, Alexey Kardashevskiy wrote: > On 30/10/16 22:12, David Gibson wrote: > > Current ppc_set_compat() will attempt to set any compatiblity mode > > specified, regardless of whether it's available on the CPU. The caller is > > expected to make sure it is settin

Re: [Qemu-devel] [RFC 09/17] ppc: Validate compatibility modes when setting

2016-10-30 Thread Alexey Kardashevskiy
On 30/10/16 22:12, David Gibson wrote: > Current ppc_set_compat() will attempt to set any compatiblity mode > specified, regardless of whether it's available on the CPU. The caller is > expected to make sure it is setting a possible mode, which is awkwward > because most of the information to make

[Qemu-devel] [RFC 09/17] ppc: Validate compatibility modes when setting

2016-10-30 Thread David Gibson
Current ppc_set_compat() will attempt to set any compatiblity mode specified, regardless of whether it's available on the CPU. The caller is expected to make sure it is setting a possible mode, which is awkwward because most of the information to make that decision is at the CPU level. This begin