Received: by 10.213.65.68 with SMTP id h4csp958521imn; Sun, 18 Mar 2018 08:48:12 -0700 (PDT) X-Google-Smtp-Source: AG47ELt1lyds0LUxgjDsjcJZT0mPPc9vQR7GwViT3ZqBdMBkIRBF8BBZ1MSJWjg5KPp0EBJaHoyn X-Received: by 10.99.36.193 with SMTP id k184mr6754276pgk.80.1521388092553; Sun, 18 Mar 2018 08:48:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521388092; cv=none; d=google.com; s=arc-20160816; b=V1RpXerhYOdDa+tDydkZ9umeYydHg6UkQlEj/ter+ZHlxS1AW6CuJcSQCl7ba9p2NP 2FMnaaiTc8PsFB8pXeCcldQ/uPkk+BqmYI2yTSL4l9Z8f6ofu1FKg+zUJki/rGXLGzmX mQeZfYEE/k14OlPqVtjQWiyntYb3fmHQYR/7tMrEh+cLjTtDFV8ZvZAIQsENxBOQAwHX cWj5XmOzNCTHApR3yOpk8WhtDmeMrmz1RpEr5p9zU7F4Gn4VeF4Zw7ANM+Y4ngJDMK9v BfiM9WloO5kh5BB4bJjMshu47o1nsuJPeHS+G1XcbYLKWLSO+/WC1Irpb+2OBfOjRL9H Mzqw== 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=uJsA6/CHtZQwBDBp4MYBmN2HSBb3/liiPJZjoL0tCjo=; b=x7UidQcrPgWx3I2iu8MoY7ouzxXdeRkSGfbHscpre8ERW548huZnCtYbFECFwjYJDt m2zS1EWYOCLOsy19BWOmydp3TZVH95IJbKcHV1g3DuBP23WOIKvz1bu7pplMJZgwttIA fxR/ZF2sAXTkM251iy7REN0nR2XODuZVqx7xVlEYSn+0CGVQZlqp6D2JOOLdJRA6NyPu qoGmBxt4T0JqSiiDam/UlBLqPtO5q2Q+6vE61yDl2iIJyL3T38xLoEmsWBFpm9Op6CZZ THYUvYQJHs6X99xIUtav5Eb5U3mf5VVU69XlRtyeKFLtajSkKojEhlM1ZZtdtpgJ9KZr en3w== 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 h128si7785096pfb.152.2018.03.18.08.47.58; Sun, 18 Mar 2018 08:48:12 -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 S1754037AbeCRPrA (ORCPT + 99 others); Sun, 18 Mar 2018 11:47:00 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:58577 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751061AbeCRPq6 (ORCPT ); Sun, 18 Mar 2018 11:46:58 -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 1exaWK-0004FF-LP; Sun, 18 Mar 2018 16:46:52 +0100 Date: Sun, 18 Mar 2018 16:46:52 +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: <20180316142220.32506-7-vkuznets@redhat.com> 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 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, ... Thanks, tglx