Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3888464imm; Tue, 11 Sep 2018 03:48:45 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZ6ITV+fVDJgYWgxiQpinaoWzMjomTN9VWALpPMfa6oDzgqMZ6ifVUHBDvlRTXdnrk829Nu X-Received: by 2002:a62:23c2:: with SMTP id q63-v6mr28759705pfj.116.1536662924964; Tue, 11 Sep 2018 03:48:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536662924; cv=none; d=google.com; s=arc-20160816; b=k0nrClCZlT/jLZpRp7SsxRaYwnmha4HdPhCG+JxywbSdTKa47qIDyp8QpguEes/4GD uiggE7bwQbnPqZZH9Ek47kTygKafNo4c5YLwtEA+PRYb5jO7s7PGtPTpBEgZfxZfKO8S TVe1yVs7YbnZ/zhNUFIJU6mzRSP2R+a96T5mbWedi54nrYK+5QhP8ZPAnGUkMW/kcQV3 mAp6g4IklNqEneJpoqygkAubCPHAOPpYyoZpvnNLWnwKSQrwobglvWlTid8NEF6bNsHK A0t2u6AFXF2mQP1v7nfcWO6xEsl2/dHmAjW2E/Ts40OgMzTUFEvojaj5U2Z5zUo79say QNVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:dkim-signature; bh=zMIo+QlP6NjELxgWRYGvAFr9yVC1RA7i3HR5e/ce+28=; b=oKNf7rtYsLAGEB+LZoky6XwYb17T/VofDqMFol+jVO/2wN/cClVQSWDd9nICjSz0j4 5X/uMjVC2r/w7xHoyHwEmfml1EdQbfIN4vm50I98oD5n6umcvZmQSf22u0ylV6ZO94h3 nIB4gngsT/supLzf31DGeZXecmhnGQOv7JAto5vxjhd00Q2NwhTV7nPtsvD96wq9OW4S RhSGl+c6UJXz2ECNnLNTYJ+JZ1uhlPIfZI9CdHwFtbprLiEmg1AF5m/MCIwF04PqKImB sZZIQ38sdAoYYZGooMTDSKa+JWInHS5q+AK0O+1T3pZtU6tPqdr23Gp2N+9qh8Fh99yG 0KOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@aepfle.de header.s=strato-dkim-0002 header.b=R3yW5Yk3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g21-v6si21140382pgk.232.2018.09.11.03.48.29; Tue, 11 Sep 2018 03:48:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@aepfle.de header.s=strato-dkim-0002 header.b=R3yW5Yk3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726739AbeIKPrB (ORCPT + 99 others); Tue, 11 Sep 2018 11:47:01 -0400 Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.217]:16576 "EHLO mo4-p00-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726563AbeIKPrB (ORCPT ); Tue, 11 Sep 2018 11:47:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1536662893; s=strato-dkim-0002; d=aepfle.de; h=References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=zMIo+QlP6NjELxgWRYGvAFr9yVC1RA7i3HR5e/ce+28=; b=R3yW5Yk3VZWVM4V8xodXtyAuLbNy0H+Aj7tNYicUWMxxlg1tj8Jk2Vy4+vRhXkn9RS APnNcQfIK40eALXrkEQH6dAAlaYjRGUyijR6ViiuSXJRSwetkro+Vxf0iVIGZalorMdK pcgqfObtViTTXf4jx6F0sb6W/J5yXlm4tXe8QEhycTxkEvjQ3QCIxjPuv/1cnct/f6Mp aaJ4J5dciybFkiPpl06fFos6XM7D2hfLHpenFJ3IBzujVlBsRl6MJlgG42Dv9PXO+HW7 PR4i9WnGSaPmvE+CCj3rg9P8/1vjwUHXDfZ0HUeVvKQUaASuzxRKy12IUmGQ4OtfLBF3 ECXA== X-RZG-AUTH: ":P2EQZWCpfu+qG7CngxMFH1J+3q8wa/QED/SSGq+wjGiUC4oc0Nr2ihluivIFRoeSV8ZanCUTzXkL91T4E0V3TMz5ObAI+PLPmQ==" X-RZG-CLASS-ID: mo00 Received: from sender by smtp.strato.de (RZmta 44.0 AUTH) with ESMTPSA id L0862bu8BAmDQUb (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Tue, 11 Sep 2018 12:48:13 +0200 (CEST) Date: Tue, 11 Sep 2018 12:48:08 +0200 From: Olaf Hering To: Boris Ostrovsky Cc: xen-devel@lists.xenproject.org, Juergen Gross , open list Subject: Re: [PATCH v4] xen: avoid crash in disable_hotplug_cpu Message-ID: <20180911124808.18dfe8bf.olaf@aepfle.de> In-Reply-To: <20180911095258.5ed9e9b7.olaf@aepfle.de> References: <20180907143135.29608-1-olaf@aepfle.de> <4f623671-e1aa-1804-449c-a26b0c4b9ce9@oracle.com> <20180911095258.5ed9e9b7.olaf@aepfle.de> X-Mailer: Claws Mail 3.16.1 (GTK+ 2.24.32; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/Sfd2.ijTAWqtljGsgLZh_Oj"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/Sfd2.ijTAWqtljGsgLZh_Oj Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Am Tue, 11 Sep 2018 09:52:58 +0200 schrieb Olaf Hering : > As J=C3=BCrgen suggested in another mail, Xen should probably disable hot= plugging > for cpu#0 in the generic setup code. Then cpu_is_hotpluggable(cpu) would > do the right thing. The relevant code is all private to arch/x86/kernel/topology.c. There is no way to set .hotpluggable prior to register_cpu. I guess you need to work that out with the x86 maintainers. Olaf --Sig_/Sfd2.ijTAWqtljGsgLZh_Oj Content-Type: application/pgp-signature Content-Description: Digitale Signatur von OpenPGP -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSkRyP6Rn//f03pRUBdQqD6ppg2fgUCW5edaAAKCRBdQqD6ppg2 fjWwAKCrFv/vHuKzbfIPZpQl9g2/TGaUigCg5UQ5+KRUfGnXJOUk7MH2kT2H6uo= =QfE0 -----END PGP SIGNATURE----- --Sig_/Sfd2.ijTAWqtljGsgLZh_Oj--