Re: [Qemu-devel] [Qemu-ppc] [PATCH RFC] spapr: ignore interrupts during reset state

2017-07-13 Thread Cédric Le Goater
On 07/13/2017 12:32 PM, Nikunj A Dadhania wrote: > Cédric Le Goater writes: > >> On 07/13/2017 11:10 AM, Nikunj A Dadhania wrote: >>> Cédric Le Goater writes: >>> On 07/13/2017 09:55 AM, Nikunj A Dadhania wrote: > Cédric Le Goater writes:

Re: [Qemu-devel] [Qemu-ppc] [PATCH RFC] spapr: ignore interrupts during reset state

2017-07-13 Thread Nikunj A Dadhania
Cédric Le Goater writes: > On 07/13/2017 11:10 AM, Nikunj A Dadhania wrote: >> Cédric Le Goater writes: >> >>> On 07/13/2017 09:55 AM, Nikunj A Dadhania wrote: Cédric Le Goater writes: >>> How about the following, we do not report

Re: [Qemu-devel] [Qemu-ppc] [PATCH RFC] spapr: ignore interrupts during reset state

2017-07-13 Thread Cédric Le Goater
On 07/13/2017 11:10 AM, Nikunj A Dadhania wrote: > Cédric Le Goater writes: > >> On 07/13/2017 09:55 AM, Nikunj A Dadhania wrote: >>> Cédric Le Goater writes: >>> >> How about the following, we do not report work until MSR_EE is disabled: > > With this

Re: [Qemu-devel] [Qemu-ppc] [PATCH RFC] spapr: ignore interrupts during reset state

2017-07-13 Thread Nikunj A Dadhania
Nikunj A Dadhania writes: > Cédric Le Goater writes: > >> On 07/13/2017 09:55 AM, Nikunj A Dadhania wrote: >>> Cédric Le Goater writes: >>> >> How about the following, we do not report work until MSR_EE is disabled: > > With

Re: [Qemu-devel] [Qemu-ppc] [PATCH RFC] spapr: ignore interrupts during reset state

2017-07-13 Thread Nikunj A Dadhania
Cédric Le Goater writes: > On 07/13/2017 09:55 AM, Nikunj A Dadhania wrote: >> Cédric Le Goater writes: >> > How about the following, we do not report work until MSR_EE is disabled: With this fix, I could test the XIVE<->XICS transitions at reboot

Re: [Qemu-devel] [Qemu-ppc] [PATCH RFC] spapr: ignore interrupts during reset state

2017-07-13 Thread Cédric Le Goater
On 07/13/2017 09:55 AM, Nikunj A Dadhania wrote: > Cédric Le Goater writes: > How about the following, we do not report work until MSR_EE is disabled: >>> >>> With this fix, I could test the XIVE<->XICS transitions at reboot >>> under TCG. However, the second boot is very

Re: [Qemu-devel] [Qemu-ppc] [PATCH RFC] spapr: ignore interrupts during reset state

2017-07-13 Thread Nikunj A Dadhania
Cédric Le Goater writes: >>> How about the following, we do not report work until MSR_EE is disabled: >> >> With this fix, I could test the XIVE<->XICS transitions at reboot >> under TCG. However, the second boot is very slow for some reason. > > hmm, I am not sure this is

Re: [Qemu-devel] [Qemu-ppc] [PATCH RFC] spapr: ignore interrupts during reset state

2017-07-13 Thread Nikunj A Dadhania
Cédric Le Goater writes: > On 07/13/2017 06:38 AM, Nikunj A Dadhania wrote: >> David Gibson writes: >> >>> >>> Ok, but we definitely should be able to fix this without new >>> variables. If we can quiesce the secondary CPUs for the first boot, >>>

Re: [Qemu-devel] [Qemu-ppc] [PATCH RFC] spapr: ignore interrupts during reset state

2017-07-13 Thread Cédric Le Goater
On 07/13/2017 08:43 AM, Cédric Le Goater wrote: > On 07/13/2017 06:38 AM, Nikunj A Dadhania wrote: >> David Gibson writes: >> >>> On Fri, Jun 09, 2017 at 10:32:25AM +0530, Nikunj A Dadhania wrote: David Gibson writes: > On

Re: [Qemu-devel] [Qemu-ppc] [PATCH RFC] spapr: ignore interrupts during reset state

2017-07-13 Thread Cédric Le Goater
On 07/13/2017 06:38 AM, Nikunj A Dadhania wrote: > David Gibson writes: > >> On Fri, Jun 09, 2017 at 10:32:25AM +0530, Nikunj A Dadhania wrote: >>> David Gibson writes: >>> On Thu, Jun 08, 2017 at 12:06:08PM +0530, Nikunj A Dadhania