From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 246C2C2D0DB for ; Mon, 20 Jan 2020 11:04:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E32F22087E for ; Mon, 20 Jan 2020 11:04:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="LuUg6yt+" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727076AbgATLEY (ORCPT ); Mon, 20 Jan 2020 06:04:24 -0500 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:31256 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726465AbgATLEX (ORCPT ); Mon, 20 Jan 2020 06:04:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1579518263; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Gy1QgF8VJlA5zD6ybpuYbV4sRYlFxGtF/MSXbawP5Hk=; b=LuUg6yt+PqZExoi4WYGJ7x6eI3i5uYO1FNkgda9dFxz6IfLXXzjgmBC/zIwyxTes5b1sIE r5zUV89cTXREHuHHT8glH3aw5b2H22F8xg5fX3fV36dtGwEO2ElS3ljANslkky/MZ7quiE blpkRT8JuyvzFcHc6+BwKx2+9ao73lw= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-352-e39AIbXLN1eNTopVvNTfHw-1; Mon, 20 Jan 2020 06:04:21 -0500 X-MC-Unique: e39AIbXLN1eNTopVvNTfHw-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 718BA10054E3; Mon, 20 Jan 2020 11:04:20 +0000 (UTC) Received: from gondolin (ovpn-205-161.brq.redhat.com [10.40.205.161]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6E8AC5C21A; Mon, 20 Jan 2020 11:04:16 +0000 (UTC) Date: Mon, 20 Jan 2020 12:04:13 +0100 From: Cornelia Huck To: Janosch Frank Cc: kvm@vger.kernel.org, thuth@redhat.com, borntraeger@de.ibm.com, linux-s390@vger.kernel.org, david@redhat.com Subject: Re: [kvm-unit-tests PATCH v3 5/9] s390x: smp: Wait for cpu setup to finish Message-ID: <20200120120413.48b6703a.cohuck@redhat.com> In-Reply-To: <20200117104640.1983-6-frankja@linux.ibm.com> References: <20200117104640.1983-1-frankja@linux.ibm.com> <20200117104640.1983-6-frankja@linux.ibm.com> Organization: Red Hat GmbH MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Fri, 17 Jan 2020 05:46:36 -0500 Janosch Frank wrote: > We store the user provided psw address into restart new, so a psw > restart does not lead us through setup again. > > Also we wait on smp_cpu_setup() until the cpu has finished setup > before returning. This is necessary for z/VM and LPAR where sigp is > asynchronous. > > Signed-off-by: Janosch Frank > Reviewed-by: David Hildenbrand > --- > lib/s390x/smp.c | 2 ++ > s390x/cstart64.S | 2 ++ > 2 files changed, 4 insertions(+) Reviewed-by: Cornelia Huck