Received: by 10.223.185.116 with SMTP id b49csp2395211wrg; Mon, 12 Feb 2018 08:53:50 -0800 (PST) X-Google-Smtp-Source: AH8x227e+6SLvw38dOviZY5JB5zX0O7Ean9Aw8aKoVLzUHFGxBqM/ofvsC40BKvEZCKiwBqf5BQ1 X-Received: by 2002:a17:902:5305:: with SMTP id b5-v6mr11018192pli.61.1518454429957; Mon, 12 Feb 2018 08:53:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518454429; cv=none; d=google.com; s=arc-20160816; b=diKAxKtNCPKKCb5jRZeoLn2K3Xid3Vobd7yQzbBcFndzsraf8FzLDouI1c7nbHG204 +4C8J5TjFtaqbZLnAwU9Vm0X+6BkYwly1/IMjEXVlBzsVx6ckZrQRti5wwMLv7vjpccB LKnr9CgzaVjIieP5MEXiWJ00otngE4PoQ0PFuehTp8fMqnROhlHShZuMpRza9xDaeEdu CAA5NOQY6Pl4R2GXgg6ObioWju34mkdStJ1eOQvpIbv4cyGLgowt+cy5Is3s6WzKVsjT kG6CjUnppWevQDhOous7tNxCMFuK72gRsToh7vFEiD5akZCdwKAF9QhlmtgSYQPG8N4P iNjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=sSSSMsbZUtaJwk7xEo5whnpD8+CwQkZ4/DnKAlqckiM=; b=EhyoXV6IkJN3SfPvtjA9UVHWSsJDc8VOu9QD3LRvb7hvHuvcQJ6BNtRFq1outrT0wa slPUZy8WAZ733yyAs63sPPDGEsd56KVYkN07uuwSvDIFxvjD2ZBdGue4x9KpEvuuBpqd 6SiIaeRfKZmtx9h7qBRSkcxtNxvzHVKE38gHDQONFgNTKJTrP0TrlZ5a7xFdeNl0aFXj Tl8NFN7oHqR79j31q37Pu8RnLLA4jv082kKSE1m8s2cC8cHbzp098btDZ0hWIuft+6/s hhw7H3yPTlrMC6NU72WWY4gt76MWRY9cd0FklyyCMfi1kRENM5R2x41KN3cueic8T7/7 fXuA== ARC-Authentication-Results: i=1; mx.google.com; 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 j125si3014109pfg.348.2018.02.12.08.53.35; Mon, 12 Feb 2018 08:53:49 -0800 (PST) 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; 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 S934429AbeBLNvY (ORCPT + 99 others); Mon, 12 Feb 2018 08:51:24 -0500 Received: from mx2.suse.de ([195.135.220.15]:60171 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933281AbeBLNvW (ORCPT ); Mon, 12 Feb 2018 08:51:22 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 37FCAACB2; Mon, 12 Feb 2018 13:51:21 +0000 (UTC) Subject: Re: [PATCH] x86/xen: Calculate __max_logical_packages on PV domains To: Prarit Bhargava , linux-kernel@vger.kernel.org Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, Boris Ostrovsky , Dou Liyang , Kate Stewart , Greg Kroah-Hartman , Andy Lutomirski , Andi Kleen , Vitaly Kuznetsov , xen-devel@lists.xenproject.org References: <20180207234923.13544-1-prarit@redhat.com> From: Juergen Gross Message-ID: <73fb2eb7-961a-6984-deb7-4efe5ed03a7c@suse.com> Date: Mon, 12 Feb 2018 14:51:18 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180207234923.13544-1-prarit@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/02/18 00:49, Prarit Bhargava wrote: > The kernel panics on PV domains because native_smp_cpus_done() is > only called for HVM domains. > > Calculate __max_logical_packages for PV domains. > > Fixes: b4c0a7326f5d ("x86/smpboot: Fix __max_logical_packages estimate") > Signed-off-by: Prarit Bhargava > Tested-and-reported-by: Simon Gaiser > Cc: Thomas Gleixner > Cc: Ingo Molnar > Cc: "H. Peter Anvin" > Cc: x86@kernel.org > Cc: Boris Ostrovsky > Cc: Juergen Gross > Cc: Dou Liyang > Cc: Prarit Bhargava > Cc: Kate Stewart > Cc: Greg Kroah-Hartman > Cc: Andy Lutomirski > Cc: Andi Kleen > Cc: Vitaly Kuznetsov > Cc: xen-devel@lists.xenproject.org Committed to xen.tip for-linus-4.16 Juergen