Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp2947442pxb; Tue, 24 Aug 2021 11:14:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzezwT+cjZVBcz1IG3xwbJec9bU/ilfjzbCaTgCvzW0mHBoRaoRiz/I45dCsOU3lpkVPBP7 X-Received: by 2002:a05:6402:2801:: with SMTP id h1mr20045785ede.209.1629828840866; Tue, 24 Aug 2021 11:14:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629828840; cv=none; d=google.com; s=arc-20160816; b=etT7fxsBll8ntqYDevWvLgD7LI6N6N0Ml3FjiJoZe0Wv78LkM/fZeJ41YQw4+/66AK bEL/pEOi3XkyIWHuVgPsTqirH8tcqZ1ozVINAYssUSQakkkQ5MwqGitsMQLeLrIj6KCi 8rZ7w2b13IuZlmZOGfjXLGYff79IdljDsvsu/w/Z7LD0KV8GmI3UpZHuEbD8Axupx3Da vOmkf/E2LIwVvStM41uRWDLTqOlQkrvhFN9MUvALrRHK5XNv11YobxoySHUK2rz6QwQ0 XoNW946Re2BI+JwgOZ/E49fWLdPGd4YR5a//CJZBmBpEtJjh/4ZpvTOvHsUWOtLecUVo BDGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=AfGF3dO1aSgXT2Vj9CIyImRTr48HwAaoH9WJhgT9C1I=; b=lyKuHpCpoeUer6UWrJmmekh8bUe1hR2ffUiJanANbsPAlBIBXH47ylpUwB7d22MWbU EG5cm7xewdso6Y9oTgykPl9Oe3dgP8FGQ68AOASkCRwQdCdrajjlOOm6mC+XPUUdTHUq kA9rDipyrn57pFSugIau8A9iNYIZbqPGprIujJzYDl/CeBrLE3IjIW9fRYg0dPDHuQ86 PNGqjkefVk7Yc/G3OtKUzQcKvRZMdQnX2oKyEj9mK6FPQ3dqC8+dS8WcOqIAbY/K7LTA HSC9fbYHm3e+uK9+miQjwmOnYpTWZUMZfd6wmxdSMAUXL9TUykt37uy2EmzwPShv9hgO 0edA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mp29si17883843ejc.290.2021.08.24.11.13.37; Tue, 24 Aug 2021 11:14:00 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233155AbhHXSNG (ORCPT + 99 others); Tue, 24 Aug 2021 14:13:06 -0400 Received: from mga04.intel.com ([192.55.52.120]:43537 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229670AbhHXSNF (ORCPT ); Tue, 24 Aug 2021 14:13:05 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10086"; a="215529064" X-IronPort-AV: E=Sophos;i="5.84,347,1620716400"; d="scan'208";a="215529064" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Aug 2021 11:12:21 -0700 X-IronPort-AV: E=Sophos;i="5.84,347,1620716400"; d="scan'208";a="597670616" Received: from ydevadig-mobl.amr.corp.intel.com (HELO skuppusw-mobl5.amr.corp.intel.com) ([10.209.137.104]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Aug 2021 11:12:20 -0700 Subject: Re: [PATCH v5 10/12] x86/tdx: Add MSR support for TDX guest To: Borislav Petkov Cc: Thomas Gleixner , Ingo Molnar , Peter Zijlstra , Andy Lutomirski , Peter H Anvin , Dave Hansen , Tony Luck , Dan Williams , Andi Kleen , Kirill Shutemov , Sean Christopherson , Kuppuswamy Sathyanarayanan , x86@kernel.org, linux-kernel@vger.kernel.org References: <20210804181329.2899708-1-sathyanarayanan.kuppuswamy@linux.intel.com> <20210804181329.2899708-11-sathyanarayanan.kuppuswamy@linux.intel.com> From: "Kuppuswamy, Sathyanarayanan" Message-ID: <3d46d126-e796-400d-8890-ccea87648705@linux.intel.com> Date: Tue, 24 Aug 2021 11:12:20 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/24/21 9:55 AM, Borislav Petkov wrote: >> + regs->ax = val & UINT_MAX; > regs->ax = (u32)val; > Ok. I will use your version in next submission. -- Sathyanarayanan Kuppuswamy Linux Kernel Developer