Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp877072rwr; Thu, 27 Apr 2023 09:12:07 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ442jlMk0ZK9Pm4jXujtvObeG56ofDkzrbVqHbhbNUd0PCdJkIKE3bPYFt0CU0CjCLDLvHb X-Received: by 2002:a05:6a00:4a85:b0:63d:2d6a:47be with SMTP id dr5-20020a056a004a8500b0063d2d6a47bemr2692213pfb.2.1682611926814; Thu, 27 Apr 2023 09:12:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682611926; cv=none; d=google.com; s=arc-20160816; b=zK0UmCyKMa/o66ikxeMFQyH9kmEytVgE59cJJC2LpU3WSEGDj06zhb4bq1CF2Chyr5 E9brWChfIrGK4lsdf34jqke6RPunX9+o5iwtBdyeFuAujivHSNL/lTTfdKKOLY0ITL68 J9wMsdQwe47dLaX42FcKvxI2tA01oQ+2vFcXXasYroZjLU0dyWEVmzIcj7QLUORbd9M4 qFbGsVCcHvlgvsXrEIkzUf/9aO7rfQf8I2FlOKXWl8bx035GOicDc6b3BsGTRt5HQWn8 uqWMR7u/2elPGnqI2a85d3zIJUL75Y+Hfo0rzpXH1tRs7t8oitTqo7rl896N1w5qSASt 2Sbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=X/FHToahpnyX4A8uULHO6kiP/c4oz5xKmqWixxMRp4c=; b=lrtr7fTbvcvQz80qZ41PtnIAnGoqkZBph8t7xTO0LruYifTuMuoo/5S4kRWP5TBEbi 2dWj+UCldYW8DaSZeqc+h+QynR1GbcfsVb4UUcCbqBzQSYQ20OYF2BfpossI+TiCxf+q HO0LC+/Pgf3BqQ7iy/PYmBvES8wFfKzbW+VVY53ckN2X/T0EODtXlIBnqcO18Gmaa7OH 0cMGsooPuiJgBTObfKTVgsN+Ifz3ZWTzCaU3L5WTw18jL32PciXPFzS9vYITH3tO8NtZ shrZ0jXhcye8tvboZ5FwkONHM+l1rsk/GyNFzjLMMBfzxk1HdxwTCOWiTPBvFaPLw9uv e1mA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=cCmOBlxN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h12-20020a056a00000c00b0063b24c661c8si19041383pfk.364.2023.04.27.09.11.52; Thu, 27 Apr 2023 09:12:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=cCmOBlxN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244012AbjD0QLW (ORCPT + 99 others); Thu, 27 Apr 2023 12:11:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243023AbjD0QLV (ORCPT ); Thu, 27 Apr 2023 12:11:21 -0400 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D04B02709 for ; Thu, 27 Apr 2023 09:11:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1682611878; x=1714147878; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=WT17EN12I58ZSAp+uG1IXqZlMrM0WWAPtGlhqCyqwIY=; b=cCmOBlxNrMzthsY3kXzSkvU0LkFVVlA2ExGznML1mWuaZ5gBeGmRVHzV ldkvvq9+5VqBWDpWmuKcZT0R+zWtxFVJju5dAv8FgdTqCtzvMJeMuVQz9 RShCyFbT5iN9Zh8bnTrXG1SWTgPlUq1zTNbZHRibcr4JZlJX5WkuHZp2H WC+UOovakt1cbanlYy4mEODqEa30apUrPBkTkuQbOBFh2tF8BMQouVYdW YCxFP7Zy1HHbc3g25sLDu0raWBv/PHpXpuzxOwUN6mA4bNeG9kgE7g6u0 5FY4T70m2wuFyNWIY2M0q2a5Kh3EFLcyB/Na0AqnW9HXsFpbFeJZHu/1t w==; X-IronPort-AV: E=McAfee;i="6600,9927,10693"; a="412838581" X-IronPort-AV: E=Sophos;i="5.99,230,1677571200"; d="scan'208";a="412838581" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Apr 2023 09:10:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10693"; a="838451121" X-IronPort-AV: E=Sophos;i="5.99,230,1677571200"; d="scan'208";a="838451121" Received: from viggo.jf.intel.com (HELO ray2.sr71.net) ([10.54.77.144]) by fmsmga001.fm.intel.com with ESMTP; 27 Apr 2023 09:10:23 -0700 From: Dave Hansen To: torvalds@linux-foundation.org Cc: x86@kernel.org, linux-kernel@vger.kernel.org, Dave Hansen Subject: [GIT PULL] x86/fpu for 6.4 Date: Thu, 27 Apr 2023 09:10:10 -0700 Message-Id: <20230427161010.1053561-1-dave.hansen@linux.intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, Please pull some x86/fpu changes for 6.4. There's no _actual_ kernel functionality here. This expands the documentation around AMX support including some code examples. The example code also exposed the fact that hardware architecture constants as part of the ABI, but there's no easy place that they get defined for apps. Adding them to a uabi header will eventually make life easier for consumers of the ABI. -- The following changes since commit e8d018dd0257f744ca50a729e3d042cf2ec9da65: Linux 6.3-rc3 (2023-03-19 13:27:55 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_fpu_for_6.4 for you to fetch changes up to 5fbff260755750559aa12a30f6fa7f8a863666f1: Documentation/x86: Explain the state component permission for guests (2023-03-22 13:08:02 -0700) ---------------------------------------------------------------- * Improve AMX documentation along with example code * Explicitly make some hardware constants part of the uabi ---------------------------------------------------------------- Chang S. Bae (4): Documentation/x86: Explain the purpose for dynamic features x86/arch_prctl: Add AMX feature numbers as ABI constants Documentation/x86: Add the AMX enabling example Documentation/x86: Explain the state component permission for guests Documentation/x86/xstate.rst | 100 ++++++++++++++++++++++++++++++++++++++ arch/x86/include/uapi/asm/prctl.h | 3 ++ 2 files changed, 103 insertions(+)