From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E76AD28689F for ; Mon, 1 Dec 2025 22:47:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.21 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764629226; cv=none; b=J4+x9Q56Tn8Zd9j8ZiuNNJpKmkxqsx2T5qdkL2SecjDTZjS7Omn1wqNOq6Jr8Id/pt/ORZMiaHaiqR6DXp04Z/X88DTLl/3L4BsW0riC0y7ayJO+aLu1Y2us+2VEIOsS6hfuEphU3KKZ6bwdE7KThAfGlac/VLZ1YuRJAWtNT/M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764629226; c=relaxed/simple; bh=80B1oZ+aLcUJSD1xf7i4YIF4VxautU3/TLzRvZiPJx4=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=kkLgOvtHHxf5ajhgygPKHyWruWJ+9mTWJcyleKRRojlPBpyNTPwn44BI7XxWvxEMk/MmhVDlTlhzuAJV/Uxf4HAB/KcxrNTVRsGLUJSfxgtZG4wvDZRANZ0szWTJswwofIQaNOUeJOxTd8aE9p9iCCXeV2QusvIhUjgtxMt38Os= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=pass smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=COMFgCcB; arc=none smtp.client-ip=198.175.65.21 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="COMFgCcB" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1764629224; x=1796165224; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=80B1oZ+aLcUJSD1xf7i4YIF4VxautU3/TLzRvZiPJx4=; b=COMFgCcBuyKXrgidTgUI7Bprzxzn/W0Ey1pdzpJQSBjqYLoHGzPMUuxv OcKo+OZbM8/Izj6YKK/57MmGFxh3pQR+iJ40MvPbpxdgkgm7kXTAWrmfm NX+M0diTuorCbIPOVXd8E0LCKPs+DrXnp06+qeQosFqhTZRWOomC2hUQV sOZh1ck7iRtjNHNRT+X6CNI+V2IElXbGmsUpzHei6vBxs8FRp0CTBGwkM rYQwOh8H9I/CNvCC1w84dFDNvRFBEUzVDDvMRCiliC9vL7V72CFH2dKS+ SAEstnGWn80MRONqIHKjF/qevP1eE3SjpsZhVwlcjBernmntfiDAux+Lx A==; X-CSE-ConnectionGUID: OBwwl/R9SxCx0eXCymrIsA== X-CSE-MsgGUID: SAOf1ieqSmS6txDM59eiHA== X-IronPort-AV: E=McAfee;i="6800,10657,11630"; a="66531331" X-IronPort-AV: E=Sophos;i="6.20,241,1758610800"; d="scan'208";a="66531331" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Dec 2025 14:47:03 -0800 X-CSE-ConnectionGUID: bx8U+MrGSDuSbc/1QkGU5g== X-CSE-MsgGUID: +94HREg+QlOQo89BOGzl0Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.20,241,1758610800"; d="scan'208";a="224896271" Received: from smtp.ostc.intel.com ([10.54.29.231]) by orviesa002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Dec 2025 14:47:03 -0800 Received: from ray2.sr71.net (unknown [10.125.111.117]) by smtp.ostc.intel.com (Postfix) with ESMTP id 55F376362; Mon, 1 Dec 2025 14:47:03 -0800 (PST) From: Dave Hansen To: torvalds@linux-foundation.org Cc: x86@kernel.org, linux-kernel@vger.kernel.org, Dave Hansen Subject: [GIT PULL] x86/sgx for 6.19-rc1 Date: Mon, 1 Dec 2025 14:47:01 -0800 Message-Id: <20251201224701.726470-1-dave.hansen@linux.intel.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi Linus, Please pull some x86/sgx changes for 6.19-rc1. The main content here is adding support for the new EUPDATESVN SGX ISA. Before this, folks who updated microcode had to reboot before enclaves could attest to the new microcode. The new functionality lets them do this without a reboot. The rest are some nice, but relatively mundane comment and kernel-doc fixups. -- The following changes since commit 3a8660878839faadb4f1a6dd72c3179c1df56787: Linux 6.18-rc1 (2025-10-12 13:42:36 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_sgx_for_6.19-rc1 for you to fetch changes up to f2f22721aca46cebb63c589eefda843721908833: x86/sgx: Fix a typo in the kernel-doc comment for enum sgx_attribute (2025-11-14 15:30:32 -0800) ---------------------------------------------------------------- * Allow security version (SVN) updates so enclaves can attest to new microcode. * Fix kernel docs typos ---------------------------------------------------------------- Elena Reshetova (5): x86/sgx: Introduce functions to count the sgx_(vepc_)open() x86/cpufeatures: Add X86_FEATURE_SGX_EUPDATESVN feature flag x86/sgx: Define error codes for use by ENCLS[EUPDATESVN] x86/sgx: Implement ENCLS[EUPDATESVN] x86/sgx: Enable automatic SVN updates for SGX enclaves Sean Christopherson (5): x86/sgx: Add a missing colon in kernel-doc markup for "struct sgx_enclave_run" x86/sgx: Add kernel-doc descriptions for params passed to vDSO user handler x86/sgx: Document structs and enums with '@', not '%' x86/sgx: Remove superfluous asterisk from copyright comment in asm/sgx.h x86/sgx: Fix a typo in the kernel-doc comment for enum sgx_attribute arch/x86/include/asm/cpufeatures.h | 1 + arch/x86/include/asm/sgx.h | 97 ++++++++++++++++++----------------- arch/x86/include/uapi/asm/sgx.h | 10 +++- arch/x86/kernel/cpu/cpuid-deps.c | 1 + arch/x86/kernel/cpu/scattered.c | 1 + arch/x86/kernel/cpu/sgx/driver.c | 19 ++++++- arch/x86/kernel/cpu/sgx/encl.c | 1 + arch/x86/kernel/cpu/sgx/encls.h | 5 ++ arch/x86/kernel/cpu/sgx/main.c | 101 +++++++++++++++++++++++++++++++++++++ arch/x86/kernel/cpu/sgx/sgx.h | 3 ++ arch/x86/kernel/cpu/sgx/virt.c | 20 +++++++- 11 files changed, 210 insertions(+), 49 deletions(-)