Message ID | 20211222124052.644626-13-jing2.liu@intel.com |
---|---|
State | Accepted |
Commit | 1df4fd834e8e2c00973ac2003ad0e6feb8750b31 |
Headers | show
Return-Path: <linux-kselftest-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 78E3DC433EF for <linux-kselftest@archiver.kernel.org>; Wed, 22 Dec 2021 12:41:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245174AbhLVMlW (ORCPT <rfc822;linux-kselftest@archiver.kernel.org>); Wed, 22 Dec 2021 07:41:22 -0500 Received: from mga14.intel.com ([192.55.52.115]:11440 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245036AbhLVMlH (ORCPT <rfc822;linux-kselftest@vger.kernel.org>); Wed, 22 Dec 2021 07:41:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1640176867; x=1671712867; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=PXq6/YEFmL7fuafodWXOL+G8jefqhvh1JXMT3eAUNEI=; b=fOiqHG8PZRDT6TpSeRFg9DtuGVi9sUSceFhgd80SSBHHzfN5fIEr5dZB ZPynlJ7qIoZKWwKHWsWkhngeLwLtrLqbksvBui88OsKLPtFh/PLRsLS5U aDx+GZdpBIBnMK9XIqkQHZAa6FKypwNH2Kxd+gxINH8fS3vPtl8ZNMhxr 8pl2dnG+0LPAfw4QxwzqACfM+S+Pq06LhmbjByaRBGjfzvyZfofocXrf9 z/HKCpHAtWZ1NZuuh0ne4YBzN0nUHQTa+co9EZtUvA33cscNVlX5dK95S VGP0p2wFNpXTNDeFKwZ5b7Q0MY0PKw+YlUOlxC8wfvB7DTeFTSMfMwGyr Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10205"; a="240833421" X-IronPort-AV: E=Sophos;i="5.88,226,1635231600"; d="scan'208";a="240833421" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Dec 2021 04:41:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,226,1635231600"; d="scan'208";a="587002748" Received: from 984fee00a228.jf.intel.com ([10.165.56.59]) by fmsmga004.fm.intel.com with ESMTP; 22 Dec 2021 04:41:02 -0800 From: Jing Liu <jing2.liu@intel.com> To: x86@kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, pbonzini@redhat.com, corbet@lwn.net, shuah@kernel.org Cc: seanjc@google.com, jun.nakajima@intel.com, kevin.tian@intel.com, jing2.liu@linux.intel.com, jing2.liu@intel.com, guang.zeng@intel.com, wei.w.wang@intel.com, yang.zhong@intel.com Subject: [PATCH v3 12/22] x86/fpu: Prepare xfd_err in struct fpu_guest Date: Wed, 22 Dec 2021 04:40:42 -0800 Message-Id: <20211222124052.644626-13-jing2.liu@intel.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20211222124052.644626-1-jing2.liu@intel.com> References: <20211222124052.644626-1-jing2.liu@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <linux-kselftest.vger.kernel.org> X-Mailing-List: linux-kselftest@vger.kernel.org |
Series |
AMX Support in KVM
|
expand
|
diff --git a/arch/x86/include/asm/fpu/types.h b/arch/x86/include/asm/fpu/types.h index c752d0aa23a4..3795d0573773 100644 --- a/arch/x86/include/asm/fpu/types.h +++ b/arch/x86/include/asm/fpu/types.h @@ -517,6 +517,11 @@ struct fpu_guest { */ u64 perm; + /* + * @xfd_err: Save the guest value. + */ + u64 xfd_err; + /* * @fpstate: Pointer to the allocated guest fpstate */