Re: [Qemu-devel] [PATCH v5] powerpc: add PVR mask support

2013-09-04 Thread Alexey Kardashevskiy
On 08/28/2013 09:01 PM, Alexey Kardashevskiy wrote: > On 08/28/2013 08:49 PM, Andreas Färber wrote: >> Am 28.08.2013 12:37, schrieb Alexey Kardashevskiy: >>> IBM POWERPC processors encode PVR as a CPU family in higher 16 bits and >>> a CPU version in lower 16 bits. Since there is no significant cha

Re: [Qemu-devel] [PATCH v5] powerpc: add PVR mask support

2013-08-28 Thread Benjamin Herrenschmidt
On Thu, 2013-08-29 at 14:52 +1000, Paul Mackerras wrote: > We are going to need a way to do that for pseries guests. So for > example if we are running on a POWER8 machine and using KVM, we would > want to be able to tell qemu that we want a POWER7 machine and have > qemu put 0x0f03 in the dev

Re: [Qemu-devel] [PATCH v5] powerpc: add PVR mask support

2013-08-28 Thread Paul Mackerras
On Thu, Aug 29, 2013 at 01:33:07PM +1000, Paul Mackerras wrote: > On Wed, Aug 28, 2013 at 12:49:27PM +0200, Andreas Färber wrote: > > > According to the only reply I received, it's "POWER7", not "POWER7+" - > > see my patch description. If that information was wrong, we'll need to > > move POWER7P

Re: [Qemu-devel] [PATCH v5] powerpc: add PVR mask support

2013-08-28 Thread Paul Mackerras
On Wed, Aug 28, 2013 at 12:49:27PM +0200, Andreas Färber wrote: > According to the only reply I received, it's "POWER7", not "POWER7+" - > see my patch description. If that information was wrong, we'll need to > move POWER7P introduction before my fw_name patch and update it accordingly. It shoul

Re: [Qemu-devel] [PATCH v5] powerpc: add PVR mask support

2013-08-28 Thread Alexey Kardashevskiy
On 08/28/2013 08:49 PM, Andreas Färber wrote: > Am 28.08.2013 12:37, schrieb Alexey Kardashevskiy: >> IBM POWERPC processors encode PVR as a CPU family in higher 16 bits and >> a CPU version in lower 16 bits. Since there is no significant change >> in behavior between versions, there is no point to

Re: [Qemu-devel] [PATCH v5] powerpc: add PVR mask support

2013-08-28 Thread Andreas Färber
Am 28.08.2013 12:37, schrieb Alexey Kardashevskiy: > IBM POWERPC processors encode PVR as a CPU family in higher 16 bits and > a CPU version in lower 16 bits. Since there is no significant change > in behavior between versions, there is no point to add every single CPU > version in QEMU's CPU list.

[Qemu-devel] [PATCH v5] powerpc: add PVR mask support

2013-08-28 Thread Alexey Kardashevskiy
IBM POWERPC processors encode PVR as a CPU family in higher 16 bits and a CPU version in lower 16 bits. Since there is no significant change in behavior between versions, there is no point to add every single CPU version in QEMU's CPU list. Also, new CPU versions of already supported CPU won't brea