Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1733872ybg; Sat, 19 Oct 2019 01:20:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqypPI7iKmCqH0kpmgvaZvJ5B410r3z15m410sOIHbVOAVEfNfmaRcwVztmyc1J/p8fvm63F X-Received: by 2002:aa7:df0d:: with SMTP id c13mr13718636edy.61.1571473209955; Sat, 19 Oct 2019 01:20:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571473209; cv=none; d=google.com; s=arc-20160816; b=AUsbthVItWolUQBVnZXtajwhGwM/FLlvCCBbukXS3Yk2lPi/y/r9W0uiM2R1qACgNW qkNNH8AEM0mVIafx/jCouqmkYMGXOR0xeQGfW0rF5iHkKhv2u0TXT2seHO2hA7winulg +nNHdHcKg+xATSL9R8yN2YgReG534CBxJTfp+Almh+dqvL/yGHJznlfDtvALY+2/x9+s GIbqz5wQCtGDdAtXY3WaNGkJ8l3TvJYpH2Kd3AyygI4oDmldFuacj6MxTTIyIF7FVHuy KJOZOizhWORwNc6UblmvzJE/kw3PT4VHQqxoyVTg4tiYg4mtJPKYOwd2uceJQzCfaVby Yqyw== 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 :robot-unsubscribe:robot-id:message-id:mime-version:references :in-reply-to:cc:subject:to:reply-to:from:date; bh=lOlYVh+0/LN2ut+03ShWie4rZ8iGN2Lm1THzJL8/4ZM=; b=Zqiw/CsPVli9kIAbywbAUiJmfiDYS0DORnzh8K0bgXcBcOxGBo9zAxyzbY2MJ9Nlt+ O1C+tkzgahwDiEQ/rYjtwpDaPnAKvac1tPdsRnthJ0AOYYM0XvfDPB2Fy9LDZz20wCHW ePihF6y0GSbH1wkW1Di8hDkUrp83T2GTv6k0pB0Qt97MHUy7ww40vUScbBfoTiqrV97t Y1O1r/ABzhFQnLNUD2ZQFA/k5iJe9wx+dc4tf24Y05vm7vsxj4d549/VEwnXehjkVqCu 6Z/iu67CqFL4JF0BAWFLTbBqOQDyC68PjT6eBqE2lGJUCWev+51YC7xa371pLu2ioZTT 9kOA== 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 k16si5026153ejo.7.2019.10.19.01.19.47; Sat, 19 Oct 2019 01:20:09 -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; 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 S2409864AbfJRLlh (ORCPT + 99 others); Fri, 18 Oct 2019 07:41:37 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:56572 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729803AbfJRLlg (ORCPT ); Fri, 18 Oct 2019 07:41:36 -0400 Received: from [5.158.153.53] (helo=tip-bot2.lab.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1iLQdL-000647-6G; Fri, 18 Oct 2019 13:41:27 +0200 Received: from [127.0.1.1] (localhost [IPv6:::1]) by tip-bot2.lab.linutronix.de (Postfix) with ESMTP id BC8291C03AB; Fri, 18 Oct 2019 13:41:26 +0200 (CEST) Date: Fri, 18 Oct 2019 11:41:26 -0000 From: "tip-bot2 for Andrea Parri" Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/urgent] x86/hyperv: Set pv_info.name to "Hyper-V" Cc: Michael Kelley , Andrea Parri , Thomas Gleixner , Wei Liu , YueHaibing , Ingo Molnar , Borislav Petkov , linux-kernel@vger.kernel.org In-Reply-To: <20191015103502.13156-1-parri.andrea@gmail.com> References: <20191015103502.13156-1-parri.andrea@gmail.com> MIME-Version: 1.0 Message-ID: <157139888658.29376.12730864004180074032.tip-bot2@tip-bot2> X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the x86/urgent branch of tip: Commit-ID: f7c0f50f1857c1cf013466fcea4dc98d116bf456 Gitweb: https://git.kernel.org/tip/f7c0f50f1857c1cf013466fcea4dc98d116bf456 Author: Andrea Parri AuthorDate: Tue, 15 Oct 2019 12:35:02 +02:00 Committer: Thomas Gleixner CommitterDate: Fri, 18 Oct 2019 13:33:38 +02:00 x86/hyperv: Set pv_info.name to "Hyper-V" Michael reported that the x86/hyperv initialization code prints the following dmesg when running in a VM on Hyper-V: [ 0.000738] Booting paravirtualized kernel on bare hardware Let the x86/hyperv initialization code set pv_info.name to "Hyper-V" so dmesg reports correctly: [ 0.000172] Booting paravirtualized kernel on Hyper-V [ tglx: Folded build fix provided by Yue ] Reported-by: Michael Kelley Signed-off-by: Andrea Parri Signed-off-by: Thomas Gleixner Reviewed-by: Wei Liu Reviewed-by: Michael Kelley Cc: YueHaibing Link: https://lkml.kernel.org/r/20191015103502.13156-1-parri.andrea@gmail.com --- arch/x86/kernel/cpu/mshyperv.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/x86/kernel/cpu/mshyperv.c b/arch/x86/kernel/cpu/mshyperv.c index 267daad..c656d92 100644 --- a/arch/x86/kernel/cpu/mshyperv.c +++ b/arch/x86/kernel/cpu/mshyperv.c @@ -216,6 +216,10 @@ static void __init ms_hyperv_init_platform(void) int hv_host_info_ecx; int hv_host_info_edx; +#ifdef CONFIG_PARAVIRT + pv_info.name = "Hyper-V"; +#endif + /* * Extract the features and hints */