Re: [PATCH qemu] spapr: Add PVR setting capability

2020-05-10 Thread David Gibson
On Tue, May 05, 2020 at 04:18:40PM +1000, Alexey Kardashevskiy wrote: > > > On 05/05/2020 15:50, David Gibson wrote: > > On Tue, May 05, 2020 at 10:56:17AM +1000, Alexey Kardashevskiy wrote: > >> > >> > >> On 04/05/2020 21:30, Greg Kurz wrote: > >>> On Fri, 17 Apr 2020 14:11:05 +1000 > >>> Alexey

Re: [PATCH qemu] spapr: Add PVR setting capability

2020-05-04 Thread Alexey Kardashevskiy
On 05/05/2020 15:50, David Gibson wrote: > On Tue, May 05, 2020 at 10:56:17AM +1000, Alexey Kardashevskiy wrote: >> >> >> On 04/05/2020 21:30, Greg Kurz wrote: >>> On Fri, 17 Apr 2020 14:11:05 +1000 >>> Alexey Kardashevskiy wrote: >>> At the moment the VCPU init sequence includes setting P

Re: [PATCH qemu] spapr: Add PVR setting capability

2020-05-04 Thread David Gibson
On Tue, May 05, 2020 at 10:56:17AM +1000, Alexey Kardashevskiy wrote: > > > On 04/05/2020 21:30, Greg Kurz wrote: > > On Fri, 17 Apr 2020 14:11:05 +1000 > > Alexey Kardashevskiy wrote: > > > >> At the moment the VCPU init sequence includes setting PVR which in case of > >> KVM-HV only checks if

Re: [PATCH qemu] spapr: Add PVR setting capability

2020-05-04 Thread Alexey Kardashevskiy
On 04/05/2020 21:30, Greg Kurz wrote: > On Fri, 17 Apr 2020 14:11:05 +1000 > Alexey Kardashevskiy wrote: > >> At the moment the VCPU init sequence includes setting PVR which in case of >> KVM-HV only checks if it matches the hardware PVR mask as PVR cannot be >> virtualized by the hardware. In

Re: [PATCH qemu] spapr: Add PVR setting capability

2020-05-04 Thread Alexey Kardashevskiy
On 04/05/2020 21:38, Cédric Le Goater wrote: > > > On 5/4/20 1:30 PM, Greg Kurz wrote: >> On Fri, 17 Apr 2020 14:11:05 +1000 >> Alexey Kardashevskiy wrote: >> >>> At the moment the VCPU init sequence includes setting PVR which in case of >>> KVM-HV only checks if it matches the hardware PVR m

Re: [PATCH qemu] spapr: Add PVR setting capability

2020-05-04 Thread Cédric Le Goater
On 5/4/20 1:30 PM, Greg Kurz wrote: > On Fri, 17 Apr 2020 14:11:05 +1000 > Alexey Kardashevskiy wrote: > >> At the moment the VCPU init sequence includes setting PVR which in case of >> KVM-HV only checks if it matches the hardware PVR mask as PVR cannot be >> virtualized by the hardware. In o

Re: [PATCH qemu] spapr: Add PVR setting capability

2020-05-04 Thread Greg Kurz
On Fri, 17 Apr 2020 14:11:05 +1000 Alexey Kardashevskiy wrote: > At the moment the VCPU init sequence includes setting PVR which in case of > KVM-HV only checks if it matches the hardware PVR mask as PVR cannot be > virtualized by the hardware. In order to cope with various CPU revisions > only t

Re: [PATCH qemu] spapr: Add PVR setting capability

2020-05-03 Thread Alexey Kardashevskiy
On 17/04/2020 14:11, Alexey Kardashevskiy wrote: > At the moment the VCPU init sequence includes setting PVR which in case of > KVM-HV only checks if it matches the hardware PVR mask as PVR cannot be > virtualized by the hardware. In order to cope with various CPU revisions > only top 16bit of P

[PATCH qemu] spapr: Add PVR setting capability

2020-04-16 Thread Alexey Kardashevskiy
At the moment the VCPU init sequence includes setting PVR which in case of KVM-HV only checks if it matches the hardware PVR mask as PVR cannot be virtualized by the hardware. In order to cope with various CPU revisions only top 16bit of PVR are checked which works for minor revision updates. Howe