Received: by 10.213.65.68 with SMTP id h4csp959086imn; Sun, 18 Mar 2018 08:49:27 -0700 (PDT) X-Google-Smtp-Source: AG47ELuKErYcst5a2XAb5OYR87zbrNP+CST2eJAff6w1GCHJOa9iEH30U/5ypswTUOHhqkJFz/1V X-Received: by 10.99.108.202 with SMTP id h193mr6939398pgc.325.1521388167162; Sun, 18 Mar 2018 08:49:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521388167; cv=none; d=google.com; s=arc-20160816; b=AeFV6D3qsu3nuqvfEQO2OvqTqM6mU+dXSdqCM/BCAhg5TjEY6n3zXp88Qtkw4AVfa8 H8iMxy3IvcMkXSCMD8ZFPe4L0sw3UztjGvjpVR1/VQ3wrgwuv1+C2I6EVCmDpErX3DWA rqtq2HaCz7RVR1EErjZ4UZODxgDmNsJ3sEpDn6CzAtULBToy8pdrdlqn4lP0ikLhmWAj eOTDKhfrps2OqOMbt//vTDx+MG3RQkTlhn2nLYQsBwxgbVyWzCpA+gTMKIrzA0o7ERFA MB2UqRo2cOcno7HcZBycFc9ytG+6OFSvA1p+mu/ahsTMX2Hjsc93PWJfk6Lvn78IfZWt zDww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=DDREPT7w+wqTkDE6XuHMfiNnTDy2k3C+rKzpSL2HAGU=; b=i+uNqtBz7fwUCLPi3kSPIVYSQ3veqedNAt8p4u4YXekXATwyRezMDBaNmUWaSMXeQs vqgmrXT87GBvOUTxozk/MPTD13b41pnaGiHqNqGxByvlNTODaUO3jbvu73Ecddx5gRS/ k7wWlMgxhwE4GXKD0QmpqnZ52/WcoOG6HkR15Zhk66AG6+vrhtBQ3gqhas8uMu9yyVSZ 2As0btJr2/ChLhsa+sE/5naXiHw1nN+2FIayXB/NGKRn1hqTthfWfERAma1VXP0xcIkV PSc3jOqS70LMgEjpmJkv7JpGaRGc72oBRXFWbDI0Lpu9IkxuH+Gx9Y6QJUDJW9dPaK9k XmyQ== 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 67-v6si6480656ple.311.2018.03.18.08.49.12; Sun, 18 Mar 2018 08:49:27 -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 S1754141AbeCRPsD (ORCPT + 99 others); Sun, 18 Mar 2018 11:48:03 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:58584 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751062AbeCRPsC (ORCPT ); Sun, 18 Mar 2018 11:48:02 -0400 Received: from p4fea5f09.dip0.t-ipconnect.de ([79.234.95.9] helo=nanos.glx-home) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1exaXM-0004GC-Cy; Sun, 18 Mar 2018 16:47:56 +0100 Date: Sun, 18 Mar 2018 16:47:55 +0100 (CET) From: Thomas Gleixner To: Vitaly Kuznetsov cc: kvm@vger.kernel.org, x86@kernel.org, Paolo Bonzini , =?ISO-8859-2?Q?Radim_Kr=E8m=E1=F8?= , "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger , "Michael Kelley (EOSG)" , Mohammed Gamal , Cathy Avery , Bandan Das , Christoph Hellwig , linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 6/7] x86/hyper-v: detect nested features In-Reply-To: Message-ID: References: <20180316142220.32506-1-vkuznets@redhat.com> <20180316142220.32506-7-vkuznets@redhat.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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 On Sun, 18 Mar 2018, Thomas Gleixner wrote: > On Fri, 16 Mar 2018, Vitaly Kuznetsov wrote: > > > > + if (ms_hyperv.hints & HV_X64_ENLIGHTENED_VMCS_RECOMMENDED) > > + ms_hyperv.nested_features = > > + cpuid_eax(HYPERV_CPUID_NESTED_FEATURES); > > Please add curly braces. Rationale: > > https://marc.info/?l=linux-kernel&m=148467980905537 > > I know it's a pet pieve, ... Other than that: Reviewed-by: Thomas Gleixner