Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp677373ybz; Fri, 1 May 2020 06:39:31 -0700 (PDT) X-Google-Smtp-Source: APiQypKI45hMvBrmrNCwY12u0teOZ2eo625RJRLrlinjQodvVB8gwY+IKLCqZWiwKKtQ1kX2yL1Y X-Received: by 2002:a05:6402:b03:: with SMTP id bm3mr3414764edb.299.1588340371557; Fri, 01 May 2020 06:39:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588340371; cv=none; d=google.com; s=arc-20160816; b=AFtM6L0hYEV9eVK/HemJBkGVzf3v+/vTweX0d3wObMomMBevDmQ9KPREQZ2zLTWNCd IqhKTjbmwtw0wZ9ZC542MK+GVpcoBp48c1LVg8osBVWPS7AUiU8eu/xx3jkhydMGj8U2 vGAzvAhh0Sc7VbxGlrWoewLBM0l5VXxenRGDH+y2FRJcmrJVPQRl3kdGPdj8xm3AuQJH duX95afKrzpzb2YInSkiErZP2fByuhVIItpoTwwkuiZxXNAliv9XgUmp7Siw52/q++F4 xbiIZ0EvD4u6eEIfC3f1CYcpwaLrCjmKx54wo4x5lZE9FNwbiMwwo8hojYjOjJb80xWZ xbqg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=bJwuAAFLqBV2qbM22dBKrS/cRjftycPoJpGeR5tSiJw=; b=JjOJzSxvstn6kevjE8Ir4NJSOQHMgBWFmdLbQdDOoHiQqy/VZO7eSYhr6kRfV/Jhhp zy2peB+KF0FYcliIFaU+BIS82+VK89nHToaQN8/OeQ9fxxYRkMYeAEEdXlI8A0q19cO3 lgPSXIEjKCERi4h3vbMf/st17J+HV3+q3y7ER0fDp3hA/z71PvpWGD8l+CHlTcnjGpGC 17mGcJok5u7vblDSkvcvJ9eX3UZkMjvyWYU5PLlh3y2x+TK0zBLr5YvKtsCY30qnQ7/0 7RgM0ic3C9TZcc2FIAAHpvGidU/vcP6SV+WneFwG8GeUp1DWAevIg7JCc+wr96j3MedS TiTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=pwLzLcXs; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q8si1755185ejn.176.2020.05.01.06.39.08; Fri, 01 May 2020 06:39:31 -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=pwLzLcXs; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730955AbgEANhS (ORCPT + 99 others); Fri, 1 May 2020 09:37:18 -0400 Received: from mail.kernel.org ([198.145.29.99]:35918 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730933AbgEANhH (ORCPT ); Fri, 1 May 2020 09:37:07 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1980A24953; Fri, 1 May 2020 13:37:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588340227; bh=lX7GO5zZRgBAxgEabLCkym2MplVXRl3kwn5k981MtVQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pwLzLcXswMdeSyvK9rI7qw1A6SHhBOJBORsCWNXy9YpPsKIlQbupXum0Epz2tEVp+ J+bbp1A+K39Mbj0SNcRmKD2EpHLRfaXe3Xk7NckXVz5mVyhFBcR8pMsaSS8wAHUoVS oGqtN+k48ngIwLL4EQnIGMqlNt+gayQ3wDRFQWaA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Olaf Hering , Wei Liu , Sasha Levin Subject: [PATCH 4.19 29/46] x86: hyperv: report value of misc_features Date: Fri, 1 May 2020 15:22:54 +0200 Message-Id: <20200501131509.204198464@linuxfoundation.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200501131457.023036302@linuxfoundation.org> References: <20200501131457.023036302@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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 fc93ae3255153..f8b0fa2dbe374 100644 --- a/arch/x86/kernel/cpu/mshyperv.c +++ b/arch/x86/kernel/cpu/mshyperv.c @@ -214,8 +214,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