Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp568458ybz; Fri, 24 Apr 2020 05:35:52 -0700 (PDT) X-Google-Smtp-Source: APiQypIkna+rfwgKJUJeEkvy/jWKEGcIOHmvjD67K3LIO0B2f2F2cKGux67U9jXdc7TPV3woQ6Tc X-Received: by 2002:a05:6402:379:: with SMTP id s25mr7120613edw.69.1587731752608; Fri, 24 Apr 2020 05:35:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587731752; cv=none; d=google.com; s=arc-20160816; b=s6haucHe+QEjY0ESW+oCpPPa/ei30DU/+gZWKmpjtBqD+wafZ7e1B670cQNCWOqqvG wMSciWClNWGx2C/mEArcsXekMmiGsKZFdl8S4H6jTe/zs7rrgqsPOek+AaMw2NuDDPsW UAV1LA7Mu3kVzFTJSKHxEOayYeTTQLP7ChydYtaY1b+wz6X2/wvEggiAniHhRa06K3QD F1eOKqVnVU7b7djb5I3YX7hHHcClk0mAQtrdyZSrYx9T72BssI9aBXAjF0rwY8Q3o8+W EQn3ZhtGXWtolc0gHKftpFHeUkhehzlHLYlABdadjXHysUW3FfceQLTvR+257LCUsacA dD1A== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=2XMbBDBVVlDWS9AGlfp8ScS9ogpZ/0C9WZz/uPVLcO4=; b=YH9o60MGkC7mUbqYksD6PuTDSHk5bJaGUzkEjgu6pVKko9x+z9jXoP6cjq/vORDbLj 41d37Y6GiPkP4CBCgKe7LvuYano6DIO57YX1re1jh34gYKpPNnIohgSpRUND2eZPPh0v T0QMWn3p0/CHW16wklx9EKWt2xcRjQYNJw2Q66xj5jlXEo8wUbFGmhSpOFSfZ8EQUiwt HCCgoXkzw7e5mdPXcHdJCamLVhR3RYHPYp6OU5bZro4xgmq0/UsH31EKkeFUUG7ef+On 5Yb8mnF85mfHimp60LKGXbeVVhuAhyxGiwheW2O9TSdmLwQkOUf1CHI7gX1iRCS9zlZA z0kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=zFYAec5h; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e8si3093228edl.2.2020.04.24.05.35.29; Fri, 24 Apr 2020 05:35:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=zFYAec5h; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727036AbgDXMWn (ORCPT + 99 others); Fri, 24 Apr 2020 08:22:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:51826 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726969AbgDXMWl (ORCPT ); Fri, 24 Apr 2020 08:22:41 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id ADED320776; Fri, 24 Apr 2020 12:22:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1587730961; bh=tD3zOv8bsJgydoBG6kFrPw2CiE43HwdTyu1zaZF25Mo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=zFYAec5hXc5CDJiphzM05CPeoWA7ghZvYGXMfDfgJe1qESyS6lMxWRFi+neT81x1T 8GgsWawnpzRk6VMSKFMLJDFadVB4ivYRORsYWs76+4PiVmDhJOixL0LGcO4ri+hLcH BVHw4UkuSPysab+7wXtaOLRvqjDmKRi4xMXjFSWo= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Olaf Hering , Wei Liu , Sasha Levin , linux-hyperv@vger.kernel.org Subject: [PATCH AUTOSEL 5.6 03/38] x86: hyperv: report value of misc_features Date: Fri, 24 Apr 2020 08:22:01 -0400 Message-Id: <20200424122237.9831-3-sashal@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200424122237.9831-1-sashal@kernel.org> References: <20200424122237.9831-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Olaf Hering [ Upstream commit 97d9f1c43bedd400301d6f1eff54d46e8c636e47 ] A few kernel features depend on ms_hyperv.misc_features, but unlike its siblings ->features and ->hints, the value was never reported during boot. Signed-off-by: Olaf Hering Link: https://lore.kernel.org/r/20200407172739.31371-1-olaf@aepfle.de Signed-off-by: Wei Liu Signed-off-by: Sasha Levin --- arch/x86/kernel/cpu/mshyperv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/cpu/mshyperv.c b/arch/x86/kernel/cpu/mshyperv.c index 5e296a7e60363..ebf34c7bc8bc0 100644 --- a/arch/x86/kernel/cpu/mshyperv.c +++ b/arch/x86/kernel/cpu/mshyperv.c @@ -227,8 +227,8 @@ static void __init ms_hyperv_init_platform(void) ms_hyperv.misc_features = cpuid_edx(HYPERV_CPUID_FEATURES); ms_hyperv.hints = cpuid_eax(HYPERV_CPUID_ENLIGHTMENT_INFO); - pr_info("Hyper-V: features 0x%x, hints 0x%x\n", - ms_hyperv.features, ms_hyperv.hints); + pr_info("Hyper-V: features 0x%x, hints 0x%x, misc 0x%x\n", + ms_hyperv.features, ms_hyperv.hints, ms_hyperv.misc_features); ms_hyperv.max_vp_index = cpuid_eax(HYPERV_CPUID_IMPLEMENT_LIMITS); ms_hyperv.max_lp_index = cpuid_ebx(HYPERV_CPUID_IMPLEMENT_LIMITS); -- 2.20.1