Re: [PATCH v1 01/12] KVM: PPC: Book3S HV P9: Restore host CTRL SPR after guest exit

2021-04-12 Thread Nicholas Piggin
Excerpts from Fabiano Rosas's message of April 13, 2021 12:06 am: > Nicholas Piggin writes: > >> The host CTRL (runlatch) value is not restored after guest exit. The >> host CTRL should always be 1 except in CPU idle code, so this can result >> in the host running with runlatch clear, and potenti

Re: [PATCH v1 01/12] KVM: PPC: Book3S HV P9: Restore host CTRL SPR after guest exit

2021-04-12 Thread Fabiano Rosas
Nicholas Piggin writes: > The host CTRL (runlatch) value is not restored after guest exit. The > host CTRL should always be 1 except in CPU idle code, so this can result > in the host running with runlatch clear, and potentially switching to > a different vCPU which then runs with runlatch clear

[PATCH v1 01/12] KVM: PPC: Book3S HV P9: Restore host CTRL SPR after guest exit

2021-04-11 Thread Nicholas Piggin
The host CTRL (runlatch) value is not restored after guest exit. The host CTRL should always be 1 except in CPU idle code, so this can result in the host running with runlatch clear, and potentially switching to a different vCPU which then runs with runlatch clear as well. This has little effect o