Re: [kvm-unit-tests PATCH v5 6/7] s390x: smp: Rework cpu start and active tracking

Thomas Huth
2020-02-01T19:03:35Z

On 01/02/2020 16.28, Janosch Frank wrote:
> The architecture specifies that processing sigp orders may be
> asynchronous, and this is indeed the case on some hypervisors, so we
> need to wait until the cpu runs before we return from the setup/start
> function.
>
> As there was a lot of duplicate code, a common function for cpu
> restarts has been introduced.
>
> Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
> Reviewed-by: Cornelia Huck <cohuck@redhat.com>
> ---
> lib/s390x/smp.c | 56 ++++++++++++++++++++++++++++++-------------------
> 1 file changed, 35 insertions(+), 21 deletions(-)

Reviewed-by: Thomas Huth <thuth@redhat.com>