Cédric Le Goater <c...@kaod.org> writes: > On 07/13/2017 09:55 AM, Nikunj A Dadhania wrote: >> Cédric Le Goater <c...@kaod.org> 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 related but I just got : >> >> Havent seen in my setup after around 10 reboot cycles, I was using 2 >> cores pseries setup. Lets give it some more testing. When did this >> happen, during boot ? > > yes. > > I could not reproduce either :/ but I am keeping the patch. qemu runs > with : > > -m 2G -M pseries -accel tcg,thread=multi -cpu POWER9 -smp cores=4,maxcpus=8 > -realtime mlock=off -kernel ./vmlinux-4.12.0+ -initrd ./initrd.img-4.12.0+ > -append 'console=hvc0 dyndbg="file arch/powerpc/sysdev/xive/* +p"' -nographic > -nodefaults -serial mon:stdio -snapshot -d guest_errors,unimp -no-shutdown >
With 4 cores I am seeing hangs occasionally, although I havent seen a crash. But seems to be similar problem that you had seen. Regards, Nikunj